ROM Hack RELEASE NSC_Builder. Nintendo Switch Cleaner and Builder. (Game+updates+dlc in a single xci)

  • Thread starter JRoad
  • Start date
  • Views 770,930
  • Replies 2,834
  • Likes 74

RedColoredStars

Well-Known Member
Member
Joined
Aug 14, 2022
Messages
1,502
Trophies
2
Location
Angoche
XP
2,011
Country
Mozambique
Hi! I'm having the same problem with the keys "missing" when i'm sure i put the file in the ztools folder correctly like the previous versions.
I don't understand how you fixed this issue. Where is this user folder you mention? How do I create a folder ".switch", windows wont allow me to

For example: C:/Users/yourusernamei/.switch

Just take your prod.keys file and place it in there. Or rename your previously working keys.txt file to prod.keys and put it in there.

That said, I'm sticking to the original version. Error messages are not good in the mod for troubleshooting. The original version will say something like "Exception: read returned empty 0x37325c000" when verifying a file, but the same error for the updated "mod" version only says "INCORRECT".
 

Moquedami

Well-Known Member
Member
Joined
Nov 16, 2006
Messages
440
Trophies
1
XP
1,940
Country
Argentina
For example: C:/Users/yourusernamei/.switch

Just take your prod.keys file and place it in there. Or rename your previously working keys.txt file to prod.keys and put it in there.

That said, I'm sticking to the original version. Error messages are not good in the mod for troubleshooting. The original version will say something like "Exception: read returned empty 0x37325c000" when verifying a file, but the same error for the updated "mod" version only says "INCORRECT".
That did the trick. Thank you.
 

oaksy

New Member
Newbie
Joined
Jan 31, 2024
Messages
1
Trophies
0
Age
26
XP
13
Country
United States
Hi all! I'm using NSC Builder again after a long while and running into an issue while using Multi Pack. Anytime I go to run it, whether it is as an NSP or XCI, with x64 or x86 I get the following message:

Calculating final content:
Traceback (most recent call last):
File "squirrel.py", line 4110, in <module>
TypeError: can't concat str to bytes
[21472] Failed to execute script squirrel

I don't have too much experience with anything programming related, but it used to work just fine and now I can't get past this error, and can't seem to find anyone else who has found an answer either. Any chance anyone knows where to go with this?
 
  • Like
Reactions: Carlos Escobar

RedColoredStars

Well-Known Member
Member
Joined
Aug 14, 2022
Messages
1,502
Trophies
2
Location
Angoche
XP
2,011
Country
Mozambique
Hi all! I'm using NSC Builder again after a long while and running into an issue while using Multi Pack. Anytime I go to run it, whether it is as an NSP or XCI, with x64 or x86 I get the following message:

Calculating final content:
Traceback (most recent call last):
File "squirrel.py", line 4110, in <module>
TypeError: can't concat str to bytes
[21472] Failed to execute script squirrel

I don't have too much experience with anything programming related, but it used to work just fine and now I can't get past this error, and can't seem to find anyone else who has found an answer either. Any chance anyone knows where to go with this?

There are several more options under the Multi Pack option. Which ones are you using? If you list your steps I can try to reproduce and see what happens. Did you try using a fresh NCSB folder from the latest version?
https://github.com/julesontheroad/NSC_BUILDER/releases/tag/1.01b
 

TheStonedModder

Well-Known Member
Member
Joined
Dec 25, 2022
Messages
1,253
Trophies
1
Age
27
XP
2,725
Country
United States
Is there some sort of log file that I may be missing? I can't rebuild an XCI using this tool It says successful but its only 64kb large and finishes repacking in like 3 seconds so something is wrong ha
 

shadow256

Well-Known Member
Member
Joined
Sep 30, 2017
Messages
191
Trophies
0
Age
38
XP
1,422
Country
France
Is there some sort of log file that I may be missing? I can't rebuild an XCI using this tool It says successful but its only 64kb large and finishes repacking in like 3 seconds so something is wrong ha
Probably keys file is missing or incomplete, you need to have the last prod.keys dumped from your console.
 

Chrisssj2

