Hacking Hack SXOS

  • Thread starter Thread starter Reacher17
  • Start date Start date
  • Views Views 481,239
  • Replies Replies 1,578
  • Likes Likes 63
@Reacher17 @mrdude

have you guys considered looking into the checks that are most likely present in super mario 3d all stars so we can have gamecube/n64 emulation???
Both sunshine and galaxy are native binaries with just GPU and Audio being emulated.
It’s impossible to “just” replace them with other games.
 
Both sunshine and galaxy are native binaries with just GPU and Audio being emulated.
It’s impossible to “just” replace them with other games.

The Mario Sunshine contains a GCM image of the entire game also, the same applies to the n64 rom

Yes there are overlays and hooks but @Reacher17 could bypass these simple checks then perhaps gamecube and n64 emulation could be a native possibility.....
 
The Mario Sunshine contains a GCM image of the entire game also, the same applies to the n64 rom

Yes there are overlays and hooks but @Reacher17 could bypass these simple checks then perhaps gamecube and n64 emulation could be a native possibility.....
Only game assets are pulled from the gcm, there’s some weird compressed NRO that contains the recompiled game code, which is what’s executed.
To swap the game you’d have to completely reimplement Nintendo’s AOT recompiler, at that point you may as well just write your own emulator.

n64 is an actual complete emulator, but we already have mupen64plus-nx, which is more accurate.
 
Only game assets are pulled from the gcm, there’s some weird compressed NRO that contains the recompiled game code, which is what’s executed.
To swap the game you’d have to completely reimplement Nintendo’s AOT recompiler, at that point you may as well just write your own emulator.

n64 is an actual complete emulator, but we already have mupen64plus-nx, which is more accurate.

Sunshine is emulated it has already been proven, Mario Galaxy however has not been and that is running recompiled CPU instructions.
 
Sunshine is emulated it has already been proven, Mario Galaxy however has not been and that is running recompiled CPU instructions.

No, the CPU is not emulated in sunshine because the binary was recompiled. You can check the research that was done in his thread and so we do not deviate this one.
 
how ironic that sx team no updates for couple months but community working hard for new os updates for everybody. kudos guys :)
That's not what this is about and I don't think anyone involved in the creation of this has the intention of patching SX to work on later firmwares. This is just about making SX free to use and allowing you to customize it.
 
  • Like
Reactions: MarkDarkness
To swap the game you’d have to completely reimplement Nintendo’s AOT recompiler, at that point you may as well just write your own emulator.

It might be fun to use their gpu and sound emulations.
I'm surprised they would use AOT recompilation though, I'd expect them to just compile from the original source.
As we don't have source, something like ghidra could be used.
 
SXOS has brick code? Oh wow that's evil.

https://gbatemp.net/threads/sx-os-contains-brick-code.508800/

Look guys, I you never used SXOS just don't use it; is a dead end due to lawsuits and won't play newer games, while not perfect those with a powerful PC have two Switch emulators to chose from and you don't risk bricking your Switch that way.
 
Last edited by raxadian,
So apart from cracking the license for SXOS, what else has this achieved? Anybody looking into updating SXOS to work on newer fw?
 
  • Like
Reactions: nWo
So apart from cracking the license for SXOS, what else has this achieved? Anybody looking into updating SXOS to work on newer fw?
Unlikely to be done anytime soon, since there's no source code.
If it's there it'll turn up to violate licence agreement of other CFW for sure, and it uses illegal optained code of nintendo?
Even if they reverse or find a work around... it's really something that's a little too hot to get your name attached to.
 
  • Like
Reactions: nikeymikey
It might be fun to use their gpu and sound emulations.
I'm surprised they would use AOT recompilation though, I'd expect them to just compile from the original source.
As we don't have source, something like ghidra could be used.
I’d guess they didn’t have the source code for sunshine shrugs
From what I remember Galaxy seemed like it was compiled from source as the game itself was calling nnSdk functions, but they still chose to emulate the GPU and Audio for whatever reason, maybe it was easier, dunno.
 
Rommenu
 

Attachments

  • 20210524_224440.jpg
    20210524_224440.jpg
    750.7 KB · Views: 293
  • SX_License_Hack.7z
    SX_License_Hack.7z
    179 KB · Views: 285

Site & Scene News

Popular threads in this forum