Romhacking.net

Romhacking => Newcomer's Board => Topic started by: xxninjabunnyxx on October 18, 2018, 12:14:42 am

Title: Build a hitbox viewer
Post by: xxninjabunnyxx on October 18, 2018, 12:14:42 am
I would like to learn how to build hitbox viewer for fighting games. I have over a decade or professional programming experience in Python and C++ so programming isn't an issue, and I'm not opposed to learning a new language. I know about GuidedHacking.com, but they seem to be more geared to making cheats. Can someone point me in the right direction to learn this?
Title: Re: Build a hitbox viewer
Post by: Jorpho on October 19, 2018, 09:44:55 am
You're unlikely to find a technique that can be swiftly applied to any arbitrary game.  Are you looking at something specific? 
Title: Re: Build a hitbox viewer
Post by: xxninjabunnyxx on October 20, 2018, 02:13:26 am
I would like to learn with Ranma ½: Chougi Rambuhen for the SFC and take the techniques I learned from that project and apply it to new ones.
Title: Re: Build a hitbox viewer
Post by: Jorpho on October 20, 2018, 03:08:24 pm
Well, the next thing to do would be to look around and see what else has been done.

A wee bit of Googling turns up some work that has been done in the arcade version(s) of SFII.
https://combovid.com/?p=956
https://www.smwcentral.net/?p=viewthread&t=33039

You'll notice that first link uses Lua scripts.  Lua scripting has been used to very interesting effects in NES emulators, but I haven't seen videos of people doing anything quite so fancy with SNES emulators.  Nonetheless, Lua scripts in SNES emulators are apparently a thing.
http://tasvideos.org/LuaScripting.html

Needless to say, you'll also probably need a SNES emulator with debugging functions.

I hope that helps a little.
Title: Re: Build a hitbox viewer
Post by: tvtoon on October 22, 2018, 04:05:45 pm
If you are gearing towards general cases, I totally suggest you learn about MUGEN, the fighting game engine. It won't take much time of your life and you will get the grip of most stuff in a week or so.

Mugen archive is a great place for fetching everything you need. (https://www.mugenarchive.com/) Search for Fighter Factory (3.0+), you will not regret. ;)