Homebrew Discussion SM3DAS: Research and Development

  • Thread starter Thread starter Psi-hate
  • Start date Start date
  • Views Views 77,876
  • Replies Replies 155
  • Likes Likes 28
Distinctions between original EU Super Mario Sunshine and the one included in SM3DAS.
  • marioEU.MAP
  • apploader.img
  • boot.bin
  • fst.bin
  • main.dol

Nothing surprising there, disappointing though, it'd be nice if it were one change right?

I haven't noted the video files, you'll find the thp files on the Switch to only contain audio, the real videos are loaded externally, we knew this already.

How big are the distinctions between each of the files (main.dol 3DAS <-> main.dol Legacy, ect)?
I would imagine that if cutting off the first 100 byes needs to be done, it would be to one of those executables.
 
I managed to get past the loading screen by disabling usedolhash, modfying the game code to GM4P and changing some other settings, but it crashes at the blackscreen, unfortunately. I tried with an european Mario Kart Double Dash iso.
 
I commented out the external file loading stuff, like the video files, among other edits like correcting the GameID. Will see what happens.
 
I think that doing the NewGame setup isn't gonna work, I setup the NewGame to load Sunshine and it did not boot.

I gutted the config files that were easily accessable but I don't recall seeing anything that was actually specific to the file structure on the dump like nothing refers to the video/audio replace directories or the gekko stuff at all. It was mostly emulator specific stuff not rom specific.

It's super interesting that the rebuilt rom boots.

Currently with all the gutted config files, my best result is pointing the UID MarioSunshine in rom.json to a copy of Animal Crossing and it hangs for a good bit before erroring out.

Actually I'm not sure how you got your rebuilt rom to boot cause if I replace the Super_Mario_Sunshine_Stardust-trimmed.hash with a bogus file I get a atmosphere error. I'm pretty sure it's still doing some kinda check with the rom vs the hash file. Even after removing anything talking about hash checks that are in easily accessable files anyway.

Ugh nevermind, I just gutted too much, if you set "UseDolHash" : false, in hagi.config, the hash check doesn't happen.
 
Last edited by Tomobobo,
  • Like
Reactions: Deleted User
Sounds like focus needs to be put on just replacing the available Sunshine rom for now, leaving adding more games until later.
 
the 'main' file in exefs needs to be edited at least, I can see some code in there relating to loading the external files.
 
  • Like
Reactions: Tomobobo
This is kinda unrelated, but do we know what save format the Gamecube emulator uses? I tried dumping 3D All Stars' save in Checkpoint and found a file called 'A.sav' (memory card A?), but it was suspiciously small and dolphin didn't recognise it.
 
Last edited by AweGuy22,
  • Like
Reactions: ShadowOne333
This is kinda unrelated, but do we know what save format the Gamecube emulator uses? I tried dumping 3D All Stars' save in Checkpoint and found a file called 'A.raw' (memory card A?), but it was suspiciously small and dolphin didn't recognise it.

--------------------- MERGED ---------------------------
Maybe try filling it with dummy data until the minimum required Mem Card size is met?
 
I managed to get past the loading screen by disabling usedolhash, modfying the game code to GM4P and changing some other settings, but it crashes at the blackscreen, unfortunately. I tried with an european Mario Kart Double Dash iso.
I love Double Dash and would love to run this on my Switch.
 
  • Like
Reactions: Kyusetzu
Oh, this is new.
I did as you did @24hrjellymachine , but I replaced the ROM with TLOZ Four Swords Adventures. It attempted to boot for a few frames, as it went past the loading screen. neat. Before, I was just getting an error right on the loading screen after it hung for 20 seconds.
Can we see some proof or maybe an update?
 
Quite the timing for me to suddenly lose my living space. I'll be working things out, so I'll be on and off. I only got as far as getting the game to attempt to boot. Next step is configuring the main code file in exefs to not load external data.
 
I’m probably being a negative Nancy, but I doubt any game will run as-is. If I understand correctly, we’ve already confirmed the emulator uses Vulkan shaders. My hypothesis is the developers manually replaced all the Flipper GPU shaders to Vulkan and are replacing them on-the-fly. If I’m correct, that means the emulator does zero GPU translation, which means no game will work unless you manually re-write all the shaders to Vulkan.

I could be wrong. I hope I’m wrong, and I hope someone proves me wrong. But this is my 2¢
 
By replacing only the main.dol in the original PAL rom from the new one and booting the emulator boots to a black screen but doesn't crash you can still use the menu to continue/return to title.

I think the main.dol should be priority.
 

Site & Scene News

Popular threads in this forum