distractionware forums

Archived => Super Hexagon => Topic started by: kando on November 07, 2012, 08:59:35 pm

Title: Hex Editing Super Hexagon Binary
Post by: kando on November 07, 2012, 08:59:35 pm
So for some fun, I tried to see what fun I can do with hex editing the binary file.

I managed to find out the following:

a) Can get rid of the glados style voice.

b) Can make main title screen music the creepy music from Super Hyper Hexagonest mode!

c) Can make main title screen music the ending music!

D) CANNOT slow down, speed up, or adjust any controls.

Will update as I play around :)
Title: Re: Hex Editing Super Hexagon Binary
Post by: PyNe on November 08, 2012, 05:10:05 am
Hahaha, glados-style voice :)
This looks pretty cool, what program do you use for editing? :vitellary:
Title: Re: Hex Editing Super Hexagon Binary
Post by: kando on November 09, 2012, 01:41:17 am
Hahaha, glados-style voice :)
This looks pretty cool, what program do you use for editing? :vitellary:

Just any standard hex editor...I'm using 010 editor. Copy binary to pc, hex edit, copy it back, then in the ios terminal do "chmod 0755 SuperHexagon" and then ldone SuperHexagon -s, both while in the app directory. That will resign the binary and allow it to run.

You will know if something hexed was not accepted (which happened quite a lot trying to adjust speed), such as the game will sit at the loading screen.

