Jump to content

Kof2003 Mame


Recommended Posts

Hi, a have trying to load kof2003 but a have errors. I compiled the code posted by james whit out problem, but i think a have not the correct files or an error in my code.

 

ROM_START( kof2003 )

ROM_REGION( 0x800000, REGION_CPU1, 0 )

ROM_LOAD16_WORD_SWAP( "271-p1.bin", 0x000000, 0x400000, CRC(92ed6ee3) SHA1(5e7e21eb40dfcc453ba73808760d5ddedd49c58a) )

ROM_LOAD16_WORD_SWAP( "271-p2.bin", 0x100000, 0x400000, CRC(5d3d8bb3) SHA1(7f2341f14ca12ff5721eb038b3496228a1f34b60) )

 

NEO_SFIX_128K( "271-s1.rom", CRC(7c7829aa) SHA1(22f8d38d1d0891295d0593741d9477fbe6b4f48c))

 

NEO_BIOS_SOUND_512K( "271-m1d.bin", CRC(0e86af8f) SHA1(769102b67bb1a699cfa5674d66cdb46ae633cb65) )

 

ROM_REGION( 0x1000000, REGION_SOUND1, ROMREGION_SOUNDONLY )

ROM_LOAD( "271-v1d.rom", 0x000000, 0x400000, CRC(d2b8aa5e) SHA1(498f0556c1de56822141f8043f1ce20444f4ed0a) )

ROM_LOAD( "271-v2d.rom", 0x400000, 0x400000, CRC(71956ee2) SHA1(a890941e60db358cf45b58909f4719f4826f3bb1) )

ROM_LOAD( "271-v3d.rom", 0x800000, 0x400000, CRC(ddbbb199) SHA1(0eea4b064bdb8daa03c354fe0a0aa27c4c665bda) )

ROM_LOAD( "271-v4d.rom", 0xc00000, 0x400000, CRC(01b90c4f) SHA1(387164aa1995d8c11ed939b3afbc294d86d2e27f) )

 

NO_DELTAT_REGION

ROM_REGION( 0x4000000, REGION_GFX3, 0 )

ROM_LOAD16_BYTE( "271-c1d.rom", 0x0000000, 0x800000, CRC(e42fc226) SHA1(1cd9364993e141facdcdd53ec2277df7b275d8a7) )

ROM_LOAD16_BYTE( "271-c2d.rom", 0x0000001, 0x800000, CRC(1b5e3b58) SHA1(0eb254477a9479541291e43e415310852a0f0bed) )

ROM_LOAD16_BYTE( "271-c3d.rom", 0x1000000, 0x800000, CRC(d334fdd9) SHA1(1efe30b4f56a55e25ab518cf6999de797b5e407c) )

ROM_LOAD16_BYTE( "271-c4d.rom", 0x1000001, 0x800000, CRC(0d457699) SHA1(ec73d0c9fc7094d0ac6c0986a6e07cde25893e57) )

ROM_LOAD16_BYTE( "271-c5d.rom", 0x2000000, 0x800000, CRC(8a91aae4) SHA1(802f4baacf801646be1ef686e105b2e867a6a5df) )

ROM_LOAD16_BYTE( "271-c6d.rom", 0x2000001, 0x800000, CRC(9f8674b8) SHA1(65964f40b2227d020023fb436579927e65807dcd) )

ROM_LOAD16_BYTE( "271-c7d.rom", 0x3000000, 0x800000, CRC(374ea523) SHA1(613827d72c6181f3e08353750c9af0c4dbad020b) )

ROM_LOAD16_BYTE( "271-c8d.rom", 0x3000001, 0x800000, CRC(75211f4d) SHA1(d82f044e816ee539ff131d9c931200c818d34cd0) )

ROM_END

 

 

GAMEB( 2003, kof2003, neogeo, neogeo, neogeo, neogeo, kof2003, ROT0, "SNK Playmore", "The King of Fighters 2003" )

 

this is the code that i have for my rom, i do not have the rom used in the james code. the game do not enter, presents a green flash and exit, showing a signal sigsegv error. I have loaded all kof exept 2003.Could some body help me? If you think i have wrong rom please send me PM whit information where can i get the rom for the james code or another that work in mame (mame 0.89). Thanks

