←back to thread

1901 points l2silver | 1 comments | | HN request time: 0.208s | source

Maybe you've created your own AR program for wearables that shows the definition of a word when you highlight it IRL, or you've built a personal calendar app for your family to display on a monitor in the kitchen. Whatever it is, I'd love to hear it.
Show context
nicetryguy ◴[] No.35737864[source]
Kirby's Adventure for the NES, one of my favorite games, ignores your controller inputs sometimes. I dove into the ROM, figured out the problem and fixed it: https://www.romhacking.net/hacks/7595/

I'm currently hacking the SNES mouse into Sim City.

replies(3): >>35744836 #>>35745369 #>>35749665 #
pwpw ◴[] No.35744836[source]
That’s great! I really appreciate these rom hacks that fix errors in the original game to allow for an ideal version. How do you go about hacking a SNES rom? What tools and language do you use?
replies(1): >>35746283 #
nicetryguy ◴[] No.35746283[source]
Right now, i'm using the assembler WLA-DX to inject the SimCity base ROM with code changes, and using the SNES emulator Mesen with it's wonderful debugging tools to figure out what the hell i'm doing. I have a keyboard shortcut in Notepad++ that activates a .bat file, injects the base ROM, checks if it built properly, uses a powershell script (written by ChatGPT!) to convert WLA-DX generated labels (.sym) to Mesen debugger (.mlb) format, and if all is well, it starts the emulator with the built ROM and label file. I'm coding in raw 65c816 ASM.

My setup looks something like this:

https://nesblast.com/img/snes_hacking_setup.png

If you have basic ASM experience, the SNESdev wiki will tell you everything you need:

https://snes.nesdev.org/wiki/Main_Page

If you don't have basic ASM experience, i would start here:

https://skilldrick.github.io/easy6502/

replies(1): >>35748544 #
1. pwpw ◴[] No.35748544[source]
Thanks for sharing. I really admire what you're doing. Keep up the good work!