To patch your unpacked .ELF through DOS using WinXP.
Go into START > RUN, then type: cmd that sould open up the MSDOS command prompt.
Next, to make it easier, make a folder on your C Drive,then name it HDLPATCH or something, then put the hdlpatch_0.8a.exe or whatever version you have into the folder along with your UNPACKED HDL/HDA .ELF file(2977792 bytes in size).
Now, in your DOS window, it should look like this:
C:\WINDOWS> (if it doesn't, it doesn't matter)
Then type: cd c:\ or just c:\
It should just look like this: C:\>
Now to get in to the folder type: cd HDLPATCH(or whatever you named it)to make the patching easier type: hdlpatch0.6.exe
You should have a list of all the options.
To patch you have to type it all in one line with whatever options, like:
hdlpatch_0.8a.exe [OPTIONS] IN.ELF OUT.ELF
As an example:
hdlpatch_0.8a.exe /C /S /F /L HDLU.ELF HDLOUT.ELF
the second .ELF is the one you make up.
After that send the HDLPATCH.ELF through ps2-packer (download off net)
by using dos the same way:
ps2packer.exe HDLOUT.ELF HDLPATCH.ELF
When you done just type exit.
You can now boot this file, using exploit or whatever it should be about 550kb, after ps2packer and close to 3mb unpacked.