Dump Nintendo Logo

binkinator

Garfield’s Fitness Coach
OP
Member
GBAtemp Patron
Joined
Mar 29, 2021
Messages
6,511
Trophies
2
XP
6,157
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,157
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
  • No one is chatting at the moment.
  • K3Nv2 @ K3Nv2:
    Still don't know why he left unless someone really hurt his feelings
  • K3Nv2 @ K3Nv2:
    Don't know why people get so emotional online just get over it ffs
    +2
  • BigOnYa @ BigOnYa:
    He was the ass of gbatemp, everyone knocked on him, I honestly felt bad, even though I was guilty myself, but he egged it all on himself,
  • BigOnYa @ BigOnYa:
    But he still here, but under dif name, he pm me sometimes still even.
  • K3Nv2 @ K3Nv2:
    It's like they think we'll be in their bed pissing on it the next day
  • BigOnYa @ BigOnYa:
    I feel like gbatemp should make t-shirts or memorabilia to remember the lost ones. I bet the Polly shirts would sell out quick.
  • K3Nv2 @ K3Nv2:
    Nah that could actually bring lawsuits
  • K3Nv2 @ K3Nv2:
    Tempsuits
  • BigOnYa @ BigOnYa:
    PollySuits
  • BigOnYa @ BigOnYa:
    Your correct, Somebody would be guilty and there would be riots, then they storm the gbatemp capitol,
  • K3Nv2 @ K3Nv2:
    Online or not there are still certain rights that judges would have no issue handing out a warrant over
  • K3Nv2 @ K3Nv2:
    Just look at Kim dotcom
  • BigOnYa @ BigOnYa:
    Honestly I'm scared to, from you, but ok, lemme turn on vpn, virtual machine, private browser first
  • K3Nv2 @ K3Nv2:
    Remember that Alexa robot I gifted you
  • K3Nv2 @ K3Nv2:
    And that laptop Webcam you never tapped up
  • BigOnYa @ BigOnYa:
    That robot is here somewhere, I hear it moving around at night, but I haven't seen it for months.
  • BigOnYa @ BigOnYa:
    Oh that laptop I give to ancientboi, so you been watching him for months, and he's been watching you
  • K3Nv2 @ K3Nv2:
    Oh good more than enough material for the fbi
    +2
  • BigOnYa @ BigOnYa:
    Damn its 5 in morn, I gotta Go wake your mum and send her to work. Check ya later.
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    He could make so much money!!! His arm would never get tired lol
    +2
  • S @ salazarcosplay:
    How are yall doing
    +1
    S @ salazarcosplay: How are yall doing +1