HDL Dump HOWTO
hdl_dump HOWTO
What is CLI; what is GUI?[edit | edit source]
CLI stands for command-line interface. GUI means Graphical User Interface. Or, with a few words, to use a CLI build, one should manually type a command line using a keyboard, and when using GUI build one would click here and there using a mouse. CLI version should be started from a Command Prompt. If double-clicked (within Windows Explorer) the result would be a black window, that would disappear in an instant. So, the proper way is to open Command Prompt, navigate to directory, where hdl_dump is, and type hdl_dump (Enter should be pressed in order for command to be executed).
When ran with no arguments, hdl_dump will display a list of supported commands. If ran with a single argument that is a command name, a help page would be displayed for the particular command. The only exception is the query which takes no arguments. For example, to check how cdvd_info command should be used, type: C:\HDL_DUMP> hdl_dump cdvd_info hdl_dump-0.x by The W1zard 0f 0z (AKA b...) ...
Usage: cdvd_info iin_input
Displays signature (startup file) and volume label for a CD-/DVD-drive or image file.
Example: hdl_dump.exe cdvd_info c:\gt3.gi
or
hdl_dump.exe cdvd_info "hdd1:Gran Turismo 3"
A list with supported inputs[edit | edit source]
- Plain ISO file - C:\GT3.ISO;
- CDRWIN BIN/CUE - C:\MC.CUE;
- Nero Burning Rom image or track - C:\GT3.NRG;
- RecordNow! Global Image - C:\GT3.GI;
- Sony CD/DVD Generator's Intermediate file format location file - C:\XENOSAGA\XS.IML;
- direct reading from an optical drive (which is tested with Windows XP only) - cd0:;
- transparent reading of HD Loader partitions from locally attached Playstation 2 HDD - hdd1:Rez;
- transparent reading of HD Loader partitions from a Playstation 2 via network - 192.168.0.10:Rez.
A list with supported outputs[edit | edit source]
The following outputs are supported when installing games on the Playstation 2 HDD:
- locally connected Playstation 2 HDD - hdd1:; use query command to locate the proper name; HDD can also be attached using an external USB box (AKA enclosure); Firewire boxes are reported to be compatible, too;
- operation via TCP/IP networking - 192.168.0.10 (the IP address of the Playstation 2); networking server should be started on the console, first.
Basic operations[edit | edit source]
Currently, hdl_dump knows about 13-14 commands, and the most-important are:
- query would display a list of all HDDs and optical drives on the PC; whether this command would work on Linux is still unknown :-) query could be used to locate the name of the Playstation 2 HDD;
- toc would display a list of all partitions on a Playstation 2 HDD; notice, that the list is low level, that is a single game could be listed as more than one partition; toc could be used to get the partition name for a game to be extracted or deleted;
- extract would get the game data from a HD Loader partition and build an ISO file on the HDD;
- cdvd_info will help to find out what the startup file and volume label for a Playstation 2 CD/DVD is;
- delete is handy when a game is no longer needed;
- inject_cd and inject_dvd are pretty close and would install a game, from an optical drive or an image file, to the Playstation 2 HDD; notice, that a HD Loader is required in order to actually run the game on the Playstation 2.
Real-world examples for basic operations[edit | edit source]
Installing a game from a CD-/DVD-ROM drive use query command to locate the name of the Playstation 2 HDD and, optionally, the source optical drive; use cdvd_info to find out what the startup file is; use inject_cd/inject_dvd to actually install the game. C:\HDL_DUMP> hdl_dump query Hard drives:
hdd0: 78159 MB hdd1: 19594 MB, formatted Playstation 2 HDD
Optical drives:
cd0: 452 MB
C:\HDL_DUMP> hdl_dump cdvd_info cd0: "SLES_500.54" "MIDNIGHTCLUB"
C:\HDL_DUMP> hdl_dump inject_cd hdd1: "Midnight Club" cd0: SLES_500.54
1%... 2%... 3%...
Installing a game from a disc image ... is almost identical; changes are marked:
C:\HDL_DUMP> hdl_dump query Hard drives:
hdd0: 78159 MB hdd1: 19594 MB, formatted Playstation 2 HDD
Optical drives:
cd0: The device is not ready.
C:\HDL_DUMP> hdl_dump cdvd_info D:\MC.CUE "SLES_500.54" "MIDNIGHTCLUB"
C:\HDL_DUMP> hdl_dump inject_cd hdd1: "Midnight Club" D:\MC.CUE SLES_500.54
1%... 2%... 3%...
Extracting a game from the Playstation 2 HDD use query command to locate the name of the Playstation 2 HDD; use toc to find out the partition name; use extract to read the game from the Playstation 2 HDD. C:\HDL_DUMP> hdl_dump query Hard drives:
hdd0: 78159 MB hdd1: 19594 MB, formatted Playstation 2 HDD
Optical drives:
cd0: The device is not ready.
C:\HDL_DUMP> hdl_dump toc hdd1: 00000000.: 128MB 1 [__mbr ] 00040000.: 128MB 1337 [PP.HDL.Rez ] 00080000.: 128MB 100 [HDLoader Settings ] 000c0000.: 128MB part # 1 in 00040000 00100000.: 512MB 1337 [PP.HDL.Midnight Club ] Total device size: 19594MB, used: 1024MB, available: 18560MB
C:\HDL_DUMP> hdl_dump extract hdd1: "PP.HDL.Midnight Club" D:\MC.ISO
1%... 2%... 3%...
Real-world examples for advanced operations[edit | edit source]
Transfering a game from one Playstation 2 HDD to another use query command to locate the names of the Playstation 2 HDDs; use toc to find out the source partition name; use cdvd_info to find out what the startup file is; use inject_cd/inject_dvd to actually transfer the game. In the following example hdd1: is the source drive and hdd2: is the destination drive:
C:\HDL_DUMP> hdl_dump query Hard drives:
hdd0: 78159 MB hdd1: 19594 MB, formatted Playstation 2 HDD hdd2: 19594 MB, formatted Playstation 2 HDD
Optical drives:
cd0: The device is not ready.
C:\HDL_DUMP> hdl_dump toc hdd1: 00000000.: 128MB 1 [__mbr ] 00040000.: 128MB 1337 [PP.HDL.Rez ] 00080000.: 128MB 100 [HDLoader Settings ] 000c0000.: 128MB part # 1 in 00040000 00100000.: 512MB 1337 [PP.HDL.Midnight Club ] Total device size: 19594MB, used: 1024MB, available: 18560MB
C:\HDL_DUMP> hdl_dump cdvd_info "hdd1:Midnight Club" "SLES_500.54" "MIDNIGHTCLUB"
C:\HDL_DUMP> hdl_dump inject_cd hdd2: "Midnight Club" "hdd1:Midnight Club" SLES_500.54
1%... 2%... 3%...
Installing a game via TCP/IP network load HDLD_SVR.ELF on the Playstation 2 console; NOTE: There are far too many ways to do this, so, please, use Google to locate the most convinient one. IP address is configured via mc0:SYS-CONF/IPCONFIG.DAT and the proper format is "ip_address networking_mask gateway_ip" (w/o quotes). The default configuration is "192.168.0.10 255.255.255.0 192.168.0.1". use cdvd_info to find out what the startup file is; use inject_cd/inject_dvd to actually install the game; sit and wait patiently or do what you wish, since it is going to take a loooong time. C:\HDL_DUMP> hdl_dump cdvd_info cd0: "SLES_500.54" "MIDNIGHTCLUB"
C:\HDL_DUMP> hdl_dump inject_cd 192.168.0.10 "Midnight Club" cd0: SLES_500.54
1%.........