
Just did that exactly, and got the same errors from ctrtool
Edit: my ctrtool was compiled from the 3dshax repository yesterday, is that the right one/up to date?

Yeah definitely the right xor pad.
When I extract the encrypted RomFS using ctrtool (compiled from 3dshax) it gives me different contents than when I extract it using 3dsExplorer or manually. It states the same offset & length tho. None of them give a working output once xor'd anyway tho.

Ok, using the -p switch gives the same extracted encrypted RomFS.bin as I get with the other methods. The xor'd result still isn't recognised by ctrtool tho.
So I guess it's either the xor'ing process going wrong (not looking likely as different tools give the same output) or the xorpads are wrong - which must mean there's still something up with the ncchinfo.bin? Ugh.
Unless GW decides to implement this rom decryption feature in their GW menu
I just tested Sonic 2 Game Gear with the instructions I posted above, it decrypted and extracted fine.
Is your romfs.bin.out from padxorer the same size as your extracted romfs.bin from ctrtool?

Ok, using the -p switch gives the same extracted encrypted RomFS.bin as I get with the other methods. The xor'd result still isn't recognised by ctrtool tho.
So I guess it's either the xor'ing process going wrong (not looking likely as different tools give the same output) or the xorpads are wrong - which must mean there's still something up with the ncchinfo.bin? Ugh.
Have you had any luck?
I started writing my own program to decipher the file, but I can't figure out how the colors work. They are obviously 16bpp and they have transparency.
I've never programmed before, so this was already a task for me to get to.
![]()
If anyone knows how I can figure out the colors and transparency, It would be appreciated. Some kind of documentation or something would be great. Thank you.
Here it is converted properly (I believe):
![]()
It uses ARGB4444. I'll probably post more on how the format works once I figure it out instead of macgyvering my BCLIM code to (kind of) support it.
EDIT: There are actually like five images in this file, and they're all different.
Here's a second, will work on the rest later:
![]()
Thats really coolHave you by any chance figured out how to extract the models from Pokemon X/Y?
Yes. Run a/0/0/7 through a garc extractor then use https://gist.github.com/magical/5a78c91a4c1ac6056943 on the model .bch files.
Is there a way to compile bch2obj.go for Windows?
Is there a way to use this on downloaded eShop games?