ROM Hack Question Internal method of emulating SM3DAS ROMs

ZiggyDeer

Active Member
OP
Newcomer
Joined
Dec 20, 2014
Messages
41
Trophies
0
Location
USA
Website
ziggydev.xyz
XP
304
Country
United States
Hey, I had a question about how SM3DAS handles it's emulation, specifically for SM64, if anyone knows anything yet.

While looking through the files, I found a .bin that's obviously the stock Shindou rom, but I also found a couple of NROs, one of which seems to include calls to the functions in the rom. My question is, is the emulator dependant on that Shindou rom, or is it directly translating the MIPS machine code into ARM64 code. Like, if I were to patch BLJs back into the game using the shindou rom, would the changes I make reflect in the game?

I don't have my switch rn so I can't test this (I'm out of town until Friday night), but I have already made a LayeredFS mod to test patching BLJs back into the game. It was a simple patch, just NOP-ed one line of assembly. If anyone wants to help me test that, I can upload the zip.

Thanks!
 

vgmoose

Well-Known Member
Member
Joined
Jan 31, 2016
Messages
362
Trophies
1
Website
github.com
XP
3,110
Country
United States
Your patch should work! I can confirm BLJs will work with layeredfs via a shindou rom patch that a user (leo60228) posted in the Reswitched discord server shortly after 3D All Stars was released.

I wrote some small details on how to set this up here: https://gist.github.com/vgmoose/c44bba421b0948b39aa0f68720d813cc which sounds similar to what you described. It would be cool to have some homebrew that could apply dump the rom and apply the patch on-the-fly so that more people could find out about this.

I'm not sure what the limits of patching it like this are, for instance it would be cool to have something like Usamune ported to shindou as well, and if it was ported/working on console, would it be able to work in Nintendo's emulator?
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    SylverReZ @ SylverReZ: :rofl2: :rofl2: