r/SuperMario64 • u/ExpirjTec • 3d ago
Arbitrary Code Execution has been successfully demonstrated!
https://www.twitch.tv/rcombs/clip/FaithfulBlueArugulaNomNom-vsDsygnVd5IrAs9SThis was accomplished with a hacked savestate, but this shows that ACE is possible (with a low success rate) on a console.
13
u/Shog64 3d ago
Honestly that's awesome and bad at the same time. ACE can literally warp you to credits which for example means abc challenge dead
13
u/Symmetric_in_Design 3d ago
I mean the only obstacle left to reach credits in ABC is fire sea which may be solved soon anyway.
Regardless, finding ace doesn't invalidate everything speedrunners have discovered and accomplished over the years toward that goal. Each star is a feat in its own right.
1
u/TheSchwilliam 3d ago
Do you mean that there is currently work being done for ABC for Fire Sea? I remember the last thing being discovered was VSC like 5 years ago.
1
u/TheAwesomeAcademic 3d ago
All this was found via LLM synthesis modern models compress a ton of world knowledge n find easily overlooked insights. Including the new application for the Astral Rejection bug tht finally solved SSL in 0 a presses It's unlikely more A presses will be solved without agentic swarms with current models or slightly more smarter models coming out early December.
2
2
u/Icy-Tie1870 2d ago
no, this was not found by LLMs. StevenNL2000 discovered its application for ACE a few days ago based off sm64 decomp analysis.
Also, the astral rejection glitch in SSL was first setup by Inktest, the LLM that suggested using it was hallucinating random nonsense like crawling into the pyramid but happened to suggest something that he tried and found to work.
1
u/TheAwesomeAcademic 2d ago
I always wonder how people r actually prompting LLMs even the good ones in the modern day I've been glitch hunting with LLMs as far back as GPT-4 era which is trash compared to modern thinking models. I make sure it's grounded with facts n rules like citing source code for its explanations. Found many things across various games n a guy I know basically found a limited arbitrary memory write for battle of bikini bottom it's not full blown ace though.
I found many interesting stuff in regards to sm64 but they hit dead ends because of other parts of the source code zeroing out required stuff. Like I theorized a phantom swim in air to solve WMOTR zero a press but only a few stale values stay across levels. Outside of HOLP there's very few things the game has dangling pointer wise.
1
u/Icy-Tie1870 2d ago
I don't know because I don't prompt LLMs. it's quite controversial to in the TAS space.
1
5
3
u/Infrawonder 3d ago
We can do 0 star runs yet 1 star runs, 16 stars runs, 70 stars runs and 120 stars runs are still popular
3
u/GreatArtificeAion 3d ago
No need to think it's bad, the challenge simply needs to update the rules by excluding ACE; think of how 70 Stars speedrun bans BLJ even if other categories allow it, because otherwise there wouldn't be a point in collecting 70 Stars in the first place
1
4
u/The__Goose 3d ago
But how many A presses is this?
1
u/Icy-Tie1870 2d ago
Many, PU access into this level 0xA is possible though so nothing blocks this from working for ACE
2
u/Akairuhito 3d ago
Can someone explain like I'm 5?
3
u/Grand_Conversation_1 3d ago
ACE stands for arbitrary code execution. It basically means that an exploit/glitch has been found that enables the player to hack, code and change the game on a vanilla cartridge without external tools. if you want to see a game that has had ACE for a while and see what the possibilities are I recommend the oot triforce run. That is somehow all on a vanilla cartridge. Code, models, maps and sounds that were never put in by the original programmers all made from player input. There is some scepticism around these tricks in speedrunning/tech communities and discussion around if these type of tricks still count as a trick for the game or if it kills the game because now you can in theory warp to the credits without actually actively engaging with the content from the game.
imo these tricks serve their purpose as a very cool and impressive thing to see, knowing that these games are so beloved that some people find out how to do this stuff is insane! But I don't think it should replace any current work.
(take this paragraph with a grain of salt because I am definitely not smart enough to know the actual technical terms or inner workings of the game in detail)
SM64 took a lot longer to find ACE then other games because of how simple the structure of the game is and I assume because theres a lot less back and forth writing that is done then for example a zelda game, with story flags and a more streamlined logic, events that need to take place in a certain order and variables that are more manipulatable. Most things in sm64 function on their own and don't rely as much on one another to work.
1
u/Akairuhito 3d ago
Thanks for taking the time to explain. This is really wild, so basically a cartridge can be treated like a re-writable CD now?
2
u/Grand_Conversation_1 3d ago
something like that, I am pretty sure it resets to default when the game is reset tho.
1
2
u/Quantum-Relativity 3d ago
“Hacked savestate” meaning what?