Hacking ROM Hack Help reverse engineering snes games

Fleshypi64

Member
OP
Newcomer
Joined
Mar 30, 2024
Messages
5
Trophies
0
Age
17
XP
21
Country
United States
Recently I've taken an interest in reverse engineering, I am more of a hardware guy but I've made a little progress in finding stuff in "spankys quest" for SNES in a hex editor. I'd like to see the ASCII code in a less jumbled and more readable format. If anyone has any tips or pointers, they would be greatly appreciated!
 

JaapDaniels

Well-Known Member
Member
Joined
Apr 22, 2012
Messages
1,201
Trophies
1
Age
40
Website
github.com
XP
2,468
Country
Netherlands
About everything there is to know about the snes is: https://wiki.superfamicom.org/
Then there is https://github.com/snesrev?tab=repositories who reimplemented 3 snesroms to pc code.
The system is a modified µ-controller, about all games are built in assembly.
There is no OS layer, not even a bios layer, it reads the cardridge straight when the powere is supplied, only security in the snes Was the CIC, it has a 4 bit key region lock.
Some games introduced thier own security by checking the ram to match the game design.
 
Last edited by JaapDaniels,

Kwyjor

Well-Known Member
Member
Joined
May 23, 2018
Messages
4,323
Trophies
1
XP
4,469
Country
Canada
I'd like to see the ASCII code in a less jumbled and more readable format.
There is no "ASCII code". There is a compiled binary, which can be blindly* "disassembled" into equivalent assembly instructions, but those instructions in turn can only be meaningfully labelled through an excruciatingly tedious process of reverse-engineering and guesswork. If you were going into this expecting something other than jumbled and unreadable data, then you should revise your expectations.

*Disassembly typically does not distinguish between machine code and game data. In the end it's all just numbers and sometimes even figuring out what is machine code and what is not supposed to be interpreted as machine code is yet more guesswork.

I suggest DisplacedGamer's "Behind The Code" videos and Retro Game Mechanics Explained if this is all completely unfamiliar to you. Of course they don't all relate to SNES games, but many of the principles apply to all platforms.
 
Last edited by Kwyjor,
  • Like
Reactions: ack

JaapDaniels

Well-Known Member
Member
Joined
Apr 22, 2012
Messages
1,201
Trophies
1
Age
40
Website
github.com
XP
2,468
Country
Netherlands
About everything there is to know about the snes is: https://wiki.superfamicom.org/
Then there is https://github.com/snesrev?tab=repositories who reimplemented 3 snesroms to pc code.
The system is a modified µ-controller, about all games are built in assembly.
There is no OS layer, not even a bios layer, it reads the cardridge straight when the powere is supplied, only security in the snes Was the CIC, it has a 4 bit key region lock.
Some games introduced thier own security by checking the ram to match the game design.
I forgot about: https://github.com/alekmaul/pvsneslib no good for reversing a game, but a great starting point for making your own game.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • BigOnYa @ BigOnYa:
    Biomutant looks cool tho, may have to try that
  • Quincy @ Quincy:
    Usually when such a big title leaks the Temp will be the first to report about it (going off of historical reports here, Pokemon SV being the latest one I can recall seeing pop up here)
  • K3Nv2 @ K3Nv2:
    I still like how a freaking mp3 file hacks webos all that security defeated by text yet again
  • BigOnYa @ BigOnYa:
    They have simulators for everything nowdays, cray cray. How about a sim that shows you playing the Switch.
  • K3Nv2 @ K3Nv2:
    That's called yuzu
    +1
  • BigOnYa @ BigOnYa:
    I want a 120hz 4k tv but crazy how more expensive the 120hz over the 60hz are. Or even more crazy is the price of 8k's.
  • K3Nv2 @ K3Nv2:
    No real point since movies are 30fps
  • BigOnYa @ BigOnYa:
    Not a big movie buff, more of a gamer tbh. And Series X is 120hz 8k ready, but yea only 120hz 4k games out right now, but thinking of in the future.
  • K3Nv2 @ K3Nv2:
    Mostly why you never see TV manufacturers going post 60hz
  • BigOnYa @ BigOnYa:
    I only watch tv when i goto bed, it puts me to sleep, and I have a nas drive filled w my fav shows so i can watch them in order, commercial free. I usually watch Married w Children, or South Park
  • K3Nv2 @ K3Nv2:
    Stremio ruined my need for nas
  • BigOnYa @ BigOnYa:
    I stream from Nas to firestick, one on every tv, and use Kodi. I'm happy w it, plays everything. (I pirate/torrent shows/movies on pc, and put on nas)
  • K3Nv2 @ K3Nv2:
    Kodi repost are still pretty popular
  • BigOnYa @ BigOnYa:
    What the hell is Kodi reposts? what do you mean, or "Wut?" -xdqwerty
  • K3Nv2 @ K3Nv2:
    Google them basically web crawlers to movie sites
  • BigOnYa @ BigOnYa:
    oh you mean the 3rd party apps on Kodi, yea i know what you mean, yea there are still a few cool ones, in fact watched the new planet of the apes movie other night w wifey thru one, was good pic surprisingly, not a cam
  • BigOnYa @ BigOnYa:
    Damn, only $2.06 and free shipping. Gotta cost more for them to ship than $2.06
  • BigOnYa @ BigOnYa:
    I got my Dad a firestick for Xmas and showed him those 3rd party sites on Kodi, he loves it, all he watches anymore. He said he has got 3 letters from AT&T already about pirating, but he says f them, let them shut my internet off (He wants out of his AT&T contract anyways)
  • K3Nv2 @ K3Nv2:
    That's where stremio comes to play never got a letter about it
  • BigOnYa @ BigOnYa:
    I just use a VPN, even give him my login and password so can use it also, and he refuses, he's funny.
  • BigOnYa @ BigOnYa:
    I had to find and get him an old style flip phone even without text, cause thats what he wanted. No text, no internet, only phone calls. Old, old school.
    K3Nv2 @ K3Nv2: @BigOnYa...