Well-Known Member
Member
Joined
Feb 12, 2008
Messages
2,743
Trophies
1
XP
4,542
Country
Netherlands
I got master key 11 from the prod file but im getting this error with Tales of Kenzera ZAU 01005C7015D30000
"
Traceback (most recent call last):
File "squirrel.py", line 2754, in <module>
File "lib\compressor.py", line 778, in compress
File "nutFs\File.py", line 328, in read
OSError: read returned empty 0x1c000
[40196] Failed to execute script squirrel"

Does anyone know what is wrong?
I dumped again but it still happens.
 

Carlos Escobar

Active Member
Newcomer
Joined
Jan 19, 2016
Messages
32
Trophies
0
Age
40
XP
233
Country
Spain
Hi all! I'm using NSC Builder again after a long while and running into an issue while using Multi Pack. Anytime I go to run it, whether it is as an NSP or XCI, with x64 or x86 I get the following message:

Calculating final content:
Traceback (most recent call last):
File "squirrel.py", line 4110, in <module>
TypeError: can't concat str to bytes
[21472] Failed to execute script squirrel

I don't have too much experience with anything programming related, but it used to work just fine and now I can't get past this error, and can't seem to find anyone else who has found an answer either. Any chance anyone knows where to go with this?
Im gettting this same error, could you solve it? already tried fresh folder from github but no luck at all
 

Jayro

MediCat USB Dev
Developer
Joined
Jul 23, 2012
Messages
13,552
Trophies
7
Location
WA State
Website
ko-fi.com
XP
18,259
Country
United States
So I have a question/problem that I'm not sure if it's addressable or not, but...

When I repacked an NSP or XCI in the past, I typically include the base game, and the latest update file. Problem is, all the app does is basically glue them together, instead of replacing the base game's outdated files with the update's new ones, effectively wasting tons of space. Newer releases of game carts have their updates merged with their base game in the proper way.

So I have to ask... What's the proper method to do this? I'm not really trying to save space on my SD card, but more-so on my Game Storage drive in my PC for archiving my Switch games with their merged updates.
 

masagrator

The patches guy
Developer
Joined
Oct 14, 2018
Messages
6,517
Trophies
3
XP
12,543
Country
Poland
Newer releases of game carts have their updates merged with their base game in the proper way.
That's not true if they are using the same titleid. By merging update with base into one you are losing option to update game further. That's why it's almost always never done without changing titleid, and registering new titleid is paperwork, costs, etc.
 

Jayro

MediCat USB Dev
Developer
Joined
Jul 23, 2012
Messages
13,552
Trophies
7
Location
WA State
Website
ko-fi.com
XP
18,259
Country
United States
That's not true if they are using the same titleid. By merging update with base into one you are losing option to update game further. That's why it's almost always never done without changing titleid, and registering new titleid is paperwork, costs, etc.
I've tested my method by dumping carts with and without the update, and comparing those dumps to my merged base+update file. My conclusion was that the updated game dump was barely larger than the base game dump, and my version was 1.3x the size of the base game. So going by file sizes alone, I know I'm right to some degree. I just wanna package my games the same way they do officially to keep the sizes down as much as possible.
 

masagrator

The patches guy
Developer
Joined
Oct 14, 2018
Messages
6,517
Trophies
3
XP
12,543
Country
Poland
You are not right at all about assumption that they merge base with update. I don't need cartridge dumps, I know how this works on technical level.

I don't know what even 1.3x means, it can be big or small depending on base game size.

First of all - did you check if your non-cartridge update dump contains delta patches? They are from non-Nintendo perspective basically bloat that only increase nsp size.
Post automatically merged:

Possible way such cartridge can reduce size is by removing exefs partition and htdocs partition from base game. Exefs and htdocs are replaced instead of patched like romfs, you can save up to 120 MB for exefs alone depending on game. In case of exefs not viable for repacker, because it would mean repacking whole NCA, which results in failed integration checks and would increase repacking times dramatically.
 
Last edited by masagrator,

streetRAT

New Member
Newbie
Joined
Sep 14, 2024
Messages
1
Trophies
0
Age
28
XP
8
Country
South Africa
Has anyone been able to get this running on linux? I am trying to add this to my docker container, it works great on windows but I cannot figure out whats not working on linux.

thanks
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Xdqwerty @ Xdqwerty: Or reincarnate as someone richer