Tool to prepare DS and DSi roms for use on a cartridge. The tool inserts the necessary NTR and TWL blowfish key blocks and encrypts the NTR secure area (0x4000-0x4800).
DSRomEncryptor [--dsidev] input.nds output.nds
--dsidev- (optional) insert dev twl blowfish instead of retail, for use with twl dev units;input.nds- path to the input nds file;output.nds- path to the output nds file.
The blowfish tables to be used by DSRomEncryptor are not included and need to be supplied by the user. The files described below go in the executable directory of DSRomEncryptor. Twl blowfish is only necessary when processing twl hybrid or exclusive roms, and the dev variant is only used when using the --dsidev flag.
- Ntr blowfish
- Either
ntrBlowfish.bincontaining the ntr blowfish table (SHA1:84E467F2485078E401A17A5F231E3FE6E9686648) - Or a ds arm7 bios dump named
biosnds7.rom(SHA1:24F67BDEA115A2C847C8813A262502EE1607B7DF)
- Either
- Twl blowfish (retail)
- Either
twlBlowfish.bincontaining the twl blowfish table (SHA1:2DEA11191F28C6CC1956DADB8941AFFD4B2B5102) - Or a dsi arm7i bios dump named
biosdsi7.rom(SHA1:A3AA751EB6BDAAF8A827BA9E03576A6F1AB0F547for an incomplete dump orC7C7570BFE51C3C7C5DA3B01331B94E7E7CB4F53for a complete dump)
- Either
- Twl blowfish (dev)
twlDevBlowfish.bincontaining the dev twl blowfish table (SHA1:CFF62F24444F5494001F019D505F9C51D40FC8B3)
DSRomEncryptor is licensed under the MIT License, see LICENSE for more information.