Street Fighter 2 arcade bootleg m5 running on a CPS1

Discuss all hardware and software modifications
Post Reply
User avatar
Drakon
64-bit
Posts: 306
Joined: Tue Apr 29, 2008 7:58 pm
Location: Toronto Canada
Contact:

Street Fighter 2 arcade bootleg m5 running on a CPS1

Post by Drakon »

Okay before I get into details let me explain what made this mod so darn complicated. The Street Fighter 2 M5 arcade hack is a brilliant hack, but this hack was only released on a bootleg pcb and it was never released on the capcom cps1 system which is what normal street fighter 2 ran on. The bootleg pcb hardware runs differently from a cps1 so it's AMAZING that this hack was even possible.

Since the M5 hack is brilliant so I decided to look into seeing just exactly how the rum dumps "tick".

Image

The top hex is from the regular sf2 champion edition rom, the second / third hex boxes are from the m5 hack dumps

I did some web searching and wound up on this site:

http://www.darkfader.net/toolbox/

I downloaded the "interleave.zip" tool. It's a dos command based program so I wrote a batch file for it that takes files named 1, 2, and combines them back together in the regular interleaved pattern. Doing so made the hex look just like the champion edition rom dump

Image

Then I split the file into the two 512 k separate files it needs. I split the roms at the proper spot and copied them into the sf2ce folder and it ran but unfortunately the sprite layer is flickering. The good news is that everything else works perfectly, audio is fine, controls are fine, even all the m5 hacks are running great even though the system is running it like it would be on a normal cps1. So I've managed to decrypt these roms on my own using tools I found on the net. I tested this M5 dump running as CE in multiple emulators and each emulator has the graphics flickering. I even did the same process on the m7 hack and got the same results, it ran but gave me flickering graphics in the emulator when loaded under the normal cps1 profile. Burning these cleaned up roms to eproms worked on my cps1 but the sprites rarely drew and when they appeared they were flickering. Also the controls weren't responding. I dug around in the cps1.c file from the mame source code and certainly enough the m5 bootleg pcb draws sprites in the opposite direction and has different controller inputs.

Since the champion edition rom dumps and the m5 cleaned up dump are very similar I tried copying data back and forth between the two rom sets and seeing what effect it would have. I did a LOT of trial and error and eventually found the programming that applies all the game hacks while keeping the cps1 compatible programming in tact. The M5 bootleg romset now runs 100% flawlessly on my official cps1 arcade pcb.

Image

Here's the rom zip:

http://www.mediafire.com/?7tkputeihk775e2

If you rename this zip sf2ce.zip winkawaks will run it fine and I assume other cps1 emulators will run it too. To upgrade your champion edition, turbo, or rainbow edition to this m5 hack just burn the 21, 22 and 23 roms and it should run fine on your regular cps1 arcade pcb. The 21 rom is just the regular champion edition rom and the 22 / 23 roms are the hacked up m5 roms.

Here's the video to prove it truly works:

http://www.youtube.com/watch?v=u0o7HeFb ... r_embedded
http://16bitgamer.forumotion.ca/

Older games are better
User avatar
d123456
Next-Gen
Posts: 1268
Joined: Tue Jan 30, 2007 6:39 pm
Location: The Netherlands, Almere
Contact:

Re: Street Fighter 2 arcade bootleg m5 running on a CPS1

Post by d123456 »

Great Job.
Optimizing PS2 games 480p (progressive) and 240p gsm hdtv
http://www.racketboy.com/forum/viewtopi ... 25&t=30389
User avatar
Drakon
64-bit
Posts: 306
Joined: Tue Apr 29, 2008 7:58 pm
Location: Toronto Canada
Contact:

Re: Street Fighter 2 arcade bootleg m5 running on a CPS1

Post by Drakon »

d123456 wrote:Great Job.
Thanks, I try.
http://16bitgamer.forumotion.ca/

Older games are better
User avatar
dunpeal2064
Next-Gen
Posts: 5350
Joined: Tue Feb 01, 2011 12:55 pm
Location: Central Valley, California
Contact:

Re: Street Fighter 2 arcade bootleg m5 running on a CPS1

Post by dunpeal2064 »

Wow, thats awesome!

Is there a way to get a pcb of this, or just the roms?

Either way, great work!
User avatar
Drakon
64-bit
Posts: 306
Joined: Tue Apr 29, 2008 7:58 pm
Location: Toronto Canada
Contact:

Re: Street Fighter 2 arcade bootleg m5 running on a CPS1

Post by Drakon »

dunpeal2064 wrote:Wow, thats awesome!

Is there a way to get a pcb of this, or just the roms?

Either way, great work!
I can do both. I can burn and mail you the roms or I can convert a sf2 ce compatible pcb for you. I can convert between the following pcbs:

champion edition
turbo
rainbow on a cps1
M5 hack cps1 compatible edition

world warrior will NOT work it has a different type of pcb that's not compatible. All the hacks I offer are based off of champion edition. Turbo is ironically an official CE hack where you just replace two programming roms to upgrade to turbo

I can burn a set of cps1 compatible m5 roms for 50$ plus the price of shipping. If you mail me your CE / turbo / rainbow cps1 pcb I will convert the board to m5 / ce / turbo / rainbow for 50$ plus the cost of return shipping. I don't have a supply of CE compatible cps1 pcbs so it's up to you to find one. All of my boards are part of my private collection so they're not for sale.

If you're wondering how to tell if your pcb will be compatible here's a picture:

Image

The world warrior pcb will not work it has a completely different rom layout and different chips. Since this hack is a hack of champion edition you need a champion edition or compatible pcb which will look like the pcb on the left.
http://16bitgamer.forumotion.ca/

Older games are better
Post Reply