Jump to content

NeoGeo games drivers - I need help.


Recommended Posts

http://www.savefile.com/projects.php?pid=601581

 

I need help with these. kof2003, kof2003b, kof2003a, kof2003p and kof2k3up.

 

I gotting 4 errors. Here is the source on those. Please help me solve the probelms that I'm getting. Another thing is the kof2003 might not boot. I try this by it self before and it just return back onto the Mame32 screen.

 

I left everything alone except for fixing some things. Like rename the data16_t into UINT16 because those will not work on the lates source. I left the roms settings alone as well.

 

The errors that I'm getting is from these.

 

ROM_START( kof2003a ) /* Uni-Bios Fix - Bootleg Set 2 */
ROM_REGION( 0x800000, REGION_CPU1, 0 )
ROM_LOAD16_WORD_SWAP( "271-p1d.bin", 0x000000, 0x400000, CRC(3b58d2e5) SHA1(9524cd6f90e8d3037eeeb895b4da1d13f18c1e4a) )
ROM_LOAD16_WORD_SWAP( "271-p2d.bin", 0x400000, 0x400000, CRC(5934d72b) SHA1(6814b368f40f342d68db4d676bb54fb459b7c7eb) )

NEO_SFIX_512K( "271t-s1d.bin", CRC(071a8b1e) SHA1(92c73931f22ba5cae8b15a1fc2c773bb7f8ed702) )

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

ROM_REGION( 0x1000000, REGION_SOUND1, 0 )
/* decrypted */
ROM_LOAD( "271-v1d.bin", 0x000000, 0x1000000, CRC(2058ec5e) SHA1(567fdf328f87551a949dc601f4e71c55368debf0) )

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_LOAD16_BYTE( "271-c5d.bin", 0x4000000, 0x1000000, CRC(c2de8b66) SHA1(40c2ea48fc20d470163a9dbb40c0276fc4cfceb9) ) /* Plane 0,1 */
ROM_LOAD16_BYTE( "271-c6d.bin", 0x4000001, 0x1000000, CRC(3ff750db) SHA1(714f14a2eb2df6f25d10a6b6aff4b3adfbc7a5dc) ) /* Plane 2,3 */
ROM_END

ROM_START( kof2003p ) /* Uni-Bios Fix - Bootleg Hack */
     ROM_REGION( 0x700000, REGION_CPU1, 0 )
ROM_LOAD16_WORD_SWAP( "271-p1ex.bin", 0x000000, 0x100000, CRC(dacf5b2d) SHA1(b776f3cf2a720325fed8f8908f18eacdc3cb05aa) )
ROM_LOAD16_WORD_SWAP( "271-p1bl.bin", 0x100000, 0x400000, CRC(92ed6ee3) SHA1(5e7e21eb40dfcc453ba73808760d5ddedd49c58a) )
ROM_LOAD16_WORD_SWAP( "271-p3ex.bin", 0x500000, 0x200000, CRC(0d0a5861) SHA1(823dd3d11574a42f98588a6d1f9bb5d721f34be2) )

NEO_SFIX_512K( "271p-s1d.bin", CRC(09e3f2bd) SHA1(733488b3c06262e67cb771ed76e8bbbe16cf7dda) )

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

ROM_REGION( 0x1000000, REGION_SOUND1, 0 )
/* decrypted */
ROM_LOAD( "271-v1d.bin", 0x000000, 0x1000000, CRC(2058ec5e) SHA1(567fdf328f87551a949dc601f4e71c55368debf0) )

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_LOAD16_BYTE( "271-c5d.bin", 0x4000000, 0x1000000, CRC(c2de8b66) SHA1(40c2ea48fc20d470163a9dbb40c0276fc4cfceb9) ) /* Plane 0,1 */
ROM_LOAD16_BYTE( "271-c6d.bin", 0x4000001, 0x1000000, CRC(3ff750db) SHA1(714f14a2eb2df6f25d10a6b6aff4b3adfbc7a5dc) ) /* Plane 2,3 */
ROM_END

 

I send James33 these and haven't gotting a respond yet from him.

Edited by KillerBee
Link to comment
Share on other sites

  • Replies 51
  • Created
  • Last Reply

Top Posters In This Topic

Kof2003a does not work yet ( The rom set is not complete ) 

Makes me wonder where you got that driver from. Because of some of the text written in it.

 

http://neosource.1emulation.com/forums/index.php?topic=462.0

 

What about these sets?

 

Incluir esta línea de código en el fichero src/driver.c:

DRIVER( kof2003 ) /* 0271 (c) 2003 SNK Playmore */
DRIVER( kof2003b ) /* 0271 (c) 2003 bootleg */
DRIVER( kof2003h ) /* 0271 (c) 2003 bootleg */
DRIVER( kof2003p ) /* 0271 (c) 2003 bootleg */
DRIVER( kof2003u ) /* 0271 (c) 2003 bootleg */
DRIVER( kof2004h ) /* 0271 (c) 2004 bootleg */

Modificar las siguientes líneas de código en el fichero src/machine/neogeo.c:

* original:
if (system_bios == 0) // Europe MVS Ver.2
{
    /* Set up machine country */
    src = readinputport(5);
    res = src & 0x3;
* modificada:
if ( (system_bios == 0) && (strcmp(Machine->gamedrv->name,"kof2003")) ) // Europe MVS Ver.2
{
    /* Set up machine country */
    src = readinputport(5);
    res = src & 0x3;

* original:
if (system_bios == 0) // Europe, 1 Slot
 {
	 /* Remove memory check for now */
	 mem16[0x11b00/2] = 0x4e71;
	 mem16[0x11b02/2] = 0x4e71;
* modificada:
if ( (system_bios == 0) && (strcmp(Machine->gamedrv->name,"kof2003")) ) // Europe, 1 Slot
 {
	 /* Remove memory check for now */
	 mem16[0x11b00/2] = 0x4e71;
	 mem16[0x11b02/2] = 0x4e71;

Incluir las siguientes líneas de código en el fichero src/drivers/neogeo.c:

* esto va después de la última definición de ROM_START:

ROM_START( kof2003 )
ROM_REGION( 0x900000, REGION_CPU1, 0 )
ROM_LOAD32_WORD_SWAP( "271-p1.bin", 0x000000, 0x400000, CRC(b9da070c) )
ROM_LOAD32_WORD_SWAP( "271-p2.bin", 0x000002, 0x400000, CRC(da3118c4) )
ROM_LOAD16_WORD_SWAP( "271-p3.bin", 0x800000, 0x100000, CRC(5cefd0d2) )
ROM_LOAD16_WORD_SWAP( "271-p3d.bin", 0x800000, 0x100000, CRC(59d376da) )

ROM_REGION( 0x100000, REGION_GFX1, 0 )
ROM_FILL(                 0x000000, 0x100000, 0 )
ROM_REGION( 0x20000, REGION_GFX2, 0 )
ROM_LOAD( "sfix.sfx",  0x000000, 0x20000, CRC(354029fc) SHA1(4ae4bf23b4c2acff875775d4cbff5583893ce2a1) )

ROM_REGION16_BE( 0x40000, REGION_USER1, 0 )
ROM_LOAD16_WORD_SWAP( "271-bios.bin", 0x00000, 0x040000, CRC(c521b5bc) )
NEOGEO_BIOS

ROM_REGION( 0x90000, REGION_CPU2, 0 )
ROM_LOAD( "sm1.sm1", 0x00000, 0x20000, CRC(97cf998b) SHA1(977387a7c76ef9b21d0b01fa69830e949a9a9626) )
ROM_LOAD( "271-m1d.bin", 	 0x00000, 0x80000, CRC(0e86af8f) )
ROM_RELOAD(             0x10000, 0x80000 )
ROM_REGION( 0x10000, REGION_GFX4, 0 )
ROM_LOAD( "000-lo.lo", 0x00000, 0x10000, CRC(e09e253c) SHA1(2b1c719531dac9bb503f22644e6e4236b91e7cfc) )

ROM_REGION( 0x1000000, REGION_SOUND1, ROMREGION_SOUNDONLY )
ROM_LOAD( "271-v1.bin", 0x000000, 0x1000000, CRC(1d96154b) )


NO_DELTAT_REGION

ROM_REGION( 0x6000000, REGION_GFX3, 0 )
ROM_LOAD16_BYTE( "271-c1d.bin", 0x0000000, 0x1000000, CRC(c29acd28) )
ROM_LOAD16_BYTE( "271-c2d.bin", 0x0000001, 0x1000000, CRC(328e80b1) )
ROM_LOAD16_BYTE( "271-c3d.bin", 0x2000000, 0x1000000, CRC(020a11f1) )
ROM_LOAD16_BYTE( "271-c4d.bin", 0x2000001, 0x1000000, CRC(991b5ed2) )
ROM_LOAD16_BYTE( "271-c5d.bin", 0x4000000, 0x1000000, CRC(c2de8b66) )
ROM_LOAD16_BYTE( "271-c6d.bin", 0x4000001, 0x1000000, CRC(3ff750db) )
ROM_END

ROM_START( kof2003b )
ROM_REGION( 0x800000, REGION_CPU1, 0 )
ROM_LOAD16_WORD_SWAP( "271b-p1.bin", 0x100000, 0x400000, CRC(92ed6ee3) ) 
ROM_LOAD16_WORD_SWAP( "271b-p2.bin", 0x500000, 0x200000, CRC(5d3d8bb3) ) 
ROM_CONTINUE( 0x000000, 0x100000 ) 
ROM_CONTINUE( 0x000000, 0x100000 )

NEO_SFIX_128K( "271b-s1.bin", CRC(482c48a5) )

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

ROM_REGION( 0x1000000, REGION_SOUND1, ROMREGION_SOUNDONLY )
ROM_LOAD( "271-v1.bin", 0x000000, 0x1000000, CRC(1d96154b) )

NO_DELTAT_REGION

ROM_REGION( 0x4000000, REGION_GFX3, 0 )
ROM_LOAD16_BYTE( "271-c1d.bin", 0x0000000, 0x1000000, CRC(c29acd28) ) /* Plane 0,1 */
ROM_LOAD16_BYTE( "271-c2d.bin", 0x0000001, 0x1000000, CRC(328e80b1) ) /* Plane 2,3 */
ROM_LOAD16_BYTE( "271-c3d.bin", 0x2000000, 0x1000000, CRC(020a11f1) ) /* Plane 0,1 */
ROM_LOAD16_BYTE( "271-c4d.bin", 0x2000001, 0x1000000, CRC(991b5ed2) ) /* Plane 2,3 */
ROM_END

ROM_START( kof2003h ) /* This is a bootleg of kof2003 */
/* Encrypted */
ROM_REGION( 0x800000, REGION_CPU1, 0 )
ROM_LOAD16_WORD_SWAP( "271b-p1.bin", 0x100000, 0x400000, CRC(92ed6ee3) ) 
ROM_LOAD16_WORD_SWAP( "271b-p2.bin", 0x500000, 0x200000, CRC(5d3d8bb3) ) 
ROM_CONTINUE( 0x000000, 0x100000 ) 
ROM_CONTINUE( 0x000000, 0x100000 )

/* Encrypted */
ROM_REGION( 0x80000, REGION_GFX1, 0 )
ROM_LOAD( "271b-s1h.bin",0x000000, 0x80000, CRC(f4515195) )
ROM_REGION( 0x20000, REGION_GFX2, 0 )
ROM_LOAD( "sfix.sfx", 0x000000, 0x20000, CRC(354029fc) )

/* Decrypted */
NEO_BIOS_SOUND_512K( "271-m1d.bin", CRC(0e86af8f) )

ROM_REGION( 0x1000000, REGION_SOUND1, ROMREGION_SOUNDONLY )
ROM_LOAD( "271-v1.bin", 0x000000, 0x1000000, CRC(1d96154b) )

NO_DELTAT_REGION

ROM_REGION( 0x4000000, REGION_GFX3, 0 )
ROM_LOAD16_BYTE( "271-c1d.bin", 0x0000000, 0x1000000, CRC(c29acd28) ) /* Plane 0,1 */
ROM_LOAD16_BYTE( "271-c2d.bin", 0x0000001, 0x1000000, CRC(328e80b1) ) /* Plane 2,3 */
ROM_LOAD16_BYTE( "271-c3d.bin", 0x2000000, 0x1000000, CRC(020a11f1) ) /* Plane 0,1 */
ROM_LOAD16_BYTE( "271-c4d.bin", 0x2000001, 0x1000000, CRC(991b5ed2) ) /* Plane 2,3 */
ROM_END

ROM_START( kof2003p ) /* This is a bootleg of kof2003 */
ROM_REGION( 0x800000, REGION_CPU1, 0 )
ROM_LOAD16_WORD_SWAP( "271b-p1p.bin", 0x000000, 0x800000, CRC(efdd5b72) ) 

NEO_SFIX_128K( "271b-s1p.bin", CRC(8e33b485) )

/* Decrypted */
NEO_BIOS_SOUND_512K( "271-m1d.bin", CRC(0e86af8f) )

ROM_REGION( 0x1000000, REGION_SOUND1, ROMREGION_SOUNDONLY )
ROM_LOAD( "271-v1.bin", 0x000000, 0x1000000, CRC(1d96154b) )

NO_DELTAT_REGION

ROM_REGION( 0x4000000, REGION_GFX3, 0 )
ROM_LOAD16_BYTE( "271-c1d.bin", 0x0000000, 0x1000000, CRC(c29acd28) ) /* Plane 0,1 */
ROM_LOAD16_BYTE( "271-c2d.bin", 0x0000001, 0x1000000, CRC(328e80b1) ) /* Plane 2,3 */
ROM_LOAD16_BYTE( "271-c3d.bin", 0x2000000, 0x1000000, CRC(020a11f1) ) /* Plane 0,1 */
ROM_LOAD16_BYTE( "271-c4d.bin", 0x2000001, 0x1000000, CRC(991b5ed2) ) /* Plane 2,3 */
ROM_END

ROM_START( kof2003u ) /* This is a bootleg of kof2003 */
ROM_REGION( 0x800000, REGION_CPU1, 0 )
ROM_LOAD16_WORD_SWAP( "271-p1up.bin", 0x000000, 0x800000, CRC(87294c01) )



NEO_SFIX_128K( "271-s1up.bin", CRC(e5708c0c) )

/* Decrypted */
NEO_BIOS_SOUND_512K( "271-m1d.bin", CRC(0e86af8f) )

ROM_REGION( 0x1000000, REGION_SOUND1, ROMREGION_SOUNDONLY )
ROM_LOAD( "271-v1.bin", 0x000000, 0x1000000, CRC(1d96154b) )

NO_DELTAT_REGION

ROM_REGION( 0x4000000, REGION_GFX3, 0 )
ROM_LOAD16_BYTE( "271-c1d.bin", 0x0000000, 0x1000000, CRC(c29acd28) ) /* Plane 0,1 */
ROM_LOAD16_BYTE( "271-c2d.bin", 0x0000001, 0x1000000, CRC(328e80b1) ) /* Plane 2,3 */
ROM_LOAD16_BYTE( "271-c3d.bin", 0x2000000, 0x1000000, CRC(020a11f1) ) /* Plane 0,1 */
ROM_LOAD16_BYTE( "271-c4d.bin", 0x2000001, 0x1000000, CRC(991b5ed2) ) /* Plane 2,3 */
ROM_END

ROM_START( kof2004h )
ROM_REGION( 0x700000, REGION_CPU1, 0 )
ROM_LOAD16_WORD_SWAP( "271-p1ex.bin", 0x000000, 0x100000, CRC(dacf5b2d) )
ROM_LOAD16_WORD_SWAP( "271-p3ex.bin", 0x100000, 0x400000, CRC(92ed6ee3) )
ROM_LOAD16_WORD_SWAP( "271-p2ex.bin", 0x500000, 0x200000, CRC(0d0a5861) )



NEO_SFIX_128K( "271-s1ex.bin", CRC(a5d78a9a) )

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

ROM_REGION( 0x1000000, REGION_SOUND1, ROMREGION_SOUNDONLY )
ROM_LOAD( "271-v1.bin", 0x000000, 0x1000000, CRC(1d96154b) )

NO_DELTAT_REGION

ROM_REGION( 0x4000000, REGION_GFX3, 0 )
ROM_LOAD16_BYTE( "271-c1d.bin", 0x0000000, 0x1000000, CRC(c29acd28) ) /* Plane 0,1 */
ROM_LOAD16_BYTE( "271-c2d.bin", 0x0000001, 0x1000000, CRC(328e80b1) ) /* Plane 2,3 */
ROM_LOAD16_BYTE( "271-c3d.bin", 0x2000000, 0x1000000, CRC(020a11f1) ) /* Plane 0,1 */
ROM_LOAD16_BYTE( "271-c4d.bin", 0x2000001, 0x1000000, CRC(991b5ed2) ) /* Plane 2,3 */
ROM_END

* esto va después de la última definición de DRIVER_INIT:

/* NEO-PVC */
static UINT16 mv0_prot_offset[ 0x08 ];
static UINT16 mv0_bankswitch_offset[ 2 ];
static int mv0_bankswitch_flg;

static READ16_HANDLER( mv0_prot_r )
{
return mv0_prot_offset[ offset ];
}

static WRITE16_HANDLER( mv0_prot_w )
{
mv0_prot_offset[ offset ] = (mv0_prot_offset[ offset ] & mem_mask) | ((~mem_mask) & data);

if( offset == 0 ){
 UINT8 *ofst8 = (UINT8*)mv0_prot_offset;

 ofst8[ 0x02 ] = ((ofst8[ 0x01 ] >> 4) & 0x01) + ((ofst8[ 0x00 ] & 0x0f) << 1);
 ofst8[ 0x03 ] = ((ofst8[ 0x01 ] >> 5) & 0x01) + (((ofst8[ 0x00 ] >> 4) & 0x0f) << 1);
 ofst8[ 0x04 ] = ((ofst8[ 0x01 ] >> 6) & 0x01) + ((ofst8[ 0x01 ] & 0x0f) << 1);
 ofst8[ 0x05 ] = (ofst8[ 0x01 ] >> 7);
}else if( offset == 5 ){
 UINT8 *ofst8 = (UINT8*)mv0_prot_offset;

 ofst8[ 0x0c ] = (ofst8[ 0x08 ] >> 1) | ((ofst8[ 0x09 ] >> 1) << 4);
 ofst8[ 0x0d ] = (ofst8[ 0x0a ] >> 1) |
     ((ofst8[ 0x08 ] & 0x01) << 4) |
     ((ofst8[ 0x09 ] & 0x01) << 5) |
     ((ofst8[ 0x0a ] & 0x01) << 6) |
     (ofst8[ 0x0b ] << 7);
}
}

// imcomplete
static READ16_HANDLER( mv0_bankswitch_r )
{
if( mv0_bankswitch_offset[ 0 ] == 0xffff && mv0_bankswitch_offset[ 1 ] == 0xffff ){

 mv0_bankswitch_flg = 1;
 if( offset == 0 ){
	 return 0xfea0;
 }else if( offset == 1 ){
	 return 0x7fff;
 }else{
	 return mv0_bankswitch_offset[ offset ];
 }
}else if( mv0_bankswitch_offset[ 0 ] == 0x0000 && mv0_bankswitch_offset[ 1 ] == 0x0000 && mv0_bankswitch_flg == 1 ){

 if( offset == 0 ){
	 return 0x00a0;
 }else if( offset == 1 ){
	 mv0_bankswitch_flg = 0;
	 return 0x0000;
 }else{
	 return mv0_bankswitch_offset[ offset ];
 }
}else{
 return mv0_bankswitch_offset[ offset ];
}
}

static WRITE16_HANDLER( mv0_bankswitch_w )
{
UINT32 bank_addr;

mv0_bankswitch_offset[ offset ] = (mv0_bankswitch_offset[ offset ] & mem_mask) | ((~mem_mask) & data);

bank_addr = (mv0_bankswitch_offset[ 0 ] >> 8) +
   (mv0_bankswitch_offset[ 1 ] << 8) +
   0x100000;

neogeo_set_cpu1_second_bank( bank_addr );
}
/* NEO-PVC */

static void kof2003_px_decrypt( void )
{
const unsigned char xor2[ 0x20 ] = {
 0xb4, 0x0f, 0x40, 0x6c, 0x38, 0x07, 0xd0, 0x3f, 0x53, 0x08, 0x80, 0xaa, 0xbe, 0x07, 0xc0, 0xfa,
 0xd0, 0x08, 0x10, 0xd2, 0xf1, 0x03, 0x70, 0x7e, 0x87, 0x0B, 0x40, 0xf6, 0x2a, 0x0a, 0xe0, 0xf9
};

int i;
int ofst;
UINT8 *rom, *buf;

rom = memory_region( REGION_CPU1 );

for( i = 0x100000; i < 0x800000; i++ ){
 rom[ i ] ^= xor2[ (i % 0x20) ];
}

for( i = 0x100000; i < 0x800000; i += 4 ){
 UINT16 *rom16 = (UINT16*)&rom[ i + 1 ];
 *rom16 = BITSWAP16( *rom16, 15, 14, 13, 12, 4, 5, 6, 7, 8, 9, 10, 11, 3, 2, 1, 0 );
}

buf = malloc( 0x800000 );
memcpy( buf, rom, 0x800000 );

for( i = 0; i < 0x0100000 / 0x10000; i++ ){
 ofst = (i & 0xf0) + BITSWAP8( (i & 0x0f), 7, 6, 5, 4, 1, 0, 3, 2 );
 memcpy( &rom[ i * 0x10000 ], &buf[ ofst * 0x10000 ], 0x10000 );
}

for( i = 0x100000; i < 0x800000; i += 0x100 ){
 ofst = (i & 0xf000ff) + 
     ((i & 0x000f00) ^ 0x00300) +
     (BITSWAP8( ((i & 0x0ff000) >> 12), 4, 5, 6, 7, 1, 0, 3, 2 ) << 12);

 memcpy( &rom[ i ], &buf[ ofst ], 0x100 );
}

free( buf );

buf = malloc(0x900000);
memcpy( buf, rom, 0x900000 );

memcpy( &rom[0x100000], &buf[0x800000], 0x100000 );
memcpy( &rom[0x200000], &buf[0x100000], 0x700000 );

free(buf);
}

static void kof2003_sx_decrypt( void )
{
int i;
int tx_size = memory_region_length( REGION_GFX1 );
int rom_size = memory_region_length( REGION_GFX3 );
UINT8 *src;
UINT8 *dst;

src = memory_region( REGION_GFX3 ) + rom_size - 0x1000000 - 0x80000;
dst = memory_region( REGION_GFX1 );

for( i = 0; i < tx_size / 2; i++ ){
 dst[ i ] = src[ (i & ~0x1f) + ((i & 7) << 2) + ((~i & 8) >> 2) + ((i & 0x10) >> 4) ];
}

src = memory_region( REGION_GFX3 ) + rom_size - 0x80000;
dst = memory_region( REGION_GFX1 ) + 0x80000;

for( i = 0; i < tx_size / 2; i++ ){
 dst[ i ] = src[ (i & ~0x1f) + ((i & 7) << 2) + ((~i & 8) >> 2) + ((i & 0x10) >> 4) ];
}

dst = memory_region( REGION_GFX1 );
for( i = 0; i < tx_size; i++ ){
 dst[ i ] = BITSWAP8( dst[ i ] ^ 0xd2, 4, 0, 7, 2, 5, 1, 6, 3 );
}
}

static void kof2003_vx_decrypt( void )
{
const unsigned char xor[ 0x08 ] = {
 0x4b, 0xa4, 0x63, 0x46, 0xf0, 0x91, 0xea, 0x62
};

int ofst;

int rom_size = memory_region_length( REGION_SOUND1 );
UINT8 *rom = memory_region( REGION_SOUND1 );
UINT8 *buf = malloc( rom_size );

memcpy( buf, rom, rom_size );

for( int i = 0; i < rom_size; i++ ){
 ofst = (i & 0xfefffe) |
     ((i & 0x010000) >> 16) |
     ((i & 0x000001) << 16);

 ofst ^= 0xa7001;

 rom[ ofst ] = buf[ ((i + 0xff14ea) & 0xffffff) ] ^ xor[ (ofst & 0x07) ];
}

free( buf );
}

DRIVER_INIT( kof2003 )
{
kof2003_px_decrypt();
kof2003_sx_decrypt();
kof2003_vx_decrypt();

neogeo_fix_bank_type = 2;
init_neogeo();

install_mem_read16_handler(0, 0x2fe000, 0x2fffff, MRA16_RAM );
install_mem_write16_handler(0, 0x2fe000, 0x2fffff, MWA16_RAM );

install_mem_read16_handler(0, 0x2fffe0, 0x2fffef, mv0_prot_r );
install_mem_write16_handler(0, 0x2fffe0, 0x2fffef, mv0_prot_w );

install_mem_read16_handler(0, 0x2ffff0, 0x2ffff3, mv0_bankswitch_r );
install_mem_write16_handler(0, 0x2ffff0, 0x2ffff3, mv0_bankswitch_w );

install_mem_read16_handler(0, 0xc00000, 0xc3ffff, MRA16_BANK3 );  // 256k bios
}



static READ16_HANDLER( kof2003b_prot_r )
{
return mv0_bankswitch_offset[ 1 ];
}

static void kof2003b_s1_decrypt( void )
{
int rom_size = memory_region_length( REGION_GFX1 );
UINT8 *rom = memory_region( REGION_GFX1 );
UINT8 *buf = malloc( rom_size );

memcpy( buf, rom, rom_size );

for( int i = 0; i < rom_size; i += 0x10 ){
 memcpy( &rom[ i        ], &buf[ i + 0x08 ], 0x08 );
 memcpy( &rom[ i + 0x08 ], &buf[ i        ], 0x08 );
}

free( buf );
}

DRIVER_INIT( kof2003b )
{
kof2003b_s1_decrypt();
kof2003_vx_decrypt();

init_neogeo();

install_mem_read16_handler( 0, 0x2fe000, 0x2fffff, MRA16_RAM );
install_mem_write16_handler( 0, 0x2fe000, 0x2fffff, MWA16_RAM );

install_mem_read16_handler( 0, 0x2ffff0, 0x2ffff3, mv0_bankswitch_r );
install_mem_write16_handler( 0, 0x2ffff0, 0x2ffff3, mv0_bankswitch_w );

install_mem_read16_handler( 0, 0x058196, 0x058197, kof2003b_prot_r );
}



DRIVER_INIT( kof2003h )
{
kof2003_vx_decrypt();

install_mem_read16_handler( 0, 0x2fe000, 0x2fffff, MRA16_RAM );
install_mem_write16_handler( 0, 0x2fe000, 0x2fffff, MWA16_RAM );

install_mem_read16_handler( 0, 0x2ffff0, 0x2ffff3, mv0_bankswitch_r );
install_mem_write16_handler( 0, 0x2ffff0, 0x2ffff3, mv0_bankswitch_w );

install_mem_read16_handler( 0, 0x058196, 0x058197, kof2003b_prot_r );

/* Descrambling S1 by dorriga */
UINT8 *srom = memory_region(REGION_GFX1);
UINT8 *dst2 = (UINT8*)malloc(0x80000);
memcpy( dst2+0x00000, srom+0x60000, 0x20000 );
memcpy( dst2+0x20000, srom+0x40000, 0x20000 );
memcpy( dst2+0x40000, srom+0x20000, 0x20000 );
memcpy( dst2+0x60000, srom+0x00000, 0x20000 );
memcpy( srom, dst2, 0x80000 );
free(dst2);

neogeo_fix_bank_type = 2;
init_neogeo();
}



DRIVER_INIT( kof2003p )
{
kof2003_vx_decrypt();
init_neogeo();
}



// original code by bms1221
static void kof2003up_px_decrypt( void )
{
UINT8 *src = memory_region(REGION_CPU1);
memcpy(src+0x100000, src, 0x600000);
memcpy(src, src+0x700000, 0x100000);

int ofst;

UINT8 *rom = memory_region( REGION_CPU1 ) + 0xfe000;
UINT8 *buf = memory_region( REGION_CPU1 ) + 0xd0610;

for( int i = 0; i < 0x2000 / 2; i++ ){
 ofst = (i & 0xff00) + BITSWAP8( (i & 0x00ff), 7, 6, 0, 4, 3, 2, 1, 5 );
 memcpy( &rom[ i * 2 ], &buf[ ofst * 2 ], 2 );
}
}

static void kof2003up_sx_decrypt( void )
{
   UINT8 *rom = memory_region( REGION_GFX1 );
   int rom_size = memory_region_length( REGION_GFX1 );

   for( int i = 0; i < rom_size; i++ ){
       rom[ i ] = BITSWAP8( rom[ i ], 7, 6, 0, 4, 3, 2, 1, 5 );
   }
}

DRIVER_INIT( kof2003u )
{
kof2003up_px_decrypt();
kof2003up_sx_decrypt();
kof2003_vx_decrypt();

init_neogeo();

install_mem_read16_handler( 0, 0x2fe000, 0x2fffff, MRA16_RAM );
install_mem_write16_handler( 0, 0x2fe000, 0x2fffff, MWA16_RAM );

install_mem_read16_handler( 0, 0x2ffff0, 0x2ffff3, mv0_bankswitch_r );
install_mem_write16_handler( 0, 0x2ffff0, 0x2ffff3, mv0_bankswitch_w );

install_mem_read16_handler( 0, 0x058196, 0x058197, kof2003b_prot_r );
}



static data16_t kof2003_tbl[4096];

static READ16_HANDLER( kof2k4ex_prot_r)
{
     return kof2003_tbl[offset];
}

static WRITE16_HANDLER( kof2k4ex_bankswitch_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;
     }
}

DRIVER_INIT( kof2004h )
{
kof2003_vx_decrypt();

install_mem_write16_handler (0, 0x2fe000, 0x2fffff, kof2k4ex_bankswitch_w);

install_mem_read16_handler (0, 0x2fe000, 0x2fffff, kof2k4ex_prot_r);

init_neogeo();
}

* y esto va al final del fichero (recuerda dejar una línea en blanco al final):

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

/* bootleg */
GAMEB( 2003, kof2003b,   kof2003,   neogeo, neogeo, neogeo,  kof2003b,   ROT0, "bootleg", "The King of Fighters 2003 (bootleg) (set 1)" )
GAMEB( 2003, kof2003h, kof2003, neogeo, neogeo, neogeo, kof2003h, ROT0, "bootleg", "The King of Fighters 2003 (bootleg) (set 2)" )
GAMEB( 2003, kof2003p, kof2003, neogeo, neogeo, neogeo, kof2003p, ROT0, "bootleg", "The King of Fighters 2003 Plus" )
GAMEB( 2003, kof2003u, kof2003, neogeo, neogeo, neogeo, kof2003u, ROT0, "bootleg", "The King of Fighters 2003 Ultra Plus" )
GAMEB( 2004, kof2004h,   kof2003,   neogeo, neogeo, neogeo,  kof2004h,   ROT0, "bootleg", "The King of Fighters 2004 EX Hero" )

Edited by KillerBee
Link to comment
Share on other sites

There are too many hacks that are not true bootlegs I would not even bother with them.

 

Anyway do not worry about kof2003a( which is now named kf2k3ba ) unless you have the roms.

I changed kof2003a name to kf2k3ba since the MVS set of kof2003 uses that name.

 

these are what I use in my build

 

ROM_START( kof2003a ) /* MVS ? */
ROM_REGION( 0x900000, REGION_CPU1, 0 ) 
ROM_LOAD16_WORD_SWAP( "271-p1c.bin", 0x000000, 0x400000, CRC(530ECC14) SHA1(812CF7E9902AF3F5E9E330B7C05C2171B139AD2B) )
ROM_LOAD16_WORD_SWAP( "271-p2c.bin", 0x400000, 0x400000, CRC(FD568DA9) SHA1(46364906A1E81DC251117E91A1A7B43AF1373ADA) )
ROM_LOAD16_WORD_SWAP( "271-p3c.bin", 0x800000, 0x100000, CRC(AEC5B4A9) SHA1(74087F785590EDA5898CE146029818F86CED42B6) )

ROM_REGION( 0x80000, REGION_GFX1, 0 )
ROM_FILL(                 0x000000, 0x80000, 0 )
ROM_REGION( 0x20000, REGION_GFX2, 0 )
ROM_LOAD( "sfix.sfx",  0x000000, 0x20000, CRC(354029fc) SHA1(4ae4bf23b4c2acff875775d4cbff5583893ce2a1) )

NEO_BIOS_SOUND_512K( "271-m1c.bin", CRC(f5515629) SHA1(7516BF1B0207A3C8D41DC30C478F8D8B1F71304B) )
//	NEO_BIOS_SOUND_512K( "271-m1d.bin", CRC(0e86af8f) SHA1(769102b67bb1a699cfa5674d66cdb46ae633cb65) )

ROM_REGION( 0x1000000, REGION_SOUND1, 0 )
/* decrypted ? */
ROM_LOAD( "271-v1c.bin", 0x000000, 0x800000, CRC(ffa3f8c7) SHA1(7cf4a933973ca23b7f87c81151d8659e6ec4bd20) )
       ROM_LOAD( "271-v2c.bin", 0x800000, 0x800000, CRC(5382c7d1) SHA1(1bf999705eda80ba1e7b0d6bdd010d9bfb18bd76) )

NO_DELTAT_REGION

ROM_REGION( 0x4000000, REGION_GFX3, 0 )
       ROM_LOAD16_BYTE( "271-c1c.bin", 0x0000000, 0x800000, CRC(b1dc25d0) SHA1(50adc3c60d5b4b3abd10a49db2267306c6dbd772) )
ROM_LOAD16_BYTE( "271-c2c.bin", 0x0000001, 0x800000, CRC(d5362437) SHA1(66db36522dc09106388c707252df9fe1c88b4856) )
ROM_LOAD16_BYTE( "271-c3c.bin", 0x1000000, 0x800000, CRC(0a1fbeab) SHA1(9fe30d36ba98d00fda010832ff2f27783dd577c1) )
ROM_LOAD16_BYTE( "271-c4c.bin", 0x1000001, 0x800000, CRC(87b19a0c) SHA1(b72a8e7d9124ce859b5149bb4381ba481c161ea5) )
ROM_LOAD16_BYTE( "271-c5c.bin", 0x2000000, 0x800000, CRC(704ea371) SHA1(e75b80422f0d72eac826f8ffadf79efeccaab124) )
ROM_LOAD16_BYTE( "271-c6c.bin", 0x2000001, 0x800000, CRC(20a1164c) SHA1(c9843b37612a16fc95f6851793b1cfb5d49d811d) )
ROM_LOAD16_BYTE( "271-c7c.bin", 0x3000000, 0x800000, CRC(189aba7f) SHA1(7152195a57ad36b28290810fe87ed8c206262ba9) )
ROM_LOAD16_BYTE( "271-c8c.bin", 0x3000001, 0x800000, CRC(20ec4fdc) SHA1(deb5f7ec5a090e419b9d1a6a74877bee081198e2) )
ROM_END

ROM_START( kof2003 )
ROM_REGION( 0x900000, REGION_CPU1, 0 )
ROM_LOAD32_WORD_SWAP( "271-p1.bin", 0x000000, 0x400000, CRC(b9da070c) SHA1(1a26325af142a4dd221c336061761468598c4634) )
ROM_LOAD32_WORD_SWAP( "271-p2.bin", 0x000002, 0x400000, CRC(da3118c4) SHA1(582e4f44f03276adecb7b2848d3b96bf6da57f1e) )
ROM_LOAD16_WORD_SWAP( "271-p3.bin", 0x800000, 0x100000, CRC(5cefd0d2) SHA1(cddc3164629fed4b6f715e12b109ad35d1009355) )
ROM_LOAD16_WORD_SWAP( "271-p3d.bin", 0x800000, 0x100000, CRC(59d376da) SHA1(3c3ad0b79e8b37e838893a8f7b87e11d7eeee8f2) )

ROM_REGION( 0x100000, REGION_GFX1, 0 )
ROM_FILL(                 0x000000, 0x100000, 0 )
ROM_REGION( 0x20000, REGION_GFX2, 0 )
ROM_LOAD( "sfix.sfx",  0x000000, 0x20000, CRC(354029fc) SHA1(4ae4bf23b4c2acff875775d4cbff5583893ce2a1) )

/* Japan Bios */
ROM_REGION16_BE( 0x40000, REGION_USER1, 0 )
ROM_LOAD16_WORD_SWAP( "271-bios.bin", 0x00000, 0x040000, CRC(c521b5bc) SHA1(c9a5db63523191dedd1b39baab8772f64f09b77f) )

ROM_REGION( 0x90000, REGION_CPU2, 0 )
ROM_LOAD( "sm1.sm1", 0x00000, 0x20000, CRC(97cf998b) SHA1(977387a7c76ef9b21d0b01fa69830e949a9a9626) )
ROM_LOAD( "271-m1d.bin", 	 0x00000, 0x80000, CRC(0e86af8f) SHA1(769102b67bb1a699cfa5674d66cdb46ae633cb65) )
ROM_RELOAD(             0x10000, 0x80000 )
ROM_REGION( 0x10000, REGION_GFX4, 0 )
ROM_LOAD( "000-lo.lo", 0x00000, 0x10000, CRC(e09e253c) SHA1(2b1c719531dac9bb503f22644e6e4236b91e7cfc) )

ROM_REGION( 0x1000000, REGION_SOUND1, 0 )
ROM_LOAD( "271-v1.bin", 0x000000, 0x1000000, CRC(1d96154b) SHA1(1d4e262b0d30cee79a4edc83bb9706023c736668) )

NO_DELTAT_REGION

ROM_REGION( 0x6000000, REGION_GFX3, 0 )
ROM_LOAD16_BYTE( "271-c1d.bin", 0x0000000, 0x1000000, CRC(c29acd28) SHA1(8a10409c5a9ad95fa9b56e94c14f1b96101fb179) )
ROM_LOAD16_BYTE( "271-c2d.bin", 0x0000001, 0x1000000, CRC(328e80b1) SHA1(c7f8069488be1a88a2ea03718b6a131f5c96bd3f) )
ROM_LOAD16_BYTE( "271-c3d.bin", 0x2000000, 0x1000000, CRC(020a11f1) SHA1(85cfae76234f72b0039ebc02f931bb2a9c10b1af) )
ROM_LOAD16_BYTE( "271-c4d.bin", 0x2000001, 0x1000000, CRC(991b5ed2) SHA1(99c4c470bc9cb388773e27de6df4a16803fc7b45) )
ROM_LOAD16_BYTE( "271-c5d.bin", 0x4000000, 0x1000000, CRC(c2de8b66) SHA1(40c2ea48fc20d470163a9dbb40c0276fc4cfceb9) )
ROM_LOAD16_BYTE( "271-c6d.bin", 0x4000001, 0x1000000, CRC(3ff750db) SHA1(714f14a2eb2df6f25d10a6b6aff4b3adfbc7a5dc) )
ROM_END

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_SFIX_128K( "271-s1d.bin", CRC(7c7829aa) SHA1(22f8d38d1d0891295d0593741d9477fbe6b4f48c) )

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

ROM_REGION( 0x1000000, REGION_SOUND1, 0 )
/* 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

ROM_START( kf2k3ba ) /* Uni-Bios Fix - Bootleg Set 2 */
ROM_REGION( 0x800000, REGION_CPU1, 0 ) 
ROM_LOAD16_WORD_SWAP( "271-p1d.bin", 0x000000, 0x400000, CRC(3b58d2e5) SHA1(9524cd6f90e8d3037eeeb895b4da1d13f18c1e4a) )
ROM_LOAD16_WORD_SWAP( "271-p2d.bin", 0x400000, 0x400000, CRC(5934d72b) SHA1(6814b368f40f342d68db4d676bb54fb459b7c7eb) )

ROM_REGION( 0x100000, REGION_GFX1, 0 )
ROM_FILL(                 0x000000, 0x100000, 0 )
ROM_REGION( 0x20000, REGION_GFX2, 0 )
ROM_LOAD( "sfix.sfx",  0x000000, 0x20000, CRC(354029fc) SHA1(4ae4bf23b4c2acff875775d4cbff5583893ce2a1) )

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

ROM_REGION( 0x1000000, REGION_SOUND1, 0 )
/* 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_LOAD16_BYTE( "271-c5d.bin", 0x4000000, 0x1000000, CRC(c2de8b66) SHA1(40c2ea48fc20d470163a9dbb40c0276fc4cfceb9) ) /* Plane 0,1 */
ROM_LOAD16_BYTE( "271-c6d.bin", 0x4000001, 0x1000000, CRC(3ff750db) SHA1(714f14a2eb2df6f25d10a6b6aff4b3adfbc7a5dc) ) /* Plane 2,3 */
ROM_END

ROM_START( kf2k4ex ) /* Uni-Bios Fix - Bootleg Hack */
       ROM_REGION( 0x700000, REGION_CPU1, 0 ) 
ROM_LOAD16_WORD_SWAP( "271h-p1.bin", 0x000000, 0x100000, CRC(dacf5b2d) SHA1(b776f3cf2a720325fed8f8908f18eacdc3cb05aa) )
ROM_LOAD16_WORD_SWAP( "271h-p2.bin", 0x100000, 0x200000, CRC(8c06e880) SHA1(4345d10232d5c26d88a79463968e4a8f5d1a2a42) )
ROM_LOAD16_WORD_SWAP( "271h-p3.bin", 0x300000, 0x400000, CRC(96842d45) SHA1(afa5346064b1b9b43eb6d817b5e4139c98b077f1) )

NEO_SFIX_512K( "271p-s1d.bin", CRC(09e3f2bd) SHA1(733488b3c06262e67cb771ed76e8bbbe16cf7dda) )

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

ROM_REGION( 0x1000000, REGION_SOUND1, 0 )
/* 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

ROM_START( kof2k3up ) /* Ultra Plus Hack */
ROM_REGION( 0x800000, REGION_CPU1, 0 ) 
ROM_LOAD16_WORD_SWAP( "271-p1up.bin", 0x000000, 0x800000, CRC(87294c01) SHA1(21420415a6b2ba1b43ecc1934270dc085d6bd7d9) )

NEO_SFIX_128K( "271-s1up.bin", CRC(e5708c0c) SHA1(5649446d3b0b1bd138b5a8b40b96a6d0f892f4d8) )

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

ROM_REGION( 0x1000000, REGION_SOUND1, 0 )
/* 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

Link to comment
Share on other sites

Thanks for the roms drivers.

 

How did you set these up? kf2k3ba, kf2k4ex and kof2k3up. :devilboy:

 

==================================================

 

I problemy need the kof2003 and the kof2003b as well because I may have a different source. All those may not work inorder.

 

Can you send me the source? I will send you an email so that you can send me those source on those. I really lost finding the all the source on all.

 

PM email sent. ;)

 

I will keep an eye out for the source on those.

Edited by KillerBee
Link to comment
Share on other sites

  • 2 years later...

many many thanks for this superb emulator. This is the best by far and i'm amazed by the speed at which you have got it to such high quality. I do'nt know if this has been asked of you before, but is there anyway you could make the ultimate mame emu. Others have given it a go and have not quite got it right as yet.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.

×
×
  • Create New...