Author Topic: The Punisher: Biaofeng Zhanjing (Chinese bootleg)  (Read 5997 times)

Offline JacKc

  • FBNeo Dev
  • ******
  • Posts: 1677
  • Karma: +56/-0
  • Hasta la vista, Baby !
The Punisher: Biaofeng Zhanjing (Chinese bootleg)
« on: March 02, 2010, 03:57:52 PM »
added The Punisher: Biaofeng Zhanjing (Chinese bootleg) [punisherh] to FBA

Code: [Select]
static struct BurnInputInfo PunisherhInputList[] =
{
{"P1 Coin"          , BIT_DIGITAL  , CpsInp018+0, "p1 coin"   },
{"P1 Start"         , BIT_DIGITAL  , CpsInp018+4, "p1 start"  },
{"P1 Up"            , BIT_DIGITAL  , CpsInp001+3, "p1 up"     },
{"P1 Down"          , BIT_DIGITAL  , CpsInp001+2, "p1 down"   },
{"P1 Left"          , BIT_DIGITAL  , CpsInp001+1, "p1 left"   },
{"P1 Right"         , BIT_DIGITAL  , CpsInp001+0, "p1 right"  },
{"P1 Attack"        , BIT_DIGITAL  , CpsInp001+4, "p1 fire 1" },
{"P1 Jump"          , BIT_DIGITAL  , CpsInp001+5, "p1 fire 2" },
{"P1 Super"         , BIT_DIGITAL  , CpsInp001+6, "p1 fire 3" },

{"P2 Coin"          , BIT_DIGITAL  , CpsInp018+1, "p2 coin"   },
{"P2 Start"         , BIT_DIGITAL  , CpsInp018+5, "p2 start"  },
{"P2 Up"            , BIT_DIGITAL  , CpsInp000+3, "p2 up"     },
{"P2 Down"          , BIT_DIGITAL  , CpsInp000+2, "p2 down"   },
{"P2 Left"          , BIT_DIGITAL  , CpsInp000+1, "p2 left"   },
{"P2 Right"         , BIT_DIGITAL  , CpsInp000+0, "p2 right"  },
{"P2 Attack"        , BIT_DIGITAL  , CpsInp000+4, "p2 fire 1" },
{"P2 Jump"          , BIT_DIGITAL  , CpsInp000+5, "p2 fire 2" },
{"P2 Super"         , BIT_DIGITAL  , CpsInp000+6, "p2 fire 3" },

{"Reset"            , BIT_DIGITAL  , &CpsReset,   "reset"     },
{"Diagnostic"       , BIT_DIGITAL  , CpsInp018+6, "diag"      },
{"Service"          , BIT_DIGITAL  , CpsInp018+2, "service"   },
{"Dip A"            , BIT_DIPSWITCH, &Cpi01A    , "dip"       },
{"Dip B"            , BIT_DIPSWITCH, &Cpi01C    , "dip"       },
};

STDINPUTINFO(Punisherh)

static struct BurnDIPInfo PunisherhDIPList[]=
{
// Defaults
{0x15, 0xff, 0xff, 0x10, NULL                     },
{0x16, 0xff, 0xff, 0x6B, NULL                     },

// Dip A
CPS1_COINAGE_2(0x15)

{0   , 0xfe, 0   , 2   , "2C to Start, 1 to Cont" },
{0x15, 0x01, 0x08, 0x00, "Off"                    },
{0x15, 0x01, 0x08, 0x08, "On"                     },

{0   , 0xfe, 0   , 4   , "Lives"                  },
{0x15, 0x01, 0x30, 0x00, "1"                      },
{0x15, 0x01, 0x30, 0x10, "2"                      },
{0x15, 0x01, 0x30, 0x20, "3"                      },
{0x15, 0x01, 0x30, 0x30, "4"                      },

{0   , 0xfe, 0   , 2   , "Sound"                  },
{0x15, 0x01, 0x40, 0x00, "Q Sound"                },
{0x15, 0x01, 0x40, 0x40, "Monaural"               },

{0   , 0xfe, 0   , 2   , "Flip Screen"            },
{0x15, 0x01, 0x80, 0x00, "Off"                    },
{0x15, 0x01, 0x80, 0x80, "On"                     },

// Dip B
{0   , 0xfe, 0   , 8   , "Difficulty"             },
{0x16, 0x01, 0x07, 0x00, "0 (Easiest)"            },
{0x16, 0x01, 0x07, 0x01, "1"                      },
{0x16, 0x01, 0x07, 0x02, "2"                      },
{0x16, 0x01, 0x07, 0x03, "3 (Normal)"             },
{0x16, 0x01, 0x07, 0x04, "4"                      },
{0x16, 0x01, 0x07, 0x05, "5"                      },
{0x16, 0x01, 0x07, 0x06, "6"                      },
{0x16, 0x01, 0x07, 0x07, "7 (Hardest)"            },

{0   , 0xfe, 0   , 4   , "Extend"                 },
{0x16, 0x01, 0x18, 0x00, "800000"                 },
{0x16, 0x01, 0x18, 0x08, "1800000"                },
{0x16, 0x01, 0x18, 0x10, "2800000"                },
{0x16, 0x01, 0x18, 0x18, "No Extend"              },

{0   , 0xfe, 0   , 2   , "Allow Continue"         },
{0x16, 0x01, 0x20, 0x00, "Off"                    },
{0x16, 0x01, 0x20, 0x20, "On"                     },

{0   , 0xfe, 0   , 2   , "Demo Sound"             },
{0x16, 0x01, 0x40, 0x00, "Off"                    },
{0x16, 0x01, 0x40, 0x40, "On"                     },
};

STDDIPINFO(Punisherh)

Code: [Select]
// The Punisher: Biaofeng Zhanjing (Chinese bootleg)

static struct BurnRomInfo PunisherhRomDesc[] = {
{ "23.096",      0x080000, 0xbfa45d23, BRF_ESS | BRF_PRG | CPS1_68K_PROGRAM_NO_BYTESWAP },
{ "22.096",      0x080000, 0x092578a4, BRF_ESS | BRF_PRG | CPS1_68K_PROGRAM_NO_BYTESWAP },
{ "21.096",      0x080000, 0xd21ccddb, BRF_ESS | BRF_PRG | CPS1_68K_PROGRAM_NO_BYTESWAP },
{ "20.096",      0x080000, 0xf9f334ce, BRF_ESS | BRF_PRG | CPS1_68K_PROGRAM_NO_BYTESWAP },

{ "1.096",       0x080000, 0xad468e07, BRF_GRA | CPS1_TILES },
{ "2.096",       0x080000, 0xb9fdb6b5, BRF_GRA | CPS1_TILES },
{ "3.096",       0x080000, 0xbe0b1a78, BRF_GRA | CPS1_TILES },
{ "4.096",       0x080000, 0xbba67a43, BRF_GRA | CPS1_TILES },
{ "ps_gfx5.rom", 0x080000, 0xc54ea839, BRF_GRA | CPS1_TILES },
{ "ps_gfx7.rom", 0x080000, 0x04c5acbd, BRF_GRA | CPS1_TILES },
{ "ps_gfx6.rom", 0x080000, 0xa544f4cc, BRF_GRA | CPS1_TILES },
{ "ps_gfx8.rom", 0x080000, 0x8f02f436, BRF_GRA | CPS1_TILES },

{ "9.512",       0x010000, 0xb8367eb5, BRF_PRG | CPS1_Z80_PROGRAM },

{ "18.010",      0x020000, 0x375c66e7, BRF_SND | CPS1_OKIM6295_SAMPLES },
{ "19.010",      0x020000, 0xeb5ca884, BRF_SND | CPS1_OKIM6295_SAMPLES },

};

STD_ROM_PICK(Punisherh)
STD_ROM_FN(Punisherh)

