Welcome!

General Emulation => MAME => Topic started by: oliverkof on December 06, 2005, 08:06:22 PM

Title: The King of Fighters 96 (Bootleg)
Post by: oliverkof on December 06, 2005, 08:06:22 PM
There is new kof96 roms(bootleg). :biggrin:
Does anyone provide the driver for MAME (&/or FBA) please?  :biggrin:
Title: Re: The King of Fighters 96 (Bootleg)
Post by: iq_132 on December 06, 2005, 10:20:42 PM
From mame plus

Code: [Select]
ROM_START( kof96ep )
ROM_REGION( 0x400000, REGION_CPU1, 0 )
ROM_LOAD16_WORD_SWAP( "214-p1.bin", 0x000000, 0x100000, CRC(52755d74) SHA1(4232d627f1d2e6ea9fc8cf01571d77d4d5b8a1bb) )
ROM_LOAD16_WORD_SWAP( "214-p2.bin", 0x100000, 0x200000, CRC(002ccb73) SHA1(3ae8df682c75027ca82db25491021eeba00a267e) )
ROM_LOAD16_WORD_SWAP( "kof96m_ep1.rom", 0x300000, 0x080000, CRC(e5f2fb43) )

NEO_SFIX_128K( "214-s1.bin", CRC(1254cbdb) SHA1(fce5cf42588298711a3633e9c9c1d4dcb723ac76) )

NEO_BIOS_SOUND_128K( "214-m1.bin", CRC(dabc427c) SHA1(b76722ed142ee7addceb4757424870dbd003e8b3) )

ROM_REGION( 0xa00000, REGION_SOUND1, 0 )
ROM_LOAD( "214-v1.bin", 0x000000, 0x400000, CRC(63f7b045) SHA1(1353715f1a8476dca6f8031d9e7a401eacab8159) )
ROM_LOAD( "214-v2.bin", 0x400000, 0x400000, CRC(25929059) SHA1(6a721c4cb8f8dc772774023877d4a9f50d5a9e31) )
ROM_LOAD( "214-v3.bin", 0x800000, 0x200000, CRC(92a2257d) SHA1(5064aec78fa0d104e5dd5869b95382aa170214ee) )

NO_DELTAT_REGION

ROM_REGION( 0x2000000, REGION_GFX3, 0 )
ROM_LOAD16_BYTE( "214-c1.bin", 0x0000000, 0x400000, CRC(7ecf4aa2) SHA1(f773c4c1f05d58dd37e7bb2ac1d1e0ec43998a71) ) /* Plane 0,1 */
ROM_LOAD16_BYTE( "214-c2.bin", 0x0000001, 0x400000, CRC(05b54f37) SHA1(cc31653fe4cb05201fba234e080cb9c7a7592b1b) ) /* Plane 2,3 */
ROM_LOAD16_BYTE( "214-c3.bin", 0x0800000, 0x400000, CRC(64989a65) SHA1(e6f3749d43be0afa9dad7b085cb782ba694252ca) ) /* Plane 0,1 */
ROM_LOAD16_BYTE( "214-c4.bin", 0x0800001, 0x400000, CRC(afbea515) SHA1(ae875052728de33174827705646bd14cf3937b5c) ) /* Plane 2,3 */
ROM_LOAD16_BYTE( "214-c5.bin", 0x1000000, 0x400000, CRC(2a3bbd26) SHA1(7c1a7e50a10a1b082e0d0d515c34135ee9f995ac) ) /* Plane 0,1 */
ROM_LOAD16_BYTE( "214-c6.bin", 0x1000001, 0x400000, CRC(44d30dc7) SHA1(c8ae001e37224b55d9e4a4d99f6578b4f6eb055f) ) /* Plane 2,3 */
ROM_LOAD16_BYTE( "214-c7.bin", 0x1800000, 0x400000, CRC(3687331b) SHA1(2be95caab76d7af51674f93884330ba73a6053e4) ) /* Plane 0,1 */
ROM_LOAD16_BYTE( "214-c8.bin", 0x1800001, 0x400000, CRC(fa1461ad) SHA1(6c71a7f08e4044214223a6bf80984582ab5e0328) ) /* Plane 2,3 */
ROM_END

Code: [Select]
DRIVER_INIT( kof96ep ) // Robert
{
int i,j;
UINT8 *rom = memory_region( REGION_CPU1 );
for ( i=0; i < 0x080000; i++ )
{
j=i+0x300000;
if (rom[j] - rom[i] == 8) rom[j]=rom[i];
}
memcpy(rom, rom+0x300000, 0x080000);

init_neogeo();
}


Here's the decrypt code I came up with a while back...
Code: [Select]
DRIVER_INIT( kof96ep )
{
int i;
UINT8 *rom = memory_region( REGION_CPU1 );
for (i = 0; i < 0x80000; i++)
if ((rom[0x300000 + i]^0x08) == rom[i])
rom[0x300000 + i] ^= 0x08;
memcpy (rom, rom + 0x300000, 0x80000);

init_neogeo();
}

Pretty similar to what robert did.
Title: Re: The King of Fighters 96 (Bootleg)
Post by: KingHanco on December 07, 2005, 04:06:15 AM
Why I'm getting a red warning on the screen? :biggrin:

I add this !strcmp(Machine->gamedrv->name,"kof96ep") || and doesn't seem to help to get rid of it.
Title: Re: The King of Fighters 96 (Bootleg)
Post by: KingHanco on December 07, 2005, 06:09:04 AM
Because once it happens, it corrupts your nvram. You need to delete nvram\kof96ep.nv and run it again.

Crazy me. I forgotting to deleted those kof96ep.nv and kof96ep.cfg. Ha Ha Ha... :biggrin: