7 ms·
How I Fixed a 10-Year-Old Guitar Hero Bug Without the Source Code [video]
- Zekio 9y agoMan do I feel stupid every time I watch something like this
- adamnemecek 9y agoDon't. Been there, done that, it's counterproductive. You have to realize that the OP has probably put hundreds to thousands of hours into reverse engineering (it's a skill just like any other) and therefore he can do something like this quickly. But note that what he's doing isn't like next level stuff. It's like someone being impressed with someone playing "Fur Elise" (i.e. a task that anyone who's spent even a couple months doing it will be able to accomplish). Check out https://godbolt.org/ https://godbolt.org/, you'll learn some assembly.
- jamesu 9y agoAs an example, I once reverse engineered encryption for data files in a game. Took me about three weeks to determine which encryption algorithm was being used, and what the key was (including learning some ARM along the way). But I was fortunate in that I could run the game in the debugger and see what was happening, the path from reading the data to decrypting it was rather simple to figure out, and the algorithm was pretty easy to spot. If I were to reverse engineer the actual asset formats I'd imagine it would take months as you need to know how everything is tied together in order to make sense of what is happening. It looks like in the case of guitar hero, this guy has spent an extortionate amount of time reverse engineering everything.
- mrguyorama 9y agoYet at the same time, I struggle to think of one project/area of study where I have invested enough time to wow onlookers. Maybe someone who doesn't know that electricity exists would be impressed, but that's a significantly lower bar
- btown 9y agoAn amazing technical accomplishment, and in addition, I love this teaching style. Doesn't assume any level of knowledge of reverse engineering, but moves quickly enough to be a teaser, not a tutorial. Visuals are painstakingly put together, with supplementary information flashed on the screen. A sense of humor throughout. If I were teaching a CS class, this would be a great thing to play. This also demonstrates how much "human working memory" reverse engineering requires. No matter how much the tools try to assist, you need a tremendous amount of context to be able to make sense of what you're seeing. Really impressive work.
- alva 9y agoFantastic, entertaining editing for what can sometimes be a dull topic to watch!
- Tempest1981 9y agoFast paced and captivating. And the surprise ending, which turns from sweet to bittersweet, after what must have been weeks and weeks of work.
- kihadi 9y agoi wish i loved something or someone like this fella loves his guitar hero.
- rootsudo 9y agoI wonder how some people have this sort of passion too.
- rljy 9y agoI'd like to see more of this on HN, actually interesting technical content. The video is amazingly well put together. I don't know if it is sped up or not, my only experiences with windows now adays are through my non-technical relatives computers which I'm asked to fix, but I was surprised at how quick windows appears to be in this video. But what bothers me, is the bug itself. It is shocking to me that someone set a hard limit on a pool and didn't add any code for replenishing it. I would just never do such a thing. One of the first programming environments that I used was MicroWorlds LOGO, and they had a cheaper version which allowed a maximum of 200 turtles, and a more expensive version that differed only in that the number of turtles was unlimited. My father got me the cheaper one and since then I've had a religious hatred of arbitrary limits in programs. But even if you didn't have this experience, I'd have a hard time respecting any programmer who would have left that pool unreplentished and called it a finished project. I accept the fact that we all make mistakes and make bugs, but that wasn't a mistake bug, that was consciously sucking out of laziness and not even bothering to gracefully handle failure.
- revelation 9y agoThis is a console game, and consoles are always starved for memory since it's such a huge BOM cost so they put as little in as they can get away with. This ends up screwing the console game developers who have to start accounting for every single byte. So there are a lot of these things in games where they just run a script on all their assets and what not to figure out how much memory they will need for it, then allocate fixed pools at the start. These programmers would love to just throw that stuff into a vector but given their growth strategy you can end up wasting half your memory. Even worse, every element added into the vector might now cause it resize and when that happens during gameplay it might just ruin your 16 ms frame target. A fixed pool is as fast as you are going to get, no random chance your game is going to stutter and no waste. Here is a great talk on this: https://www.youtube.com/watch?v=8KIvWJUYbDA https://www.youtube.com/watch?v=8KIvWJUYbDA
- timthelion 9y agoThanks, I learned something, though if they really were accounting for every byte, I'd say that function call obfuscation really didn't help! But I understand what you're getting at.
- romeoEtJoliet 9y agoDoes anyone have any recommendations for YouTube channels that focus on reverse engineering?
- joshschreuder 9y agoLiveOverflow seems to be well regarded https://www.youtube.com/channel/UClcE-kVhqyiHCcjYwcpfj9w/videos https://www.youtube.com/channel/UClcE-kVhqyiHCcjYwcpfj9w/vid...
- hardlianotion 9y agoI must admit my initial reaction was "What - Guitar hero is 10 eyears old already?" Very nice video.
- SimbaOnSteroids 9y agoNot just Guitar Hero, Guitar Hero III. Guitar Hero is almost 12 years old.
- tejasmanohar 9y agoCaptivating! Anyone have other recommendations for blogs, YouTube channels, etc. about reverse-engineering cool stuff?
- Klinky 9y agoI found this video on hacking old Thinkpad keyboards onto new Thinkpad models interesting. Required a lot of reverse engineering due to how the firmware in the Thinkpad maps keys: https://www.youtube.com/watch?v=Fzmm87oVQ6c https://www.youtube.com/watch?v=Fzmm87oVQ6c
- chrsstrm 9y agoThis video [0] has definitely made the rounds here before, discussing how to complete a level in Super Mario 64 with less than 1 full A press and in the process discovering parallel universes in the map. [0] https://www.youtube.com/watch?v=kpk2tdsPh0A https://www.youtube.com/watch?v=kpk2tdsPh0A
- k__ 9y agoGuitar Hero is 10 years old?!
- carlmungz 9y agoLoved this!
- zapperdapper 9y agoThis was fascinating and I have to admire the guy's reverse engineering skills. Very nice tool set up and crazy screen resolution!
- bhhaskin 9y agoThank you for posting this. It was very interesting to watch. I love seeing other areas of CS that I don't get to touch in my daily job.
- philanthropist 9y agoSuch an elegant solution. After crawling through thousands of lines of disassembled code and finding a pretty significant logical error, the solution was as simple as a tiny patch to a configuration asset.
- lousken 9y agoAnother reason to hate DRM. Not only it doesn't work but it makes custom fixing harder.