Dump Nintendo Logo

binkinator

Garfield’s Fitness Coach
OP
Member
GBAtemp Patron
Joined
Mar 29, 2021
Messages
6,511
Trophies
2
XP
6,155
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,511
Trophies
2
XP
6,155
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,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, I think that listening to the same 15 songs on the music player in my dad's car all the time made me kind of hate "normal" music.
    +1
  • Xdqwerty @ Xdqwerty:
    @K3Nv2, them use your hands
  • K3Nv2 @ K3Nv2:
    Those are tired from last night
  • Xdqwerty @ Xdqwerty:
    @K3Nv2, stop touching yourself
  • K3Nv2 @ K3Nv2:
    I wasn't
  • Xdqwerty @ Xdqwerty:
    @K3Nv2, then stop doing whatever you were doing last night
  • K3Nv2 @ K3Nv2:
    Uremum
  • BigOnYa @ BigOnYa:
    -insert uremum joke here-
  • K3Nv2 @ K3Nv2:
    Too late
    +2
  • BigOnYa @ BigOnYa:
    I seen a bunny rabbit get swept up and taken by a hawk yesterday in my back yard, it left a bunch of rabbit hair in grass. Wild to see it fly off carrying a rabbit.
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, was Luke that Bunny rabbit?
  • BigOnYa @ BigOnYa:
    Nuh it was a small rabbit without lipstick, or no UFO propaganda
    +1
  • K3Nv2 @ K3Nv2:
    Was Leo the hawk
  • BigOnYa @ BigOnYa:
    I didn't see any kissing and loving, so prob not
    +2
  • K3Nv2 @ K3Nv2:
    True hawks have more pride
    +1
  • AncientBoi @ AncientBoi:
    [awaits K3Nv2's remarks for me] :unsure:
  • K3Nv2 @ K3Nv2:
    @AncientBoi, would be a better lover to luke he knows how to get in personal space better
  • AncientBoi @ AncientBoi:
    [sips my ☕ ]
  • BigOnYa @ BigOnYa:
    The other night was watching tv in my screened in porch, and heard something walking on my porch roof, thought maybe it was a raccoon, so I grabbed my rifle and went out to look, it was just a duck, lol
    +1
  • K3Nv2 @ K3Nv2:
    Shoot the duck free meal
    +2
  • BigOnYa @ BigOnYa:
    Not allowed here in Ohio without Duck hunting permit, n it not in season yet.
  • K3Nv2 @ K3Nv2:
    Just say it was trespassing and you thought it was ancientboi
    +1
  • BigOnYa @ BigOnYa:
    We can shoot racoon, possums, skunks, cayottes tho
    +1
    BigOnYa @ BigOnYa: We can shoot racoon, possums, skunks, cayottes tho +1