Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hack compatibility (Super Puzzle Fighter II Turbo Colorblind/Character Hack) #239

Closed
ghost opened this issue Jan 17, 2020 · 11 comments
Closed

Comments

@ghost
Copy link

ghost commented Jan 17, 2020

Looking to see if we can get a few hacks added into the compatibility list, specifically one for Super Puzzle Fighter II Turbo.

https://www.romhacking.net/hacks/3225/

Loading this hack in with FBN will only throw up an error, same with loading SPFIIT with any Boss modification to allow for choosing the other two secret characters, older versions used to load these just fine but now they no longer do.

@ghost ghost changed the title Hack compatibility Hack compatibility (Super Puzzle Fighter II Turbo Colorblind/Character Hack) Jan 17, 2020
@barbudreadmon
Copy link
Collaborator

barbudreadmon commented Jan 17, 2020

Are you talking about standalone or libretro ? I think standalone still supports loading arcade games with mismatching crcs ? However i disallowed this in the libretro port because people kept reporting issues while using bad/old dumps.

I don't mind adding support for a few interesting hacks, preferably from hbmame : i could probably add support for spf2tb, which is "Super Puzzle Fighter II Turbo (Boss Hack)(USA 960620)".

@ghost
Copy link
Author

ghost commented Jan 18, 2020

Are you talking about standalone or libretro ? I think standalone still supports loading arcade games with mismatching crcs ? However i disallowed this in the libretro port because people kept reporting issues while using bad/old dumps.

I don't mind adding support for a few interesting hacks, preferably from hbmame : i could probably add support for spf2tb, which is "Super Puzzle Fighter II Turbo (Boss Hack)(USA 960620)".

Either standalone or Libretro yeah, I usually load a few Boss hacks for fighting games, like for SFIII, but that stopped working with one of the updates, tried in standalone and libretro.

Seeing compatibility for some interesting hacks would also be really good, I know of some Donkey Kong hacks like DKII and Rainbow Edition, those were working last time I checked.

@barbudreadmon
Copy link
Collaborator

I know of some Donkey Kong hacks like DKII and Rainbow Edition, those were working last time I checked.

dkrainbow & dkongx are supported, and a ton of other dkong hacks.

@barbudreadmon
Copy link
Collaborator

Added spf2tb in 380b11a

If you are interested in hacks, i would recommend contributing to FBNeo after reading the commit above and libretro#7, adding support for a hack is generally more time-consuming than hard.

@ghost
Copy link
Author

ghost commented Jan 18, 2020

Added spf2tb in 380b11a

If you are interested in hacks, i would recommend contributing to FBNeo after reading the commit above and libretro#7, adding support for a hack is generally more time-consuming than hard.

I've got a few on hand so I'll see what I can do, looking at it now, first time adding onto a commit.

Some of the ones I have are the same name as the regular game (One is Super Dodge Ball, name is "sdodgeb" for both the hack and normal game, since changing the name causes it not to be recognized), not sure what to do about those

@barbudreadmon
Copy link
Collaborator

not sure what to do about those

Find them in HBMAME, if a hack doesn't exist there we probably won't add it either in FBNeo anyway.

@dinkc64
Copy link
Collaborator

dinkc64 commented Jan 19, 2020

if its a really good hack that nobody emulates then I might add it :)

@ghost
Copy link
Author

ghost commented Jan 19, 2020

if its a really good hack that nobody emulates then I might add it :)

https://www.romhacking.net/hacks/3225/

Thats one in particular, tested in both Libretro and Standalone, they either don't boot at all or the hack doesn't apply it changes the Yellow blocks into White, this used to work in older versions but no longer does now (Libretro's only version that loads it now is the 2012 core). there's also an assortment of hacks for enabling hidden characters, don't know how possible it is to get those working as is, I'll probably have to try hacking roms myself and making my own patches for those.

@dinkc64
Copy link
Collaborator

dinkc64 commented Jan 19, 2020

Nokiko2121, I added it (on git), here's the commit: b2871d7

and here's how I did it:
1: put the ips patch in a new folder along with pzf.04 from spf2t.zip, applied the patch to pzf.04
2: zipped up pzf.04, rename the zip "spf2tcb.zip".
3: Checked the CRC32 of pzf.04 in the new zip to make sure it matches the CRC32 in the patches readme.txt (click on the new zip, highlight pzf.04 and press properties)
... editing d_cps2.cpp in burn/drv/capcom ...
Rom Structure
1: copy spf2tRomDesc structure to a new one named spf2tcbRomDesc, changing the CRC32 for pzf.04 to the new CRC32.
Driver Structure
2: copy a clone of spf2t's BurnDriver struct to a new one, name it BurnDrvCpsSpf2tcb
3: change the first field of the BurnDriver struct to spf2tcb, ex: "spf2tcb", "spf2t", NULL, NULL, "1996",
4: change the first field on the next line to reflect the hack, ex: "Super Puzzle Fighter II Turbo (Color Blind Hack)\0"
5: add BDF_HACK to the driver flags, (see my commit..)
6: on the fifth line of the BurnDriver struct, change the *RomInfo and *RomName fields to point to the new Rom Structure, ex: NULL, Spf2tcbRomInfo, Spf2tcbRomName, ....

done :)

@ghost
Copy link

ghost commented Jan 19, 2020

nice job adding this simple changes like this can make games playable for some people

@barbudreadmon
Copy link
Collaborator

With the 2 spf2t hacks added, i'll close !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants