Author Topic: how to make this kof2003 driver work?  (Read 4491 times)

Offline lxd_bruce

  • Jr. Member
  • **
  • Posts: 75
  • Karma: +1/-0
how to make this kof2003 driver work?
« on: May 16, 2007, 07:51:12 AM »
Here is my driver, but it doesn't work in fba 029671.
Error is what you can see in picture 1.
I don't know why. :confused:

Code: [Select]
//kf2k3bld

static struct BurnRomInfo kf2k3bldRomDesc[] = {
{ "271-p1d.bin",  0x100000, 0x7c2aee16, 1 | BRF_ESS | BRF_PRG }, //  0 68K code
{ "271-p1bl.bin",  0x400000, 0x92ed6ee3, 1 | BRF_ESS | BRF_PRG }, //  1
{ "271-p3d.bin",  0x200000, 0x0d0a5861, 1 | BRF_ESS | BRF_PRG }, //  1

{ "271-c1cd.bin",  0x800000, 0xe42fc226, 3 | BRF_GRA }, //  2 Sprite data
{ "271-c2cd.bin",  0x800000, 0x1b5e3b58, 3 | BRF_GRA }, //  3
{ "271-c3cd.bin",  0x800000, 0xd334fdd9, 3 | BRF_GRA }, //  4
{ "271-c4cd.bin",  0x800000, 0x0d457699, 3 | BRF_GRA }, //  5
{ "271-c5cd.bin",  0x800000, 0x8a91aae4, 3 | BRF_GRA }, //  6
{ "271-c6cd.bin",  0x800000, 0x9f8674b8, 3 | BRF_GRA }, //  7
{ "271-c7cd.bin",  0x800000, 0x8ee6b43c, 3 | BRF_GRA }, //  8
{ "271-c8cd.bin",  0x800000, 0x6d8d2d60, 3 | BRF_GRA }, //  9

{ "271-m1_decrypted.bin",  0x080000, 0x0e86af8f, 4 | BRF_ESS | BRF_PRG }, // 10 Z80 code (decrypted)

{ "271-v1c.bin",  0x800000, 0xffa3f8c7, 5 | BRF_SND }, // 16
{ "271-v2c.bin",  0x800000, 0x5382c7d1, 5 | BRF_SND }, // 17
};

STDROMPICKEXT(kf2k3bld, kf2k3bld, neogeo);
STD_ROM_FN(kf2k3bld);

static int kf2k3bldInit()
{
int nRet;

nNeoTextROMSize = 0x080000;

nRet = NeoInit();

if (nRet == 0) {
PCM2DecryptVInfo Info = { 0xA7001, 0xFF14EA, { 0x4B, 0xA4, 0x63, 0x46, 0xF0, 0x91, 0xEA, 0x62 } };

PCM2DecryptV(&Info);
}

return nRet;
}


struct BurnDriver BurnDrvkf2k3bld = {
"kf2k3bld", "kof2003", "neogeo", "2003",
"The King of Fighters 2003 (bootleg decrypted P, decrypted C)\0", "bootleg of \"The King of Fighters 2003\"", "bootleg", "Neo Geo",
NULL, NULL, NULL, NULL,
BDF_GAME_WORKING | BDF_BOOTLE | BDF_CLONE, 2, HARDWARE_SNK_NEOGEO | HARDWARE_SNK_ALTERNATE_TEXT,
NULL, kf2k3bldRomInfo, kf2k3bldRomName, neogeoInputInfo, neogeoDIPInfo,
kf2k3bldInit, NeoExit, NeoFrame, NeoRender, NeoScan, &NeoRecalcPalette,
nNeoScreenWidth, 224, 4, 3
};
« Last Edit: May 16, 2007, 08:11:50 AM by lxd_bruce »

Offline KOF2112

  • Expert
  • *****
  • Posts: 187
  • Karma: +14/-4
Re: how to make this kof2003 driver work?
« Reply #1 on: May 16, 2007, 11:00:39 AM »
Code: [Select]
static int kof2003dInit()
{
nNeoTextROMSize = 0x080000;
nNeoPCM2PLAYMOREProtection = 6;
return NeoInit();
}