Thank you so much calebw you are the bestIf you made it could you add cia support as well?
Sorry, my bad. I forgot a dash. Change it to "--exefsdir=dec_exefs"
Thank you so much calebw you are the bestIf you made it could you add cia support as well?
Sorry, my bad. I forgot a dash. Change it to "--exefsdir=dec_exefs"
So you've managed to actually install a rom and get it to run?I'm working on a tutorial for converting roms to CIA files! Should be ready tonight hopefully.
I'm working on a tutorial for converting roms to CIA files! Should be ready tonight hopefully.
Import failed
Level: LEVEL_PERMANENT(-5)
Summary: SUMMARY_INVALID_ARGUMENT(7)
Module: MODULE_NN_AM(32)
Desc: (unknown)(106)
i had this error once, and i guess it is a faulty cia file. did you edit the .cia file after compiling?Do you know what causes this error on import?
Code:Import failed Level: LEVEL_PERMANENT(-5) Summary: SUMMARY_INVALID_ARGUMENT(7) Module: MODULE_NN_AM(32) Desc: (unknown)(106)
Why is it in the icon file?i had this error once, and i guess it is a faulty cia file. did you edit the .cia file after compiling?
p.s. anybody who wants to switch between regions: edit the byte at offset 2018 in icon.bin before compiling (http://3dbrew.org/wiki/SMDH#Region_Lockout), i had succes with pilotwings
Do you know what causes this error on import?
Code:Import failed Level: LEVEL_PERMANENT(-5) Summary: SUMMARY_INVALID_ARGUMENT(7) Module: MODULE_NN_AM(32) Desc: (unknown)(106)
I'm not sure what causes it, but I do know that almost all of the BBB sdk CIA files cause this error. The error code says its happening in "Application Manager" (AM)
I'm working on a tutorial for converting roms to CIA files! Should be ready tonight hopefully.
BasicInfo:
Title : "Custom Title"
CompanyCode : "00"
ProductCode : "CTR-P-DERP"
ContentType : Application # Application / SystemUpdate / Manual / Child / Trial
Logo : Nintendo # Nintendo / Licensed / Distributed / iQue / iQueForSystem
TitleInfo:
UniqueId : 0x7850
Category : Application
Option:
UseOnSD : true # true if App is to be #installed to SD
EnableCompress : true # Compresses exefs code
FreeProductCode : true # Removes limitations on ProductCode
EnableCrypt : true # Enables encryption for NCCH and CIA
MediaFootPadding : true # If true CCI files are created with padding
AccessControlInfo:
ExtSaveDataId: 0xb7850 # same as UniqueId
SystemSaveDataId1: 0x00000000 # plaintext exheader
SystemSaveDataId2: 0x00000000 # plaintext exheader
OtherUserSaveDataId1: 0x00000 # plaintext exheader
OtherUserSaveDataId2: 0x00000 # plaintext exheader
OtherUserSaveDataId3: 0x00000 # plaintext exheader
UseOtherVariationSaveData : false
SystemControlInfo:
SaveDataSize: 1M # plaintext exheader
RemasterVersion: 0 # plaintext exheader
StackSize: 0x00040000 # plaintext exheader
JumpId: 0x000400000b000000L # plaintext exheader (<full UniqueID>L)
makerom -f cia -target t -desc app:1 -icon icon.bin -banner banner.bin -exefslogo -code code.bin -exheader exh.bin -romfs romfs.bin -rsf cia.rsf -o Install.cia
Thanks, i will test today. If the roms are decrypted, this mean I also can install 7X games, right?ROM to CIA Guide
This guide requires makerom and ctrtool.
Step1: decrypt the .3ds rom.
I will not explain it in this tutorial, as it is explained a couple of times around the forum. (http://gbatemp.net/threads/release-3ds_ctr_decryptor-void.370684/)
If you end up with a decrypted romfs.bin, exheader.bin, code.bin (decompressed), icon.bin and banner.bin you did everything correct.
Step2: creating an .rsf file
The .rsf file is a little bit different then the one for .3ds roms. Anyway here is the proper one, make sure you fill in the XXXX the right way. Just copy the text in the codebox underneath in a text editor and save it as cia.rsf in the folder with the other stuff.
• you can open the exheader or original rom in a hex editor to look up the right values for the companycode, producttyp and productcode
•For the correct UniqueID you can check ctrtool and the official rom. Just remove the last 2 0 and write the 4 digits before that in the .rsf file:
Code:BasicInfo: Title : "Custom Title" CompanyCode : "00" ProductCode : "CTR-P-DERP" ContentType : Application # Application / SystemUpdate / Manual / Child / Trial Logo : Nintendo # Nintendo / Licensed / Distributed / iQue / iQueForSystem TitleInfo: UniqueId : 0x7850 Category : Application Option: UseOnSD : true # true if App is to be #installed to SD EnableCompress : true # Compresses exefs code FreeProductCode : true # Removes limitations on ProductCode EnableCrypt : true # Enables encryption for NCCH and CIA MediaFootPadding : true # If true CCI files are created with padding AccessControlInfo: ExtSaveDataId: 0xb7850 # same as UniqueId SystemSaveDataId1: 0x00000000 # plaintext exheader SystemSaveDataId2: 0x00000000 # plaintext exheader OtherUserSaveDataId1: 0x00000 # plaintext exheader OtherUserSaveDataId2: 0x00000 # plaintext exheader OtherUserSaveDataId3: 0x00000 # plaintext exheader UseOtherVariationSaveData : false SystemControlInfo: SaveDataSize: 1M # plaintext exheader RemasterVersion: 0 # plaintext exheader StackSize: 0x00040000 # plaintext exheader JumpId: 0x000400000b000000L # plaintext exheader (<full UniqueID>L)
step 3: creating the .cia
Open the command window in the folder with the exefs.bin, exheader.bin, romfs.bin, icon.bin, code.bin, banner.bin, cia.rsf and makerom. Now run the following command:
this will output an .cia file which you can install with the DevMenu and then run.
If you encounter an error saying "[ROMFS ERROR] Invalid RomFS Binary.", then remove the "-romfs romfs.bin" from the command.
-snip-
Is it normale that my upper screen becomes blue when trying to installare CIA?
Thanks, i will test today. If the roms are decrypted, this mean I also can install 7X games, right?
Mario Kart 7, and I typed this :
Code:makerom -f cia -o MK7.cia -rsf RSF.rsf -target d -desc app:2 -exheader decrypted/exheader.bin -exefslogo -code decrypted/exefs/code.bin -icon decrypted/exefs/icon.bin -banner decrypted/exefs/banner.bin pause
ROM to CIA Guide
This guide requires makerom and ctrtool.
-snip-
makerom -f cia -rsf rsf.rsf -target t -desc app:1
-icon decrypted/exefs/icon.bin -banner decrypted/exefs/banner.bin -exefslogo -ex
header decrypted/exheader.bin -romfs decrypted/romfs.bin -rsf rsf.rsf -o rom.cia
BasicInfo:
Title : "The Legend of Zelda: Ocarina of Time 3D"
CompanyCode : "00"
ProductCode : "CTR-P-AQEE"
ContentType : Application # Application / SystemUpdate / Manual / Child / Trial
Logo : Nintendo # Nintendo / Licensed / Distributed / iQue / iQueForSystem
TitleInfo:
UniqueId : 0x0335
Category : Application
Option:
UseOnSD : true # true if App is to be #installed to SD
EnableCompress : true # Compresses exefs code
FreeProductCode : true # Removes limitations on ProductCode
EnableCrypt : true # Enables encryption for NCCH and CIA
MediaFootPadding : true # If true CCI files are created with padding
AccessControlInfo:
ExtSaveDataId: 0x0335 # same as UniqueId
SystemSaveDataId1: 0x00000000 # plaintext exheader
SystemSaveDataId2: 0x00000000 # plaintext exheader
OtherUserSaveDataId1: 0x00000 # plaintext exheader
OtherUserSaveDataId2: 0x00000 # plaintext exheader
OtherUserSaveDataId3: 0x00000 # plaintext exheader
UseOtherVariationSaveData : false
SystemControlInfo:
SaveDataSize: 128K # plaintext exheader
RemasterVersion: 0 # plaintext exheader
StackSize: 0x00004000 # plaintext exheader
JumpId: 0x0004000000033500L # plaintext exheader (<full UniqueID>L)