ROM Hack RELEASE [Release/Tutorial] Switch theme injector : Easily make custom themes

XaneTenshi

Well-Known Member
Member
Joined
Nov 24, 2013
Messages
506
Trophies
0
Age
34
XP
1,124
Country
Denmark
@exelix11 I haven't thoroughly read the guide yet, but I hope it's okay I just ask you directly.

I had someone on the Qcean Discord server make me a custom theme for my Switch, but it tends to crash when I boot into CFW. I've read the spoiler in the OP and I assume the crashes I experience are what you are reffering to. if so, is it correct to assume that I can just use version 2 of the injector on the custom common file to fix my theme or would I still have to go through the whole tutorial?
 

exelix11

Developer
OP
Developer
Joined
Feb 25, 2015
Messages
915
Trophies
1
Location
C:\users\exelix11\
XP
3,062
Country
Italy
@exelix11 I haven't thoroughly read the guide yet, but I hope it's okay I just ask you directly.

I had someone on the Qcean Discord server make me a custom theme for my Switch, but it tends to crash when I boot into CFW. I've read the spoiler in the OP and I assume the crashes I experience are what you are reffering to. if so, is it correct to assume that I can just use version 2 of the injector on the custom common file to fix my theme or would I still have to go through the whole tutorial?
Yes but you need a common.szs without this bug to use as a base, you can dump it from your nand or use one of the color only themes you can find online
 

XaneTenshi

Well-Known Member
Member
Joined
Nov 24, 2013
Messages
506
Trophies
0
Age
34
XP
1,124
Country
Denmark
Yes but you need a common.szs without this bug to use as a base, you can dump it from your nand or use one of the color only themes you can find online

Thanks. How would I go about dumping the common.szs file from my Switch? (Didn't see anything like take just quickly checking the guide in OP)
 

exelix11

Developer
OP
Developer
Joined
Feb 25, 2015
Messages
915
Trophies
1
Location
C:\users\exelix11\
XP
3,062
Country
Italy
Thanks. How would I go about dumping the common.szs file from my Switch? (Didn't see anything like take just quickly checking the guide in OP)
mount your system partition with hacdiskmount and look for a folder called 8684b0ddab1581d300a15ebc96c6bf2c (5.1.0 only iirc), inside of it there's a file called 00, it's an nca, use hactool to extract the romfs.
be careful with hacdiskmount cause you can brick or corrupt a nand backup if you edit stuff, iirc there should be a mount read only option.
I will write a proper guide one day.
 
Last edited by exelix11,

XaneTenshi

Well-Known Member
Member
Joined
Nov 24, 2013
Messages
506
Trophies
0
Age
34
XP
1,124
Country
Denmark
mount your system partition with hacdiskmount and look for a folder called 8684b0ddab1581d300a15ebc96c6bf2c (5.0.1 only iirc), inside of it there's a file called 00, it's an nca, use hactool to extract the romfs.
be careful with hacdiskmount cause you can brick or corrupt a nand backup if you edit stuff, iirc there should be a mount read only option.
I will write a proper guide one day.

I've tinkered with Hacdiskmount before, wasn't thrilled about it, but used it to successfully mount my Switch partitions and upgrade my Switch Firmware. Should be doable if I HAVE to do it that way. I'm 5.1.0 though, is the folder you are talking about only named that in 5.0.1 or why'd you include that info?
 

exelix11

Developer
OP
Developer
Joined
Feb 25, 2015
Messages
915
Trophies
1
Location
C:\users\exelix11\
XP
3,062
Country
Italy
I've tinkered with Hacdiskmount before, wasn't thrilled about it, but used it to successfully mount my Switch partitions and upgrade my Switch Firmware. Should be doable if I HAVE to do it that way. I'm 5.1.0 though, is the folder you are talking about only named that in 5.0.1 or why'd you include that info?
my bad it's 5.1.0
 
  • Like
Reactions: XaneTenshi

XaneTenshi

Well-Known Member
Member
Joined
Nov 24, 2013
Messages
506
Trophies
0
Age
34
XP
1,124
Country
Denmark
my bad it's 5.1.0

So I am in the middle of editing my custom image to get the file I need to inject into the common file. You mention exporting the image as a .dds file. How do I do this? Do I even have the option or do I need another version of Photoshop?
dds conversion problem.png
 

exelix11

Developer
OP
Developer
Joined
Feb 25, 2015
Messages
915
Trophies
1
Location
C:\users\exelix11\
XP
3,062
Country
Italy
So I am in the middle of editing my custom image to get the file I need to inject into the common file. You mention exporting the image as a .dds file. How do I do this? Do I even have the option or do I need another version of Photoshop?
View attachment 145032
File -> save as and from the format list select dds
 

MasterJ360

Well-Known Member
Member
Joined
Jan 10, 2016
Messages
2,801
Trophies
1
Age
35
XP
3,453
Country
United States
2.0's injector definitely fixes the Switch boot crashing. But for some reason every time I launch [xci] Valkyria Chronicles 4 it crashes indefinitely while using a theme.
Plus its the only game that crashes with it. The game does launch without it, so I'm guessing layerdfs is the main culprit
 
Last edited by MasterJ360,

exelix11

Developer
OP
Developer
Joined
Feb 25, 2015
Messages
915
Trophies
1
Location
C:\users\exelix11\
XP
3,062
Country
Italy
2.0's injector definitely fixes the Switch boot crashing. But for some reason every time I launch [xci] Valkyria Chronicles 4 it crashes indefinitely while using a theme.
Plus its the only game that crashes with it. The game does launch without it, so I'm guessing layerdfs is the main culprit
What firmware ? Only that xci ? have you tried an nsp version ? There is a similar issue with homebrew launcher on 4.0, unforunately i have no clue about what could be the culprit, the only thing i can think of are slow sd cards but doesn't seem a very convinging explaination
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Psionic Roshambo @ Psionic Roshambo: We get 37 versions of Super Mario Bros but 0 of Beast Busters