fwunpack

  • Thread starter Thread starter zatelli
  • Start date Start date
  • Views Views 3,204
  • Replies Replies 7

zatelli

Well-Known Member
Member
Joined
Jun 27, 2003
Messages
540
Reaction score
1
Trophies
2
Age
43
Location
Always on the move...
Website
Visit site
XP
471
Country
France







fwunpack

DS Firmware unpacker








Chishm said:

For reasons that are too long to bother explaining now, I decided to write a firmware unpacker. That was over a week and a half ago. I finally finished it. So other people don't have to go through the same trouble, get fwunpack.



What does it do?


It decrypts and decompresses all the binaries (parts 1-5 and FlashMe stubs) from a firmware dump.



What use is it?


To satisfy your curiousity.



Can I make my own firmware with this?

No, there is no repacker, but I suppose it isn't too hard to write one now. The worst bit would be writing the compressor for parts 3-5.



download.gif
Fwunpack - DS Firmware unpacker



 
Nice tool I will have to try it out.

You can make a new firmware quite reasonably already (all this info is available).

This tool is really just for reverse enginering the standard firmware (to get it to a stage where you can disassemble it), as it says you would have to find a way to re-encrypt and compress it yourself though before you could create your own.
 
 Â
 Â
  Â
 Â

 Â
   fwunpack

   DS Firmware unpacker

 Â
Â



Â
 Â
  Â
Chishm said:

For reasons that are too long to bother explaining now, I decided to write a firmware unpacker. That was over a week and a half ago. I finally finished it. So other people don't have to go through the same trouble, get fwunpack.



What does it do?


It decrypts and decompresses all the binaries (parts 1-5 and FlashMe stubs) from a firmware dump.



What use is it?


To satisfy your curiousity.



Can I make my own firmware with this?

No, there is no repacker, but I suppose it isn't too hard to write one now. The worst bit would be writing the compressor for parts 3-5.



download.gif
Fwunpack - DS Firmware unpacker








QUOTE(FAST6191 @ Feb 14 2007, 04:13 PM)Nice tool I will have to try it out.

You can make a new firmware quite reasonably already (all this info is available).

This tool is really just for reverse enginering the standard firmware (to get it to a stage where you can disassemble it), as it says you would have to find a way to re-encrypt and compress it yourself though before you could create your own.



so can this be used to replace the vaporware firmware of the MK3 with that of another flashcart's like m3 simply or r4 for better compatibility or ninjads since ninjads has an sd card slot??? can I use this to make MK3 act as a gba cart using it's inner flash plus that of a slot-2 cart for running gba games from the slot-1 carts as long as they are burned???
 
so can this be used to replace the vaporware firmware of the MK3 with that of another flashcart's like m3 simply or r4 for better compatibility or ninjads since ninjads has an sd card slot??? can I use this to make MK3 act as a gba cart using it's inner flash plus that of a slot-2 cart for running gba games from the slot-1 carts as long as they are burned???

no. now go away.
 
Are there any sources that can recompress the firmware? I've looked at Desmume source code and it doesn't contain recompressors. I downloaded NitroSDK which does indeed have Huffman compressor, but it is producing a different result from the original when I attempt to repack.
 
Are there any sources that can recompress the firmware? I've looked at Desmume source code and it doesn't contain recompressors. I downloaded NitroSDK which does indeed have Huffman compressor, but it is producing a different result from the original when I attempt to repack.

If this is related to http://gbatemp.net/threads/emulator-that-supports-firmware-writing.356194/ did Crystaltile2 not do what you want?

Equally the way Huffman works is it scans the file to find the most common runs of hex and giving them lookups. If you change the file you change the distribution/most common runs and thus are not likely to get an identical one. Similarly depending upon the scan type/complexity it might not pick up all the same things.

As you asked for compression though http://gbatemp.net/threads/nintendo-ds-gba-compressors.313278/ is pretty much reference grade.

For the record though this is the only thing that even touches the firmware beyond dumping it and the names/birthdays/colours thing that Crystlatile2 and all the others do.
 

Site & Scene News

Popular threads in this forum