rdpack

Description

rdpack is the dlf/dvdroot packager. Since the Wii console uses 4.7/8.5 gigabyte discs, the size of .rvm (Revolution master data format) files is relatively large compared to the Nintendo GameCube. Packaging dlf/dvdroot into a single file called an rpf (Revolution Packed File) enables the data to be handled in a smaller size.

Note that file compression is not a part of this tool. If file compression is needed, compress the .rpf file using the compression tool of your choice.

When writing to an RVT-R disc, it is necessary to extract to dlf/dvdroot first before converting to an .rvm file.

Using the Library

Creating the Package

% rdpack -d dlf [rpffile]

Creates an .rpf file based on the information recorded in the .dlf file. If rpffile is omitted from the command, the file is given the same name as the .dlf file, but with the .rpf extension.

Extracting the Package

% rdpack -u [-e dir] rpffile

Extracts the .rpf file into the dir directory. If dir is omitted, the name used for the directory is the .rpf filename minus the file extension.

Other Options

-h Displays a help message.
-v Sets mode to verbose.
-V Displays the version number.

Caution

The .dlf file that is created after the .rpf file has been extracted will differ from the original .dlf file in more ways than just the converted pathname. For example, since system files will be renamed to names such as system0 and system1, the .dlf file after extraction will point to these new names instead of to names such as .dsf and .bin.

Location

$REVOLUTION_SDK_ROOT/X86/bin/rdpack

Revision History

2008/06/11 Integrated into Revolution SDK.
2007/12/21 Fixed a bug that caused incorrect packaging of double-layer .dlf files.
2007/08/07 Revised the document description.
2006/10/16 Corrected the inability to handle read-only files. Fixed the bug that prevented correct expansion of rpf files that had an empty directory below dvdroot.
2006/07/06 Fixed a bug that prevented handling of .rpf files larger than 2 gigabytes.
2006/04/17 Released.


CONFIDENTIAL