Final Burn Neo > FBN Development

hsf2ad Chooses the person picture to be wrong

(1/3) > >>

KOF2112:
 :confused:
FBA, hsf2ad Chooses the person picture to be wrong,The game is normal
Adds the Cps2Init game background all to appear the mistake :confused:


--- Quote ---static struct BurnRomInfo hsf2adRomDesc[] = {
   { "hs2a.03d",      0x80000, 0x0153d371, 1 | BRF_ESS | BRF_PRG },  // 8, 68000 code (encrypted)
   { "hs2a.04d",      0x80000, 0x0276b78a, 1 | BRF_ESS | BRF_PRG },
   { "hs2.05",        0x80000, 0xdde34a35, 1 | BRF_ESS | BRF_PRG },
   { "hs2.06",        0x80000, 0xf4e56dda, 1 | BRF_ESS | BRF_PRG },
   { "hs2a.07",       0x80000, 0xee4420fc, 1 | BRF_ESS | BRF_PRG },
   { "hs2.08",        0x80000, 0xc9441533, 1 | BRF_ESS | BRF_PRG },
   { "hs2.09",        0x80000, 0x3fc638a8, 1 | BRF_ESS | BRF_PRG },
   { "hs2.10",        0x80000, 0x20d0f9e4, 1 | BRF_ESS | BRF_PRG },

   // graphics:
   { "hs2.13m",       0x800000, 0xa6ecab17, 3 | BRF_GRA },        // 16
   { "hs2.15m",       0x800000, 0x10a0ae4d, 3 | BRF_GRA },
   { "hs2.17m",       0x800000, 0xadfa7726, 3 | BRF_GRA },
   { "hs2.19m",       0x800000, 0xbb3ae322, 3 | BRF_GRA },

   // sound - z80 roms
   { "hs2.01",        0x020000, 0xc1a13786, 4 | BRF_ESS | BRF_PRG }, // 20
   { "hs2.02",        0x020000, 0x2d8794aa, 4 | BRF_ESS | BRF_PRG },

   // sound - samples
   { "hs2.11m",       0x800000, 0x0e15c359, 5 | BRF_SND },        // 22
};

STD_ROM_PICK(hsf2ad) STD_ROM_FN(hsf2ad)

struct BurnDriver BurnDrvCpshsf2ad = {
   "hsf2ad", "hsf2a", NULL, "2003",
   "Hyper Street Fighter II - The Anniversary Edition (Phoenix Edition, Asia 040202)\0", "Bootleg, Imperfect Graphics", "Capcom", "CPS2",
   NULL, NULL, NULL, NULL,
   BDF_GAME_WORKING | BDF_CLONE,2,HARDWARE_CAPCOM_CPS2,
   NULL, hsf2adRomInfo, hsf2adRomName, DrvInputInfo, NULL,
   DrvInit, CpsExit,Cps2Frame, CpsRedraw,CpsAreaScan,
   &CpsRecalcPal, 384, 224, 4, 3
};

--- End quote ---

Leaf:
Use DrvInit of ssf2t and it works OK. :biggrin:

--- Code: ---//=======================================================================
//Hyper Street Fighter II The Anniversary Edition (Phoenix edition, Asia)
//=======================================================================

static int Hsf2adInit()
{
Ssf2t = 1;

if (Cps2Init()) {
return 1;
}

nCpsGfxScroll[3] = 0;

return 0;
}

static struct BurnRomInfo hsf2adRomDesc[] = {
{ "hs2ad.03",      0x80000, 0x0153d371, 1 | BRF_ESS | BRF_PRG },  // 8, 68000 code (encrypted)
{ "hs2ad.04",      0x80000, 0x0276b78a, 1 | BRF_ESS | BRF_PRG },
{ "hs2.05",        0x80000, 0xdde34a35, 1 | BRF_ESS | BRF_PRG },
{ "hs2.06",        0x80000, 0xf4e56dda, 1 | BRF_ESS | BRF_PRG },
{ "hs2a.07",       0x80000, 0xee4420fc, 1 | BRF_ESS | BRF_PRG },
{ "hs2.08",        0x80000, 0xc9441533, 1 | BRF_ESS | BRF_PRG },
{ "hs2.09",        0x80000, 0x3fc638a8, 1 | BRF_ESS | BRF_PRG },
{ "hs2.10",        0x80000, 0x20d0f9e4, 1 | BRF_ESS | BRF_PRG },

// graphics:
{ "hs2.13m",       0x800000, 0xa6ecab17, 3 | BRF_GRA },   // 16
{ "hs2.15m",       0x800000, 0x10a0ae4d, 3 | BRF_GRA },
{ "hs2.17m",       0x800000, 0xadfa7726, 3 | BRF_GRA },
{ "hs2.19m",       0x800000, 0xbb3ae322, 3 | BRF_GRA },

// sound - z80 roms
{ "hs2.01",        0x020000, 0xc1a13786, 4 | BRF_ESS | BRF_PRG }, // 20
{ "hs2.02",        0x020000, 0x2d8794aa, 4 | BRF_ESS | BRF_PRG },

// sound - samples
{ "hs2.11m",       0x800000, 0x0e15c359, 5 | BRF_SND },   // 22
};

STD_ROM_PICK(hsf2ad) STD_ROM_FN(hsf2ad)

struct BurnDriver BurnDrvCpshsf2ad = {
"hsf2ad", "hsf2a", NULL, "2003",
"Hyper Street Fighter II - The Anniversary Edition (Phoenix Edition, Asia 040202)\0", "Imperfect Graphics", "Capcom", "CPS2",
NULL, NULL, NULL, NULL,
BDF_GAME_WORKING | BDF_CLONE | BDF_BOOTLEG, 2, HARDWARE_CAPCOM_CPS2,
NULL, hsf2adRomInfo, hsf2adRomName, DrvInputInfo, NULL,
Hsf2adInit, DrvExit, Cps2Frame, CpsRedraw, CpsAreaScan,
&CpsRecalcPal, 384, 224, 4, 3
};

--- End code ---

BisonSAS:


Full FBA driver in attachment. :biggrin:

KOF2112:
 :biggrin:

Thanks You BisonSAS

iq_132:
Here's what I have.  This removes any need for patches. ^^



Updated: Dec. 17, 2006
--------------------------------
Simplified code


+40

Navigation

[0] Message Index

[#] Next page

Go to full version