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,204
Trophies
1
Age
40
Website
github.com
XP
2,471
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,470
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,204
Trophies
1
Age
40
Website
github.com
XP
2,471
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
  • BigOnYa @ BigOnYa:
    I thought I saw a puttie snatch...
  • BigOnYa @ BigOnYa:
    I'm so pumped, NCAA football video game is back after a 10 year hiatus, coming to SeriesS/X, PS5 in July.
  • BigOnYa @ BigOnYa:
    Wish they would let us play the NCAA football 14 on newer xbox, its one of the only games I love and own on disc still, that is not back compatible, bs.
  • AdenTheThird @ AdenTheThird:
    @BigOnYa My dad recently bought a spare Series X off of me, got game pass, and saw Madden '24 on Game Pass, decided to try it out.

    ...He was a bit taken aback by the 60GB download size. Poor guy's still living in the 90s!
    +1
  • SylverReZ @ SylverReZ:
    @AdenTheThird, Bro's still in the PS2 age.
  • K3Nv2 @ K3Nv2:
    Lol charging your dad's classic unless he's the type that doesn't like taking things like that
  • AdenTheThird @ AdenTheThird:
    @K3Nv2 He was looking into consoles for his house anyway (for my younger siblings and himself) and I had a spare XSX and Switch I ended up selling him at pretty steep cuts. I would just give them to him, but I did buy them with the intent to sell them... and college is super expensive.
  • BigOnYa @ BigOnYa:
    A little yeah...
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, [insert wut here]
    +1
  • BigOnYa @ BigOnYa:
    I'm a little hi, but bout to fix that.
    +1
  • BigOnYa @ BigOnYa:
    Now I'm low, i was upstairs in my wifeys kitchen, now I'm downstairs in my dungeon.(My basement)
    +1
  • BakerMan @ BakerMan:
    do you mind? i snuck in with amiibo and jars, and am trying to do my thing brony style
  • BakerMan @ BakerMan:
    have you ever regretted saying something immediately after saying it?
    +1
  • BakerMan @ BakerMan:
    nah what i was doing was trying to cure my ever-so-apparent crabs
  • Xdqwerty @ Xdqwerty:
    @SylverReZ,
    my younger brother is forcing me to play with him and my cousins are here *sigh*
    +1
  • BigOnYa @ BigOnYa:
    @SylverReZ that Hack a hacked 360 vid was neat, never knew it existed.
    +1
  • SylverReZ @ SylverReZ:
    @BigOnYa, I thought it was interesting.
    +1
  • Xdqwerty @ Xdqwerty:
    nvm this video is clickbait
    Xdqwerty @ Xdqwerty: nvm this video is clickbait