roxas75 / rxTools

rxTools
http://www.rxtools.net/
GNU General Public License v2.0
266 stars 81 forks source link

Add a lot of TWL_FIRM patches, see https://gist.github.com/Steveice10/8a6965c59192ac970832 #403

Closed TuxSH closed 8 years ago

TuxSH commented 8 years ago

This pull request add the following patches to TWL_FIRM (v8817, still only for O3DS right now, but could easly be ported to N3DS, I believe):

  1. A SHA compare stub, in other words, a signature patch and a hash patch, allowing unsigned and/or corrupt DS(i) titles to run. In other words: region-free DSiWare and DSiWare romhacks are now possible
  2. A whitelist check patch, enabling whitelisted DSi flashcarts to run without any update
  3. A save type check patch, enabling flashcarts that were previously blocked by firmware 4.4.0-10 to run without any update. With this patch and the one above, you should be able to run most DSi-compatible flashcarts
  4. A DSi cartridge save exploit check patch, for "Classic Word Games" and "Cooking Coach"
  5. A blacklist check patch, mainly (if not exclusively) to run demo cartridges
  6. A Nintendo logo check patch, even if it's not really needed

Patches 1., 2., 4., 6., were found by @Steveice10 while patches 3. and 5. were found by me. A huge thanks to @ApacheThunder as well for the amazing work he did on the issue (unpacking, packing patched TWL_FIRM, testing as well as many other things).

For some reasons there is still something to patch to get titles like TWLNandFiler to work. It's possible that DSiWare banners aren't displayed correctly.

TuxSH commented 8 years ago

Fixed.

mariogamer2 commented 8 years ago

How to do a romhack?

TuxSH commented 8 years ago

I guess you'll have to do:

ctrtool --content=content dsiware.cia
mv contents.whatever legit_rom.nds
twltool modcrypt -in legit_rom.nds -out legit_rom_decrypted.nds
[use Tinke or whatever]
twltool modcrypt -in rom_patched.nds -out rom_patched_encrypted.nds
make_cia --srl=rom_patched_encrypted.nds -o final.cia

Or something like that, but I'm not an expert on that matter.

mariogamer2 commented 8 years ago

Where to found twltool,? (already know makerom and ctr tool)

TuxSH commented 8 years ago

https://gbatemp.net/threads/release-twltool-dsi-downgrading-save-injection-etc-multitool.393488/ .

Further questions on GBATemp (or anywhere else) please. And I don't really know how to make those ...

mariogamer2 commented 8 years ago

Ok thank

gudenau commented 6 years ago

That's annoying, the gist isn't there.