Link to comment
Share on other sites

Use, FBA. ANd Have You Tried http://neosource.1emulation.com/ Great Page?

Or Nebula, Kawaks, NeoRAGEx... any one of them will do.

 

Seriously though, have you double- or even triple-checked the code so that it matches exactly to your files?

Edited by James
Link to comment
Share on other sites

Hi, a have trying to load kof2003 but a have errors. I compiled the code posted by james whit out problem, but i think a have not the correct files or an error in my code.

 

ROM_START( kof2003 )

ROM_REGION( 0x800000, REGION_CPU1, 0 )

ROM_LOAD16_WORD_SWAP( "271-p1.bin", 0x000000, 0x400000, CRC(92ed6ee3) SHA1(5e7e21eb40dfcc453ba73808760d5ddedd49c58a) )

ROM_LOAD16_WORD_SWAP( "271-p2.bin", 0x100000, 0x400000, CRC(5d3d8bb3) SHA1(7f2341f14ca12ff5721eb038b3496228a1f34b60) )

 

NEO_SFIX_128K( "271-s1.rom", CRC(7c7829aa) SHA1(22f8d38d1d0891295d0593741d9477fbe6b4f48c))

 

NEO_BIOS_SOUND_512K( "271-m1d.bin", CRC(0e86af8f) SHA1(769102b67bb1a699cfa5674d66cdb46ae633cb65) )

 

ROM_REGION( 0x1000000, REGION_SOUND1, ROMREGION_SOUNDONLY )

ROM_LOAD( "271-v1d.rom", 0x000000, 0x400000, CRC(d2b8aa5e) SHA1(498f0556c1de56822141f8043f1ce20444f4ed0a) )

ROM_LOAD( "271-v2d.rom", 0x400000, 0x400000, CRC(71956ee2) SHA1(a890941e60db358cf45b58909f4719f4826f3bb1) )

ROM_LOAD( "271-v3d.rom", 0x800000, 0x400000, CRC(ddbbb199) SHA1(0eea4b064bdb8daa03c354fe0a0aa27c4c665bda) )

ROM_LOAD( "271-v4d.rom", 0xc00000, 0x400000, CRC(01b90c4f) SHA1(387164aa1995d8c11ed939b3afbc294d86d2e27f) )

 

NO_DELTAT_REGION

ROM_REGION( 0x4000000, REGION_GFX3, 0 )

ROM_LOAD16_BYTE( "271-c1d.rom", 0x0000000, 0x800000, CRC(e42fc226) SHA1(1cd9364993e141facdcdd53ec2277df7b275d8a7) )

ROM_LOAD16_BYTE( "271-c2d.rom", 0x0000001, 0x800000, CRC(1b5e3b58) SHA1(0eb254477a9479541291e43e415310852a0f0bed) )

ROM_LOAD16_BYTE( "271-c3d.rom", 0x1000000, 0x800000, CRC(d334fdd9) SHA1(1efe30b4f56a55e25ab518cf6999de797b5e407c) )

ROM_LOAD16_BYTE( "271-c4d.rom", 0x1000001, 0x800000, CRC(0d457699) SHA1(ec73d0c9fc7094d0ac6c0986a6e07cde25893e57) )

ROM_LOAD16_BYTE( "271-c5d.rom", 0x2000000, 0x800000, CRC(8a91aae4) SHA1(802f4baacf801646be1ef686e105b2e867a6a5df) )

ROM_LOAD16_BYTE( "271-c6d.rom", 0x2000001, 0x800000, CRC(9f8674b8) SHA1(65964f40b2227d020023fb436579927e65807dcd) )

ROM_LOAD16_BYTE( "271-c7d.rom", 0x3000000, 0x800000, CRC(374ea523) SHA1(613827d72c6181f3e08353750c9af0c4dbad020b) )

ROM_LOAD16_BYTE( "271-c8d.rom", 0x3000001, 0x800000, CRC(75211f4d) SHA1(d82f044e816ee539ff131d9c931200c818d34cd0) )

ROM_END

 

 