struct BurnDriver BurnDrvCpsPunisherh = {
"punisherh", "punisher", NULL, "2002",
"The Punisher: Biaofeng Zhanjing (Chinese bootleg)\0", NULL, "bootleg", "CPS1",
L"\uFEFF\u98C6\u98A8\u6230\u8B66 (bootleg, hack)\0The Punisher: Biaofeng Zhanjing (Chinese bootleg)\0", NULL, NULL, NULL,
BDF_GAME_WORKING | BDF_CLONE | BDF_BOOTLEG,2, HARDWARE_CAPCOM_CPS1, GBF_SCRFIGHT, 0,
NULL,PunisherhRomInfo,PunisherhRomName,PunisherhInputInfo, PunisherhDIPInfo,
TwelveMhzInit, DrvExit, Cps1Frame, CpsRedraw, CpsAreaScan,
JBF_GAME_WORKING, DrvJukeboxInit, DrvJukeboxExit, DrvJukeboxFrame, &CpsRecalcPal, 0x1000, 384, 224, 4, 3
};

Code: [Select]
{ "punisherh"   , CPS_B_21_DEF, mapper_PS63B , 0, NULL                },
NOTE : The ROM has been sent to the FBA Team
« Last Edit: March 02, 2010, 04:00:47 PM by JacKc »


Offline Haze

  • MAME Devs
  • *****
  • Posts: 184
  • Karma: +47/-0
Re: The Punisher: Biaofeng Zhanjing (Chinese bootleg)
« Reply #1 on: March 03, 2010, 06:05:10 AM »
if it's a proper bootleg, which I guess it is, it should be added to MAME too..


Offline JacKc

  • FBNeo Dev
  • ******
  • Posts: 1677
  • Karma: +56/-0
  • Hasta la vista, Baby !
Re: The Punisher: Biaofeng Zhanjing (Chinese bootleg)
« Reply #2 on: March 03, 2010, 06:34:29 AM »
it's seems it's a proper bootleg....Like Cadillacs and Dinosaurs: Dinosaur Hunter (hack set 4) [dinohc]

Code: [Select]
static struct BurnRomInfo DinohcRomDesc[] = {
{ "u23", 0x80000, 0x8d5ddc5d, BRF_ESS | BRF_PRG | CPS1_68K_PROGRAM_NO_BYTESWAP },
{ "u22", 0x80000, 0xf72cd219, BRF_ESS | BRF_PRG | CPS1_68K_PROGRAM_NO_BYTESWAP },
{ "u21", 0x80000, 0xbc275b76, BRF_ESS | BRF_PRG | CPS1_68K_PROGRAM_NO_BYTESWAP },
{ "u20", 0x80000, 0x8987c975, BRF_ESS | BRF_PRG | CPS1_68K_PROGRAM_NO_BYTESWAP },

{ "u1",    0x80000, 0xa01a9fb5, BRF_GRA | CPS1_TILES },
{ "u2",    0x80000, 0xbdf02c17, BRF_GRA | CPS1_TILES },
{ "u3",    0x80000, 0x058beefa, BRF_GRA | CPS1_TILES },
{ "u4",    0x80000, 0x5028a9f1, BRF_GRA | CPS1_TILES },
{ "u5",    0x80000, 0xd77f89ea, BRF_GRA | CPS1_TILES },
{ "u6",    0x80000, 0xbfbcb034, BRF_GRA | CPS1_TILES },
{ "u7",    0x80000, 0xa2544d4e, BRF_GRA | CPS1_TILES },
{ "u8",    0x80000, 0x8869bbb1, BRF_GRA | CPS1_TILES },

{ "u9", 0x10000, 0x2eb16a83, BRF_PRG | CPS1_Z80_PROGRAM }, // 512 bytes used?

{ "u18", 0x20000, 0x8d2899ba, BRF_SND | CPS1_OKIM6295_SAMPLES }, // Definitely oki samples
{ "u19", 0x20000, 0xb34a4b42, BRF_SND | CPS1_OKIM6295_SAMPLES },
};

STD_ROM_PICK(Dinohc)
STD_ROM_FN(Dinohc)
NOTE: The ROM has been sent to the FBA TEAM


Offline Haze

  • MAME Devs
  • *****
  • Posts: 184
  • Karma: +47/-0
Re: The Punisher: Biaofeng Zhanjing (Chinese bootleg)
« Reply #3 on: March 03, 2010, 10:27:45 AM »
yes, it's good to see people doing full dumps of these instead of trying to hack them to use the original qsound roms etc. instead, or not dumping the gfx roms and then wondering why the new titles are messed up.