Homebrew Question Extract injected backgrounds from szs file

Pienkaito

Well-Known Member
OP
Member
Joined
Jan 12, 2016
Messages
101
Trophies
0
Age
31
XP
1,286
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?
 

crazy_p

Well-Known Member
Member
Joined
Sep 3, 2016
Messages
1,348
Trophies
1
XP
8,181
Country
Thailand
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,

Pienkaito

Well-Known Member
OP
Member
Joined
Jan 12, 2016
Messages
101
Trophies
0
Age
31
XP
1,286
Country
Austria
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

GRAnimated

Well-Known Member
Newcomer
Joined
Jan 9, 2017
Messages
70
Trophies
0
Age
50
XP
473
Country
United States
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

General chit-chat
Help Users
  • No one is chatting at the moment.
  • Xdqwerty @ Xdqwerty:
    Unless I do or watch or play something entertaining
  • Xdqwerty @ Xdqwerty:
    *yawn*
  • HiradeGirl @ HiradeGirl:
    Play with me.
  • Xdqwerty @ Xdqwerty:
    Play what with
  • Xdqwerty @ Xdqwerty:
    With you?
  • Xdqwerty @ Xdqwerty:
    I meant to say, what game do I play with you?
  • nopokeforyou @ nopokeforyou:
    whats up yalls
  • K3Nv2 @ K3Nv2:
    Poke
  • Xdqwerty @ Xdqwerty:
    mon?
  • Xdqwerty @ Xdqwerty:
    I'm getting sleepy
  • Xdqwerty @ Xdqwerty:
    Good night
  • Sicklyboy @ Sicklyboy:
    Later dawg
  • Sicklyboy @ Sicklyboy:
    Man, I was planning to sous vide some salmon tonight, but my complete inability to do anything productive got the better of me, and now I have to figure what frozen food to eat.
  • wolffangalchemist @ wolffangalchemist:
    make sure to eat it still
    frozen.
  • Sicklyboy @ Sicklyboy:
    gotta take that beeeeeeeg chomp
  • K3Nv2 @ K3Nv2:
    Frozen diet ftw microwave king
    +1
  • wolffangalchemist @ wolffangalchemist:
    my roomates actually cooked so i didn't have to air fry chicken tenders, i have been busy all day torturing myself trying to write hex to a pic chip for ps1 mod chip and still can't get anything to boot from a backup...
  • wolffangalchemist @ wolffangalchemist:
    my ocd will have me stuck on this for a week at the least.
  • BakerMan @ BakerMan:
    well, i'm going to possibly go to bed now, goodnight
  • SylverReZ @ SylverReZ:
    Morning folks
    SylverReZ @ SylverReZ: @Sicklyboy, :ninja: