Author Topic: The King of Fighters 10th Anniversary Extra Plus (hack)  (Read 9976 times)

Offline KingHanco

  • Sr. Member
  • ****
  • Posts: 401
  • Karma: +0/-4
  • "Special " Member
The King of Fighters 10th Anniversary Extra Plus (hack)
« on: December 04, 2005, 03:04:40 AM »
Well the Generator is too short to make the driver for this. There is a lots of roms. I let you guys handle this one. :idiot:

Offline iq_132

  • Administrator
  • *****
  • Posts: 3619
  • Karma: +385/-0
  • Bare Knuckle!
    • NeoSource
Re: The King of Fighters 10th Anniversary Extra Plus (hack)
« Reply #1 on: December 04, 2005, 03:07:19 AM »
http://neo-source.com/index.php?topic=432.0

I don't know why, but the search function works for me...


Offline James33

  • Expert
  • *****
  • Posts: 532
  • Karma: +3/-0
  • The Mame Man
    • Emulation Zone
Re: The King of Fighters 10th Anniversary Extra Plus (hack)
« Reply #2 on: December 04, 2005, 03:24:54 AM »
I will never make kof10th a parent set for the simple reason it s a clone and a hack of kof2002 .  There is no way I follow Razoola's example on that .  If it ever gets added to Mame it will also be made a clone of kof2002 . Which I doubt they will add to mame anyway .

http://neo-source.com/index.php?topic=432.0

I don't know why, but the search function works for me...

Wow i just tried it and its like magic  :biggrin:
« Last Edit: December 04, 2005, 03:27:43 AM by James33 »
IQ Forum Member

Offline KingHanco

  • Sr. Member
  • ****
  • Posts: 401
  • Karma: +0/-4
  • "Special " Member
Re: The King of Fighters 10th Anniversary Extra Plus (hack)
« Reply #3 on: December 04, 2005, 03:27:59 AM »
5008-p1.rom is the sound roms?

I thought it go with the rest of the p roms.

I will try yours Robert since it using the WinKawaks roms. I kick the kof2002 roms out of the kof10thep as well since it old uses.

Anyway I misspelled the kof10thep or mistype it when searching for it. Sorry about that. It workinng here as well after type it correcty.
« Last Edit: December 04, 2005, 03:29:52 AM by KingHanco »

Offline James33

  • Expert
  • *****
  • Posts: 532
  • Karma: +3/-0
  • The Mame Man
    • Emulation Zone
Re: The King of Fighters 10th Anniversary Extra Plus (hack)
« Reply #4 on: December 04, 2005, 03:31:12 AM »
5008-p1.rom is the sound roms?

No its the program rom :)

I have no idea why robbert is loading the roms like that

Code: [Select]
ROM_START( kf10thep ) /* this is a hack of kof2002 much like the various korean hacks / bootlegs of games */
ROM_REGION( 0x800000, REGION_CPU1, 0 )
ROM_LOAD16_WORD_SWAP( "5008-p1.bin", 0x000000, 0x200000, CRC(bf5469ba) SHA1(f05236d8fffab5836c0d27becdeeb80def32ee49) )
ROM_LOAD16_WORD_SWAP( "5008-p2.bin", 0x200000, 0x400000, CRC(a649ec38) SHA1(5c63ed5e5c848940f587c966da4908d04cf1293c) )
ROM_LOAD16_WORD_SWAP( "5008-p3.bin", 0x600000, 0x200000, CRC(e629e13c) SHA1(6ebe080ce01c51064cb2f4d89315ba98a45ae727) )

NEO_SFIX_128K( "5008-s1.bin", CRC(92410064) SHA1(1fb800b46341858207d3b6961a760289fbec7faa) )

NEO_BIOS_SOUND_128K( "5008-m1.bin", CRC(5a47d9ad) SHA1(0197737934653acc6c97221660d789e9914f3578) )
//NEO_BIOS_SOUND_128K( "5004-m1.bin", CRC(f6fab859) SHA1(0184aa1394b9f9946d610278b53b846020dd88dc) )


ROM_REGION( 0x1000000, REGION_SOUND1, 0 )
ROM_LOAD( "kf10-v1.bin", 0x000000, 0x800000, CRC(0fc9a58d) SHA1(9d79ef00e2c2abd9f29af5521c2fbe5798bf336f) )
ROM_LOAD( "kf10-v2.bin", 0x800000, 0x800000, CRC(b8c475a4) SHA1(10caf9c69927a223445d2c4b147864c02ce520a8) )

NO_DELTAT_REGION

ROM_REGION( 0x4000000, REGION_GFX3, 0 )
ROM_LOAD16_BYTE( "kf10-c1a.bin", 0x0000000, 0x400000, CRC(3bbc0364) SHA1(e8aa7ff82f151ce1db56f259377b64cceef85af0) ) /* Plane 0,1 */
ROM_LOAD16_BYTE( "kf10-c2a.bin", 0x0000001, 0x400000, CRC(91230075) SHA1(d9098e05a7ba6008661147b6bf8bc2f494b8b72b) ) /* Plane 2,3 */
ROM_LOAD16_BYTE( "kf10-c1b.bin", 0x0800000, 0x400000, CRC(b5abfc28) SHA1(eabf60992bb3485c95330065294071ec155bfe7c) ) /* Plane 0,1 */
ROM_LOAD16_BYTE( "5008-c2b.bin", 0x0800001, 0x400000, CRC(b1f565e1) SHA1(60da93b6e701b9620980e92f6aa9708897adcdeb) ) /* Plane 2,3 */ //new one
ROM_LOAD16_BYTE( "kf10-c3a.bin", 0x1000000, 0x400000, CRC(5b3d4a16) SHA1(93ac1cd7739100f8c32732644f81f2a19837b131) ) /* Plane 0,1 */
ROM_LOAD16_BYTE( "kf10-c4a.bin", 0x1000001, 0x400000, CRC(c6f3419b) SHA1(340c17a73aeb7bf8a6209f8459e6f00000075b50) ) /* Plane 2,3 */
ROM_LOAD16_BYTE( "kf10-c3b.bin", 0x1800000, 0x400000, CRC(9d2bba19) SHA1(5ebbd0af3f83a60e33c8ccb743e3d5f5a96f1273) ) /* Plane 0,1 */
ROM_LOAD16_BYTE( "kf10-c4b.bin", 0x1800001, 0x400000, CRC(5a4050cb) SHA1(8fd2291f349efa1ed5cd37ad4e273b60fe831a77) ) /* Plane 2,3 */
ROM_LOAD16_BYTE( "kf10-c5a.bin", 0x2000000, 0x400000, CRC(a289d1e1) SHA1(50c7d7ebde6e118a01036cc3e40827fcd9f0d3fd) ) /* Plane 0,1 */
ROM_LOAD16_BYTE( "kf10-c6a.bin", 0x2000001, 0x400000, CRC(e6494b5d) SHA1(18e064b9867ae0b0794065f8dbefd486620419db) ) /* Plane 2,3 */
ROM_LOAD16_BYTE( "kf10-c5b.bin", 0x2800000, 0x400000, CRC(404fff02) SHA1(56d1b32c87ea4885e49264e8b21846e465a20e1f) ) /* Plane 0,1 */
ROM_LOAD16_BYTE( "kf10-c6b.bin", 0x2800001, 0x400000, CRC(f2ccfc9e) SHA1(69db7fac7023785ab94ea711a72dbc2826cfe1a3) ) /* Plane 2,3 */
ROM_LOAD16_BYTE( "kf10-c7a.bin", 0x3000000, 0x400000, CRC(be79c5a8) SHA1(ded3c5eb3571647f50533eb682c2675372ace3fb) ) /* Plane 0,1 */
ROM_LOAD16_BYTE( "kf10-c8a.bin", 0x3000001, 0x400000, CRC(a5952ca4) SHA1(76dbb3cb45ce5a4beffa1ed29491204fc6617e42) ) /* Plane 2,3 */
ROM_LOAD16_BYTE( "5008-c7b.bin", 0x3800000, 0x400000, CRC(33604ef0) SHA1(57deec23c81d5d673ce5992cef1f2567f1a2148e) ) /* Plane 0,1 */
ROM_LOAD16_BYTE( "5008-c8b.bin", 0x3800001, 0x400000, CRC(51f6a8f8) SHA1(9ef1cdbdd125a2b430346c22b59f36902312905f) ) /* Plane 2,3 */
ROM_END





// Code by IQ_132 -- http://neosource.1emu.net/
// Thanks to JotaCE, Jimmy_page, and Robber804 for some info
DRIVER_INIT( kof10thep )
{
int i;
UINT8 *src = memory_region(REGION_CPU1);
UINT8 *dst = (UINT8*)malloc(0x800000);
UINT16 *tmp = (UINT16*)src;
int rom_size = memory_region_length( REGION_GFX1 );
UINT8 *rom = memory_region( REGION_GFX1 );
UINT8 *buf = malloc( rom_size );

if (dst)
{
unsigned int nBank[] = { 0x3, 0x8, 0x7, 0xC, 0x1, 0xA, 0x6, 0xD };

memcpy (dst, src, 0x800000);

for (i = 0; i < 8; i++) {
memcpy (src + i * 0x20000, dst + nBank[i] * 0x20000, 0x20000);
}

memcpy(src + 0x0002e0, dst + 0x0402e0, 0x06a);
memcpy(src + 0x0f92bc, dst + 0x0492bc, 0xb9e);

memcpy (src + 0x100000, dst + 0x200000, 0x600000);

free(dst);
}

for (i = 0xf92bc/2; i < 0xf9e58/2; i++)
{
if ((tmp[i] & 0xff0f) == 0x4E09 && !tmp[i+1])
{
tmp[i+1] = 0x000F;
}
}

tmp[0x00342/2] = 0x000F;

memcpy( buf, rom, rom_size );

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

free( buf );

init_neogeo();
}
« Last Edit: December 04, 2005, 03:55:16 AM by James33 »
IQ Forum Member

Offline James33

  • Expert
  • *****
  • Posts: 532
  • Karma: +3/-0
  • The Mame Man
    • Emulation Zone
Re: The King of Fighters 10th Anniversary Extra Plus (hack)
« Reply #5 on: December 04, 2005, 03:38:06 AM »
It's a program rom that gets unscrambled just the same as in kog. I couldn't be bothered changing the code to make them the same.

Well the code is just above and is very easy to change . And since you have a faster PC there is no reason not to .




Hey KingHanco did you know robbert is a newbie to mame compileing yet he is learning alot faster than you are ?
IQ Forum Member

Offline KingHanco

  • Sr. Member
  • ****
  • Posts: 401
  • Karma: +0/-4
  • "Special " Member
Re: The King of Fighters 10th Anniversary Extra Plus (hack)
« Reply #6 on: December 04, 2005, 04:07:57 AM »
Hey KingHanco did you know robbert is a newbie to mame compileing yet he is learning alot faster than you are ?

Well. iq_132 said that the Generator doesn't do everything. Half is harder what I think. I only can do less because of the Generator. I don't write drivers anyway.  :eek:

I'm not a Mame team player. I'm stupid.

Offline James33

  • Expert
  • *****
  • Posts: 532
  • Karma: +3/-0
  • The Mame Man
    • Emulation Zone
Re: The King of Fighters 10th Anniversary Extra Plus (hack)
« Reply #7 on: December 04, 2005, 04:14:36 AM »

I'm not a Mame team player. I'm stupid.

No not stupid You just need to take your time . In the end I am sure you will work it all out .
IQ Forum Member

Offline KingHanco

  • Sr. Member
  • ****
  • Posts: 401
  • Karma: +0/-4
  • "Special " Member
Re: The King of Fighters 10th Anniversary Extra Plus (hack)
« Reply #8 on: December 05, 2005, 10:25:58 AM »
There is something wrong on the screen. I get a blue wires screen. It was working and now it broking somehow. I don't know what I did to get it to quit working. Heh...

Code: [Select]
/******************************************************************************/

//The King of Fighters 10th Anniversary 'Extra Plus' (Bootleg/Hack)

ROM_START( kf10thep )
       ROM_REGION( 0x800000, REGION_CPU1, 0 )
       ROM_LOAD16_WORD_SWAP( "5008-p1.rom", 0x000000, 0x200000, CRC(bf5469ba) SHA1(f05236d8fffab5836c0d27becdeeb80def32ee49) )
       ROM_LOAD16_WORD_SWAP( "5008-p2.rom", 0x100000, 0x400000, CRC(a649ec38) SHA1(5c63ed5e5c848940f587c966da4908d04cf1293c) )
       ROM_LOAD16_WORD_SWAP( "5008-p3.rom", 0x500000, 0x200000, CRC(e629e13c) SHA1(6ebe080ce01c51064cb2f4d89315ba98a45ae727) )

       ROM_REGION( 0x200000, REGION_USER4, 0 )
       NEO_SFIX_128K( "5008-s1.rom", CRC(92410064) SHA1(1fb800b46341858207d3b6961a760289fbec7faa) )

       NEO_BIOS_SOUND_128K( "5008-m1.rom", CRC(5a47d9ad) SHA1(0197737934653acc6c97221660d789e9914f3578) )

       ROM_REGION( 0x1000000, REGION_SOUND1, 0 )
       ROM_LOAD( "kf10-v1.bin", 0x000000, 0x800000, CRC(0fc9a58d) SHA1(9d79ef00e2c2abd9f29af5521c2fbe5798bf336f) )
       ROM_LOAD( "kf10-v2.bin", 0x800000, 0x800000, CRC(b8c475a4) SHA1(10caf9c69927a223445d2c4b147864c02ce520a8) )

       ROM_REGION( 0x4000000, REGION_GFX3, 0 )
       ROM_LOAD16_BYTE( "kf10-c1a.bin", 0x0000000, 0x400000, CRC(3bbc0364) SHA1(e8aa7ff82f151ce1db56f259377b64cceef85af0) )
       ROM_LOAD16_BYTE( "kf10-c2a.bin", 0x0000001, 0x400000, CRC(91230075) SHA1(d9098e05a7ba6008661147b6bf8bc2f494b8b72b) )
       ROM_LOAD16_BYTE( "kf10-c1b.bin", 0x0800000, 0x400000, CRC(b5abfc28) SHA1(eabf60992bb3485c95330065294071ec155bfe7c) )
       ROM_LOAD16_BYTE( "kf10-c2b.bin", 0x0800001, 0x400000, CRC(6cc4c6e1) SHA1(be824a944e745ee18efdc45c81fd496a4d624b9c) )
       ROM_LOAD16_BYTE( "kf10-c3a.bin", 0x1000000, 0x400000, CRC(5b3d4a16) SHA1(93ac1cd7739100f8c32732644f81f2a19837b131) )
       ROM_LOAD16_BYTE( "kf10-c4a.bin", 0x1000001, 0x400000, CRC(c6f3419b) SHA1(340c17a73aeb7bf8a6209f8459e6f00000075b50) )
       ROM_LOAD16_BYTE( "kf10-c3b.bin", 0x1800000, 0x400000, CRC(9d2bba19) SHA1(5ebbd0af3f83a60e33c8ccb743e3d5f5a96f1273) )
       ROM_LOAD16_BYTE( "kf10-c4b.bin", 0x1800001, 0x400000, CRC(5a4050cb) SHA1(8fd2291f349efa1ed5cd37ad4e273b60fe831a77) )
       ROM_LOAD16_BYTE( "kf10-c5a.bin", 0x2000000, 0x400000, CRC(a289d1e1) SHA1(50c7d7ebde6e118a01036cc3e40827fcd9f0d3fd) )
       ROM_LOAD16_BYTE( "kf10-c6a.bin", 0x2000001, 0x400000, CRC(e6494b5d) SHA1(18e064b9867ae0b0794065f8dbefd486620419db) )
       ROM_LOAD16_BYTE( "kf10-c5b.bin", 0x2800000, 0x400000, CRC(404fff02) SHA1(56d1b32c87ea4885e49264e8b21846e465a20e1f) )
       ROM_LOAD16_BYTE( "kf10-c6b.bin", 0x2800001, 0x400000, CRC(f2ccfc9e) SHA1(69db7fac7023785ab94ea711a72dbc2826cfe1a3) )
       ROM_LOAD16_BYTE( "kf10-c7a.bin", 0x3000000, 0x400000, CRC(be79c5a8) SHA1(ded3c5eb3571647f50533eb682c2675372ace3fb) )
       ROM_LOAD16_BYTE( "kf10-c8a.bin", 0x3000001, 0x400000, CRC(a5952ca4) SHA1(76dbb3cb45ce5a4beffa1ed29491204fc6617e42) )
       ROM_LOAD16_BYTE( "5008-c7b.rom", 0x3800000, 0x400000, CRC(33604ef0) SHA1(57deec23c81d5d673ce5992cef1f2567f1a2148e) )
       ROM_LOAD16_BYTE( "5008-c8b.rom", 0x3800001, 0x400000, CRC(51f6a8f8) SHA1(9ef1cdbdd125a2b430346c22b59f36902312905f) )
