ROM Hack is it possible to change product code WITOUTH using 3ds builder?

Yes, in fact once you learn how to use the trinity (ctrtool 3dstool makerom) you realize how limited those tools really are...

You need to extract the NCCH into its parts (header, exeader, exefs, plain region, logo, romfs, ...) with 3dstool, then the product code is in the header:
Cattura.PNG
You have 16 bytes to express yourself, so you don't need to follow the "?TR-?-????" format! (all homebrew cia authors, please read carefully!) :)
 
  • Like
Reactions: ihaveahax
Yes, in fact once you learn how to use the trinity (ctrtool 3dstool makerom) you realize how limited those tools really are...

You need to extract the NCCH into its parts (header, exeader, exefs, plain region, logo, romfs, ...) with 3dstool, then the product code is in the header:
View attachment 51692
You have 16 bytes to express yourself, so you don't need to follow the "?TR-?-????" format! (all homebrew cia authors, please read carefully!) :)
Product Code doesn't have a hash check, so you just need to extract the NCCH container and edit it in the header. no need to extract ExeFS/RomFS/etc. separately just for this
 
Get the 3 programs, msvcr120.dll, and the cia (I'll call it "oras.cia") in the same folder;
open a command line in this folder;
"ctrtool oras.cia --contents=ncch" to extract all partitions into files called ncch.000?.????????, you want the one with a 0 in the 4-digit number
"3dstool -xvtf cxi ncch.0000.???????? --header cxiheader.bin --exh exheader.bin --plain plain.bin --exefs exefs.bin --romfs romfs.bin --logo logo.bcma.lz" to extract the ncch
Now open cxiheader.bin in a hex editor, you will see what I did in my first post of this topic, edit and save
"3dstool -cvtf cxi ncch.0000.???????? --header cxiheader.bin --exh exheader.bin --plain plain.bin --exefs exefs.bin --romfs romfs.bin --logo logo.bcma.lz" if this gives errors about missing parts, probably the logo, just remove that part and try again
"makerom -f cia -o oras-custom.cia -content ncch.0000.????????:0:????????" (yes, after the ncch filename, you have to write the numbers in its original name again

Good luck!
 

Site & Scene News

Popular threads in this forum