i hacked aladdin to end the insanity.

Ғылым және технология

When I was a kid, I was horrible at video games. So, I hacked Aladdin for the Super Nintendo (SNES), got infinite apples for Aladdain, infinite hearts and finally defeated Jafar. The way I did this was through assembly, hacking, reverse engineering and a little bit of passion. Watch the end for a special treat ;)
🏫 COURSES 🏫
Learn to code like the pros at lowlevel.academy
🔥🔥🔥 SOCIALS 🔥🔥🔥
Low Level Merch!: lowlevel.store/
Follow me on Twitter: / lowleveltweets
Follow me on Twitch: / lowlevellearning
Join me on Discord!: / discord

Пікірлер: 440

  • @meeponinthbit3466
    @meeponinthbit346610 ай бұрын

    If the goal is to p0wn Jafar, you should have hacked his health to 1 by tracking the reduction of his health after hitting him.

  • @InsaneFirebat

    @InsaneFirebat

    6 ай бұрын

    Jafar has two boss fights. Human Jafar's health is at $7E0B6C. Snake Jafar uses $7E0C0C

  • @derkevevin

    @derkevevin

    4 ай бұрын

    @@InsaneFirebat When the boss talks shit to you so instead of his IP address, you name his health address 💀😂

  • @Stratelier
    @Stratelier5 ай бұрын

    I remember, as a kid, we played this game to death. We even got the special credits that happen if you collect all 70 Red Gems scattered throughout the game (10 per stage), which MUST be done in a single session because they aren't encoded into your level password.

  • @omegarugal9283

    @omegarugal9283

    4 ай бұрын

    cuz the password dont encode anything

  • @costelinha1867
    @costelinha186710 ай бұрын

    Keep in mind that this dude just spent all this time doing what is essentially the same shit a game shark/game genie cartridge does, just to teach us about reverse engineering. Mad respect.

  • @byron2122

    @byron2122

    4 ай бұрын

    and cheat engine for windows :D

  • @bofh139

    @bofh139

    4 ай бұрын

    I did the same thing as a kid with Prince of Persia 2. I printed out saved games files on a dot matrix printer using Norton Commander. Was able to find where levels, time, level and player spirits could be changed. I was only years later I learnt that Norton Commander Hex-Editor had a diff function so I did not need to do it manually. Think was one of the first steps to me now working in IT and IT Security.

  • @muzzletov

    @muzzletov

    4 ай бұрын

    what? thats a very standard technique that you apply to using a hex editor anyways. also, its not about how much memory the game has, its missing a battery rather. totally different concept.

  • @defaltpearce3187

    @defaltpearce3187

    4 ай бұрын

    My thoughts exactly xD

  • @S-Video

    @S-Video

    4 ай бұрын

    I tried this game on Game Genie and it always stuck on a black screen after the code screen, even if no codes were entered. I think it’s one of those games with extra security because Nintendo didn’t like Game Genie, and eventually GameShark on N64 if you’re familiar with how it permanently makes DK64 cartridges a pain to play.

  • @ranibro
    @ranibro5 ай бұрын

    Man's just found out how to use Cheat Engine

  • @InternetTAB

    @InternetTAB

    2 ай бұрын

    lol that's what I was thinking

  • @raghav9000
    @raghav900010 ай бұрын

    This brings so many memories. As a kid I never went past the second level , I was 5

  • @LowLevelLearning

    @LowLevelLearning

    10 ай бұрын

    Game was SO hard

  • @stpworld

    @stpworld

    4 ай бұрын

    @@LowLevelLearning I had the genisis version it had a code to skip levels

  • @nobodycares9579

    @nobodycares9579

    3 ай бұрын

    Why do people suck at this game? It's not hard at all.

  • @sirgouki6207
    @sirgouki620710 ай бұрын

    You got lucky here, as most games that used passwords did not, in fact, keep a list of valid passwords. Instead, the passwords were actually directly related to flags such as boss kills, items you owned, and where in the game you were. The easiest example of this I can think if is Faxandu (and Metroid) where you're effectively programming the ram with your desired weapons, magic, armor, usable items, starting gold, exp level (which is what actually determined your starting gold), and starting location. AFIAK, most games actually did it that way, instead of the way Aladdin seems to have gone, and many of them had a checksum as part of the password, and that in and of itself was what determined if the password was valid.

  • @darpmosh6601

    @darpmosh6601

    5 ай бұрын

    Exactly. I was wonder that as well. Which brings up the question: Did Mega Man 2 work that way as well?

  • @danlowe

    @danlowe

    4 ай бұрын

    Ever seen how people speedrun Earthbound? Their position in the level and combination of movement inputs will determine what RNG table is called (I'm butchering the terminology) so you can use your inputs to produce predictable glitches.

  • @ZipplyZane

    @ZipplyZane

    4 ай бұрын

    I'd say it's not quite luck. The short nature of the passwords and the fact that the password for the next level always seems to be the same suggests a table.

  • @sophiacristina

    @sophiacristina

    4 ай бұрын

    I remember when i was kid i would do that on Road Rash, i think the third one, from Mega-Drive, and it would change the amount of money i had, or something like this. So i would keep changing it in hopes for the better, lol...

  • @MindCaged

    @MindCaged

    4 ай бұрын

    @@darpmosh6601I can't remember 2, but I know 3 did as they had a grid with red dots and I actually cracked that on paper. Luckily it was a very basic pattern.

  • @nonstandarduser_
    @nonstandarduser_10 ай бұрын

    Doesn't the '0x10' mean 16 in decimal? It even says so in the debugger. Shouldn't it have been 0x0A?

  • @ntorneri

    @ntorneri

    10 ай бұрын

    I was looking for this comment (1min30 into the video), unless it's encoded in BCD

  • @SadKris

    @SadKris

    8 ай бұрын

    Yeah, LLL isn't the best resource

  • @speedrunme1943

    @speedrunme1943

    7 ай бұрын

    No. Hex goes like this: 01 02 03 04 … 09 where 09 hex = 9 int 0A is 10, 0A- 0F = 10-15 as seen bc FF is 255, (15*15). So 10 hex is 16

  • @SadKris

    @SadKris

    7 ай бұрын

    ​@@speedrunme1943 what's the no for? that's exactly what they said

  • @arturmg2068

    @arturmg2068

    7 ай бұрын

    @@SadKris 😂😂😂😂😂😂

  • @atsz.
    @atsz.4 ай бұрын

    This was one of the fastest games that my brother and I beat. I'm a little baffled that you never beat this

  • @6maniac6metal6

    @6maniac6metal6

    4 ай бұрын

    It was literally the game that I’d play if I just wanted to beat a fun game really quick, and I am/was far from an elite gamer, like I think it took me two years to beat Zelda: LttP. I was born in 87 so maybe I was a little older?

  • @atsz.

    @atsz.

    4 ай бұрын

    @@6maniac6metal6 You're a year younger than I, and my brother has 3 years on me. Goes to show how easy the game is. LttP was a little cryptic for me in some parts so it makes sense. Not everyone had the right issue of Nintendo Power to figure it all out. 😄

  • @syryously
    @syryously10 ай бұрын

    It wasn't that they didn't have a lot of space to save your save game (though technically a true statement, when they did); it was that the save games were stored in battery backed-up RAM in the cartridge. It was far cheaper to exclude the battery and RAM leaving just the game ROM in the cart.

  • @OpenGL4ever

    @OpenGL4ever

    6 ай бұрын

    This applies to console games. But there were also PC games that had this kind of store the level progress in the form of a password that you could write down. One example is Historyline: 1914-1918. If I'm not mistaken, Lemmings was also such a game where you could unlock or jump to further levels by entering passwords.

  • @davidmcgill1000

    @davidmcgill1000

    4 ай бұрын

    @@OpenGL4ever Mainly because hard drives were a luxury at the time and likely was running the game on a floppy disk, and kinda don't want to modify your game disk just to store saves.

  • @OpenGL4ever

    @OpenGL4ever

    4 ай бұрын

    @@davidmcgill1000 When these two games were released hard-drives were already common on PCs. And another possibility was to just use extra floppies as savegame disk. Many games used the latter option.

  • @bass-tones

    @bass-tones

    4 ай бұрын

    Yeah. The funny thing is, if this game had a save file that corresponded to its password system, the save file would literally only need to be 3 bits in size (there are only 8 possible stages you can start from). But you are right, just having the battery was the general bottleneck for games of this era. This game’s extremely simple save state certainly didn’t justify the extra cost.

  • @chegadesuade
    @chegadesuade4 ай бұрын

    Nothing delights Jafar more than knowing you had to cheat to beat him

  • @ZenkaiGoose
    @ZenkaiGoose10 ай бұрын

    This was super interesting to watch as a fan of these old games. Great video fam!

  • @LowLevelLearning

    @LowLevelLearning

    10 ай бұрын

    YO! sup man thanks for watching :)

  • @CallousCoder

    @CallousCoder

    10 ай бұрын

    I have a lot of these old skool game hacking videos

  • @tactileslut
    @tactileslut10 ай бұрын

    Isn't it awfully nice to be running in an emulator with live debugging tools? Thanks for confirming that it's probably impossible to get that far without making some changes.

  • @css2165

    @css2165

    10 ай бұрын

    what tools is he using? this sounds fun and i wanna get into it. any advice please?

  • @undefined06855

    @undefined06855

    10 ай бұрын

    @@css2165 He is using a fork of bsnes, called bsnes plus

  • @css2165

    @css2165

    10 ай бұрын

    @@undefined06855 thank you

  • @css2165

    @css2165

    10 ай бұрын

    @@undefined06855 thank you

  • @AWriterWandering

    @AWriterWandering

    10 ай бұрын

    This is basically how the game genie worked back in the 90s

  • @cakemonitor842
    @cakemonitor84210 ай бұрын

    Very cool! :) For anyone who wants more like this there's an excellent mini-series from Double Fine productions where Brandon Dillon hacks Zelda 1 from the NES and writes his custom ROM image back to a modified cartridge so they can play his mod on original hardware. The first video in the 4-part series is called: "Devs Play" S01E04 - Legend of Zelda (Part 1: Explorer's Club)

  • @Gersitoify
    @Gersitoify10 ай бұрын

    A reverse engineering tutorial using the tools you use for this video, would be awesome. Not necessary to be a snes game but something to begin with.

  • @HarshKapadia

    @HarshKapadia

    10 ай бұрын

    Agreed!

  • @derboki88

    @derboki88

    10 ай бұрын

    Definitely agreed! :)

  • @makerbit3970

    @makerbit3970

    10 ай бұрын

    Yep, I would love to see how you see the binary streaming while playing the game.

  • @ronsijm

    @ronsijm

    5 ай бұрын

    @@makerbit3970 I'm pretty sure he's using a tool called Cheat Engine

  • @repairtech9717

    @repairtech9717

    4 ай бұрын

    Just download an emulator with a debugger. Load the rom and pause it mid game, open the debugger, search for the value, edit it and resume play. Not to be a dick but anybody has been able to do this for over 20 years and a super simple Google search would have shown you how.

  • @TimeDoor50
    @TimeDoor504 ай бұрын

    Glad to find this channel, you are hilarious and explain your thoughts well, thank you for creating!

  • @LowLevelLearning

    @LowLevelLearning

    4 ай бұрын

    Thanks for watching!

  • @nintendoloverin9567
    @nintendoloverin95673 ай бұрын

    Genuinely good explanations & visualisations for a topic scary to many people! A wonderful introduction to get hooked on this technical stuff!

  • @Rochester92G
    @Rochester92G2 ай бұрын

    Ohh, man. You've just brought back memories. I had Aladdin on Sega Genesis and the level where you're escaping the collapsing cave on the magic carpet comes to mind. Glad somebody else is talking about old Aladdin video games, despite your troubles lol

  • @AustinClemLive
    @AustinClemLive10 ай бұрын

    Awesome video! Been doing the same thing with an old sega rpg Buck Rogers Countdown to Doomsday, found the level select code and was super pumped to find a test level left in by the devs where you can choose what types of enemies to fight and with what equipment etc

  • @eliluminado7112
    @eliluminado71124 ай бұрын

    wait so you are telling me that you never, NEVER could beat aladdin from SNES? really? i actually could pass it like for ever

  • @airthrowDBT
    @airthrowDBT4 ай бұрын

    It wasn't about room to save a game in the 90's, it was the added expense of adding battery backed SRAM chips to the cartridge vs password systems in software.

  • @Antonio-yy2ec
    @Antonio-yy2ec10 ай бұрын

    Game hacking is one of the best learning resources, Ty for uploading content!!!

  • @sutfuf6756
    @sutfuf675610 ай бұрын

    Cool! This is so much easier/faster using an emulator! i did something similar in the late 90's on a playstation 1, but, on bare metal. My brother was obsessed with the new southpark rally game, and wanted to unlock everything, there were no "cheat codes" available at the time; the "cheat codes" were memory address:value pairs. I used an action replay card to connect the psx to a PC running a remote debugger. It was a bit time-consuming to have to reboot the game off the CD every time it crashed, but I got there in the end. Process: unlocked one car new track and did a save game. Reboot the playstation, took memory dump before and after the previous saved game loaded, checked the diffs and found the memory locations and values. A bit of fuzzing and unlocked everything :-).

  • @ronbackal
    @ronbackal2 ай бұрын

    That's so good! Thanks for that. I also watched the baby monitor videos

  • @EthanWolfCat
    @EthanWolfCat10 ай бұрын

    Reminds me of the French TAS I did on Family Feud for the SNES. The answers are stored in memory as string and sorted by most popular to less popular (except for fast money). The strings also contains capital letters and lowercase. When you answer, the game will look only for the order of the capital letters and, if your answer has the correct order, you can pretty answer something stupid and it will work.

  • @WeirdVideoGames

    @WeirdVideoGames

    4 ай бұрын

    Oh hey, I did the English TAS of that!

  • @DouglasHeyen
    @DouglasHeyen10 ай бұрын

    Reminds me of the game genie. Exactly how I used to find the infinite lives and ammo numbers. It allowed for searching for number in the hex after each death or weapon use. Great vid!!

  • @anupsharma6564
    @anupsharma656410 ай бұрын

    This is great explanation...hope to see more videos on using such toools

  • @vukanoa
    @vukanoa10 ай бұрын

    This is a great video! Although I've played the same game on Sega Mega and on PC, but it's a bit different. First level almost looks equivalent, but the last one is definitely not against the big snake. It's probably a different game. Awesome video! Thanks.

  • @kalarse

    @kalarse

    4 ай бұрын

    they were made by different companies. the snes was made by Capcom whereas the other versions were made by Virgin

  • @cthrekgoru
    @cthrekgoru3 ай бұрын

    wow you have learned programming to reach this day ! gloriously finishing aladdin . job well done XD

  • @ulysses_grant
    @ulysses_grant4 ай бұрын

    Man, I vividly remember getting my butt kicked by this game constantly when I was a kid. I'd spend hours trying to beat it, and as far as I recall, I eventually returned the cartridge to my friend (we used to swap SNES games a lot back in the day). Watching you kick the game's ass like you did... it's just gorgeous.

  • @dudujencarelli
    @dudujencarelli3 ай бұрын

    If you had difficulty with the SNES Aladdin, all I can say is, be prepared for the Genesis version. It's 10 times harder. That one will take a lot more hacking. No passwords or progress saving there. Getting to the end without a game over is required.

  • @TechnopolisDotTV
    @TechnopolisDotTV10 ай бұрын

    Veni, vedi, feeli... Awesome! Childhood memories reloaded. I never made it further than the point where you fly away from the lava.

  • @SebastianWeinberg
    @SebastianWeinberg4 ай бұрын

    Man, that takes me back to my teenage years, hacking infinite lives or invulnerability into games on my C=64. That really honed my skills at debugging other people's code.

  • @guilherme5094
    @guilherme509410 ай бұрын

    I remember seeing some kids finishing this game, they were revered like gods on Earth.

  • @WeirdVideoGames
    @WeirdVideoGames4 ай бұрын

    I'm pretty sure it's easier and faster to beat the game with infinite lives and apples than it is to reverse engineer the password system to levelskip to the end

  • @madmax2069
    @madmax20693 ай бұрын

    Now this is the kind of stuff i love watching

  • @lynth
    @lynth4 ай бұрын

    Man, I can't remember how often I speedran this game as an 10 year old. I only had 3 SNES games. Aladdin, Yoshi's Island, and Mario Paint. I also had Mega Man X for about a day until my dad saw that it involves me shooting people with a gun, so he returned it to the store. So, endless Aladdin and Yoshi's Island speedruns it was! Thanks for the interesting video that also induced a bunch of nostalgia! Also: I literally never realized what the pass code screen was! I always started from the beginning and had to play until the end! Thanks to you I finally realized what this weird screen was supposed to do. LOL

  • @AIAdev
    @AIAdev3 ай бұрын

    this was one of my favorite games growing up too. I couldn't beat it either. 🍻to you beating it mate.

  • @SuperLlama53
    @SuperLlama5310 ай бұрын

    Definitely had trouble with this game as a kid, but I was able to beat it normally a few years ago. The hitboxes for grabbing ledges etc are kinda janky but once you get used to them it’s doable. Lion king though… that game is still as impossible as ever lol.

  • @LowLevelLearning

    @LowLevelLearning

    10 ай бұрын

    next video

  • @NyanCoder
    @NyanCoder4 ай бұрын

    "Hacker": 0x10 - 1 == 0x9 Me: Huh?

  • @mRibbons
    @mRibbons3 ай бұрын

    This was one of the first games I ever beat. The carpet ride through the Cave of Wonders was so stressful it gave me hives no bs.

  • @GalokVonGreshnak
    @GalokVonGreshnak10 ай бұрын

    I wish I had this kind of info when I was a kid. Companies made third party tools for Nintendo and I remember GameShark was one of the most popular ones for Pokemon on the GBC/GBA. Good times

  • @Nesseight

    @Nesseight

    4 ай бұрын

    I had a lot of fun using the gameshark pro. The "debugger" was built into it, but if you instead connected it to your PC with a parallel port you could use provided software and it allowed you to do tons of crazy stuff. Not only run the cheat engine but you could take screenshot, backup and restore save data, and even dump ROM. (you could also update the GS firmware and save/restore your codes list). Nobody liked me because I could lock and unlock doors in multiplayer with controller combinations in Goldeneye, and there was a comprehensive guide that explained how make those.

  • @NaJk93
    @NaJk934 ай бұрын

    I ran through this doing no damage runs at like 6. I used to do a Lion king, Aladdin into all SMB games in a row as a kid. Was it amazingly fast and good? no but easily beatable.

  • @thebarnold7234
    @thebarnold723410 ай бұрын

    Can you please show the process of this? Like how you got to edit memory for an emulated game (im assuming its emulated). And I can only assume the mem addresses were constant so you didnt need to do any pointer maps or anything like modern games require ( due to OS paging etc ). If possible, could you show in depth videos on how to hack more modern games (non multiplayer titles) cos I really want to get better at it but i only ever get as far as finding a value in current memory and then changing it and then losing the address when the game reloads (cant find the pointer offset)

  • @nickbarnes9966

    @nickbarnes9966

    10 ай бұрын

    He has a link to his twitch channel in the description which has the full 2 hour version of SNES hacking.

  • @CallousCoder
    @CallousCoder10 ай бұрын

    I have several of these game hacking videos and what you see me do is actually change the code where I overwrite the byte(s) that subtract lives or change it into adding 1 (which you can still die) or do a complete hack hook; Which I had to do in getting to the kill screen of pacman video.

  • @VestinVestin
    @VestinVestin2 ай бұрын

    This video has taught me something very important: my sense of fairness outweighs my intellectual curiosity, thus despite being a software engineer, my solution to the Aladdin conundrum would've always been to get good and beat the game fairly instead of busting out Cheat Engine at al.

  • @lukashenrique4295
    @lukashenrique42954 ай бұрын

    Subbed, thanks for this awesome video!

  • @eddiesalinas
    @eddiesalinas10 ай бұрын

    outstanding sir!!! bravo!!!

  • @Fernando-du5uj
    @Fernando-du5uj10 ай бұрын

    Hahahaha, I didnt know that you do live streaming on twitch. Definitely gonna follow you. Nice video man

  • @user-qf4tb4yf7g
    @user-qf4tb4yf7g10 ай бұрын

    Used this techinique a lot like a decade ago but then I got into software where you can't just simply modify memory directly from outside so I had to change the actual code e.g. in this case changing the actual rom to never subtract any hearts instead of just setting the value from outside.

  • @BrainSlugs83
    @BrainSlugs8310 ай бұрын

    I couldn't for the life of me figure out how you were losing to Jafar and then I realized, "he isn't using the towel" and/or "he doesn't have the towel?", or maybe it's a sheet? Aladdin uses it in the movie as a parachute in the one jump ahead song IIRC, and in the game it's a permanent upgrade you get in level 1 or 2. You only have one chance to get it, but once you have it, this becomes literally the easiest game on the SNES. It let's you hold R (maybe L? I can't remember, it's been years man), but it let's you hold a shoulder button to hover in the air for a bit. Makes the platforming infinitely easier, and the Jafar battle a breeze. Give it a try, your inner child will thank you. ✌️

  • @anon_y_mousse

    @anon_y_mousse

    10 ай бұрын

    What about for the Genesis version? I've never found the towel and never gotten past level two because this game was so hard.

  • @ZipplyZane

    @ZipplyZane

    4 ай бұрын

    If there's an inventory upgrade, I would expect that it would need to be reflected in the password. Yet he found the passwords in a table. I wonder how the game keeps track of whether you got it. Or do you always get it after a certain level?

  • @heroclix0rz
    @heroclix0rz4 ай бұрын

    Back in the day, my gameshark on gameboy had an option to create cheats yourself which involved starting the game, changing only the value you wanted to edit (ex throw an apple, gain a life, etc) and then pressing a button on the gameshark. I assume this attempted to inspect memory to see what changed and try to tell you the address. Pretty neat.

  • @anon_y_mousse
    @anon_y_mousse10 ай бұрын

    I haven't played that game in a long time, though my version was for the Genesis. I would definitely like to see you do a series on making a game for an old system like the NES or SNES. Even though I was a Genesis kid I think the 6502 would be a lot easier to program for than the m68k.

  • @dcpowered
    @dcpowered4 ай бұрын

    Wow. I am very impressed by the quality of this video! Thanks a lot for your efforts. I am a newbie programmer, and I definitely appreciate your logic. Alright, I'm off to watch your other videos! 😊

  • @LowLevelLearning

    @LowLevelLearning

    4 ай бұрын

    You're very welcome!

  • @Muladeseis
    @Muladeseis3 ай бұрын

    Hahaha the last hack should have been YOU flying with Jazmin, not Aladdin.

  • @stormlord1984
    @stormlord19844 ай бұрын

    That's how I started as well, by hex-editing games in the 90s. Fun times!

  • @timovc5340
    @timovc534010 ай бұрын

    "Did u find the milk yet?" nice one

  • @Relkond
    @Relkond5 ай бұрын

    infinite apples, Time warp (to last stage), and immortal. You have used your three wishes. Pray that you do not regret these decisions.

  • @FrozenKnight21
    @FrozenKnight214 ай бұрын

    This is one of the better hacking videos. Now if you could show how to cross refrence values, set breakpoints when an address is accessed, and how to nop the instructions which allow death you can obtain true immortality.

  • @kossboss
    @kossboss10 ай бұрын

    What tools and software did you use for emulation and hacking and live hacking?

  • @vadimemelin2941
    @vadimemelin294110 ай бұрын

    We used to play with ArtMoney application in order to mess with application memory in RF when I was a kid.

  • @d18c7db
    @d18c7db10 ай бұрын

    I'm guessing for infinite lives you could set a watchpoint for a write on the memory location that contains the apples, then when triggered, follow the code back to where it subtracts one and patch that out with nop or alternatively patch the code so it always writes a non zero value to that memory location so the apples never decrease.

  • @henke37

    @henke37

    4 ай бұрын

    Seems complicated. Lets just write ten to the address every frame instead.

  • @EmilePolka
    @EmilePolka10 ай бұрын

    I also do the same kind of cheats with ps4, editing the memory values, the easy stuff were infinite money as your just going to search it from memory. Doing infinite lives can be easy or hard to do, if iy relies on value sure easy stuff but if its not you basically have to do assembly and basically disable a instruction responsible for increasing/decreasing life.

  • @MindCaged
    @MindCaged4 ай бұрын

    I remember that as part of one of the megaman games(Maybe 3?) where there was a grid where you placed red dots, I actually reverse engineered it by writing down the passwords and what it corresponded to and found there was a pattern, and if I remember right there /was/ a checksum type thing, luckily it was a very basic one. I could do stuff like give myself all the weapons and max E-tanks. It was probably one of the easiest passwords to crack, more complicated ones probably encrypt the values somehow so there's no obvious pattern. When it comes to memory editing, The old style games were so much easier to hack, most of the values had static addresses so once you found them they'd always be in the same spot, with modern games with dynamic memory allocation the addresses can move all over the place, even mid game, and then you have to try to find the pointers to them that could be a dozen levels deep, it makes it exponentially harder to make something that works consistently, I think that's why a lot of hacks for modern games involve hacking the game code directly instead of the values. Because game code moves around significantly less often(though not never). It basically works by first finding the right value at least temporarily, then monitoring which bit of code modifies/accesses that memory address, then injecting new code that either records the correct base address that can be used as an offset for other cheat entries or injecting code to modify the value directly. I've only had limited experience doing that It does have the advantage that it makes the game itself help you, while locking a memory value basically has the cheating program run on a timer and just keeps resetting the value over and over again rapidly. There's also a few games that are aware of memory hacking and game genie type stuff and do a basic encryption of the memory values and sometimes have a checksum so they can't be cheated so easily. I know pokemon games had this past the first couple gens, maybe the ones in the GBA era?. I think it was an xor bitmask with a checksum, it was annoying. I got past it a little, but not reliably, because the bitmask was different from game to game maybe based on trainer id or something, I basically had to figure it out and decrypt/encrypt manually, there was probably an easier way. It kind of took the fun out of figuring it out. I used to also figure out how to hack saved games which sometimes works better and sometimes i'ts easier to hack the memory. Though later games sometimes use either encryption or compression(which often has the same effect as encryption if you don't have access to the decompression code). It was really annoying the ones that used Seeded RNG based bitmasks, so you needed to know the RNG Algorithm and the seed number to decrypt it. I only had luck cracking that /once/ as I recognized the software was written in VB6 and I just happened to /have/ VB6 and they used the built-in random function, then I had to figure out the beginning of the bitmask and then I ran a simple program to brute force the seed number by just running through every possible number until it spat out the right sequence. I got incredibly lucky they didn't decide to go even more overboard, and they used a fixed seed number and not one that was different every time.

  • @accentor713
    @accentor7134 ай бұрын

    This video felt a lot more beginner friendly actually understood that the lives was an unsigned byte.

  • @benfreeman9717
    @benfreeman97175 ай бұрын

    Well done!

  • @chrizzzly_hh
    @chrizzzly_hh4 ай бұрын

    Great video! One other idea instead of giving you 0/255 hearts is to remove the subtraction command that will cause you to lose lifes when hit :)

  • @Larsgman
    @Larsgman3 ай бұрын

    That bit at 2:00 had my sides in stitches

  • @amiral3187
    @amiral318710 ай бұрын

    Awesome video, would you do a course about how to hack and reverse engineering software/firmware?

  • @navigator1819
    @navigator181910 ай бұрын

    When will you release the C++ zero to security tutorials? I remember when you posted a discussion that you were working on it and it got a lot of approval.

  • @Me21000
    @Me210004 ай бұрын

    yo the ending is pretty cool 😂

  • @Cyphco
    @Cyphco10 ай бұрын

    This threw me back to when i used to hack in Flash games using Cheat Engine xD

  • @guyblack9729
    @guyblack972910 ай бұрын

    I remember playing that game as a kid! I don't remember if I beat it but that jafar level definitely looks familiar

  • @S0l1dZ3r0
    @S0l1dZ3r04 ай бұрын

    This takes me back to my childhood. The memory hacking, not the game.

  • @mawi2789
    @mawi278910 ай бұрын

    Very interesting videos. Do any of you know if the “light bulb” screw in security Wi-Fi cameras have had the firmware checked to see if there are any back doors to the manufacturer’s or any other security concerns? Thanks for the videos.

  • @RAPTOR948
    @RAPTOR9484 ай бұрын

    I went and learned the game and beat it legit. Seeing someone hack a game to win doesn't impress me anymore. Seeing someone beat a game legit impresses me now.

  • @DimiEG
    @DimiEG10 ай бұрын

    Thanks for sharing this video. Interesting stuff, but most important to show how you load this game in debugger program. Is it working under Linux? Do you debug inside emulator?

  • @simonfarre4907
    @simonfarre49079 ай бұрын

    lol, REALLY!? Me and my brother got Aladdin and we beat the game in the first 2 hours - I remember being massively disappointed. 😅

  • @Agent-mb1xx
    @Agent-mb1xx4 ай бұрын

    That reminds me of how I created my own Gameshark codes back then

  • @IronMan3582
    @IronMan35823 ай бұрын

    I grew up playing Aladdin on the SNES and the only level that truly gave me any trouble was the escape from the Cave of Wonders, those lava waves are brutal, but I did overcome it in the end. What I *THOUIGHT* the video was about was hacking Aladdin on the Genesis to end the insanity because that game is bullshit hard from cover to cover

  • @galen__
    @galen__5 ай бұрын

    So many ‘Trainers’ for games in the 80s and 90s have the same graphics glitch 😂

  • @KingChewyy
    @KingChewyy10 ай бұрын

    I might be remembering it wrong as a kid but I thought SNES Alladin wasn't that hard I thought I beat it using only like 1 or 2 continues ( I was probably 7 or 8), but SNES Lion King that game is fuckin brutal.

  • @g.s.6255
    @g.s.625510 ай бұрын

    It is very easy to hack all games if you have an Amiga 500 game console and Action Replay MK-III cartridge 😊 Good old times !!

  • @LowLevelLearning

    @LowLevelLearning

    10 ай бұрын

    Classic

  • @InfiniteQuest86
    @InfiniteQuest8610 ай бұрын

    What is happening? 10 is 0xa. I doubt the screen is showing how many apples you have in hex.

  • @robertroberts9563
    @robertroberts95633 ай бұрын

    This reminds me of using a GAME Genie for Sega Genesis. They had a tool for creating your own codes that used a similar system

  • @garrellcable
    @garrellcable4 ай бұрын

    Thank you for the casual remider how much i hate hearing 'Lets go'

  • @shaylevinzon540
    @shaylevinzon5404 ай бұрын

    You just made my dream come true

  • @mattpen7966
    @mattpen796610 ай бұрын

    this was cool actually, im a dev but have never done reverse engineering, reverse compilation, or any low level hacking. I found it pretty educational

  • @heitormbonfim
    @heitormbonfim10 ай бұрын

    I am a Software Developer and a Ethical Hacker in my hobbies, I LOVE SO HARD when you make videos like that. Hacking is way cooler. I doubt AIs take over that field

  • @erans
    @erans4 ай бұрын

    Very informative and nice to watch even for a noncoder

  • @jukurenzz
    @jukurenzz4 ай бұрын

    This is pretty much how the old game genie worked back in the day. You would scan memory for values, then change the value in game to deduct which your looking for

  • @bryanmakesstuff

    @bryanmakesstuff

    4 ай бұрын

    Yeah the search was wild. Doing it on the Gameboy was so much fun. It's fun when you realize the codes were usually just a combination of the memory address and the value. If you set the value, it'd lock the value. If you set then cleared it, it would set the value and return it to writeable status.

  • @ValensBellator
    @ValensBellator3 ай бұрын

    Beating Aladdin on the sgen was the first great accomplishment of my life that took half a school year to do. Might still be where I peaked in life 😂

  • @bpdmf2798
    @bpdmf27984 ай бұрын

    That last boss looks super easy. I used to play this game, but never played it much. I really liked the Lion King on either SNES or Genesis, I forget, but I think they're different games but not sure. I liked the one most people considered better though, I remember that.

  • @ChronoWrinkle
    @ChronoWrinkle4 ай бұрын

    Nicee, what emulator did you use? i spent lots of time looking for secret levels in nes games, and found hidden unfinished levels in robocco wars

  • @jeyeshsecurity4143
    @jeyeshsecurity414310 ай бұрын

    Hey please make a video on the tools and setup you used for this video. And how to get started with hacking NES games.

  • @flipmostyles2583
    @flipmostyles25834 ай бұрын

    over at retoachievements this is basically how we ram dig to make achievements for old games

  • @Lumibear.
    @Lumibear.2 ай бұрын

    I just recently bought one of those little Chinese handhelds and it includes this game, I had one go and thought ‘Narp’, what were they thinking to make it so insanely tough?

  • @jessstuart7495
    @jessstuart74952 ай бұрын

    It's... A Whole New World!

  • @456gt59
    @456gt594 ай бұрын

    Back in those days, we had true hackers and super wildcard or profighter units. Those hackers made intros where you could have infinite lives, apples, choose your level directly ingame on your snes, no need for a computer and emulator

  • @christosgeorgiafentis4825
    @christosgeorgiafentis48253 ай бұрын

    I actually owned this game as a kid. I remember beaten it start to finish dozens of times.

  • @Scoopta
    @Scoopta3 ай бұрын

    That looks like a 16-bit int for the hearts in LSB which would make that 64k hearts...but I might be mistaken.

Келесі