GAMEB( 2003, kof2003,  neogeo,  neogeo, neogeo, neogeo, kof2003,  ROT0, "SNK Playmore", "The King of Fighters 2003" )

 

this is the code that i have for my rom, i do not have the rom used in the james code. the game do not enter, presents a green flash and exit, showing a signal sigsegv error. I have loaded all kof exept 2003.Could some body help me? If you think i have wrong rom please send me PM whit information where can i get the rom for the james code or another that work in mame (mame 0.89). Thanks

 

 

Where is the rest of the code ? and that is not kof2003 that is kof2003b which is the bootleg

Link to comment
Share on other sites

Try this for kof2003b If this fails please send me a PM as I might be able to send you my source AS i am sure it can give you a better idea of how the code is

 

 

 

 

ROM_START( kof2003b ) /* Uni-Bios Fix - Bootleg Set 1 */
ROM_REGION( 0x800000, REGION_CPU1, 0 ) 
ROM_LOAD16_WORD_SWAP( "271-p1bl.bin" , 0x100000, 0x400000, CRC(92ed6ee3) SHA1(5e7e21eb40dfcc453ba73808760d5ddedd49c58a) )
ROM_LOAD16_WORD_SWAP( "271-p2bl.bin" , 0x500000, 0x200000, CRC(5d3d8bb3) SHA1(7f2341f14ca12ff5721eb038b3496228a1f34b60) )
ROM_CONTINUE( 0x000000, 0x100000 )
ROM_CONTINUE( 0x000000, 0x100000 )

NEO_SFIX_128K( "271-s1d.bin", CRC(beea2419) SHA1(d3a9d7bf1b3c9c51e4381c2adee33081443744af) )

NEO_BIOS_SOUND_512K( "271-m1d.bin", CRC(0e86af8f) SHA1(769102b67bb1a699cfa5674d66cdb46ae633cb65) )

ROM_REGION( 0x1000000, REGION_SOUND1, ROMREGION_SOUNDONLY )
/* decrypted */
ROM_LOAD( "271-v1d.bin", 0x000000, 0x1000000, CRC(2964f36e) SHA1(bfc52f81354eb57e27acb3b80fe1547b9e070293) )

NO_DELTAT_REGION

ROM_REGION( 0x6000000, REGION_GFX3, 0 )
/* decrypted */
ROM_LOAD16_BYTE( "271-c1d.bin", 0x0000000, 0x1000000, CRC(c29acd28) SHA1(8a10409c5a9ad95fa9b56e94c14f1b96101fb179) ) /* Plane 0,1 */
ROM_LOAD16_BYTE( "271-c2d.bin", 0x0000001, 0x1000000, CRC(328e80b1) SHA1(c7f8069488be1a88a2ea03718b6a131f5c96bd3f) ) /* Plane 2,3 */
ROM_LOAD16_BYTE( "271-c3d.bin", 0x2000000, 0x1000000, CRC(020a11f1) SHA1(85cfae76234f72b0039ebc02f931bb2a9c10b1af) ) /* Plane 0,1 */
ROM_LOAD16_BYTE( "271-c4d.bin", 0x2000001, 0x1000000, CRC(991b5ed2) SHA1(99c4c470bc9cb388773e27de6df4a16803fc7b45) ) /* Plane 2,3 */
ROM_END

 

GAMEB( 2003, kof2003b, kof2003,	neogeo, neogeo, neogeo, neogeo,   ROT0, "Playmore Corporation", "The King of Fighters 2003 (BootLeg Set 1)" )

 

 

in src\machine\neogeo.c

 

/* kof2003 bootleg init info */
static data16_t kof2003_tbl[4096];

READ16_HANDLER( kof2003_r)
{
return kof2003_tbl[offset];
}

WRITE16_HANDLER( kof2003_w )
{
data = COMBINE_DATA(&kof2003_tbl[offset]);
if (offset == 0x1ff0/2 || offset == 0x1ff2/2) {	
 UINT8* cr = (UINT8 *)kof2003_tbl;
 UINT32 address = (cr[0x1ff3]<<16)|(cr[0x1ff2]<<8)|cr[0x1ff1];
 UINT8 prt = cr[0x1ff2];
 UINT8* mem = (UINT8 *)memory_region(REGION_CPU1);
 
 cr[0x1ff0] =  0xa0;
 cr[0x1ff1] &= 0xfe;
 cr[0x1ff3] &= 0x7f;
 neogeo_set_cpu1_second_bank(address+0x100000);
 
 mem[0x58196] = prt;
}
}

