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,480
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,472
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,480
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.
  • S @ salazarcosplay:
    hunter x hunter
  • S @ salazarcosplay:
    he has not allowed anyone to continue it for him for example
  • Xdqwerty @ Xdqwerty:
    @salazarcosplay, theres a dragon ball af mod for budokai 3
  • Xdqwerty @ Xdqwerty:
    updated ship of harkinian, gonna install some hd texture pack
  • Xdqwerty @ Xdqwerty:
    I might download rayman revolution for my ps3
  • BigOnYa @ BigOnYa:
    I may try the new ram site, and download more RAM to my Switch. Not sure if ddr3 is the right ram
    for it tho. Edit- no it uses floppy Ram, just like @AncientBoi
    +1
  • Xdqwerty @ Xdqwerty:
    aeiou
  • BigOnYa @ BigOnYa:
    And sometimes Z
  • SylverReZ @ SylverReZ:
    @K3Nv2, MAGA supporters be wearing tin foil hats lol.
    +1
  • Xdqwerty @ Xdqwerty:
    @SylverReZ, whats maga?
  • BigOnYa @ BigOnYa:
    It stands for Maniacs Against General Acceptance
    +1
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, people rejecting general consensus about stuff?
    +1
  • BigOnYa @ BigOnYa:
    Yup, nuh its really just Trump followers
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, im not american so i dont care about trump
    +1
  • Xdqwerty @ Xdqwerty:
    or us elections
  • BigOnYa @ BigOnYa:
    Me niether, us north Koreans don't care
  • Xdqwerty @ Xdqwerty:
    good night
  • BakerMan @ BakerMan:
    i don't care either, even if i'm american
  • BakerMan @ BakerMan:
    truth be told, i agree with psi, i dislike both candidates, but i'd probably vote trump simply because the economy was better during his presidency
  • AngryCinnabon @ AngryCinnabon:
    Just be careful, if trump ends up winning and using project 2025 America might really change...for the worse.
  • AngryCinnabon @ AngryCinnabon:
    I'm not american and even that sends shivers down my spine.
  • AngryCinnabon @ AngryCinnabon:
    anything that offers trump an opportunity to become an actual dictator
    is bad in my book, i could care less if it wasn't for that...
  • K3Nv2 @ K3Nv2:
    Canada: America's Russia
  • NinStar @ NinStar:
    people are so dramatic that I can't even tell if they are being serious
    NinStar @ NinStar: people are so dramatic that I can't even tell if they are being serious