Dump Nintendo Logo

binkinator

Garfield’s Fitness Coach
OP
Member
GBAtemp Patron
Joined
Mar 29, 2021
Messages
6,512
Trophies
2
XP
5,962
Country
United States
I’m researching how to dump graphics from the FW files. Specifically looking to dump the black&white Nintendo Logo.

I got the following hint last night from friedkeenan (author of switch-logo-patcher) on Discord:

yeah I need to make a script to do it for you but that requires effort
but basically at the offsets listed by <https://github.com/friedkeenan/switch-logo-patcher/blob/master/gen_patches.py#L9=L31> (the last entry is for the most recent FW version) there are `0x69460` bytes (`308 * 350 * 4`) of RGBA data that correspond to the switch logo
and you can dump that and convert it to a PNG or something and then use it

Using this hint I was able to find the repeating “00 00 00 FF“ section in the Amosphere 1.3.2 version of package3.

It was at offset 1716480 as shown in this line of VI patches:

Code:
"AFEAACF3E88AB539574689D1458060657E81E088": 1716480,

Was also able to confirm that gen_patches.py fills those blanks in with the data from a 308x350 PNG file I provide the script.
The script converts the PNG image to RGBA.

I want to find the original Nintendo Logo in the firmware though…

I’ve gotten the exefs and romfs files from the latest 14.1.1 firmware .nca files via hactool using this site as a guide.

Here are my slightly modified commands to dump everything.

Code:
find . -name "*.nca" -exec hactool -t nca --exefsdir {}_exefs --romfsdir {}_romfs {} \;

find . -name "main" -exec hactool -t nso0 --uncompressed {}_nso {} \;

Now I have a sea of data and don’t know where to start looking for a raw image file encoded in some binary somewhere.

Any hints?

Am I even on the right track?
 
Last edited by binkinator,

binkinator

Garfield’s Fitness Coach
OP
Member
GBAtemp Patron
Joined
Mar 29, 2021
Messages
6,512
Trophies
2
XP
5,962
Country
United States
By the powers invested in me...by nobody in particular...I give you...

THE ORIGINAL NINTENDO BOOT LOGO!!!!!!!
(this one is extracted directly from the firmware.)

1653933973710.png


Never been so happy to see a god damn Nintendo logo in my god damn life!

Thanks to the folks at #ReSwitched
friedkeenan, Behemoth, shchmue, Anteries, Retroid, TSR Berry for tolerating my n00bness and walking me through everything.

Tut on how to extract it yourself will follow shortly...
(might even put together a small script and submit a PR...who knows.)
 
Last edited by binkinator,
General chit-chat
Help Users
  • Skelletonike @ Skelletonike:
    link doesn't work
    +2
  • Skelletonike @ Skelletonike:
    1H left, such a slow week.
  • Sonic Angel Knight @ Sonic Angel Knight:
    Okay, I had spaghetti :P
  • SylverReZ @ SylverReZ:
    Hope they made lots of spaget
  • K3N1 @ K3N1:
    Chill dog
  • SylverReZ @ SylverReZ:
    Chilli dog
  • Skelletonike @ Skelletonike:
    Damn, I'm loving the new zelda.
  • xtremegamer @ xtremegamer:
    loving the new zelda, i started a game, it was so fucking good, so i
    am waiting on my friend to get home so we can start a new one together
  • Skelletonike @ Skelletonike:
    I just dislike that they don't let me choose the voices before the game starts. Happened with botw as well, had to change to japanese and restart.
  • K3N1 @ K3N1:
    But the important question is can you choose gender
  • Skelletonike @ Skelletonike:
    Same way you can choose Gerald's gender.
  • Skelletonike @ Skelletonike:
    *Geralt, damn autocorrect.
  • Psionic Roshambo @ Psionic Roshambo:
    But can he be trans? Lol
  • K3N1 @ K3N1:
    Zelda transforms into link
  • Psionic Roshambo @ Psionic Roshambo:
    Link I'm not the princess your looking for.... *Pulls a crying game*
  • K3N1 @ K3N1:
    *skirt up* it's exactly what I always wanted
  • Skelletonike @ Skelletonike:
    Just scanned all my zelda amiibos, took a while but didn't get anything that cool, did get the lon lon ranch hylian fabrics though.
  • Skelletonike @ Skelletonike:
    It was pretty funny when I scanned wolf link and got a shit load of meat.
  • K3N1 @ K3N1:
    @Skelletonike, btw I ran that custom for mgs4 on the deck I'm amazed it got that far in game
  • K3N1 @ K3N1:
    Plug in*
  • K3N1 @ K3N1:
    Your favorite activity
    K3N1 @ K3N1: Your favorite activity