ROM Hack Question "Error: Section 0 is corrupted" despite full keyset?

einfuchsdrache

Well-Known Member
OP
Newcomer
Joined
Sep 6, 2016
Messages
83
Trophies
0
Age
27
XP
377
Country
Gambia, The
Hi, I'm trying to unpack a dump of the new BlazBlue game, but it gives me an error when I try to unpack the big .nca from the secure directory. I am absolutely certain that I have a full Keyset, but I still get said error. Is this a known problem? Or could there be new, undumped keys?

EDIT: I just saw that HACTool can report which Master Key Version is required and it's Master Key 3.

EDIT 2: Apparently the hactool build I had didn't like the .nca. It worked fine with the latest official release.
 
Last edited by einfuchsdrache,

KaliTan

Member
Newcomer
Joined
Oct 23, 2016
Messages
12
Trophies
0
Age
29
XP
91
Country
Austria
Hi, I'm trying to unpack a dump of the new BlazBlue game, but it gives me an error when I try to unpack the big .nca from the secure directory. I am absolutely certain that I have a full Keyset, but I still get said error. Is this a known problem? Or could there be new, undumped keys?

EDIT: I just saw that HACTool can report which Master Key Version is required and it's Master Key 3.

there are only 3 things that could be wrong, either some keys are missing/incorrect, the dump is bad or you use the wrong command. I had no issue with this game and a full stack of keys.
 
  • Like
Reactions: Fireflamesniper

einfuchsdrache

Well-Known Member
OP
Newcomer
Joined
Sep 6, 2016
Messages
83
Trophies
0
Age
27
XP
377
Country
Gambia, The
there are only 3 things that could be wrong, either some keys are missing/incorrect, the dump is bad or you use the wrong command. I had no issue with this game and a full stack of keys.
But if it was a bad dump, wouldn't it tell me that there is a problem with the XCI when I get the NCA's from it? Commands I used are "hactool.exe -k keys.txt --romfsdir=romfs --exefsdir=exefs (nca).nca". Keyset is the one from maxconsole.
 

Ryab

Well-Known Member
Member
Joined
Aug 9, 2017
Messages
3,269
Trophies
1
XP
4,524
Country
United States
But if it was a bad dump, wouldn't it tell me that there is a problem with the XCI when I get the NCA's from it? Commands I used are "hactool.exe -k keys.txt --romfsdir=romfs --exefsdir=exefs (nca).nca". Keyset is the one from maxconsole.
newer games require newer master keys dont think the guide is updated for newer keys though
 

einfuchsdrache

Well-Known Member
OP
Newcomer
Joined
Sep 6, 2016
Messages
83
Trophies
0
Age
27
XP
377
Country
Gambia, The
newer games require newer master keys dont think the guide is updated for newer keys though
I mentioned this in OP, hactool can tell you which masterkey revision is needed. It's revision 3 which has been out for a while.
 

KaliTan

Member
Newcomer
Joined
Oct 23, 2016
Messages
12
Trophies
0
Age
29
XP
91
Country
Austria
But if it was a bad dump, wouldn't it tell me that there is a problem with the XCI when I get the NCA's from it? Commands I used are "hactool.exe -k keys.txt --romfsdir=romfs --exefsdir=exefs (nca).nca". Keyset is the one from maxconsole.

Try "hactool -k keys.txt -t nca --romfs=romfs.bin --exefsdir=exefs (nca).nca"
 

KaliTan

Member
Newcomer
Joined
Oct 23, 2016
Messages
12
Trophies
0
Age
29
XP
91
Country
Austria
I can try that, but isn't the default file input type for hactool nca? Also I'm curious, did you use the BBB Dump or a private dump?

Not sure about that, i always set the value to the format I want to extract. And I used the BBB dump.
 

einfuchsdrache

Well-Known Member
OP
Newcomer
Joined
Sep 6, 2016
Messages
83
Trophies
0
Age
27
XP
377
Country
Gambia, The
Not sure about that, i always set the value to the format I want to extract. And I used the BBB dump.
OK I've tried manually setting the input type, still didn't work. However, now hactool is crashing everytime it tries to unpack the romfs.
 

Ryab

Well-Known Member
Member
Joined
Aug 9, 2017
Messages
3,269
Trophies
1
XP
4,524
Country
United States
I mentioned this in OP, hactool can tell you which masterkey revision is needed. It's revision 3 which has been out for a while.
yes but as far as I know you would have to find it online somewhere baucaseim pretty sure the keys.py is not updated to extract newer keys
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    BakerMan @ BakerMan: this one