WRITE16_HANDLER( kof2003p_w )
{
data = COMBINE_DATA(&kof2003_tbl[offset]);
if (offset == 0x1ff0/2 || offset == 0x1ff2/2) {
 UINT8* cr = (UINT8 *)kof2003_tbl;
 UINT32 address = (cr[0x1ff3]<<16)|(cr[0x1ff2]<<8)|cr[0x1ff0];
 UINT8 prt = cr[0x1ff2];
 UINT8* mem = (UINT8 *)memory_region(REGION_CPU1);
 
 cr[0x1ff0] &= 0xfe;
 cr[0x1ff3] &= 0x7f;
 neogeo_set_cpu1_second_bank(address+0x100000);
 
 mem[0x58196] = prt;
}
}

 

in src\machine\neogeo.c

 

          if (!strcmp(Machine->gamedrv->name,"kof2003b") ||
!strcmp(Machine->gamedrv->name,"kof2003a") ||
!strcmp(Machine->gamedrv->name,"kof2k3up"))
{
 /* special ROM banking handler */
 memory_install_read16_handler (0, ADDRESS_SPACE_PROGRAM, 0x2fe000, 0x2fffff, 0, 0, kof2003_r);

 /* additional protection */
 memory_install_write16_handler(0, ADDRESS_SPACE_PROGRAM, 0x2fe000, 0x2fffff, 0, 0, kof2003_w);
}

Edited by James
Link to comment
Share on other sites

Did the driver work ?

 

No, i have the same problem, i think due to my rom set is not the same that you code, these are my rom sets

 

kof2003.zip

 

271-p1.bin CRC(92ed6ee3) size 4,194,304

271-p2.bin CRC(5d3d8bb3) size 4,194,304

271-s1.rom CRC(7c7829aa) size 131,072

271-m1d.bin CRC(0e86af8f) size 524,288

271-v1d.rom CRC(d2b8aa5e) size 4,194,304

271-v2d.rom CRC(71956ee2) size 4,194,304

271-v3d.rom CRC(ddbbb199) size 4,194,304

271-v4d.rom CRC(01b90c4f) size 4,194,304

271-c1d.rom CRC(e42fc226) size 8,388,608

271-c2d.rom CRC(1b5e3b58) size 8,388,608

271-c3d.rom CRC(d334fdd9) size 8,388,608

271-c4d.rom CRC(0d457699) size 8,388,608

271-c5d.rom CRC(8a91aae4) size 8,388,608

271-c6d.rom CRC(9f8674b8) size 8,388,608

271-c7d.rom CRC(374ea523) size 8,388,608

271-c8d.rom CRC(75211f4d) size 8,388,608

 

and kof 2003b.zip:

 

271-p1bl.bin CRC(92ed6ee3) size 4,194,304

271-p2bl.bin CRC(bf7bf5fe) size 3,145,728

271-s1bl.bin CRC(3ba05252) size 131,072

271-m1d.bin CRC(0e86af8f) size 524,288

271-v1d.rom CRC(2058ec5e) size 16,777,216

271-c1d.rom CRC(c29acd28) size 16,777,216

271-c2d.rom CRC(328e80b1) size 16,777,216

271-c3d.rom CRC(20a11f1) size 16,777,216

271-c4d.rom CRC(991b5ed) size 16,777,216

271-c5d.rom CRC(a47ca14a) size 16,777,216

271-c6d.rom CRC(a47ca14a) size 16,777,216

 

I have compiled the code with out problems then i think the roms are wrong. If you know a link where i can download the correct files for you code please send me a PM, i will thank you a lot

Link to comment
Share on other sites

IMHO you have a problem...

 

I have kof2003 working on kawaks148dev. Your kof2003 set bears no relationship to mine at all. You are missing all of the 16meg roms.

 

With kof2003b, the file names and sizes agree, although many of the CRCs differ. A problem is the fact that your 271-c5d.rom and 271-c6d.rom files are identical, indicating a bad dump.

 

To give you an idea, this is what kawaks148dev needs (neogeo roms omitted)

 

kof2003                             262144	c521b5bc  	271-bios.bin
kof2003                           16777216	c29acd28  	271-c1d.bin 
kof2003                           16777216	328e80b1  	271-c2d.bin 
kof2003                           16777216	020a11f1  	271-c3d.bin 
kof2003                           16777216	991b5ed2  	271-c4d.bin 
kof2003                           16777216	c2de8b66  	271-c5d.bin 
kof2003                           16777216	3ff750db  	271-c6d.bin 
kof2003                             524288	0e86af8f  	271-m1d.bin 
kof2003                            4194304	b9da070c  	271-p1.bin  
kof2003                            4194304	da3118c4  	271-p2.bin  
kof2003                            1048576	5cefd0d2  	271-p3.bin  
kof2003                            1048576	59d376da  	271-p3d.bin 
kof2003                           16777216	2058ec5e  	271-v1d.bin 

kof2003b                          16777216	c29acd28  	271-c1d.bin 
kof2003b                          16777216	328e80b1  	271-c2d.bin 
kof2003b                          16777216	020a11f1  	271-c3d.bin 
kof2003b                          16777216	991b5ed2  	271-c4d.bin 
kof2003b            	             16777216	c2de8b66  	271-c5d.bin 
kof2003b            	             16777216	3ff750db  	271-c6d.bin 
kof2003b            	               524288	0e86af8f  	271-m1d.bin 
kof2003b            	              4194304	92ed6ee3  	271-p1bl.bin
kof2003b            	              3145728	5d3d8bb3  	271-p2bl.bin
kof2003b            	               131072	482c48a5  	271-s1bl.bin
kof2003b            	             16777216	2058ec5e  	271-v1d.bin
Edited by robbbert
Link to comment
Share on other sites

Did the driver work ?

 

No, i have the same problem, i think due to my rom set is not the same that you code, these are my rom sets

 

kof2003.zip

 

271-p1.bin CRC(92ed6ee3) size 4,194,304

271-p2.bin CRC(5d3d8bb3) size 4,194,304

271-s1.rom CRC(7c7829aa) size 131,072

271-m1d.bin CRC(0e86af8f) size 524,288

271-v1d.rom CRC(d2b8aa5e) size 4,194,304

271-v2d.rom CRC(71956ee2) size 4,194,304

271-v3d.rom CRC(ddbbb199) size 4,194,304

271-v4d.rom CRC(01b90c4f) size 4,194,304

271-c1d.rom CRC(e42fc226) size 8,388,608

271-c2d.rom CRC(1b5e3b58) size 8,388,608

271-c3d.rom CRC(d334fdd9) size 8,388,608

271-c4d.rom CRC(0d457699) size 8,388,608

271-c5d.rom CRC(8a91aae4) size 8,388,608

271-c6d.rom CRC(9f8674b8) size 8,388,608

271-c7d.rom CRC(374ea523) size 8,388,608

271-c8d.rom CRC(75211f4d) size 8,388,608

 

and kof 2003b.zip:

 

271-p1bl.bin CRC(92ed6ee3) size 4,194,304

271-p2bl.bin CRC(bf7bf5fe) size 3,145,728

271-s1bl.bin CRC(3ba05252) size 131,072

271-m1d.bin CRC(0e86af8f) size 524,288

271-v1d.rom CRC(2058ec5e) size 16,777,216

271-c1d.rom CRC(c29acd28) size 16,777,216

271-c2d.rom CRC(328e80b1) size 16,777,216

271-c3d.rom CRC(20a11f1) size 16,777,216

271-c4d.rom CRC(991b5ed) size 16,777,216

271-c5d.rom CRC(a47ca14a) size 16,777,216

271-c6d.rom CRC(a47ca14a) size 16,777,216

 

I have compiled the code with out problems then i think the roms are wrong. If you know a link where i can download the correct files for you code please send me a PM, i will thank you a lot

 

 

 

Check PM :(

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...