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

  • Thread starter Thread starter exelix11
  • Start date Start date
  • Views Views 285,419
  • Replies Replies 467
  • Likes Likes 57
Just updated the app to version 3.3.
Now extracting the SZS files from your own console is much easier, you just need to mount your nand with hacdiskmount, the guide was updated as well.
Also it's possible to convert images to DDS so you can use them with Auto-Theme or the web injector (The windows version now supports all image formats, you need to convert your image to DDS only if you want to use the web version)
 
Can we move icons around & stuff now with this method?
Yes, you can either manually edit the json files in layouts or use wexos' toolbox.
For wexos follow this guide https://github.com/suchmememanyskill/SwitchLayoutGuide/wiki
The final part about themes on 6.0 is outdated, you just need to port your layout using my guide https://github.com/exelix11/SwitchT....md#generating-a-layout-patch-with-layoutdiff
You can't directly edit a 6.0 layout with wexos because for some reason it crashes, 5.1 layouts work fine.
 
  • Like
Reactions: SG911
Yes, you can either manually edit the json files in layouts or use wexos' toolbox.
For wexos follow this guide https://github.com/suchmememanyskill/SwitchLayoutGuide/wiki
The final part about themes on 6.0 is outdated, you just need to port your layout using my guide https://github.com/exelix11/SwitchT....md#generating-a-layout-patch-with-layoutdiff
You can't directly edit a 6.0 layout with wexos because for some reason it crashes, 5.1 layouts work fine.

Gotcha! Thank you very much.
 
Thanks to your app and awesome guide I was able to put together a theme I’m super happy with.

77c0b9f17e1113907f6e9bf39d0e16a1.jpg


801cc7264c528c84141284ddedf9b6e8.jpg


Now I gotta work on removing those pesky News and eShop icons.
 
  • Like
Reactions: exelix11
@exelix11

Is there any chance we will ever be able to use Dynamic Themes/Gifs for Themes?
A lot of people asked that and i'd say not with the method we're currently using to change the background.
But switch has quite some power so i wouldn't be surprised if nintendo implemented them or we managed to patch them into the home menu code in the future.

--------------------- MERGED ---------------------------

I've just finished writing a proper guide for Auto-Theme, from now on you can use it to share your themes here on Gbatemp, check out this thread.
 
  • Like
Reactions: XaneTenshi
Theme injector cannot find home menu and settings folder. I did manual search and could not find them.
What am I doing wrong? System partition is mounted.

FW: 6.0.1
Cfw: SX OS latest
 
You are missing some keys in your keys.dat, make sure you have master_key_00 to master_key_05
I checked and the keys are there. The mounted System partition has files and folders except home menu and settings
 
I checked and the keys are there. The mounted System partition has files and folders except home menu and settings
Check the log of the file, if between a checking file ..... and another one there is no other text or there are some errors about decryption your issue are the keys
 
  • Like
Reactions: lolboy
Check the log of the file, if between a checking file ..... and another one there is no other text or there are some errors about decryption your issue are the keys
Thanks for the help. Please, check attachment logfile.txt. I don't see anything strange.
 

Attachments

Thanks for the help. Please, check attachment logfile.txt. I don't see anything strange.
Between two "checking file" lines there should be hactool's output, you can clearly see that hactool isn't outputting anything. Try downloading latest version of hactool and check your keys, if you dumped them from your console you might be missing some common ones (aka non console-unique), search them on google and put everything in the keys.dat file.
Also try manually opening an nca with hactool: open the cmd in the hactool folder and type hactool -k keys.dat *SwitchDir*:/Contents/registered/*random nca name*/00 and check the output
 
Last edited by exelix11,
  • Like
Reactions: lolboy
Between two "checking file" lines there should be hactool's output, you can clearly see that hactool isn't outputting anything. Try downloading latest version of hactool and check your keys, if you dumped them from your console you might be missing some common ones (aka non console-unique), search them on google and put everything in the keys.dat file.
Also try manually opening an nca with hactool: open the cmd in the hactool folder and type hactool -k keys.dat *SwitchDir*:/Contents/registered/*random nca name*/00 and check the output
Oke, I will give it a try. Thanks. I downloaded themes made by others and use them for now.
 
Is there any way I could extract the required files on Linux?
You can follow the old guide but i'm not sure if hactool works on linux, worst case scenario you'd have to compile it by yourself.
Also you'd need hacdiskmount, idk if it exists for linux and iirc it's not open source
 
Last edited by exelix11,
Could you add this layout to your theme injector?
 

Attachments

  • image.jpeg
    image.jpeg
    221.1 KB · Views: 266

Site & Scene News

Popular threads in this forum