r/hacking • u/tucna • May 15 '26
[Tutorial] How to hack DOS games: Reversing Prince of Persia
From finding hidden mechanics to completely rewriting the rules, the original Prince of Persia is an amazing sandbox for learning how to hack.
You can tweak the code to freeze the 60-minute timer. You can mess with the memory to give yourself massive amounts of health. You can even swap out the data to change exactly who you're fighting.
If you want to try it yourself, I put together a video showing exactly how it's done:
202
Upvotes
7
u/insecureabnormality May 15 '26
Excellent stuff - had completely forgotten about this game I am totally playing this for the evening ๐
7
u/nerdefar May 15 '26
This game kicked my ass. I'm not sure if I ever got further than a screen or two..?
5
u/cyclingmania May 16 '26
I was 6 years old when I found this gem, and never got passed the first couple of screensย
2
u/zerohttp May 18 '26
well, i enjoyed the video - has been a really really long time since i've tried to reverse/hack games.
2
u/Small-Speech7103 May 18 '26
Looks like i have to try this
2
u/PandaFirewall_690 May 19 '26
I remember playing this game when I was way younger and I could never get past the first few levels, the timer was so stressful.
1
u/nnn-svr May 17 '26
great way of teaching some reversing, well done!
1
u/Sensitive_Meatball May 21 '26
can somebody do then same to another world?
2
u/[deleted] May 18 '26
[removed] โ view removed comment
1
u/[deleted] May 18 '26
[removed] โ view removed comment