Homebrew Question Extract injected backgrounds from szs file

  • Thread starter Thread starter Pienkaito
  • Start date Start date
  • Views Views 2,387
  • Replies Replies 4

Pienkaito

Washed up Sprite Animator
Member
Joined
Jan 12, 2016
Messages
105
Reaction score
35
Trophies
2
Age
33
Website
www.nintentrix.com
XP
1,637
Country
Austria
I've lost my source images that I made for my custom switch theme, but I still have my modified szs files.
Is it possible to reverse the injection done by SwitchThemeInjector and retrieve the images?
 
You need SwitchThemesInjector and BNTX_Injector.
Open your commons.szs File with SwitchThemeInjector and export it as _Combined.bntx.
Open your _Combined.bntx File with BNTX_Injector.
Scroll down till you find White1x1 180^r and press Export as. Save your Background as xyz.dds.
 
Last edited by crazy_p,
You need SwitchThemesInjector and BNTX_Injector.
Open your commons.szs File with SwitchThemeInjector and export it as _Combined.bntx.
Open your _Combined.bntx File with BNTX_Injector.
Scroll down till you find White1x1 180^r and press Export as. Save your Background as xyz.dds.

Thanks a lot, that absolutely did the trick. Depending on the menu, you will have to check the other images inside the bntx extract.
The preview in BNTX_Injector is really handy.
 
  • Like
Reactions: crazy_p
Hey, here's a heads up for the future. Switch Toolbox is an open source program that supports editing almost every format in 1st party games like Super Mario Odyssey. The same formats are used elsewhere, like in the OS. I recommend it for BNTX editing as you can export and replace as png instead of dds. Of course, all you wanted was to grab the photo, but this makes it simple. For the future, just open your szs inside it, go into the blyt folder, double click the bntx, and extract the image.
 

Site & Scene News

Popular threads in this forum