gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

DS Misc > GBACrusher Source

#148098 - dexter0 - Wed Jan 02, 2008 7:14 am

Hi, I was wondering if the source code was released for GBACrusher. I know this is the DS board but this is for some DS work.

Thanks
_________________
"It is better to keep your mouth shut and appear stupid than to open it and remove all doubt." ~ Mark Twain

#148118 - tepples - Wed Jan 02, 2008 2:24 pm

Which formats do you need? I have available some LZSS code that outputs in GBA-compatible format and some generic RLE code that could easily be modified to spit out GBA-RLE format.
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.

#148124 - dexter0 - Wed Jan 02, 2008 3:52 pm

I am looking for the LZ77 (Not LZ77, VRAM Safe) compression code.

Thanks
_________________
"It is better to keep your mouth shut and appear stupid than to open it and remove all doubt." ~ Mark Twain

#148129 - kusma - Wed Jan 02, 2008 6:12 pm

gbalzss.exe that comes with devkitARM has worked fine for me. I'm not sure if it works on the DS, though.

#148205 - dexter0 - Thu Jan 03, 2008 4:21 pm

I attempted to compress the file I am trying to compress with gbacrusher.exe and it works fine. I would like the source so I can integrate this compression into another tool I am working on to streamline the process.
_________________
"It is better to keep your mouth shut and appear stupid than to open it and remove all doubt." ~ Mark Twain

#148206 - strager - Thu Jan 03, 2008 4:50 pm

Does your file compress the same when using the DKA tool gbalzss.exe as stated above? If so, you can use the source of that tool in your application (or call/pipe it from/to your program).