If you want some exact addresses to edit, ask away!
Title: Re: Hex Editing Super Hexagon Binary
Post by: ThePaSch on November 09, 2012, 12:43:06 pm
Maybe - with a little snooping - it'd be possible to, say, make clicking play on Hexagon lead to Hyper Hyper Hexagon? That'd be sweet.  :viridian:
Title: Re: Hex Editing Super Hexagon Binary
Post by: kando on November 09, 2012, 11:46:14 pm
Maybe - with a little snooping - it'd be possible to, say, make clicking play on Hexagon lead to Hyper Hyper Hexagon? That'd be sweet.  :viridian:
its POSSIBLE, but you are talking about a 10MB file...its all guess and try, but that was somewhat of the goal :)
Unfortunately no success yet.
May never have success.
Title: Re: Hex Editing Super Hexagon Binary
Post by: kando on November 10, 2012, 06:22:35 pm
Blah, somehow i gave myself a score of 300 seconds on hyper hexagonest...and it went up on game center. Crap.
Just removed game and removed all scores from leaderboard, this sucks :(
Title: Re: Hex Editing Super Hexagon Binary
Post by: ThePaSch on November 10, 2012, 07:28:50 pm
Your score's still there, assuming you are kandowontu.
Title: Re: Hex Editing Super Hexagon Binary
Post by: kando on November 10, 2012, 07:46:26 pm
Your score's still there, assuming you are kandowontu.

Grrr..is there any way to remove this? I deleted the game and said YES, remove game center scores...
Title: Re: Hex Editing Super Hexagon Binary
Post by: kando on November 11, 2012, 04:36:44 am
And the fruits of my labor is going to be a hack, released soon, that allows you to run this "hack" and then view the super hexagon ending again (beating hyper hexagonest of course).

Hope thats worth screwing up the leaderboard :(
Title: Re: Hex Editing Super Hexagon Binary
Post by: FIQ on November 11, 2012, 01:50:42 pm
The fact that leaderboard is possible to screw up at all shows lack of security...
Title: Re: Hex Editing Super Hexagon Binary
Post by: pointless on January 27, 2013, 10:39:55 pm
Big necro incoming.

If you (or anyone else) are still working on this, don't spoil the leaderboards, please. I know some are already cheating, but at least some of the top 10 people are legit.

For the current version (SHA-256 of the exe file should be 69411CB275202B21C3E0428A5C27704E97663A17723497B61BD7DFEAA1534BDD), I can tell the following can be done with a hex (hax? :D) editor:

To disable highscores:
change 2 bytes at 3C50D from 7D3F to 9090
change 1 byte at 3C51D from 7F to EB

To disable arcade mode highscores:
change 6 bytes at 2187D from 0F8E01030000 to E90203000090

To disable level completion (unlocks a new hypermode or marks a hypermode as complete and also shows the endings):
change 1 byte at 2C768 from 75 to EB
change 1 byte at 2C7AE from 75 to EB

To disable forward collisions:
find this on your own :P

To enable all modes:
change 2 bytes at addresses 3C1E8, 3C202, 3C21D from 750D, 750F, 750F to 9090
change 2 bytes at addresses 2596F, 259D2, 25A43 from 7556, 7565, 7554 to 9090
change 6 bytes at addresses 2B5B6, 2B872, 2BB14 from 0F85A7020000, 0F858E020000, 0F85AC020000 to 909090909090
change 2 bytes at addresses 41438, 41456, 41478 from 7511, 7516, 7529 to 9090
change 6 bytes at address 2BF71 from 0F85A3000000 to 909090909090

If anything is not right, you don't have the correct version.

Grrr..is there any way to remove this? I deleted the game and said YES, remove game center scores...
I think it is possible to overwrite the scores.
This code from Open SteamWorks looks interesting to me:
Code: [Select]
enum ELeaderboardUploadScoreMethod
{
        k_ELeaderboardUploadScoreMethodNone = 0,
        k_ELeaderboardUploadScoreMethodKeepBest = 1,    // Leaderboard will keep user's best score
        k_ELeaderboardUploadScoreMethodForceUpdate = 2, // Leaderboard will always replace score with specified
};
Title: Re: Hex Editing Super Hexagon Binary
Post by: Chillius on January 28, 2013, 03:54:31 pm
And the fruits of my labor is going to be a hack, released soon, that allows you to run this "hack" and then view the super hexagon ending again (beating hyper hexagonest of course).

Hope thats worth screwing up the leaderboard :(

Don't worry. i am the one hex-editing the phone version :)
Title: Re: Hex Editing Super Hexagon Binary
Post by: pointless on January 28, 2013, 07:43:53 pm
@Chillius03: Oh, was this about iOS version? I somehow just assumed it was about the steam version. My comment about reversing the score may apply only for the steam version then.
Title: Re: Hex Editing Super Hexagon Binary
Post by: Nikachu on January 29, 2013, 01:59:11 am
Lol at the 300 sec hyper hexagonest score. You can definitely beat it if you play all year.
Title: Re: Hex Editing Super Hexagon Binary
Post by: Chillius on February 16, 2013, 08:54:36 pm
i found a way to play the super hyper hexagon song to play on the title!
Title: Re: Hex Editing Super Hexagon Binary
Post by: Sigsig on February 20, 2013, 07:38:39 am
So that explains all the 300.06 scores on the leaderboards.
I always wondered how one could reach that time on Hyper Hexagon  ::)
Title: Re: Hex Editing Super Hexagon Binary
Post by: Chillius on February 20, 2013, 05:42:43 pm
This explains

1580.27
on the leadorboards. lol!
Title: Re: Hex Editing Super Hexagon Binary
Post by: UberHacker on February 26, 2013, 04:22:21 pm
Hacking the Android version is so easy! There's an unhashed file in /datadata containing Boolean values... such as HYPERHEXAGONESTMODEUNLOCKED=0. Just change the 0! (High scores can be changed this way too cough cough  :D )
Title: Re: Hex Editing Super Hexagon Binary
Post by: Chillius on March 20, 2013, 08:48:08 pm
yay. i found how to mod music on Android!
Title: Re: Hex Editing Super Hexagon Binary
Post by: Chillius on April 21, 2013, 05:39:58 pm
So that explains all the 300.06 scores on the leaderboards.
I always wondered how one could reach that time on Hyper Hexagon  ::)

???

With my 305

and 404 on hexagoner?
Title: Re: Hex Editing Super Hexagon Binary
Post by: N on April 21, 2013, 07:37:02 pm
So that explains all the 300.06 scores on the leaderboards.
I always wondered how one could reach that time on Hyper Hexagon  ::)

???

With my 305

and 404 on hexagoner?
WHY DO YOU ALWAYS DOUBLE POST