Official HDL_DUMP site moved! –
08-15-2004,04:33 PM
The staff of PS2Scene would like to welcome a new addition to our family in the form of HDL_Dump and HDL_Dumb. The official site for these great utilties can now be found right here under the PS2Scene domain...
All releases of both the source and binaries will now be found at the new URL.
To show our support for the PS2 scene, we'd like to extend an offer to authors of other PS2 homebrew apps. If you are tired of using free hosting services with bandwith limits and popups, we may be willing to host your site and/or official forums for FREE!!! Contact me for further details.
For those who are interested, I submitted the author of hdl_dump a patch to compile the command-line client under un*x.
I submit here the static binary for those who want to try.
I only tried the "toc" and "inject_cd" command via network.
"toc" is okay but not "inject_cd". But the fact is that it does not work under windows either for me .
Maybe someone who has hdl_dump-0.6 working under windows can try it under linux ?
I got this...
patching file hdl_dump/aligned.c
Hunk #1 FAILED at 22.
[...]
Any ideas?
Yes.
All the errors are due to the ^M at the end of each text lines (pain in the ass).
Here's a way to patch:
untar the source file.
then go into hdl_dump/
remove all ^M at the end of all files, use something like dos2unix:
$ for i in *; do dos2unix $i $i.good; mv $i.good $i; done
go up (..)
$ gzip -cd patch.gz | patch -p0
back to hdl_dump/
$ make -f Makefile.unix
and that's it.
I had a quick check and I can see no patch option to remove those trailing ^M.
Originally Posted by Thinkdiff
in the patch file, it looks like it reads from hdl_dump_unix. I don't have that...
Yes. Don't worry about this.
patch shows you the directories' names I used. It will patch hdl_dump/.
Yes.
All the errors are due to the ^M at the end of each text lines (pain in the ass).
Here's a way to patch:
untar the source file.
then go into hdl_dump/
remove all ^M at the end of all files, use something like dos2unix:
$ for i in *; do dos2unix $i $i.good; mv $i.good $i; done
go up (..)
$ gzip -cd patch.gz | patch -p0
back to hdl_dump/
$ make -f Makefile.unix
and that's it.
I had a quick check and I can see no patch option to remove those trailing ^M.
Yes. Don't worry about this.
patch shows you the directories' names I used. It will patch hdl_dump/.
Thanks.. that all worked to get the patch going. But now I think i've run into some OS X specific problems, which you may not be able to help me with..
hdl_dump.c: In function `show_apa_toc':
hdl_dump.c:92: warning: unsigned int format, size_t arg (arg 3)
hdl_dump.c:92: warning: unsigned int format, long unsigned int arg (arg 4)
hdl_dump.c:92: warning: unsigned int format, long unsigned int arg (arg 5)
hdl_dump.c: In function `show_apa_map':
hdl_dump.c:108: warning: unsigned int format, long unsigned int arg (arg 3)
hdl_dump.c:122: warning: unsigned int format, size_t arg (arg 3)
hdl_dump.c:122: warning: unsigned int format, long unsigned int arg (arg 4)
hdl_dump.c:122: warning: unsigned int format, long unsigned int arg (arg 5)
hdl_dump.c: In function `show_hdl_game_info':
hdl_dump.c:211: warning: unsigned int format, long unsigned int arg (arg 3)
hdl_dump.c:211: warning: unsigned int format, long unsigned int arg (arg 4)
hdl_dump.c:211: warning: unsigned int format, long unsigned int arg (arg 5)
hdl_dump.c: At top level:
apa.h:33: warning: `MAP_AVAIL' defined but not used
apa.h:34: warning: `MAP_MAIN' defined but not used
apa.h:35: warning: `MAP_SUB' defined but not used
apa.h:36: warning: `MAP_COLL' defined but not used
apa.h:37: warning: `MAP_ALLOC' defined but not used
make: *** [hdl_dump.o] Error 1
Thanks.. that all worked to get the patch going. But now I think i've run into some OS X specific problems, which you may not be able to help me with..
hdl_dump.c: In function `show_apa_toc':
hdl_dump.c:92: warning: unsigned int format, size_t arg (arg 3)
[...]
apa.h:37: warning: `MAP_ALLOC' defined but not used
make: *** [hdl_dump.o] Error 1
I'm a little bit paranoiac.
Since these are only warning (essentially printf warning), try and remove the -Werror option in Makefile.unix, it should compile and run OK under OSX.
We should discuss this in private, what about PM-ing me next time ?
Got it all Going! Here's the OS X and Linux PPC versions! Completely untested, but do work.
Edit:
As of right now, the following doesn't work on either version:
* Net access. Just reports the IP as "Not a PS2 Hard drive"
* cdvd_info. just doesn't work
* I'm going to hook up my PS2 HD later and check it out further.