fwunpack

zatelli

Well-Known Member
OP
Member
Joined
Jun 27, 2003
Messages
540
Trophies
0
Age
40
Location
Always on the move...
Website
Visit site
XP
431
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



 

FAST6191

Techromancer
Editorial Team
Joined
Nov 21, 2005
Messages
36,798
Trophies
3
XP
28,321
Country
United Kingdom
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.
 

qjopera

Well-Known Member
Newcomer
Joined
Nov 18, 2006
Messages
89
Trophies
0
XP
88
Country
United States
 Â
 Â
  Â
 Â

 Â
   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???
 

jeklnoo

Well-Known Member
Member
Joined
Oct 20, 2006
Messages
339
Trophies
0
Website
Visit site
XP
155
Country
United States
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.
 

_V1qY

Well-Known Member
Member
Joined
May 31, 2012
Messages
138
Trophies
0
XP
166
Country
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.
 

FAST6191

Techromancer
Editorial Team
Joined
Nov 21, 2005
Messages
36,798
Trophies
3
XP
28,321
Country
United Kingdom
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

General chit-chat
Help Users
    Xdqwerty @ Xdqwerty: