ROM Hack [Release] ExInjector - Inject original exheaders into repacked roms

piratesephiroth

I wish I could read
OP
Member
Joined
Sep 5, 2013
Messages
3,453
Trophies
2
Age
103
XP
3,233
Country
Brazil
-desc <app type>:<firm version>

  • 'app type' can be SDApp / ECApp / Demo / DlpChild
  • 'firm version' is the target kernel version minor for the intended 3DS system
in the wiki show sdapp ecapp but not app and so much people use app

What is the difference between ecapp app and sdapp please. Explain.
'Ecapps' use additional services, like for installing DLC.
New Super Mario Bros 2 is a 'ecapp'.
 

piratesephiroth

I wish I could read
OP
Member
Joined
Sep 5, 2013
Messages
3,453
Trophies
2
Age
103
XP
3,233
Country
Brazil

Maybe problem was save size, after examining exheader.txt, it has to be 10M.
I noticed that Exinjector works fine with Animal Crossing. The issue is that the exefs must not be compressed when rebuilding the rom (you must set EnableCompress to false, because commenting it out will make it use the default setting, that's compression enabled)
 
  • Like
Reactions: liomajor

piratesephiroth

I wish I could read
OP
Member
Joined
Sep 5, 2013
Messages
3,453
Trophies
2
Age
103
XP
3,233
Country
Brazil
Yep, USA Animal Crossing works 100% fine installed on 4.5 NAND. Just remember to set everything correctly, it's a Card2 game with 10 MB save file
Will try Pokemon Y now.
 
  • Like
Reactions: Margen67

CalebW

Fellow Temper
Member
Joined
Jun 29, 2012
Messages
638
Trophies
0
Location
Texas
XP
545
Country
United States
I'm having trouble with ExInjector.
Here's the command:
Code:
exinjector -rom Convert.cxi -exheader exheader.bin -sd

And here's the output:
Code:
fixme:heap:HeapSetInformation (nil) 1 (nil) 0
fixme:event:wait_for_withdrawn_state window 0x1500de/5400003 wait timed out
fixme:cscript:wWinMain (0x7eff0000 (nil) L"C:\\users\\family\\Temp\\axdpwrvyzn.vbs" 0) forwarding to wscript
fixme:vbscript:VBScript_SetScriptState unimplemented SCRIPTSTATE_INITIALIZED
fixme:vbscript:Global_MsgBox unsupported arg_cnt 3

I'm using the latest ExInjector from the front of this thread.

And when I run the gui, I just get the rom and exheader selection screen, I'm not asked if I want to used it on the sd card.
 

hkihihi

Member
Newcomer
Joined
Nov 14, 2013
Messages
16
Trophies
0
Age
113
XP
63
Country
United States
Yep, USA Animal Crossing works 100% fine installed on 4.5 NAND. Just remember to set everything correctly, it's a Card2 game with 10 MB save file
Will try Pokemon Y now.
Did you install Animal Crossing on EMUNAND 4.5 or NAND 4.5? I don't think you can run DEVMENU on NAND 4.5 unless your system is CFW.
 

kevin_1351

Well-Known Member
Newcomer
Joined
Apr 20, 2014
Messages
88
Trophies
0
Age
29
Location
Lugano, Switzerland
XP
497
Country
Switzerland
How can I change the header of a 3ds file without converting it into cia?
Do I really have to unpack all of it? I can get the header with ctrtool, decrypt it with the xorpad and now? How can I get it back in? I tried using this tool but I'm missing some step it seems...

edit: after some research it seems that cci = csu = 3ds correct? So all I need to do is do unpack the rom, decrypt it, and put it back together again as a cci, and then i should convert the extension name to 3ds?

Or could I even just rename the makerom -f cia to cci in the batch files?
 

liomajor

Well-Known Member
Member
Joined
Jun 10, 2008
Messages
1,468
Trophies
0
XP
1,373
Country
United States
3ds to cia v1.03

Required:
Python 2.7
(Add Path to windows enviroments!)

How to use:
1. Create your xorpads and put all files into 3ds to cia dir
2. Drag n drop .3ds / .3dz on make.bat

Freatures:

7.x Support
Region Free fix
Offers injecting original EXHEADER
Offers spoofing Firmware to 4.x
Offers using your own .rsf (no exinjector)
If a game manual is detected, it will be included
Choice to compress EXEFS - thx @ piratesephiroth

Info:
_makerom is 64bit makerom is 32bit

If your windows is 32bit, rename
makerom to _makerom (using _ in script!)

Included in Package:

ctrKeyGen
Launcher
slot0x25KeyX (you need to insert the key - google it!)

It looks pretty good at my side,
everything works well now.
 

Attachments

  • 3ds_to_cia_1.03.rar
    1.8 MB · Views: 338

piratesephiroth

I wish I could read
OP
Member
Joined
Sep 5, 2013
Messages
3,453
Trophies
2
Age
103
XP
3,233
Country
Brazil
How can I change the header of a 3ds file without converting it into cia?
Do I really have to unpack all of it? I can get the header with ctrtool, decrypt it with the xorpad and now? How can I get it back in? I tried using this tool but I'm missing some step it seems...

edit: after some research it seems that cci = csu = 3ds correct? So all I need to do is do unpack the rom, decrypt it, and put it back together again as a cci, and then i should convert the extension name to 3ds?

Or could I even just rename the makerom -f cia to cci in the batch files?
Yeah, the first step should be getting the xorpads.
Then you extract the contents with ctrtool and decrypt using the exorpads.
Repack the rom with makerom and you'll be able to inject the exheader.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • BakerMan
    I rather enjoy a life of taking it easy. I haven't reached that life yet though.
  • BigOnYa
  • Xdqwerty
    what are you looking at?
    BakerMan @ BakerMan: i'm gonna start saying uninvoluntary to piss my dad off lmfao