Hacking Fgb32


Dryer Lint

Member
Joined
May 15, 2005
Messages
143
I really love the latest fGB32, but the fact that it doesn't save the settings is giving me headaches. I find myself setting all the same options again and again each time I start it (which is quite often), most notably activating full-screen mode.

So I had the idea to edit the fxe with a hex editor and try to change the default values for some of the options, seeing that the next update for fGB32 could be sometime between tomorrow and never. Just as a temporary solution. ;-)

But it turns out hacking FXEs is not quite as simple as hacking save-games of old DOS games. :p

If anybody thinks he could do this, I'd be immensely happy!

My usual settings are 2:1,66 (?) fullscreen mode, gray mono palette, sound filter and QSound on. But if someone told me the offsets and the right values, I'd patch the file myself, no need to upload anything!

Thanks a lot!
 
Dryer Lint posted on Oct 9 2005 at 11:36 AM said:
I really love the latest fGB32, but the fact that it doesn't save the settings is giving me headaches. I find myself setting all the same options again and again each time I start it (which is quite often), most notably activating full-screen mode.

So I had the idea to edit the fxe with a hex editor and try to change the default values for some of the options, seeing that the next update for fGB32 could be sometime between tomorrow and never. Just as a temporary solution. ;-)

But it turns out hacking FXEs is not quite as simple as hacking save-games of old DOS games. :p

If anybody thinks he could do this, I'd be immensely happy!

My usual settings are 2:1,66 (?) fullscreen mode, gray mono palette, sound filter and QSound on. But if someone told me the offsets and the right values, I'd patch the file myself, no need to upload anything!

Thanks a lot!
most fxe's are compressed with b2fxec so you must first decompress them.
 
Last edited by a moderator:
Thanks for the hint!

I tried decompressing it with unfxe but the output file is actually 1KB smaller and doesn't seem any less encrypted.

Did I do anything wrong? I used this command:

unfxe -o fgb fGB32.fxe
 
that will not work, that tool is only for extracting gxb's from "normal" fxe's.
I think that there is not a tool to decrypt fxe's, you must load them into geepee and dump them from there.

Edit there is:
http://www.cs.helsinki.fi/u/jikorhon/conde...2/download.html
"GS decrunch0.S b2fxec algorithm 0 decrompression source code (in ARM asm).
GS decrunch2.S b2fxec algorithm 2 decompression source code (in ARM asm).
GS decrunch3.S b2fxec algorithm 3 decompression source code (in ARM asm)."

but youll have to compile it yourself.
 
Does anyone know if rlyeh released a source for fgb32? I know there is one available for the old version (his first release), but I couldn't find a source for the newest version (the one he released for his f-day preview in the gbax compo).

Anyone know?
 
Back
Top