i hacked aladdin to end the insanity.

  Рет қаралды 171,668

Low Level Learning

Low Level Learning

10 ай бұрын

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
@meeponinthbit3466 10 ай бұрын
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
@Stratelier 4 ай бұрын
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
@costelinha1867 10 ай бұрын
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.
@sirgouki6207
@sirgouki6207 10 ай бұрын
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 7 ай бұрын
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 6 ай бұрын
@@SadKris 😂😂😂😂😂😂
@ranibro
@ranibro 4 ай бұрын
Man's just found out how to use Cheat Engine
@InternetTAB
@InternetTAB 2 ай бұрын
lol that's what I was thinking
@raghav9000
@raghav9000 10 ай бұрын
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.
@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
@syryously 10 ай бұрын
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.
@tactileslut
@tactileslut 10 ай бұрын
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
@ZenkaiGoose
@ZenkaiGoose 10 ай бұрын
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
@cakemonitor842
@cakemonitor842 10 ай бұрын
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)
@AustinClemLive
@AustinClemLive 10 ай бұрын
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
@chegadesuade
@chegadesuade 4 ай бұрын
Nothing delights Jafar more than knowing you had to cheat to beat him
@nintendoloverin9567
@nintendoloverin9567 3 ай бұрын
Genuinely good explanations & visualisations for a topic scary to many people! A wonderful introduction to get hooked on this technical stuff!
@DouglasHeyen
@DouglasHeyen 10 ай бұрын
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!!
@TimeDoor50
@TimeDoor50 4 ай бұрын
Glad to find this channel, you are hilarious and explain your thoughts well, thank you for creating!
@LowLevelLearning
@LowLevelLearning 4 ай бұрын
Thanks for watching!
@Rochester92G
@Rochester92G 2 ай бұрын
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
@ronbackal
@ronbackal 2 ай бұрын
That's so good! Thanks for that. I also watched the baby monitor videos
@Gersitoify
@Gersitoify 10 ай бұрын
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 9 ай бұрын
Yep, I would love to see how you see the binary streaming while playing the game.
@ronsijm
@ronsijm 4 ай бұрын
@@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.
@EthanWolfCat
@EthanWolfCat 10 ай бұрын
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!
@anupsharma6564
@anupsharma6564 10 ай бұрын
This is great explanation...hope to see more videos on using such toools
@airthrowDBT
@airthrowDBT 4 ай бұрын
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.
@cthrekgoru
@cthrekgoru 3 ай бұрын
wow you have learned programming to reach this day ! gloriously finishing aladdin . job well done XD
@mRibbons
@mRibbons 3 ай бұрын
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.
@ulysses_grant
@ulysses_grant 4 ай бұрын
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.
@vukanoa
@vukanoa 10 ай бұрын
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
@guilherme5094
@guilherme5094 10 ай бұрын
I remember seeing some kids finishing this game, they were revered like gods on Earth.
@Antonio-yy2ec
@Antonio-yy2ec 10 ай бұрын
Game hacking is one of the best learning resources, Ty for uploading content!!!
@sutfuf6756
@sutfuf6756 10 ай бұрын
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 :-).
@SebastianWeinberg
@SebastianWeinberg 4 ай бұрын
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.
@madmax2069
@madmax2069 3 ай бұрын
Now this is the kind of stuff i love watching
@dudujencarelli
@dudujencarelli 2 ай бұрын
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.
@SuperLlama53
@SuperLlama53 10 ай бұрын
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
@GalokVonGreshnak
@GalokVonGreshnak 10 ай бұрын
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.
@CallousCoder
@CallousCoder 10 ай бұрын
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.
@thebarnold7234
@thebarnold7234 10 ай бұрын
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.
@mawi2789
@mawi2789 10 ай бұрын
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.
@TechnopolisDotTV
@TechnopolisDotTV 10 ай бұрын
Veni, vedi, feeli... Awesome! Childhood memories reloaded. I never made it further than the point where you fly away from the lava.
@kossboss
@kossboss 10 ай бұрын
What tools and software did you use for emulation and hacking and live hacking?
@anon_y_mousse
@anon_y_mousse 10 ай бұрын
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.
@AIAdev
@AIAdev 3 ай бұрын
this was one of my favorite games growing up too. I couldn't beat it either. 🍻to you beating it mate.
@EmilePolka
@EmilePolka 10 ай бұрын
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.
@stormlord1984
@stormlord1984 4 ай бұрын
That's how I started as well, by hex-editing games in the 90s. Fun times!
@heroclix0rz
@heroclix0rz 4 ай бұрын
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.
@BrainSlugs83
@BrainSlugs83 10 ай бұрын
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?
@eliluminado7112
@eliluminado7112 4 ай бұрын
wait so you are telling me that you never, NEVER could beat aladdin from SNES? really? i actually could pass it like for ever
@lynth
@lynth 4 ай бұрын
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
@user-qf4tb4yf7g
@user-qf4tb4yf7g 10 ай бұрын
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.
@NaJk93
@NaJk93 4 ай бұрын
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.
@eddiesalinas
@eddiesalinas 10 ай бұрын
outstanding sir!!! bravo!!!
@WeirdVideoGames
@WeirdVideoGames 4 ай бұрын
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
@amiral3187
@amiral3187 10 ай бұрын
Awesome video, would you do a course about how to hack and reverse engineering software/firmware?
@c3cris2
@c3cris2 10 ай бұрын
Where can I find the full video of this where you did it live?
@DimiEG
@DimiEG 10 ай бұрын
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?
@ChronoWrinkle
@ChronoWrinkle 4 ай бұрын
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
@robertroberts9563
@robertroberts9563 3 ай бұрын
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
@VestinVestin
@VestinVestin 2 ай бұрын
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.
@henrikcederlof8444
@henrikcederlof8444 3 ай бұрын
Would it not be possible to reverse the deduction of hearts when hit, thus making Alladin gain HP on getting hit?
@vadimemelin2941
@vadimemelin2941 10 ай бұрын
We used to play with ArtMoney application in order to mess with application memory in RF when I was a kid.
@navigator1819
@navigator1819 10 ай бұрын
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.
@dcpowered
@dcpowered 4 ай бұрын
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!
@MindCaged
@MindCaged 4 ай бұрын
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.
@guyblack9729
@guyblack9729 10 ай бұрын
I remember playing that game as a kid! I don't remember if I beat it but that jafar level definitely looks familiar
@lukashenrique4295
@lukashenrique4295 4 ай бұрын
Subbed, thanks for this awesome video!
@albertovelasquez9027
@albertovelasquez9027 10 ай бұрын
What program do you use to inspect memory?
@Agent-mb1xx
@Agent-mb1xx 4 ай бұрын
That reminds me of how I created my own Gameshark codes back then
@ricardosdl
@ricardosdl 2 ай бұрын
Nice! Which hex viewer/editor you used?
@BigBoyAdvance
@BigBoyAdvance 4 ай бұрын
So much effort to figure out the password system, when you could have just searched for a RAM address that increased when you advance to the next level. Poke that address to some higher number and boom, after finishing level 1 you get put to level 9 for example.
@Cyphco
@Cyphco 10 ай бұрын
This threw me back to when i used to hack in Flash games using Cheat Engine xD
@FrozenKnight21
@FrozenKnight21 4 ай бұрын
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.
@Fernando-du5uj
@Fernando-du5uj 10 ай бұрын
Hahahaha, I didnt know that you do live streaming on twitch. Definitely gonna follow you. Nice video man
@accentor713
@accentor713 4 ай бұрын
This video felt a lot more beginner friendly actually understood that the lives was an unsigned byte.
@IronMan3582
@IronMan3582 2 ай бұрын
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
@syrus3k
@syrus3k 4 ай бұрын
If you put in the password and hit enter, what told the system you pressed start?
@mtechson
@mtechson 10 ай бұрын
Can you tell me which program did you use ?
@Larsgman
@Larsgman 3 ай бұрын
That bit at 2:00 had my sides in stitches
@BruceRiggsGamer
@BruceRiggsGamer 5 ай бұрын
What program did you use to see the game's memory? Was it just a certain emulator?
@berkecangoktas9896
@berkecangoktas9896 4 ай бұрын
What are the apps used during the hacking process? (sorry if it's obvious)
@d18c7db
@d18c7db 10 ай бұрын
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.
@Sypaka
@Sypaka 4 ай бұрын
Reminds me of the time I made a zero-day cheat for Pokemon Silver to catch shiny pokemon. It was fun.
@NyanCoder
@NyanCoder 4 ай бұрын
"Hacker": 0x10 - 1 == 0x9 Me: Huh?
@bpdmf2798
@bpdmf2798 4 ай бұрын
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.
@garrellcable
@garrellcable 4 ай бұрын
Thank you for the casual remider how much i hate hearing 'Lets go'
@chrizzzly_hh
@chrizzzly_hh 4 ай бұрын
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 :)
@g.s.6255
@g.s.6255 10 ай бұрын
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
@Scoopta
@Scoopta 3 ай бұрын
That looks like a 16-bit int for the hearts in LSB which would make that 64k hearts...but I might be mistaken.
@nickbarnes9966
@nickbarnes9966 10 ай бұрын
Could you explain why a .bst (save state) has far fewer memory addresses than what the memory viewer shows? For instance, why are you able to see the memory address for apples in the live viewer, but it doesn't show up when you do a hexdump of the save state?
@ZipplyZane
@ZipplyZane 4 ай бұрын
The first thing that comes to mind is that a memory viewer would also include the ROM, while a save state in theory wouldn't need to, since the ROM doesn't change. The second would be the possibility that these .bst files are not a direct memory dump. I assume that restoring a save state does also restore the apple count, so that information must be stored in there somewhere. I'm actually surprised the savestate isn't huge. They're usually memory dumps *of the emulator*. They're often so big they have to be compressed. I can't find anything on a BST file format for emulators, so I can't check how that format works. But I'd look and see if there's any documentation on the save state format for your particular emulator.
@nickbarnes9966
@nickbarnes9966 4 ай бұрын
@@ZipplyZane That's a good idea thank you
@KingChewyy
@KingChewyy 10 ай бұрын
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.
@LukeAvedon
@LukeAvedon 10 ай бұрын
NICE. What memory scanner were you using? Just one built into an emulator?
@CallousCoder
@CallousCoder 10 ай бұрын
this is indeed the SNES emulator build in tooling. I have videos where I use MAME and also recently the NES emulator. MAME works really nice for this.
@RAPTOR948
@RAPTOR948 4 ай бұрын
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.
@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?
@CielMC
@CielMC 10 ай бұрын
How did you find the apple value by searching 0x10(16) which turned into 9 lol
@jukurenzz
@jukurenzz 4 ай бұрын
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.
@hodayfa000h
@hodayfa000h 4 ай бұрын
What are you using to debug?
@mattpen7966
@mattpen7966 10 ай бұрын
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
@erans
@erans 4 ай бұрын
Very informative and nice to watch even for a noncoder
@jeyeshsecurity4143
@jeyeshsecurity4143 10 ай бұрын
Hey please make a video on the tools and setup you used for this video. And how to get started with hacking NES games.
@thevault1575
@thevault1575 10 ай бұрын
You should make a video on malware development in c and or c++
@MrMCMLXXV
@MrMCMLXXV 10 ай бұрын
Very nice but how do you access game memory?
i built the world's worst IOT coffee machine
7:09
Low Level Learning
Рет қаралды 72 М.
КАРМАНЧИК 2 СЕЗОН 5 СЕРИЯ
27:21
Inter Production
Рет қаралды 596 М.
ONE MORE SUBSCRIBER FOR 6 MILLION!
00:38
Horror Skunx
Рет қаралды 14 МЛН
it takes two to tango 💃🏻🕺🏻
00:18
Zach King
Рет қаралды 32 МЛН
ПАРАЗИТОВ МНОГО, НО ОН ОДИН!❤❤❤
01:00
Chapitosiki
Рет қаралды 2,5 МЛН
Reverse Engineering Game Code from the Neutral Zone
40:59
Retro Game Mechanics Explained
Рет қаралды 510 М.
computers suck at division (a painful discovery)
5:09
Low Level Learning
Рет қаралды 1,5 МЛН
[SNES] Disney's Aladdin - Playthrough
47:27
PigHouse Play
Рет қаралды 259
Minecraft, But It's Reverse Engineered...
18:02
LiveOverflow
Рет қаралды 137 М.
why do hackers love strings?
5:42
Low Level Learning
Рет қаралды 390 М.
Ocarina of Time PC Port: Analysis and Version Comparison
9:44
Nostal-JaC
Рет қаралды 52 М.
reverse engineering makes you a better programmer (let’s try it out)
13:12
I DECOMPILED a Sonic game... here's how
21:05
MattKC
Рет қаралды 739 М.
Access Glitch Worlds in Super Mario Bros. via NES Tennis
13:06
Retro Game Mechanics Explained
Рет қаралды 596 М.
zig is the future of programming. here's why.
9:34
Low Level Learning
Рет қаралды 191 М.
Где раздвижные смартфоны ?
0:49
Не шарю!
Рет қаралды 247 М.
Apple, как вас уделал Тюменский бренд CaseGuru? Конец удивил #caseguru #кейсгуру #наушники
0:54
CaseGuru / Наушники / Пылесосы / Смарт-часы /
Рет қаралды 4,6 МЛН
Xiaomi Note 13 Pro по безумной цене в России
0:43
Простые Технологии
Рет қаралды 2 МЛН
How much charging is in your phone right now? 📱➡️ 🔋VS 🪫
0:11
cool watercooled mobile phone radiator #tech #cooler #ytfeed
0:14
Stark Edition
Рет қаралды 7 МЛН