JRoad
Developer
OP
Developer
Level 9
- Joined
- May 18, 2018
- Messages
- 1,003
- Trophies
- 0
- XP
- 1,756
- Country
- Jul 31, 2019
- #1,521
huma_dawii said:
Will re download the update and see what's up
No, i mean with nscb verify function, if it gives an exception you can do a raw extraction and verify the nca independently too. Though that seems to say that the nca header magic is "0000" instead of PFS0, if it's a messed up header it won't be able to verify either, you can see that in hex though:
A nsp begins like this:
With 50465330, that translates as PFS0
huma_dawii
Well-Known Member
Member
Level 14
- Joined
- Apr 3, 2014
- Messages
- 3,881
- Trophies
- 2
- Age
- 33
- Location
- Planet Earth
- XP
- 4,289
- Country
- Jul 31, 2019
- #1,522
JRoad said:
No, i mean with nscb verify function, if it gives an exception you can do a raw extraction and verify the nca independently too. Though that seems to say that the nca header magic is "0000" instead of PFS0, if it's a messed up header it won't be able to verify either, you can see that in hex though:
A nsp begins like this:
View attachment 174757
With 50465330, that translates as PFS0
I opened the update.nsp in the HxD and it starts with a lot of 0000000 and not like you showed me.
JRoad
Developer
OP
Developer
Level 9
- Joined
- May 18, 2018
- Messages
- 1,003
- Trophies
- 0
- XP
- 1,756
- Country
- Jul 31, 2019
- #1,523
huma_dawii said:
I opened the update.nsp in the HxD and it starts with a lot of 0000000 and not like you showed me.
Then it's a bad dump or bad download. The beginning needs to be PFS0.
Reactions:
huma_dawii
huma_dawii
Well-Known Member
Member
Level 14
- Joined
- Apr 3, 2014
- Messages
- 3,881
- Trophies
- 2
- Age
- 33
- Location
- Planet Earth
- XP
- 4,289
- Country
- Jul 31, 2019
- #1,524
JRoad said:
Then it's a bad dump or bad download. The beginning needs to be PFS0.
I think is a bad dump. I did downloaded it 3 times.
EDIT: Indeed, it was a bad dump! Thanks a lot!
Last edited by huma_dawii,
pcwizard7
Well-Known Member
Member
Level 9
- Joined
- Aug 2, 2013
- Messages
- 1,409
- Trophies
- 0
- XP
- 1,688
- Country
- Aug 1, 2019
- #1,525
Can someone give description of each special options when using the individual process?
also the wording of each option is very confusing on what it actually does if the next version might benefit from revised wording for each option
thanks
P
PsyKos
Active Member
Newcomer
Level 4
- Aug 1, 2019
- #1,526
Hello and thank you for your great program. However, since version 0.88, I am unable to create a multi-content NSP.
I have an error message with any NSP. If I convert to XCI, no problem :
*******************************************************
Processing list [0100FF500E668000].txt
*******************************************************
Calculating final content:
Filename: StandBy [0100FF500E668000] [v65536] (1G+1U)[rr].nsp
- Writing NSP header...
0%| | 0.00/162M [00:00<?, ?B/s]Traceback (most recent call last):
File "squirrel.py", line 3708, in <module>
NameError: name 'outf' is not defined
[708] Failed to execute script squirrel
Thanks for your help.
Attachments
JRoad
Developer
OP
Developer
Level 9
- Joined
- May 18, 2018
- Messages
- 1,003
- Trophies
- 0
- XP
- 1,756
- Country
- Aug 1, 2019
- #1,527
PsyKos said:
Hello and thank you for your great program. However, since version 0.88, I am unable to create a multi-content NSP.
I have an error message with any NSP. If I convert to XCI, no problem :
*******************************************************
Processing list [0100FF500E668000].txt
*******************************************************
Calculating final content:
Filename: StandBy [0100FF500E668000] [v65536] (1G+1U)[rr].nsp
- Writing NSP header...
0%| | 0.00/162M [00:00<?, ?B/s]Traceback (most recent call last):
File "squirrel.py", line 3708, in <module>
NameError: name 'outf' is not defined
[708] Failed to execute script squirrelThanks for your help.
I see i don't normally do multi nsps i'll try to identify the error. does it happen with the mode that removes titlerights only or it also happens with the one that leaves the tickets in the nsp?
JRoad
Developer
OP
Developer
Level 9
- Joined
- May 18, 2018
- Messages
- 1,003
- Trophies
- 0
- XP
- 1,756
- Country
- Aug 1, 2019
- #1,528
In aswer myself. Is only the ticketless one. The one with tickets work
JRoad
Developer
OP
Developer
Level 9
- Joined
- May 18, 2018
- Messages
- 1,003
- Trophies
- 0
- XP
- 1,756
- Country
- Aug 1, 2019
- #1,529
@PsyKos It's fixed now https://github.com/julesontheroad/NSC_BUILDER/releases/tag/v0.89b
@markmcrobie Also for the issue with too many arguments in the command line attached to the release is a "more.com" binarie. I was told the reason is that your more.com binary in windows root is corrupted if you have the bugm the fix is to download the binary and put it next to NSCB.bat if you see the issue.
The binary is attached to the release.
Note: I'll be out this weekend so if any other fix is needed i'll try to look into that next week.
Last edited by JRoad,
Reactions:
markmcrobie and PsyKosP
PsyKos
Active Member
Newcomer
Level 4
- Aug 2, 2019
- #1,530
JRoad said:
@PsyKos It's fixed now https://github.com/julesontheroad/NSC_BUILDER/releases/tag/v0.89b
Hi and thank you for your fast reply. It works now but why NSP is smaller with this version than v0.87 (exemple: Standby = 122Mo with 0.89 and 154Mo with 0.87) ? Furthermore, split content doesn't work with this newer version (Exception: read returned empty 0x9a36235).
Thank you
JRoad
Developer
OP
Developer
Level 9
- Joined
- May 18, 2018
- Messages
- 1,003
- Trophies
- 0
- XP
- 1,756
- Country
- Aug 2, 2019
- #1,531
Hmm i guess I had more bugs there then, i only saw the line that seemed wrong and thought that was it. I'm out for the weekend so I won't be able to fix it till monday\sunday though.
huma_dawii
Well-Known Member
Member
Level 14
- Joined
- Apr 3, 2014
- Messages
- 3,881
- Trophies
- 2
- Age
- 33
- Location
- Planet Earth
- XP
- 4,289
- Country
- Aug 2, 2019
- #1,532
JRoad said:
Hmm i guess I had more bugs there then, i only saw the line that seemed wrong and thought that was it. I'm out for the weekend so I won't be able to fix it till monday\sunday though.
What version is it? I downloaded one yesterday I thought I worked fine!
JRoad
Developer
OP
Developer
Level 9
- Joined
- May 18, 2018
- Messages
- 1,003
- Trophies
- 0
- XP
- 1,756
- Country
- Aug 2, 2019
- #1,533
huma_dawii said:
What version is it? I downloaded one yesterday I thought I worked fine!
Well it's probably the multi nsps without titlerights not fixed with the modification I did if he gets a file smaller than expected.
I just saw a evident error, saw that it was building and thought it was fixed. Since it was late and I knew i was going to be out for the weekend I didn't do the proper checks XD
M
markmcrobie
Well-Known Member
Member
Level 8
- Joined
- May 24, 2008
- Messages
- 623
- Trophies
- 0
- XP
- 1,247
- Aug 4, 2019
- #1,534
@JRoad an error I haven't seen yet:
Code:
Calculating final content:Exception: Not a valid PFS0 partition b''Filename: Mortal Kombat 11 [0100F2200C984000] [v393216] (1G+1U+17D).xci
JRoad
Developer
OP
Developer
Level 9
- Joined
- May 18, 2018
- Messages
- 1,003
- Trophies
- 0
- XP
- 1,756
- Country
- Aug 4, 2019
- #1,535
markmcrobie said:
@JRoad an error I haven't seen yet:
Code:
Calculating final content:Exception: Not a valid PFS0 partition b''Filename: Mortal Kombat 11 [0100F2200C984000] [v393216] (1G+1U+17D).xci
Did you check the files? Lately we're seeing some bad updates. Check this message:
--------------------- MERGED ---------------------------
JRoad said:
No, i mean with nscb verify function, if it gives an exception you can do a raw extraction and verify the nca independently too. Though that seems to say that the nca header magic is "0000" instead of PFS0, if it's a messed up header it won't be able to verify either, you can see that in hex though:
A nsp begins like this:
View attachment 174757
With 50465330, that translates as PFS0
Try to do a verify on all the files, if some reaise that exception the nsp header from that one is messed up. Basically a nsp needs to begin always by the nsp magic (PFS0), the magic is what identifies the type of file.
Last edited by JRoad,
nowpearl
Member
Newcomer
Level 2
- Joined
- Aug 5, 2019
- Messages
- 20
- Trophies
- 0
- Age
- 36
- Location
- Indaiatuba, Brasil
- XP
- 122
- Country
- Aug 6, 2019
- #1,536
can someone extract the new update from zelda.
The Legend of Zelda Breath of the Wild [01007EF00011E800] [v1.6.0] [v786432] .nsp
It is possible to use this tool to extract files to use LayeredFS
G
ganons
Well-Known Member
Member
Level 12
- Joined
- Jun 12, 2005
- Messages
- 3,293
- Trophies
- 1
- XP
- 3,134
- Country
- Aug 8, 2019
- #1,537
@JRoad just a thought but have you considered adding xci trimmer option when rebuilding to xci?
JRoad
Developer
OP
Developer
Level 9
- Joined
- May 18, 2018
- Messages
- 1,003
- Trophies
- 0
- XP
- 1,756
- Country
- Aug 8, 2019
- #1,538
ganons said:
@JRoad just a thought but have you considered adding xci trimmer option when rebuilding to xci?
Do you mean normal trimmer? I made one the other day, trimmer and untrimmer, is just pending release with the fix for the multi-nsps, probably tomorrow. People are asking me for an option to make copy when you patch the link account stuff so i want to add that before i release the c version.
If you mean supertrimming is done automatically, same as deleting deltas if they exist. The only difference with the supertrimmer is that supertrimmer takes the game-info from the xci instead of generating it randomly and it also respects the certificate if it's present.
But there is currently no option added that keeps the padding on a xci and till I add the normal trimmer no option will keeps the firmware in the firmware partition either.
Currently the only thing that you can set to keep is deltas but they're useless inside of xci files.
--------------------- MERGED ---------------------------
nowpearl said:
can someone extract the new update from zelda.
The Legend of Zelda Breath of the Wild [01007EF00011E800] [v1.6.0] [v786432] .nsp
It is possible to use this tool to extract files to use LayeredFS
No, currently the extractor doesn't extract updates program nca. The program nca in updates needs the one in the base and uses a table to extract it, i'll make code to do that eventually but i may add an auto config for hactool in the meantime for those cases if there is interest.
Reactions:
huma_dawii and nowpearlG
ganons
Well-Known Member
Member
Level 12
- Joined
- Jun 12, 2005
- Messages
- 3,293
- Trophies
- 1
- XP
- 3,134
- Country
- Aug 8, 2019
- #1,539
JRoad said:
Do you mean normal trimmer? I made one the other day, trimmer and untrimmer, is just pending release with the fix for the multi-nsps, probably tomorrow. People are asking me for an option to make copy when you patch the link account stuff so i want to add that before i release the c version.
If you mean supertrimming is done automatically, same as deleting deltas if they exist. The only difference with the supertrimmer is that supertrimmer takes the game-info from the xci instead of generating it randomly and it also respects the certificate if it's present.
But there is currently no option added that keeps the padding on a xci and till I add the normal trimmer no option will keeps the firmware in the firmware partition either.
Currently the only thing that you can set to keep is deltas but they're useless inside of xci files.
Didnt know there was a super trimmer already. Does trim the same stuff XCI trimmer does? Having said just rebuilt MK8 (personal dump, not trimmed) Deluxe with 1.7.1 as xci and the output is smaller yhan the base game. Is that right?
G
ganons
Well-Known Member
Member
Level 12
- Joined
- Jun 12, 2005
- Messages
- 3,293
- Trophies
- 1
- XP
- 3,134
- Country
- Aug 8, 2019
- #1,540
Also would when adding an update, can a US update work with PAL base game?