From 271e0f71166d9f290646de1aa22f0580d24c64e3 Mon Sep 17 00:00:00 2001 From: dinkc64 Date: Sat, 10 Feb 2024 09:33:00 -0500 Subject: [PATCH] add sf2mkot2 --- src/burn/drv/capcom/d_cps1.cpp | 78 ++++++++++++++++++++++++++++++++++ 1 file changed, 78 insertions(+) diff --git a/src/burn/drv/capcom/d_cps1.cpp b/src/burn/drv/capcom/d_cps1.cpp index 2afb85986a..8de70f099d 100644 --- a/src/burn/drv/capcom/d_cps1.cpp +++ b/src/burn/drv/capcom/d_cps1.cpp @@ -13901,6 +13901,34 @@ static struct BurnRomInfo Sf2mkotRomDesc[] = { STD_ROM_PICK(Sf2mkot) STD_ROM_FN(Sf2mkot) +// Magic KO Turbo, set 2 +// Mask roms that were dumped were dumped wrong, using mask roms from other sf2mkot set. +static struct BurnRomInfo Sf2mkot2RomDesc[] = { + { "6.bin", 0x0080000, 0x03991fba, BRF_ESS | BRF_PRG | CPS1_68K_PROGRAM_BYTESWAP }, + { "4.bin", 0x0080000, 0x39f15a1e, BRF_ESS | BRF_PRG | CPS1_68K_PROGRAM_BYTESWAP }, + { "5.bin", 0x0020000, 0x6ef18ab4, BRF_ESS | BRF_PRG | CPS1_68K_PROGRAM_BYTESWAP }, + { "3.bin", 0x0020000, 0xc95e4443, BRF_ESS | BRF_PRG | CPS1_68K_PROGRAM_BYTESWAP }, + + { "d21.u70", 0x0100000, 0xbaa0f81f, BRF_GRA | CPS1_TILES }, + { "d24.u68", 0x0100000, 0x8edff95a, BRF_GRA | CPS1_TILES }, + { "d22.u69", 0x0100000, 0x468962b1, BRF_GRA | CPS1_TILES }, + { "d25.u64", 0x0100000, 0x8165f536, BRF_GRA | CPS1_TILES }, + { "d23.u19", 0x0100000, 0x39d763d3, BRF_GRA | CPS1_TILES }, + { "d26.u18", 0x0100000, 0x93ec42ae, BRF_GRA | CPS1_TILES }, + + { "conv2.u191", 0x0010000, 0x08f6b60e, BRF_PRG | CPS1_Z80_PROGRAM }, + + { "voice.u210", 0x0040000, 0x6cfffb11, BRF_SND | CPS1_OKIM6295_SAMPLES }, + + { "moon-1.c173.u30", 0x0040000, 0x7e36ec84, BRF_GRA | CPS1_EXTRA_TILES_SF2MKOT_400000 }, + { "moon-2.c132.u29", 0x0040000, 0x66403570, BRF_GRA | CPS1_EXTRA_TILES_SF2MKOT_400000 }, + + { "u133.bin", 0x0010000, 0x13ea1c44, BRF_OPT }, // unknown (bootleg prority?) +}; + +STD_ROM_PICK(Sf2mkot2) +STD_ROM_FN(Sf2mkot2) + static struct BurnRomInfo Sf2ceuab5RomDesc[] = { { "7.bin", 0x080000, 0xdb567b66, BRF_ESS | BRF_PRG | CPS1_68K_PROGRAM_BYTESWAP }, // same as sf2m8 { "5.bin", 0x080000, 0x95ea597e, BRF_ESS | BRF_PRG | CPS1_68K_PROGRAM_BYTESWAP }, // same as sf2m8 @@ -16152,6 +16180,34 @@ static struct BurnRomInfo WofahbRomDesc[] = { STD_ROM_PICK(Wofahb) STD_ROM_FN(Wofahb) +static struct BurnRomInfo wofsgzbRomDesc[] = { + { "p23", 0x080000, 0xD4811B58, BRF_ESS | BRF_PRG | CPS1_68K_PROGRAM_NO_BYTESWAP }, + { "p22", 0x080000, 0xF99A6FD3, BRF_ESS | BRF_PRG | CPS1_68K_PROGRAM_NO_BYTESWAP }, + { "p21", 0x080000, 0x2C16579E, BRF_ESS | BRF_PRG | CPS1_68K_PROGRAM_NO_BYTESWAP }, + + { "a10", 0x080000, 0x5414122B, BRF_GRA | CPS1_TILES }, + { "a11", 0x080000, 0x74BC2116, BRF_GRA | CPS1_TILES }, + { "a12", 0x080000, 0x529EE8EF, BRF_GRA | CPS1_TILES }, + { "a13", 0x080000, 0x9A951CD8, BRF_GRA | CPS1_TILES }, + { "a1", 0x080000, 0x0D9CB9BF, BRF_GRA | CPS1_TILES }, + { "a2", 0x080000, 0x45227027, BRF_GRA | CPS1_TILES }, + { "a3", 0x080000, 0xC5CA2460, BRF_GRA | CPS1_TILES }, + { "a4", 0x080000, 0xE349551C, BRF_GRA | CPS1_TILES }, + { "a5", 0x080000, 0x71ADDDA7, BRF_GRA | CPS1_TILES }, + { "a6", 0x080000, 0x9AD61056, BRF_GRA | CPS1_TILES }, + { "a7", 0x080000, 0x80E231FF, BRF_GRA | CPS1_TILES }, + { "a8", 0x080000, 0xB0707469, BRF_GRA | CPS1_TILES }, + + { "m9", 0x010000, 0x210C376F, BRF_PRG | CPS1_Z80_PROGRAM }, + + { "m18", 0x020000, 0xAB740743, BRF_SND | CPS1_OKIM6295_SAMPLES }, + { "m19", 0x020000, 0xFBB8D8C1, BRF_SND | CPS1_OKIM6295_SAMPLES }, + +}; + +STD_ROM_PICK(wofsgzb) +STD_ROM_FN(wofsgzb) + static struct BurnRomInfo Cps1frogRomDesc[] = { { "frog30-36.bin", 0x020000, 0x8eb8ddbe, BRF_ESS | BRF_PRG | CPS1_68K_PROGRAM_BYTESWAP }, { "frog35-42.bin", 0x020000, 0xacb5a988, BRF_ESS | BRF_PRG | CPS1_68K_PROGRAM_BYTESWAP }, @@ -16475,6 +16531,7 @@ static const struct GameConfig ConfigTable[] = { "sf2ceuab4" , HACK_B_2 , mapper_S9263B, 0, NULL }, { "sf2re" , HACK_B_2 , mapper_S9263B, 0, NULL }, { "sf2mkot" , CPS_B_21_DEF, mapper_S9263B, 0, NULL }, + { "sf2mkot2" , CPS_B_21_DEF, mapper_S9263B, 0, NULL }, { "sf2ceuab5" , HACK_B_2 , mapper_S9263B, 0, NULL }, { "sf2ceuab6" , CPS_B_21_DEF, mapper_S9263B, 0, NULL }, { "sf2ceuab7" , CPS_B_21_DEF, mapper_S9263B, 0, NULL }, @@ -16543,6 +16600,7 @@ static const struct GameConfig ConfigTable[] = { "wofah" , CPS_B_21_DEF, mapper_TK263B, 0, wof_decode }, { "wofaha" , CPS_B_21_DEF, mapper_TK263B, 0, wof_decode }, { "wofahb" , CPS_B_21_DEF, mapper_TK263B, 0, wof_decode }, + { "wofsgzb" , CPS_B_21_DEF, mapper_SFZ63B, 0, NULL }, { "sfzch" , CPS_B_21_DEF, mapper_SFZ63B, 0, NULL }, { "sfzcha" , CPS_B_21_DEF, mapper_SFZ63B, 0, NULL }, { "wofch" , CPS_B_21_DEF, mapper_sfzch , 0, wof_decode }, @@ -24031,6 +24089,16 @@ struct BurnDriver BurnDrvCpsSf2mkot = { &CpsRecalcPal, 0x1000, 384, 224, 4, 3 }; +struct BurnDriver BurnDrvCpsSf2mkot2 = { + "sf2mkot2", "sf2", NULL, NULL, "1992", + "Street Fighter II': Magic KO Turbo!!\0", NULL, "bootleg", "CPS1", + NULL, NULL, NULL, NULL, + BDF_GAME_WORKING | BDF_CLONE | BDF_BOOTLEG | BDF_HISCORE_SUPPORTED, 2, HARDWARE_CAPCOM_CPS1, GBF_VSFIGHT, FBF_SF, + NULL, Sf2mkot2RomInfo, Sf2mkot2RomName, NULL, NULL, NULL, NULL, Sf2yycInputInfo, Sf2DIPInfo, + Sf2koryuInit, DrvExit, Cps1Frame, CpsRedraw, CpsAreaScan, + &CpsRecalcPal, 0x1000, 384, 224, 4, 3 +}; + struct BurnDriver BurnDrvCpsSf2ceuab5 = { "sf2ceuab5", "sf2ce", NULL, NULL, "1992", "Street Fighter II': Champion Edition (920313 USA bootleg set 5)\0", NULL, "bootleg", "CPS1", @@ -24711,6 +24779,16 @@ struct BurnDriver BurnDrvCpsWofahb = { &CpsRecalcPal, 0x1000, 384, 224, 4, 3 }; +struct BurnDriver BurnDrvCpswofsgzb = { + "wofsgzb", "wof", NULL, NULL, "2005", + "Sangokushi 2 (San Guo Zheng Ba)\0", "Hack", "bootleg", "CPS1", + NULL, NULL, NULL, NULL, + BDF_GAME_NOT_WORKING | BDF_CLONE | BDF_BOOTLEG, 3, HARDWARE_CAPCOM_CPS1, GBF_SCRFIGHT, 0, + NULL, wofsgzbRomInfo, wofsgzbRomName, NULL, NULL, NULL, NULL, WofhfhInputInfo, WofhfhDIPInfo, + TwelveMhzInit, DrvExit, Cps1Frame, CpsRedraw, CpsAreaScan, + &CpsRecalcPal, 0x1000, 384, 224, 4, 3 +}; + struct BurnDriver BurnDrvCpsCps1frog = { "cps1frog", NULL, NULL, NULL, "2006", "Frog Feast (CPS-1)\0", NULL, "Rastersoft (Homebrew)", "CPS1",