bobbias Posted September 28, 2007 Share Posted September 28, 2007 I'm looking to make a standalone application to decompress and re-compress files extracted from DS roms for the purpose of translation (since all the other tools I found didn't work right), and I'm not sure how the DS implements the LZ77 routines, but I'm not sure where the code for that is in the source, can someone point me in the right direction? Link to comment Share on other sites More sharing options...
iq_132 Posted September 30, 2007 Share Posted September 30, 2007 Find yourself the source of a DS emulator. Most of them simulate bios/firmware functions and iirc, LZ77 decoding is one of them. Link to comment Share on other sites More sharing options...
mudlord Posted November 30, 2007 Share Posted November 30, 2007 You could use the sources from GZIP, since gzip uses Lempel-Ziv compression...Then you can derive the decompression code from that. Link to comment Share on other sites More sharing options...
Recommended Posts