ROM_END

/******************************************************************************/

/******************************************************************************/

//The King of Fighters 10th Anniversary 'Extra Plus' (Bootleg/Hack)

DRIVER_INIT( kf10thep )
{
       int i;
       UINT8 *src = memory_region(REGION_CPU1);
       UINT8 *dst = (UINT8*)malloc(0x800000);
       UINT16 *tmp = (UINT16*)src;
       int rom_size = memory_region_length( REGION_GFX1 );
       UINT8 *rom = memory_region( REGION_GFX1 );
       UINT8 *buf = malloc( rom_size );

       if (dst)
       {
       unsigned int nBank[] = { 0x3, 0x8, 0x7, 0xC, 0x1, 0xA, 0x6, 0xD };

       memcpy (dst, src, 0x800000);

       for (i = 0; i < 8; i++) {
       memcpy (src + i * 0x20000, dst + nBank[i] * 0x20000, 0x20000);
       }

       memcpy(src + 0x0002e0, dst + 0x0402e0, 0x06a);
       memcpy(src + 0x0f92bc, dst + 0x0492bc, 0xb9e);

       memcpy (src + 0x100000, dst + 0x200000, 0x600000);

       free(dst);
       }

       for (i = 0xf92bc/2; i < 0xf9e58/2; i++)
       {
       if ((tmp[i] & 0xff0f) == 0x4E09 && !tmp[i+1])
       {
       tmp[i+1] = 0x000F;
       }
       }

       tmp[0x00342/2] = 0x000F;

       memcpy( buf, rom, rom_size );

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

       free( buf );

    init_neogeo();
}

/******************************************************************************/

I don't have this one yet.

Code: [Select]
ROM_LOAD16_BYTE( "5008-c2b.bin", 0x0800001, 0x400000, CRC(b1f565e1) SHA1(60da93b6e701b9620980e92f6aa9708897adcdeb) ) /* Plane 2,3 */ //new one
« Last Edit: December 05, 2005, 10:27:39 AM by KingHanco »

