+  RHDN Forum Archive
|-+  Romhacking
| |-+  ROM Hacking Discussion
| | |-+  GByeBye topic
Pages: [1] 2
Author Topic: GByeBye topic  (Read 1134 times)
Odin
Guest
« on: March 08, 2007, 10:21:48 am »

As you can see I released the first preliminary version of GByeBye, it's a program I develop with the help of my friend Fallen_Soul that allows you to decompress Gameboy Advance LZ77 in seconds, specifically, data called from the GBA BIOS routines. In future maybe I can add the LZ compressor - RL decompressor/compressor and huffman decompressor/compressor.

GBB is freeware, writed in Python Programming Language, so, you need the Python interpreter installed on your machine, in future I'll release Windows Binaries for people that don't like to install the interpreter only to run a few simple tasks.

For now I'm working on a GTK based GUI, but the program it's already functional, you must only gets the address of compressed data and write in the file config.xml like in the example I put in this file ([GBA]Advance Wars 1.1), GBB does the rest!

Here the results you can get running the exemple config.xml:

         

If anyone has question about how to proceed, feel free to ask, it's the purpose of this topic.
snesmaster40
Guest
« Reply #1 on: March 08, 2007, 11:04:07 am »

Damn! Excellent work, I'm pretty sure GBA rom hackers will love this
DarknessSavior
Guest
« Reply #2 on: March 08, 2007, 11:09:06 am »

Well, if I can ever get the Python Programming thing to run on Windows ME, I'll love it. If not, Boo. 

Seriously though, that certainly opens up the options for ALOT more GBA hacking around here. Nice job.

~DS
RadioShadow
Guest
« Reply #3 on: March 08, 2007, 11:09:57 am »

I :3 U!

That will become really useful for people who hack GBA roms.  It will be useful for my AW2 Hack and F-Zero Climax Translation.  I'm downloading it as we speak!

I hope it is better than unlzgba!  Tongue
KaioShin
Guest
« Reply #4 on: March 08, 2007, 11:22:44 am »

There are already several LZ unpackers for GBA, what's missing though is one for Huffman! I'd wish people would work on that.
RadioShadow
Guest
« Reply #5 on: March 08, 2007, 11:36:13 am »

Quote from: DarknessSavior on March 08, 2007, 11:09:06 am
Well, if I can ever get the Python Programming thing to run on Windows ME, I'll love it. If not, Boo. 

When have 'Windows ME' been good for anything!  Cheesy

One problem, how do you open the 'data' file?   Dumping date is nice and easy but I can't open the 'data' file.  Cry
« Last Edit: March 08, 2007, 11:44:36 am by RadioShadow »
Odin
Guest
« Reply #6 on: March 08, 2007, 11:53:26 am »

Quote
One problem, how do you open the 'data' file?

You can open with any tile editor, in the image I use Tile molester with the codec 4bpp-reverse, the codec used in Advance Wars.

Quote
There are already several LZ unpackers for GBA, what's missing though is one for Huffman! I'd wish people would work on that.

I know about other lz unpacker, I think it's called unlLZ-gba, you've to search the data... because he stop at any 0x10, the flag for LZ, you'll loose a several time to found what you need.

In GBB the user has to inform the address, editing the file config.xml, and he gain time with this.

The problem with Huffman is know where the lookup table is, when the time comes, I'll study to see if this address is standarized.

And we cannot forget there's another standart compression in GBA, a RL variant (RLE + map byte).
RadioShadow
Guest
« Reply #7 on: March 08, 2007, 01:36:23 pm »

Well it will be very useful for editing but I need to try Tile Molester out.

It will very useful for editing complicated compressed graphics.  Now you need to add the 'compress data' feature in.  Wink
Kitsune Sniper
Guest
« Reply #8 on: March 08, 2007, 02:27:01 pm »

So this extracts stuff, right? Does it compress stuff too? (Sorry, I'm dumb.)
RadioShadow
Guest
« Reply #9 on: March 08, 2007, 03:28:28 pm »

Quote from: Kitsune Sniper on March 08, 2007, 02:27:01 pm
So this extracts stuff, right? Does it compress stuff too? (Sorry, I'm dumb.)

No, Not at the moment.  Only extracts compressed data.   
KaioShin
Guest
« Reply #10 on: March 08, 2007, 03:30:09 pm »

There is also the excellent GBA Multi DeCompressor. You can give it a vba swi log and it will automatically extract all data which was called by the game. And you can of course extract specific addresses. Recompression is there too.
I guess this program is totally unknown since it comes from the Italian scene. I only know of it thanks to Gemini. We don't have it here either, I'll upload it right away.

Don't get me wrong, I don't want to downtalk your program. I'm happy for every GBA tool Smiley I just wanted to point out the lack of Huffman tools so far for the GBA.

By the way, the Huffman function from the Bios is fully standardized. Take a look at http://nocash.emubase.de/gbatek.htm#biosdecompressionfunctions
r0 will point to header data followed by the huffman tree. It should be easy to extract with a similar approach as GBAMdC by feeding a vba swi-log.
Odin
Guest
« Reply #11 on: March 08, 2007, 04:31:14 pm »

Very good KaionShin! In anytime I think you're downtalk the program, I published that previously version to submit to public opinion and I know I've to work hard to made it better. I think we've a estable version only in version 1, I'll release every version to everyone see the progress, in next version I'll release some more features.

The main purpose of gbb is to release a freeware tool to share romhacking knowledgment, that you can use in any os where python/gtk is supported - linux, win32, os/2 and others.

I've to say the Italian romhackers are extremely good, his tools and knowledgment are impressive!



Nightcrawler
Guest
« Reply #12 on: March 08, 2007, 05:23:58 pm »

Should any of these utilities be added to the database?
Odin
Guest
« Reply #13 on: March 08, 2007, 05:29:10 pm »

The GBB is already added, but I think the Italian GBAmdc is not.
Normmatt
Guest
« Reply #14 on: March 10, 2007, 06:26:33 pm »

I'm certain Parasyte's awesome GBA compression tool isn't in the archive, i found it on acmlm board a few years ago then it sort of disappeared from there aswell.

It decompresses all the bios compression formats and compresses 2 out of 3, only missing Huffman recompression, and it works great for everything I've used it for.
Pages: [1] 2  


Powered by SMF 1.1.4 | SMF © 2006-2007, Simple Machines LLC