Cro tool 3DS: Difference between revisions

From GameBrew
(Created page with "{{Infobox 3DS homebrew | title = cro_tool | image = https://dlhb.gamebrew.org/3dshomebrew/cro_tool.jpg|250px | type = Hack Utilities | version = v1.2 | licence = Mixed | autho...")
 
m (Text replacement - "Category:3DS homebrew rom hacks" to "")
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Infobox 3DS homebrew
{{Infobox 3DS Homebrews
| title = cro_tool
|title=cro_tool
| image = https://dlhb.gamebrew.org/3dshomebrew/cro_tool.jpg|250px
|image=Crotool2.png
| type = Hack Utilities
|description=CRO resigner for Pokemon ROM hacks.
| version = v1.2
|author=WulfyStylez
| licence = Mixed
|lastupdated=2015/09/15
| author = WulfyStylez
|type=Hack Utilities
| website = https://gbatemp.net/threads/release-cro_tool-cro-resigner-for-rom-hacks-etc.395148/
|version=1.2
| download = https://dlhb.gamebrew.org/3dshomebrew/cro_tool.rar
|license=Mixed
| source = https://dlhb.gamebrew.org/3dshomebrew/cro_tool.rar
|download=https://dlhb.gamebrew.org/3dshomebrews/crotool.7z
|website=https://gbatemp.net/threads/release-cro_tool-cro-resigner-for-rom-hacks-etc.395148
|source=https://dlhb.gamebrew.org/3dshomebrews/crotool.7z
}}
}}
<youtube>uXu-dHnTiJA</youtube>
This tool is used to allow the modification of [http://3dbrew.org/wiki/CRO0 CRO libraries] on 3DSes under FIRMs with PS:VerifyRsaSha256 patched in some form. On pirate CFWs, this is patched already. ARM11-based hacks which allow for romfs-file replacement won't work with this.


It came to my attention recently ([https://gbatemp.net/members/347030/ @SciresM] mentioned it elsewhere) that even with RSA checks patched, hacked 3DS app libraries (CROs) still won't run when patched. Because of that, I threw together this tool to allow exactly that.
This is done by rebuilding hashes for each CRO file, then rehashing and resigning the CRR file based on those. A static RSA key is used for signing, since a hash of the latter half of the CRR must be signed even with VerifyRsaSha256 patched.
Hopefully this will help ROM hackers who've wanted to modify their games, but have been held back due to this. Pokemon, I've heard, has an assload of the game 'locked up' in CROs.


CRO/CRRs modified with this tool will only work on 3DSes with PS:VerifyRsaSha256 patched in some form. On pirate CFWs, this is patched already. ARM11-based hacks which allow for romfs-file replacement won't work with this (though none exist/are out yet).
==User guide==
To use, put cro_tool in a folder with all CRO files from the target application.  


Usage: cro_tool [-v] static.crr
Afterward, just use cro_tool [-v] static.crr or drag-n-drop static.crr onto cro_tool.
��-v: verify crr/cros instead of rehashing/resigning
Make sure you've got all the app's CROs in the same directory as cro_tool. Afterward you can even just drag-n-drop static.crr onto cro_tool (you should probably run it from cmd/shell to make sure it's working, though.)


Downloads (win64 binary and source):
An invalid Nintendo signature is the intended behavior after resigning a crr with this tool.  
[https://mega.nz/#!Kx4R2BRB!XgVJwGv7YiWr1rGtzRH6bA5r01QGfHF2lPfztFFWPNg MEGA]
[https://www.mediafire.com/download/78mmf354wbbna8t/cro_toolv1.2.zip MEDIAFIRE]
<div class="messageTextEndMarker">


==Changelog==
'''1.1'''
* Do hash verification how RO does it (just ensure the hash exists in the CRR hashtable, position-independent).
* Scan for cro files instead of user-specifying them.


</div>
==Credits==
Thanks to 3DSguy and neimod for ctrtool, which this tool was hastily built off of.
 
==External links==
* GBAtemp - https://gbatemp.net/threads/release-cro_tool-cro-resigner-for-rom-hacks-etc.395148

Latest revision as of 06:17, 6 May 2024

cro_tool
Crotool2.png
General
AuthorWulfyStylez
TypeHack Utilities
Version1.2
LicenseMixed
Last Updated2015/09/15
Links
Download
Website
Source

This tool is used to allow the modification of CRO libraries on 3DSes under FIRMs with PS:VerifyRsaSha256 patched in some form. On pirate CFWs, this is patched already. ARM11-based hacks which allow for romfs-file replacement won't work with this.

This is done by rebuilding hashes for each CRO file, then rehashing and resigning the CRR file based on those. A static RSA key is used for signing, since a hash of the latter half of the CRR must be signed even with VerifyRsaSha256 patched.

User guide

To use, put cro_tool in a folder with all CRO files from the target application.

Afterward, just use cro_tool [-v] static.crr or drag-n-drop static.crr onto cro_tool.

An invalid Nintendo signature is the intended behavior after resigning a crr with this tool.

Changelog

1.1

  • Do hash verification how RO does it (just ensure the hash exists in the CRR hashtable, position-independent).
  • Scan for cro files instead of user-specifying them.

Credits

Thanks to 3DSguy and neimod for ctrtool, which this tool was hastily built off of.

External links

Advertising: