GP32 Unpack A B2fxec Fxe


Orion_

Member
Joined
Oct 4, 2003
Messages
69
Location
France
Website
onorisoft.free.fr
Hi !
I have an old fxe that I made some years ago, and I lost the source code :(
the fxe was created using b2fxeC
that means it's compressed, I tried to use unfxe but all I get is a bin file that is packed :/
how can I unpack it to get the original bin file ?

Thanks.
 
I tried that ! :)
I also stated a good thing, it's that the fxe seems to be loaded at the beginning of the ram \o/
so once loaded I set a breakpoint at the beginning of the ram and when it's unpacked I dump the memory.
the problem is .. when I repack this bin file into an fxe It doesn't work anymore :(
at first I thought it was because of the modification I made to the bin file, but without modifying anything I got the same result :/
 
Read these locations to find code/memory start/end:

0x0C7B0E04 - Application code start
0x0C7B0E08 - Application code end
0x0C7B0E0C - Application data start
0x0C7B0E10 - Application data end
0x0C7B0E14 - Application bss start
0x0C7B0E18 - Application bss end

The problem you'll have with dumping, editing and repacking is the data and bss sections. The file values for these should be at the start of the file, and normally resolved by the loader or unpacker.
 
Back
Top