Welcome!
Final Burn Neo => FBN Development => Topic started by: KOF2112 on December 13, 2006, 10:59:27 AM
-
: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:
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
};
-
Use DrvInit of ssf2t and it works OK. :biggrin:
//=======================================================================
//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
};
-
(http://neogeobrteam.xpg.com.br/hsf2d_fbawp.png)
Full FBA driver in attachment. :biggrin:
-
:biggrin:
Thanks You BisonSAS
-
Here's what I have. This removes any need for patches. ^^
Updated: Dec. 17, 2006
--------------------------------
Simplified code
+40
-
Here's what I have. This removes any need for patches. ^^
Thanks! :biggrin:
-
Gentlemen, if I may ask, what is this
STDINPUTINFOSPEC(Hsf2, CpsFsi);
because I'm having problems with this "CpsFsi" to compile if I incluide this line. Is it really necessary?
-
:biggrin:
Thanks! iq_132 The code might solve hsf2ad to choose the number of people picture to have the grid files
-
Gentlemen, if I may ask, what is this
STDINPUTINFOSPEC(Hsf2, CpsFsi);
because I'm having problems with this "CpsFsi" to compile if I incluide this line. Is it really necessary?
That's strange. It works fine on my plain 0.2.95.23 build. Look in dc_ssf2t.cpp and find a similar line and just replace it with that (it should definitely work then ^^)
-
Haha, I'm sorry, forget that. I checked later and it was a small problem I had created myself. :p But Thanks for replying, helped me in finding it. ;)
-
I updated the source I posted above. It's much better, cleaner code. :)
-
I updated the source I posted above. It's much better, cleaner code. :)
Thanks for the source,
I tested spf2xjd and ddsomud, the screen offset is wrong, but the previous source is right. (and I also think previous source has better performance. :P)
-
I noticed that. In the Zangief stage of hsf2ad the fence is incorrect. I'll post a fixed source later.
-
iq, I'm sure this must be bothersome, but could you repost the code that you had posted before for adding hsf2ad, please? I'm getting an strange message now when I try to start this game and have no idea what it could be, because it used to work the first time I added it. I just wanna check now if I have mischanged anything that I had changed before to add the driver.
Thanks.