Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

ExInjector 3DS: Difference between revisions

From GameBrew
No edit summary
No edit summary
Line 8: Line 8:
|version=2015
|version=2015
|license=Mixed
|license=Mixed
|download=https://dlhb.gamebrew.org/3dshomebrew/ExInjector.rar
|download=https://dlhb.gamebrew.org/3dshomebrews/exinjector.7z
|website=https://gbatemp.net/threads/release-exinjector-inject-original-exheaders-into-repacked-roms.373839/
|website=https://gbatemp.net/threads/release-exinjector-inject-original-exheaders-into-repacked-roms.373839/
}}
}}
<youtube>uXu-dHnTiJA</youtube>
ExInjector is a tool that can inject original exheaders into repacked roms. This solves about 90% of all compatibility problems with repacked roms, since issues usally come from exheader settings.


This solves about 90% of all compatibility problems with repacked roms, since issues usally come from exheader settings.
You no longer need to spend time tweaking RSF files. Get any good RSF file and you just have to set the obvious settings, such as BasicInfo, CardInfo and Options. Leave the rest as is and build with any -desc template.


You don't need to waste time tweaking RSF files anymore. Get any good RSF file and you just have to set the obvious settings, like BasicInfo, CardInfo and Options. Leave the rest as is and build with any -desc template.
Inject the original exheader and you always get a flawlessly repacked rom. It can also make any rom work from the SD and spoof firmware requirements as if the game was made for v4.0 (won't make the most recent games work though).  


Inject the original exheader and you always get a flawlessly repacked rom.
==User guide==
It works via command line, you can include it into your batch scripts but you can also double click the exe and it will ask you for the files.


It can also make any rom work from the SD and spoof firmware requirements as if the game was made for v4.0 (won't make the most recent games work though).
There is also a new feature: it can make any game work from the SD card, but only if your rom isn't encrypted.


It's a command line tool but double clicking the exe will also work.
Remember you need to extract the exheader with ctrtool. If you dump it with 3DSExplorer it won't work.


This method was originally discovered by [https://gbatemp.net/members/70776/ ground], but it takes a bit of work to be done manually, so I made this crappy thing.
Below is an example of repacking Animal Crossing into a functional CIA file:
I also added a new feature: it can make any game work from the SD card, but only if your rom isn't encrypted.
..\makerom -f ncch -target t -desc ecapp:3 -rsf gw.rsf -exefslogo -romfs extracted\xored_romfs.bin -exheader extracted\xored_exheader.bin -code extracted\exefs\code.bin -icon extracted\exefs\icon.bin -banner extracted\exefs\banner.bin -alignwr -o ANIMALTEST.CXI
..\exinjector -rom ANIMALTEST.cxi -exheader extracted\xored_exheader.bin -sd -fwspoof
..\makerom -f cia -target t -content ANIMALTEST.cxi:0:0 -o ANIMALTEST.cia


It works via command line, so you can include it into your batch scripts but you can also double click the exe and it will ask you for the files.
==Screenshots==
https://dlhb.gamebrew.org/3dshomebrews/exinjector3.png


(Remember you need to extract the exheader with ctrtool. If you dump it with 3DSExplorer it won't work)
==Changelog==
'''Update 6'''
* Fixed some little stuff and disable exheader's &quot;SD App&quot; flag if the &quot;-sd&quot; switch isn't used


'''Update 1:'''
'''Update 5'''
* Now it checks if it's a retail rom;
* Only offfer fw spoofing if the selected rom requires it.
* Doesn't use msg.exe anymore;
 
'''Update 2:'''
* Supports NCCH files.
* Changed bat example because -ccitocia option is buggy (thanks [https://gbatemp.net/members/350928/ VerseHell])


'''Update 4:'''
'''Update 4'''
* Supports firmware spoofing, so more games can run on the CFW's 4.X NAND.
* Supports firmware spoofing, so more games can run on the CFW's 4.X NAND.
* Any game that works with Gateway's firmware spoofing should work in the CFW as well.
* Any game that works with Gateway's firmware spoofing should work in the CFW as well.
* Thanks, [https://gbatemp.net/members/176570/ Riku], for the idea.
* Thanks, [https://gbatemp.net/members/176570/ Riku], for the idea.


'''Update 5:'''
'''Update 2'''
* Only offfer fw spoofing if the selected rom requires it.
* Supports NCCH files.
* Changed bat example because -ccitocia option is buggy (thanks [https://gbatemp.net/members/350928/ VerseHell]).
 
'''Update 1'''
* Now it checks if it's a retail rom.
* Doesn't use msg.exe anymore.


'''Update 6:'''
==Credits==
Fixed some little stuff and disable exheader's &quot;SD App&quot; flag if the &quot;-sd&quot; switch isn't used
This method was originally discovered by [https://gbatemp.net/members/70776/ ground].


'''Example''':
==External links==
here's what I used to repack Animal Crossing into a functional CIA file:
* GBAtemp - https://gbatemp.net/threads/release-exinjector-inject-original-exheaders-into-repacked-roms.373839


* ..\makerom -f ncch -target t -desc ecapp:3 -rsf gw.rsf -exefslogo -romfs extracted\xored_romfs.bin -exheader extracted\xored_exheader.bin -code extracted\exefs\code.bin -icon extracted\exefs\icon.bin -banner extracted\exefs\banner.bin -alignwr -o ANIMALTEST.CXI
[[Category:3DS homebrew applications]]
* ..\exinjector -rom ANIMALTEST.cxi -exheader extracted\xored_exheader.bin -sd -fwspoof
[[Category:PC utilities for 3DS homebrew]]
* ..\makerom -f cia -target t -content ANIMALTEST.cxi:0:0 -o ANIMALTEST.cia

Revision as of 13:33, 19 February 2022

ExInjector
File:ExInjector.jpg
General
Authorpiratesephiroth
TypePC Utilities
Version2015
LicenseMixed
Last Updated2015/10/16
Links
Download
Website

ExInjector is a tool that can inject original exheaders into repacked roms. This solves about 90% of all compatibility problems with repacked roms, since issues usally come from exheader settings.

You no longer need to spend time tweaking RSF files. Get any good RSF file and you just have to set the obvious settings, such as BasicInfo, CardInfo and Options. Leave the rest as is and build with any -desc template.

Inject the original exheader and you always get a flawlessly repacked rom. It can also make any rom work from the SD and spoof firmware requirements as if the game was made for v4.0 (won't make the most recent games work though).

User guide

It works via command line, you can include it into your batch scripts but you can also double click the exe and it will ask you for the files.

There is also a new feature: it can make any game work from the SD card, but only if your rom isn't encrypted.

Remember you need to extract the exheader with ctrtool. If you dump it with 3DSExplorer it won't work.

Below is an example of repacking Animal Crossing into a functional CIA file:

..\makerom -f ncch -target t -desc ecapp:3 -rsf gw.rsf -exefslogo -romfs extracted\xored_romfs.bin -exheader extracted\xored_exheader.bin -code extracted\exefs\code.bin -icon extracted\exefs\icon.bin -banner extracted\exefs\banner.bin -alignwr -o ANIMALTEST.CXI
..\exinjector -rom ANIMALTEST.cxi -exheader extracted\xored_exheader.bin -sd -fwspoof
..\makerom -f cia -target t -content ANIMALTEST.cxi:0:0 -o ANIMALTEST.cia

Screenshots

exinjector3.png

Changelog

Update 6

  • Fixed some little stuff and disable exheader's "SD App" flag if the "-sd" switch isn't used

Update 5

  • Only offfer fw spoofing if the selected rom requires it.

Update 4

  • Supports firmware spoofing, so more games can run on the CFW's 4.X NAND.
  • Any game that works with Gateway's firmware spoofing should work in the CFW as well.
  • Thanks, Riku, for the idea.

Update 2

  • Supports NCCH files.
  • Changed bat example because -ccitocia option is buggy (thanks VerseHell).

Update 1

  • Now it checks if it's a retail rom.
  • Doesn't use msg.exe anymore.

Credits

This method was originally discovered by ground.

External links

Advertising: