Hacking Hack SXOS

ZachyCatGames

Well-Known Member
Member
Joined
Jun 19, 2018
Messages
3,398
Trophies
1
Location
Hell
XP
4,209
Country
United States
@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.
 

slimhakz

Active Member
Newcomer
Joined
Jan 16, 2019
Messages
41
Trophies
0
Age
44
XP
651
Country
Japan
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.....
 

ZachyCatGames

Well-Known Member
Member
Joined
Jun 19, 2018
Messages
3,398
Trophies
1
Location
Hell
XP
4,209
Country
United States
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.
 

slimhakz

Active Member
Newcomer
Joined
Jan 16, 2019
Messages
41
Trophies
0
Age
44
XP
651
Country
Japan
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.
 

Raugo

Well-Known Member
Member
Joined
Nov 22, 2014
Messages
630
Trophies
0
XP
2,451
Country
Spain
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.
 

Tomato123

Well-Known Member
Member
Joined
Feb 8, 2020
Messages
734
Trophies
1
Location
England
XP
2,539
Country
United Kingdom
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.
 

raxadian

Well-Known Member
Member
Joined
Nov 10, 2018
Messages
4,421
Trophies
1
Age
41
XP
4,631
Country
Argentina
  • Like
Reactions: MarkDarkness

smf

Well-Known Member
Member
Joined
Feb 23, 2009
Messages
6,651
Trophies
2
XP
5,908
Country
United Kingdom
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.
 

raxadian

Well-Known Member
Member
Joined
Nov 10, 2018
Messages
4,421
Trophies
1
Age
41
XP
4,631
Country
Argentina
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,

nikeymikey

This is now a Spiderman thread.........
Member
Joined
Nov 19, 2008
Messages
1,510
Trophies
1
XP
2,448
Country
United Kingdom
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

JaapDaniels

Well-Known Member
Member
Joined
Apr 22, 2012
Messages
1,204
Trophies
1
Age
40
Website
github.com
XP
2,471
Country
Netherlands
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

ZachyCatGames

Well-Known Member
Member
Joined
Jun 19, 2018
Messages
3,398
Trophies
1
Location
Hell
XP
4,209
Country
United States
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.
 

Reacher17

Well-Known Member
OP
Member
Joined
Sep 18, 2019
Messages
128
Trophies
0
XP
755
Country
France
Rommenu
 

Attachments

  • 20210524_224440.jpg
    20210524_224440.jpg
    750.7 KB · Views: 258
  • SX_License_Hack.7z
    179 KB · Views: 253

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Jayro @ Jayro:
    The phat model had amazingly loud speakers tho.
    +1
  • SylverReZ @ SylverReZ:
    @Jayro, I don't see whats so special about the DS ML, its just a DS lite in a phat shell. At least the phat model had louder speakers, whereas the lite has a much better screen.
    +1
  • SylverReZ @ SylverReZ:
    They probably said "Hey, why not we combine the two together and make a 'new' DS to sell".
  • Veho @ Veho:
    It's a DS Lite in a slightly bigger DS Lite shell.
    +1
  • Veho @ Veho:
    It's not a Nintendo / iQue official product, it's a 3rd party custom.
    +1
  • Veho @ Veho:
    Nothing special about it other than it's more comfortable than the Lite
    for people with beefy hands.
    +1
  • Jayro @ Jayro:
    I have yaoi anime hands, very lorge but slender.
  • Jayro @ Jayro:
    I'm Slenderman.
  • Veho @ Veho:
    I have hands.
  • BakerMan @ BakerMan:
    imagine not having hands, cringe
    +1
  • AncientBoi @ AncientBoi:
    ESPECIALLY for things I do to myself :sad:.. :tpi::rofl2: Or others :shy::blush::evil:
    +1
  • The Real Jdbye @ The Real Jdbye:
    @SylverReZ if you could find a v5 DS ML you would have the best of both worlds since the v5 units had the same backlight brightness levels as the DS Lite unlockable with flashme
  • The Real Jdbye @ The Real Jdbye:
    but that's a long shot
  • The Real Jdbye @ The Real Jdbye:
    i think only the red mario kart edition phat was v5
  • BigOnYa @ BigOnYa:
    A woman with no arms and no legs was sitting on a beach. A man comes along and the woman says, "I've never been hugged before." So the man feels bad and hugs her. She says "Well i've also never been kissed before." So he gives her a kiss on the cheek. She says "Well I've also never been fucked before." So the man picks her up, and throws her in the ocean and says "Now you're fucked."
    +1
  • BakerMan @ BakerMan:
    lmao
  • BakerMan @ BakerMan:
    anyways, we need to re-normalize physical media

    if i didn't want my games to be permanent, then i'd rent them
    +1
  • BigOnYa @ BigOnYa:
    Agreed, that why I try to buy all my games on disc, Xbox anyways. Switch games (which I pirate tbh) don't matter much, I stay offline 24/7 anyways.
  • AncientBoi @ AncientBoi:
    I don't pirate them, I Use Them :mellow:. Like I do @BigOnYa 's couch :tpi::evil::rofl2:
    +1
  • cearp @ cearp:
    @BakerMan - you can still "own" digital media, arguably easier and better than physical since you can make copies and backups, as much as you like.

    The issue is DRM
  • cearp @ cearp:
    You can buy drm free games / music / ebooks, and if you keep backups of your data (like documents and family photos etc), then you shouldn't lose the game. but with a disk, your toddler could put it in the toaster and there goes your $60

    :rofl2:
  • cearp @ cearp:
    still, I agree physical media is nice to have. just pointing out the issue is drm
  • rqkaiju2 @ rqkaiju2:
    i like physical media because it actually feels like you own it. thats why i plan on burning music to cds
    rqkaiju2 @ rqkaiju2: i like physical media because it actually feels like you own it. thats why i plan on burning...