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

GatoFiestero

Well-Known Member
OP
Member
Joined
Jan 21, 2020
Messages
234
Trophies
0
Age
34
XP
937
Country
Costa Rica
I don't know why I think people are ignoring my post asking himself questions that I have already answered

Well I have no idea how to do any sort of reverse engineering so you have a leg up on me

I do not understand what is happening

Just to be clear, we already know how to get the hash. Since yesterday. Now the issue is that it is harcoded patched
 
Last edited by GatoFiestero,

Worldblender

Well-Known Member
Member
Joined
May 27, 2019
Messages
269
Trophies
0
Age
24
XP
1,319
Country
United States
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.
https://github.com/SciresM/hactool can help you, I think. I'm mainly here if it happens that the N64 and GC emulators can successfully be used with other games. If not, I may lose my interest in those emulators.
 

bodyXY

Well-Known Member
Member
Joined
May 15, 2018
Messages
164
Trophies
0
Age
36
XP
931
Country
Germany
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.
Use NSC Builder to extract your files if you don't know what to do with hactool or use one of the tons GUIs
 

Graber

Well-Known Member
Newcomer
Joined
Oct 4, 2015
Messages
59
Trophies
0
XP
1,033
Country
Germany
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.
Are you still looking for how to generate the dolhash? Have you and the other people trying to get it ignored D3fau4's post? He even posted a video: https://gbatemp.net/threads/confirm...-have-3-emulators.573685/page-12#post-9200327

Seems the "100 bytes" were actually 0x100 (hexadecimal) bytes, which means the first 256 bytes.
 
  • Like
Reactions: GatoFiestero
D

Deleted User

Guest
https://github.com/SciresM/hactool can help you, I think. I'm mainly here if it happens that the N64 and GC emulators can successfully be used with other games. If not, I may lose my interest in those emulators.

Use NSC Builder to extract your files if you don't know what to do with hactool or use one of the tons GUIs

Thanks guys, I'll grab them and give them a shot after dinner. I'm no hacker, but I'm atleast competent with tech. Hopefully, the more people we throw at this, the more likely to find a solution!
BRAAAAAIN POOOOWER!
 

Moon164

Well-Known Member
Member
Joined
Nov 21, 2015
Messages
681
Trophies
0
Age
24
XP
2,201
Country
Brazil
I was crazy looking for the roms to do the test, I ended up choosing to download Super Mario 3D All Star and extracting the .xci to get the .gcm file containing the Super Mario Sunshine iso

It worked without any problems when I opened it in Dolphin
6fHWRHb.png

oKMIyul.png


the cutscenes have a black screen because the videos are in a separate folder that the Nintendo emulator uses to load (only the audio and subtitles are left)
NcTVPce.png


50AgPP8.png



So, I decided to try Nintendont on my Wii U to see if it would work the same way.

I was really curious, the layout of the Game Cube buttons are not so good on the GamePad, with the button layout of the Switch it would be perfect on the Wii U, I also wondered if it would work with Widescreen.

But to my surprise when I tried to load the game :
J1s8Sti.png

5Hl6ERj.png

Q26BuGQ.png


Was as you can see in the image, but not only that, the game was running considerably slow.

I tried to change some settings in Nintendont but the result was always the same and only this game ran like that.

Well, who was curious if the Super Mario 3D All Star .iso containing Super Mario Sunshine would work on the Wii U Nintendont, this is the result.
 

RyanB

Member
Newcomer
Joined
Sep 16, 2020
Messages
12
Trophies
0
XP
42
Country
United States
I do not understand what is happening

Just to be clear, we already know how to get the hash. Since yesterday. Now the issue is that it is harcoded patched
What do you mean we know how to get the hash?

Sent from my SM-G955U using Tapatalk
 

Nerdtendo

Your friendly neighborhood idiot
Member
Joined
Sep 29, 2016
Messages
1,692
Trophies
1
XP
3,636
Country
United States
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.
I'm pretty sure the tool is called hactool. However, I don't know how to extract the romfs from the nca so you're on your own there
 

RyanB

Member
Newcomer
Joined
Sep 16, 2020
Messages
12
Trophies
0
XP
42
Country
United States
Ive already tried your method and it didnt work for generating the same hash. Can you provide a demonstration?

Sent from my SM-G955U using Tapatalk
 
  • Like
Reactions: Deleted User

RyanB

Member
Newcomer
Joined
Sep 16, 2020
Messages
12
Trophies
0
XP
42
Country
United States
Oh, Ill try with the first 0x100 bytes then, OP said 100 bytes originally.

Sent from my SM-G955U using Tapatalk
 

GatoFiestero

Well-Known Member
OP
Member
Joined
Jan 21, 2020
Messages
234
Trophies
0
Age
34
XP
937
Country
Costa Rica
Ive already tried your method and it didnt work for generating the same hash. Can you provide a demonstration?

Sent from my SM-G955U using Tapatalk
The video is the demo, I think you are doing some procedure wrong and that is why you do not get the hash correctly.
 

salami68

Member
Newcomer
Joined
Jun 1, 2018
Messages
13
Trophies
0
Age
25
XP
195
Country
United States
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
}


This is correct, if you understand the old GCM file structure you know that a GCM file is an ISO file with a 100 byte header. We now know that the hash in the config is ignored, so it follows that is must pull it hardcoded from the NRO. I'm not familiar with modifying the NRO directly. There very well may be a check to ensure the nro hasn't been modified, but AFAIK layeredFs supports exefs patching also.

Is there a place people are discussing the technical elements of this without all the noise?
 

D3fau4

Well-Known Member
Newcomer
Joined
Apr 5, 2017
Messages
47
Trophies
0
Location
Madrid
XP
403
Country
Spain
I do not understand what is happening

Just to be clear, we already know how to get the hash. Since yesterday. Now the issue is that it is harcoded patched

well just change the hash But that dont works

upload_2020-9-16_18-38-3.png


then just compress again the nro to nrolz and edit the sha256 from NRR (you need patch the sysmodule "ro") and put the file in layeredfs
 
  • Like
Reactions: GatoFiestero
General chit-chat
Help Users
  • No one is chatting at the moment.
    Julie_Pilgrim @ Julie_Pilgrim: when i have to mix it, on the other hand