Offline iq_132

  • Administrator
  • *****
  • Posts: 3619
  • Karma: +385/-0
  • Bare Knuckle!
    • NeoSource
Re: The King of Fighters 10th Anniversary Extra Plus (hack)
« Reply #9 on: December 05, 2005, 12:41:10 PM »
There is something wrong on the screen. I get a blue wires screen. It was working and now it broking somehow. I don't know what I did to get it to quit working. Heh...

The problem is that you refuse to copy a complete driver that works and not mess with it.

This is your problem with kof10thep.
Code: [Select]
       ROM_LOAD16_WORD_SWAP( "5008-p1.rom", 0x000000, 0x200000, CRC(bf5469ba) SHA1(f05236d8fffab5836c0d27becdeeb80def32ee49) )
       ROM_LOAD16_WORD_SWAP( "5008-p2.rom", 0x100000, 0x400000, CRC(a649ec38) SHA1(5c63ed5e5c848940f587c966da4908d04cf1293c) )
       ROM_LOAD16_WORD_SWAP( "5008-p3.rom", 0x500000, 0x200000, CRC(e629e13c) SHA1(6ebe080ce01c51064cb2f4d89315ba98a45ae727) )

It should be this:
Code: [Select]
       ROM_LOAD16_WORD_SWAP( "5008-p1.rom", 0x000000, 0x200000, CRC(bf5469ba) SHA1(f05236d8fffab5836c0d27becdeeb80def32ee49) )
       ROM_LOAD16_WORD_SWAP( "5008-p2.rom", 0x200000, 0x400000, CRC(a649ec38) SHA1(5c63ed5e5c848940f587c966da4908d04cf1293c) )
       ROM_LOAD16_WORD_SWAP( "5008-p3.rom", 0x600000, 0x200000, CRC(e629e13c) SHA1(6ebe080ce01c51064cb2f4d89315ba98a45ae727) )


Offline KingHanco

  • Sr. Member
  • ****
  • Posts: 401
  • Karma: +0/-4
  • "Special " Member
Re: The King of Fighters 10th Anniversary Extra Plus (hack)
« Reply #10 on: December 05, 2005, 10:40:07 PM »
The problem is that you refuse to copy a complete driver that works and not mess with it.

Well I did copy it before. I think I change it when I was using other drivers to trying out. That my fault there. It hard to see the little things in the >[code.] [/code.]< in the 1280 by 1024 screen settings anyway.

I took this out of there as well.
Code: [Select]
ROM_LOAD16_BYTE( "5008-c2b.bin", 0x0800001, 0x400000, CRC(b1f565e1) SHA1(60da93b6e701b9620980e92f6aa9708897adcdeb) ) /* Plane 2,3 */ //new one and replace it with this as you see.
Code: [Select]
ROM_LOAD16_BYTE( "kf10-c2b.bin", 0x0800001, 0x400000, CRC(6cc4c6e1) SHA1(be824a944e745ee18efdc45c81fd496a4d624b9c) )
I shouldv'e recopy it and add the
Code: [Select]
ROM_LOAD16_BYTE( "kf10-c2b.bin", 0x0800001, 0x400000, CRC(6cc4c6e1) SHA1(be824a944e745ee18efdc45c81fd496a4d624b9c) ) again.

I fixs it now.  :biggrin:

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

Updated. I will start using the roms settings that the drivers uses now.

Removed    ROM_LOAD16_BYTE( "kf10-c2b.bin", 0x0800001, 0x400000, CRC(6cc4c6e1) SHA1(be824a944e745ee18efdc45c81fd496a4d624b9c) )

Added        ROM_LOAD16_BYTE( "5008-c2b.bin", 0x0800001, 0x400000, CRC(b1f565e1) SHA1(60da93b6e701b9620980e92f6aa9708897adcdeb) )
« Last Edit: December 17, 2005, 06:42:22 AM by KingHanco »