Homebrew Discussion Confirmed: Mario All Stars 3D Collection have 3 emulators

RyanB

Member
Newcomer
Joined
Sep 16, 2020
Messages
12
Trophies
0
XP
62
Country
United States
Okay, I did a bit of testing. What someone said earlier is correct, exe, full, and media are completely useless. Only DOLHASH is important. If we can figure out how to get the correct hash for that, then that'll be the next step towards emulating GameCube games on the Switch.
The game crashes if DOLHASH is edited, but does not care if exe, full, or media are edited. I believe these might be leftover files from compilation.
 
Last edited by RyanB,

GatoFiestero

Well-Known Member
OP
Member
Joined
Jan 21, 2020
Messages
353
Trophies
0
Age
36
XP
1,638
Country
Costa Rica
I mean have we only tried sha-1 so far? Maybe we're using the wrong method

This:
I said that but nobody understood:



Also the nro have the dolhash hardcode but patched that and i still dont working.

unknown.png

unknown.png



and exe, full and media i think is never checked. (i dont found references to that)
 
  • Like
Reactions: ragestaker21

Basketto

Well-Known Member
Member
Joined
Jun 25, 2019
Messages
567
Trophies
0
Age
33
XP
628
Country
Australia
Working on replacing GCM files at the moment. I don't recall who said that removing the first 100 bytes of the file should generate the same dolhash, but for me its generating something completely different.
Full GCM hash = 651AF1295D6874102B276A264B0DA37AB38303F7
100 byte removed hash = 5C211DBA8C35CE0C6ADAAC48D4296D3812250B7C
Official hashes:
"hash": {
"exe": "f4425036b50590ea5c9357580abe922decf72012",
"media": "763cae402272dd4fc428f45238c3ae040d6cb1a2",
"full": "b23b9b9ee9365e26f8159c36ae80981412bf7372"
}
dolhash: 4e10808fdbd8a8beefab38163bb43a5002f60d63

i think it was *bits* not bytes.
 

Kirby567fan

Well-Known Member
Member
Joined
Jan 6, 2018
Messages
402
Trophies
0
Age
23
XP
2,762
Country
Morocco
I said that but nobody understood:



Also the nro have the dolhash hardcode but patched that and i still dont working.

unknown.png

unknown.png



and exe, full and media i think is never checked. (i dont found references to that).
soooooooooooooooooo

as someone said in previous post these jsons are the minimum requirements

rom.json:
Code:
{
  "UID": "MarioSunshine",
  "DolHash": null, // this does not matter
  "ROM": [
    "rom:/MarioSunshine/Super_Mario_Sunshine_Stardust-trimmed.gcm" // editable
  ]
}

MarioSunshine.config:
Code:
{
    "Hagi" : {
        "Boot" :
        {
            "LoadBios" : false
        }
    }
}

MarioSunshine.json
Code:
{
    "Info": {
        "GCM": {
            "Name": "Super Mario Sunshine", // editable
            "CountryCode": "EU", // editable
            "GameID": "GMSP",
            "DVD": 0,
            "ROMVersion": 0,
            "GCMID": "GMSP.0.0" // editable
        },
        "Hashes": {}, // this does not matter
        "UID": "MarioSunshine",
        "ShortName": "MarioSunshine" // editable
    },
    "Mxic": { } // this does not matter
}

Can I ask you how did you get the .dol file, the one I have still doesnt give the correct results for some reason.
 
  • Like
Reactions: D3fau4

D3fau4

Well-Known Member
Newcomer
Joined
Apr 5, 2017
Messages
47
Trophies
0
Location
Madrid
XP
423
Country
Spain
Can I ask you how did you get the .dol file, the one I have still doesnt give the correct results for some reason.
is just a normal iso, you can use any tool to extract gcm/iso files.
I am especially using a tool called "GameCube Files Tools 1.7.0"

Edit:

I don't know why I think people are ignoring my post asking himself questions that I have already answered
 
Last edited by D3fau4,
D

Deleted User

Guest
Wonder what would happen if you used all the same files from the built in iso, EXCEPT for swapping out the boot.dol file from a legacy gcm.
 

RyanB

Member
Newcomer
Joined
Sep 16, 2020
Messages
12
Trophies
0
XP
62
Country
United States
It would be impossible to brute force from just one or even a handful of hashes. We'd have to reverse engineer the code that is checking the hashes to either bypass it or detect how the hash is computed.
Unless we're all missing something obvious, this is the only option that remains and work should start on that immediately. I'll take a look at doing it tomorrow but I don't have much experience in reverse engineering Nintendo Switch executable formats.
 

SecureBoot

Your friendly neighborhood idiot
Member
Joined
Sep 29, 2016
Messages
1,772
Trophies
1
XP
4,655
Country
United States
Unless we're all missing something obvious, this is the only option that remains and work should start on that immediately. I'll take a look at doing it tomorrow but I don't have much experience in reverse engineering Nintendo Switch executable formats.
Well I have no idea how to do any sort of reverse engineering so you have a leg up on me
 
D

Deleted User

Guest
If I could extract the files without needing my switch (in another house, in storage), I'd try my hand at helping out. Anyone know how to extract the files without a switch? Google provides very little.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Maximumbeans @ Maximumbeans:
    And has she put her boob away yet?
    +1
  • Veho @ Veho:
    Her boob is the cause of all this current shit :angry:
    +1
  • Sonic Angel Knight @ Sonic Angel Knight:
    I hope this is a dream and I'm not actually leaving messages for others to see. :ninja:
    +1
  • Veho @ Veho:
    You are not.
  • Veho @ Veho:
    Nobody is reading what you post.
  • Psionic Roshambo @ Psionic Roshambo:
    That Dell data breach is worse than people probably realize....
  • Psionic Roshambo @ Psionic Roshambo:
    When I worked for Dell we had access to data about military contracts and addresses for high ranking people.
  • Psionic Roshambo @ Psionic Roshambo:
    I personally handled a call from the second highest person at Raytheon. That call bothered me a lot... The guy was nice and smart what bothered me was the way management basically just blew him off instead of going the extra mile to help him.
  • Psionic Roshambo @ Psionic Roshambo:
    In the end that call ended up costing Dell millions in lost contracts with Raytheon, and really the issue could have been solved for like 450 bucks lol
  • NinStar @ NinStar:
    sometimes I wonder why anyone would ever buy mega man x legacy collection 2
  • NinStar @ NinStar:
    I always thought that capcom shuffled the games in these collection, but apparently they are all in chronological order, which makes legacy collection 2 worthless
  • BakerMan @ BakerMan:
    guys, i want to start singing pirate metal songs and sea shanties if i play sea of thieves
  • The Real Jdbye @ The Real Jdbye:
    find a pirate metal playlist
    +2
  • The Real Jdbye @ The Real Jdbye:
    and sing along
  • BakerMan @ BakerMan:
    nevermind i just learned swearing is against the rules in sea of thieves

    i was about to start singing the song i last put in "what song are you currently listening to" yesterday
  • BakerMan @ BakerMan:
    but yeah ig so
  • The Real Jdbye @ The Real Jdbye:
    swearing not allowed in a pirate game? what has the world come to
  • BakerMan @ BakerMan:
    (here's the song for context)
  • BigOnYa @ BigOnYa:
    Just add -izle to the end of every curse word, you will be fine.
    +2
  • The Real Jdbye @ The Real Jdbye:
    i like alestorm
    +1
  • The Real Jdbye @ The Real Jdbye:
    @BigOnYa too many syllables
    +1
  • BakerMan @ BakerMan:
    same lmao
    BakerMan @ BakerMan: same lmao