|
|
|
|
|
by armada651
656 days ago
|
|
I'm kind of disappointed the author didn't dive further into this and find the exact part where the input is processed to activate the cheat normally. Then they might actually be able to implement a konami code cheat on PC. I realize they're a beginner and probably thought that recreating the PS1 functionality on PC would be near-impossible, but they might be surprised that reverse engineering isn't as complicated as it seems. Especially given how many times they mention they've been lucky that it's an old PS1-era program, when in reality not much has changed and the basic techniques they're using here still apply to modern programs. (With the exception of intentionally obfuscated programs) |
|
There's a whole lot more reverse-engineering required to understand the working input handling, followed by more reverse-engineering to understand the broken input handling. The code might also be missing altogether if it was just ifdef'd out at compile-time or lacked initialization against the Windows input handling.
Trying to extend the input handling that never had this handling, unless the original is 50% NOPs, mean writing a new implementation at the end, and having the old implementation jump out and back.
Sure, it's possible, but on an entirely different level than patching conditions in place like done here. I feel like being disappointed at this is like going through a hello-world tutorial for a language and end up disappointed that it didn't teach you to write a fully functioning game.