Author Topic: King of Fighters 10th Anniversary Edition Emulation Infos  (Read 50614 times)

Offline bms888

  • Jr. Member
  • **
  • Posts: 93
  • Karma: +0/-0
  • Member
King of Fighters 10th Anniversary Edition Emulation Infos
« Reply #15 on: March 07, 2005, 11:07:26 PM »
This is my useing romset: ^_^

Code: [Select]

ROM_START( kof10th ) // Hack of kof2002 much like the various korean hack / bootleg of games
ROM_REGION( 0x800000, REGION_CPU1, 0 )
ROM_LOAD16_WORD_SWAP( "kf10-p1.bin", 0x000000, 0x800000, 0xB1FD0C43 )

ROM_REGION( 0x80000, REGION_GFX1, 0 )
ROM_LOAD( "kf10-s1.bin", 0x000000, 0x80000, 0x49A6FCD9 )
ROM_REGION( 0x20000, REGION_GFX2, 0 )
ROM_LOAD( "ng-sfix.rom",  0x000000, 0x20000, 0x354029fc )

NEO_BIOS_SOUND_128K( "kf10-m1.bin",0xF6FAB859 )

ROM_REGION( 0x1000000, REGION_SOUND1, ROMREGION_SOUNDONLY )
ROM_LOAD( "kf10-v1.bin", 0x000000, 0x800000, 0x0fc9a58d )
ROM_LOAD( "kf10-v2.bin", 0x800000, 0x800000, 0xb8c475a4 )

NO_DELTAT_REGION

ROM_REGION( 0x4000000, REGION_GFX3, 0 )
ROM_LOAD16_BYTE( "kf10-c1a.bin", 0x0000000, 0x400000, 0x3bbc0364 ) /* Plane 0,1 */
ROM_LOAD16_BYTE( "kf10-c2a.bin", 0x0000001, 0x400000, 0x91230075 ) /* Plane 2,3 */
ROM_LOAD16_BYTE( "kf10-c1b.bin", 0x0800000, 0x400000, 0xb5abfc28 ) /* Plane 0,1 */
ROM_LOAD16_BYTE( "kf10-c2b.bin", 0x0800001, 0x400000, 0x6cc4c6e1 ) /* Plane 2,3 */
ROM_LOAD16_BYTE( "kf10-c3a.bin", 0x1000000, 0x400000, 0x5b3d4a16 ) /* Plane 0,1 */
ROM_LOAD16_BYTE( "kf10-c4a.bin", 0x1000001, 0x400000, 0xc6f3419b ) /* Plane 2,3 */
ROM_LOAD16_BYTE( "kf10-c3b.bin", 0x1800000, 0x400000, 0x9d2bba19 ) /* Plane 0,1 */
ROM_LOAD16_BYTE( "kf10-c4b.bin", 0x1800001, 0x400000, 0x5a4050cb ) /* Plane 2,3 */
ROM_LOAD16_BYTE( "kf10-c5a.bin", 0x2000000, 0x400000, 0xa289d1e1 ) /* Plane 0,1 */
ROM_LOAD16_BYTE( "kf10-c6a.bin", 0x2000001, 0x400000, 0xe6494b5d ) /* Plane 2,3 */
ROM_LOAD16_BYTE( "kf10-c5b.bin", 0x2800000, 0x400000, 0x404fff02 ) /* Plane 0,1 */
ROM_LOAD16_BYTE( "kf10-c6b.bin", 0x2800001, 0x400000, 0xf2ccfc9e ) /* Plane 2,3 */
ROM_LOAD16_BYTE( "kf10-c7a.bin", 0x3000000, 0x400000, 0xbe79c5a8 ) /* Plane 0,1 */
ROM_LOAD16_BYTE( "kf10-c8a.bin", 0x3000001, 0x400000, 0xa5952ca4 ) /* Plane 2,3 */
ROM_LOAD16_BYTE( "kf10-c7b.bin", 0x3800000, 0x400000, 0x3fdb3542 ) /* Plane 0,1 */
ROM_LOAD16_BYTE( "kf10-c8b.bin", 0x3800001, 0x400000, 0x661b7a52 ) /* Plane 2,3 */

// ROM_LOAD16_BYTE( "265-c3d.bin", 0x1000000, 0x800000, 0x959fad0b ) /* Plane 0,1 */
// ROM_LOAD16_BYTE( "265-c4d.bin", 0x1000001, 0x800000, 0xefe6a468 ) /* Plane 2,3 */
// ROM_LOAD16_BYTE( "265-c5d.bin", 0x2000000, 0x800000, 0x74bba7c6 ) /* Plane 0,1 */
// ROM_LOAD16_BYTE( "265-c6d.bin", 0x2000001, 0x800000, 0xe20d2216 ) /* Plane 2,3 */
// ROM_LOAD16_BYTE( "265-c7d.bin", 0x3000000, 0x800000, 0x8a5b561c ) /* Plane 0,1 */
// ROM_LOAD16_BYTE( "265-c8d.bin", 0x3000001, 0x800000, 0xbef667a3 ) /* Plane 2,3 */
ROM_END

ROM_START( kof10tha )
ROM_REGION( 0x700000, REGION_CPU1, 0 )
ROM_LOAD16_WORD_SWAP( "kf10-p1a.bin", 0x000000, 0x700000, 0xCBC97E22 )

NEO_SFIX_128K( "kf10-s1a.bin", 0xA849BD80 )

NEO_BIOS_SOUND_128K( "kf10-m1.bin",0xF6FAB859 )

ROM_REGION( 0x1000000, REGION_SOUND1, ROMREGION_SOUNDONLY )
ROM_LOAD( "kf10-v1.bin", 0x000000, 0x800000, 0x0fc9a58d )
ROM_LOAD( "kf10-v2.bin", 0x800000, 0x800000, 0xb8c475a4 )

NO_DELTAT_REGION

ROM_REGION( 0x4000000, REGION_GFX3, 0 )
ROM_LOAD16_BYTE( "kf10-c1a.bin", 0x0000000, 0x400000, 0x3bbc0364 ) /* Plane 0,1 */
ROM_LOAD16_BYTE( "kf10-c2a.bin", 0x0000001, 0x400000, 0x91230075 ) /* Plane 2,3 */
ROM_LOAD16_BYTE( "kf10-c1b.bin", 0x0800000, 0x400000, 0xb5abfc28 ) /* Plane 0,1 */
ROM_LOAD16_BYTE( "kf10-c2b.bin", 0x0800001, 0x400000, 0x6cc4c6e1 ) /* Plane 2,3 */
ROM_LOAD16_BYTE( "kf10-c3a.bin", 0x1000000, 0x400000, 0x5b3d4a16 ) /* Plane 0,1 */
ROM_LOAD16_BYTE( "kf10-c4a.bin", 0x1000001, 0x400000, 0xc6f3419b ) /* Plane 2,3 */
ROM_LOAD16_BYTE( "kf10-c3b.bin", 0x1800000, 0x400000, 0x9d2bba19 ) /* Plane 0,1 */
ROM_LOAD16_BYTE( "kf10-c4b.bin", 0x1800001, 0x400000, 0x5a4050cb ) /* Plane 2,3 */
ROM_LOAD16_BYTE( "kf10-c5a.bin", 0x2000000, 0x400000, 0xa289d1e1 ) /* Plane 0,1 */
ROM_LOAD16_BYTE( "kf10-c6a.bin", 0x2000001, 0x400000, 0xe6494b5d ) /* Plane 2,3 */
ROM_LOAD16_BYTE( "kf10-c5b.bin", 0x2800000, 0x400000, 0x404fff02 ) /* Plane 0,1 */
ROM_LOAD16_BYTE( "kf10-c6b.bin", 0x2800001, 0x400000, 0xf2ccfc9e ) /* Plane 2,3 */
ROM_LOAD16_BYTE( "kf10-c7a.bin", 0x3000000, 0x400000, 0xbe79c5a8 ) /* Plane 0,1 */
ROM_LOAD16_BYTE( "kf10-c8a.bin", 0x3000001, 0x400000, 0xa5952ca4 ) /* Plane 2,3 */
ROM_LOAD16_BYTE( "kf10-c7b.bin", 0x3800000, 0x400000, 0x3fdb3542 ) /* Plane 0,1 */
ROM_LOAD16_BYTE( "kf10-c8b.bin", 0x3800001, 0x400000, 0x661b7a52 ) /* Plane 2,3 */
ROM_END

Offline netbug

  • Newbies
  • *
  • Posts: 37
  • Karma: +1/-0
  • Member
King of Fighters 10th Anniversary Edition Emulation Infos
« Reply #16 on: March 07, 2005, 11:14:52 PM »
This driver maybe exists in someone's hard disk for long time
and is not public,"not mine".At last as far as I know "some people"
have already got decrypted set P.
It really belongs to IQ_132's code,"not mine!"
So.... :D  :D  :D  :D

Code: [Select]

// The King of Fighters 10th Anniversary Edition (hack)
static struct BurnRomInfo kof10thRomDesc[] = {
{"kf10-p1.bin",  0x800000, 0xB1FD0C43, 1 | BRF_ESS | BRF_PRG }, //  0 68K code

  {"kf10-s1.bin",  0x020000, 0xE2A6A999, 2 | BRF_GRA }, //  1

  {"kf10-c1a.bin", 0x400000, 0x3BBC0364, 3 | BRF_GRA }, //  2 Sprite data
  {"kf10-c2a.bin", 0x400000, 0x91230075, 3 | BRF_GRA }, //  3
  {"kf10-c1b.bin", 0x400000, 0xB5ABFC28, 3 | BRF_GRA }, //  4
  {"kf10-c2b.bin", 0x400000, 0x6CC4C6E1, 3 | BRF_GRA }, //  5
  {"kf10-c3a.bin", 0x400000, 0x5B3D4A16, 3 | BRF_GRA }, //  6
  {"kf10-c4a.bin", 0x400000, 0xC6F3419B, 3 | BRF_GRA }, //  7
  {"kf10-c3b.bin", 0x400000, 0x9D2BBA19, 3 | BRF_GRA }, //  8
  {"kf10-c4b.bin", 0x400000, 0x5A4050CB, 3 | BRF_GRA }, //  9
  {"kf10-c5a.bin", 0x400000, 0xA289D1E1, 3 | BRF_GRA }, //  10
  {"kf10-c6a.bin", 0x400000, 0xE6494B5D, 3 | BRF_GRA }, //  11
  {"kf10-c5b.bin", 0x400000, 0x404FFF02, 3 | BRF_GRA }, //  12
  {"kf10-c6b.bin", 0x400000, 0xF2CCFC9E, 3 | BRF_GRA }, //  13
  {"kf10-c7a.bin", 0x400000, 0xBE79C5A8, 3 | BRF_GRA }, //  14
  {"kf10-c8a.bin", 0x400000, 0xA5952CA4, 3 | BRF_GRA }, //  15
  {"kf10-c7b.bin", 0x400000, 0x3FDB3542, 3 | BRF_GRA }, //  16
  {"kf10-c8b.bin", 0x400000, 0x661B7A52, 3 | BRF_GRA }, //  17

  {"kf10-m1.bin",  0x020000, 0xF6FAB859, 4 | BRF_ESS | BRF_PRG }, //  18 Z80 code

{"kf10-v1.bin",  0x800000, 0x0FC9A58D, 5 | BRF_SND }, //  19 Sound data
{"kf10-v2.bin",  0x800000, 0xB8C475A4, 5 | BRF_SND }, //  20
};

STDROMPICKEXT(kof10th,kof10th,neogeo);
STD_ROM_FN(kof10th);

static void kof10th_patches()
{
 // starting at 0xE0000
 unsigned char data1[120] = {
  0xBC, 0x28, 0x00, 0x00, 0x6A, 0xD8, 0x7C, 0x1B, 0x3F, 0x00, 0x0C, 0x05, 0xFC, 0x33, 0x00, 0x01,
  0x3C, 0x00, 0x06, 0x00, 0x75, 0x4E, 0x2D, 0x42, 0x0C, 0x05, 0x7C, 0x1B, 0x3F, 0x00, 0x0C, 0x05,
  0x75, 0x4E, 0x00, 0x61, 0x42, 0x00, 0xF9, 0x47, 0x10, 0x00, 0x00, 0xFD, 0x7C, 0x17, 0x80, 0x00,
  0x82, 0x00, 0x2B, 0x0C, 0x80, 0x00, 0x82, 0x00, 0xF2, 0x66, 0x7C, 0x17, 0x01, 0x00, 0x83, 0x00,
  0x2B, 0x0C, 0x01, 0x00, 0x83, 0x00, 0xF2, 0x66, 0x7C, 0x17, 0x00, 0x00, 0x8C, 0x00, 0x2B, 0x0C,
  0x00, 0x00, 0x8C, 0x00, 0xF2, 0x66, 0x7C, 0x17, 0x03, 0x00, 0x8F, 0x00, 0x2B, 0x0C, 0x03, 0x00,
  0x8F, 0x00, 0xF2, 0x66, 0x75, 0x4E, 0xF9, 0x41, 0x2F, 0x00, 0x00, 0xE0, 0x3C, 0x30, 0xF7, 0x0F,
  0x58, 0x42, 0xC8, 0x51, 0xFC, 0xFF, 0x75, 0x4E
 };

 // starting at 0xE1000
 unsigned char data2[1248] = {
 0xFC, 0x33, 0x20, 0x00, 0x10, 0x00, 0xF6, 0xFF, 0x7C, 0x2B, 0x0A, 0x00, 0xBE, 0x67, 0x00, 0x05,
 0x75, 0x4E, 0xC0, 0x13, 0x30, 0x00, 0x01, 0x00, 0x39, 0x32, 0x2F, 0x00, 0xF0, 0xFF, 0xFC, 0x33,
 0x07, 0x00, 0x2F, 0x00, 0xF0, 0xFF, 0xFC, 0x33, 0x03, 0x00, 0x25, 0x00, 0xF0, 0xFF, 0x79, 0x0C,
 0x01, 0x00, 0x10, 0x00, 0x8E, 0x00, 0x00, 0x67, 0x06, 0x00, 0x00, 0x66, 0x0A, 0x00, 0xFC, 0x33,
 0x00, 0x00, 0x10, 0x00, 0xF6, 0xFF, 0x79, 0x0C, 0x20, 0x00, 0x10, 0x00, 0xF6, 0xFF, 0x00, 0x67,
 0x06, 0x01, 0x00, 0x66, 0x02, 0x00, 0x08, 0x2F, 0x09, 0x2F, 0x02, 0x2F, 0xFC, 0x33, 0x05, 0x00,
 0x2F, 0x00, 0xF0, 0xFF, 0xFC, 0x33, 0x01, 0x00, 0x2F, 0x00, 0xFC, 0xFF, 0xF9, 0x41, 0x2C, 0x00,
 0x00, 0x00, 0xF9, 0x43, 0x20, 0x00, 0x00, 0x00, 0x3C, 0x20, 0x00, 0x00, 0x00, 0x00, 0xC0, 0x13,
 0x30, 0x00, 0x01, 0x00, 0x18, 0x14, 0x42, 0x0A, 0xF3, 0xF3, 0xC2, 0x32, 0x40, 0x06, 0x01, 0x00,
 0x80, 0x0C, 0x00, 0x00, 0x00, 0x80, 0xE6, 0x66, 0x3C, 0x20, 0x00, 0x00, 0x00, 0x00, 0xF9, 0x41,
 0x20, 0x00, 0x00, 0x80, 0xF9, 0x43, 0x21, 0x00, 0x00, 0x00, 0xC0, 0x13, 0x30, 0x00, 0x01, 0x00,
 0x18, 0x14, 0x42, 0x0A, 0xF3, 0xF3, 0xC2, 0x32, 0x40, 0x06, 0x01, 0x00, 0x80, 0x0C, 0x00, 0x00,
 0x00, 0x80, 0xE6, 0x66, 0x3C, 0x20, 0x00, 0x00, 0x00, 0x00, 0xF9, 0x41, 0x21, 0x00, 0x00, 0x00,
 0xF9, 0x43, 0x22, 0x00, 0x00, 0x00, 0xC0, 0x13, 0x30, 0x00, 0x01, 0x00, 0x18, 0x14, 0x42, 0x0A,
 0xF3, 0xF3, 0xC2, 0x32, 0x40, 0x06, 0x01, 0x00, 0x80, 0x0C, 0x00, 0x00, 0x00, 0x60, 0xE6, 0x66,
 0x3C, 0x20, 0x00, 0x00, 0x00, 0x00, 0xF9, 0x41, 0x2D, 0x00, 0x00, 0x60, 0xF9, 0x43, 0x22, 0x00,
 0x00, 0xC0, 0xC0, 0x13, 0x30, 0x00, 0x01, 0x00, 0x18, 0x14, 0x42, 0x0A, 0xF3, 0xF3, 0xC2, 0x32,
 0x40, 0x06, 0x01, 0x00, 0x80, 0x0C, 0x00, 0x00, 0x00, 0x80, 0xE6, 0x66, 0xF9, 0x41, 0x2D, 0x00,
 0x00, 0xE0, 0xF9, 0x43, 0x23, 0x00, 0x00, 0xC0, 0xC0, 0x13, 0x30, 0x00, 0x01, 0x00, 0x18, 0x14,
 0x42, 0x0A, 0xF3, 0xF3, 0xC2, 0x32, 0x40, 0x06, 0x01, 0x00, 0x80, 0x0C, 0x00, 0x00, 0x00, 0x20,
 0xE6, 0x66, 0xFC, 0x33, 0x00, 0x00, 0x2F, 0x00, 0xFC, 0xFF, 0x1F, 0x24, 0x5F, 0x22, 0x5F, 0x20,
 0xF9, 0x4E, 0x0E, 0x00, 0x5C, 0x12, 0x79, 0x0C, 0x01, 0x00, 0x10, 0x00, 0x8E, 0x00, 0x00, 0x67,
 0xF6, 0xFE, 0xFC, 0x33, 0x00, 0x00, 0x10, 0x00, 0xF6, 0xFF, 0x08, 0x2F, 0x09, 0x2F, 0x02, 0x2F,
 0xFC, 0x33, 0x05, 0x00, 0x2F, 0x00, 0xF0, 0xFF, 0xFC, 0x33, 0x01, 0x00, 0x2F, 0x00, 0xFC, 0xFF,
 0xF9, 0x41, 0x20, 0x00, 0x00, 0x00, 0xF9, 0x43, 0x20, 0x00, 0x00, 0x00, 0x3C, 0x20, 0x00, 0x00,
 0x00, 0x00, 0x79, 0x0C, 0x01, 0x00, 0x10, 0x00, 0x8E, 0x00, 0x00, 0x67, 0xBA, 0xFE, 0xC0, 0x13,
 0x30, 0x00, 0x01, 0x00, 0x18, 0x14, 0x42, 0x0A, 0xF3, 0xF3, 0xC2, 0x32, 0x40, 0x06, 0x01, 0x00,
 0x80, 0x0C, 0x00, 0x00, 0x00, 0x80, 0xDA, 0x66, 0x3C, 0x20, 0x00, 0x00, 0x00, 0x00, 0x79, 0x0C,
 0x01, 0x00, 0x10, 0x00, 0x8E, 0x00, 0x00, 0x67, 0x8E, 0xFE, 0xC0, 0x13, 0x30, 0x00, 0x01, 0x00,
 0x18, 0x14, 0x42, 0x0A, 0xF3, 0xF3, 0xC2, 0x32, 0x40, 0x06, 0x01, 0x00, 0x80, 0x0C, 0x00, 0x00,
 0x00, 0x80, 0xDA, 0x66, 0x3C, 0x20, 0x00, 0x00, 0x00, 0x00, 0x79, 0x0C, 0x01, 0x00, 0x10, 0x00,
 0x8E, 0x00, 0x00, 0x67, 0x62, 0xFE, 0xC0, 0x13, 0x30, 0x00, 0x01, 0x00, 0x18, 0x14, 0x42, 0x0A,
 0xF3, 0xF3, 0xC2, 0x32, 0x40, 0x06, 0x01, 0x00, 0x80, 0x0C, 0x00, 0x00, 0x00, 0x80, 0xDA, 0x66,
 0x3C, 0x20, 0x00, 0x00, 0x00, 0x00, 0x79, 0x0C, 0x01, 0x00, 0x10, 0x00, 0x8E, 0x00, 0x00, 0x67,
 0x36, 0xFE, 0xC0, 0x13, 0x30, 0x00, 0x01, 0x00, 0x18, 0x14, 0x42, 0x0A, 0xF3, 0xF3, 0xC2, 0x32,
 0x40, 0x06, 0x01, 0x00, 0x80, 0x0C, 0x00, 0x00, 0x00, 0x80, 0xDA, 0x66, 0x79, 0x0C, 0x01, 0x00,
 0x10, 0x00, 0x8E, 0x00, 0x00, 0x67, 0x10, 0xFE, 0x3C, 0x20, 0x00, 0x00, 0x00, 0x00, 0xFC, 0x33,
 0x00, 0x00, 0x2F, 0x00, 0xFC, 0xFF, 0x1F, 0x24, 0x5F, 0x22, 0x5F, 0x20, 0xC0, 0x13, 0x30, 0x00,
 0x01, 0x00, 0xC1, 0x33, 0x2F, 0x00, 0xF0, 0xFF, 0x00, 0x70, 0x75, 0x4E, 0xFF, 0xFF, 0xFF, 0xFF,
 0xB0, 0xC4, 0x73, 0x0E, 0x84, 0x17, 0x3E, 0x1F, 0x66, 0xA5, 0xAD, 0x74, 0x5F, 0x3B, 0x35, 0xF2,
 0xFE, 0x6D, 0xCE, 0x01, 0x8F, 0x23, 0x79, 0x5A, 0x5C, 0x85, 0xBD, 0x74, 0x2E, 0x05, 0x90, 0x30,
 0xE9, 0xEB, 0xF9, 0x08, 0xDE, 0xA6, 0x6D, 0xEA, 0x50, 0xCD, 0xA4, 0x81, 0x35, 0x88, 0x73, 0x89,
 0x26, 0xD3, 0xF1, 0x7C, 0x21, 0xD0, 0xDB, 0xB7, 0x7D, 0x1B, 0x0F, 0xDD, 0x36, 0xD6, 0x93, 0x17,
 0x74, 0xE1, 0x76, 0x7D, 0xF2, 0x6A, 0x89, 0xC4, 0xAA, 0xDC, 0xB4, 0xFC,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, 0xFB, 0x3A, 0x20, 0xC6, 0xB9, 0x93, 0xF8
 };

 int i;
 UINT8 *mem8   = (UINT8 *)Neo68KROM;
 unsigned short *mem16 = (unsigned short *)Neo68KROM;

 mem8 [ 0x000124 ] = 0x0D;
 mem8 [ 0x000126 ] = 0xA8;
 mem8 [ 0x000127 ] = 0xF7;
 mem8 [ 0x008BF4 ] = 0xF9;
 mem8 [ 0x008BF5 ] = 0x4E;
 mem8 [ 0x008BF6 ] = 0x0D;
 mem8 [ 0x008BF8 ] = 0x80;
 mem8 [ 0x008BF9 ] = 0xF9;
 mem8 [ 0x0DD880 ] = 0x75;
 mem8 [ 0x0DD881 ] = 0x4E;
 mem8 [ 0x0DD89E ] = 0x75;
 mem8 [ 0x0DD89F ] = 0x4E;
 mem8 [ 0x0DD8BC ] = 0x75;
 mem8 [ 0x0DD8BD ] = 0x4E;
 mem8 [ 0x0DF987 ] = 0x16;
 mem8 [ 0x0DF999 ] = 0x16;


 for (i=0;i<120;i++)
  mem8[ i+0xE0000 ]=data1[i];
 mem16[ 0xE0078/2 ]=0xFFFF;
 
 for (i=0;i<1248;i++)
  mem8[ i+0xE1000 ]=data2[i];
 mem16[ 0xE14E0/2 ]=0xFFFF;
}

static void kof10th_px_decrypt()
{
int i,j,rom_size = 0x800000;
unsigned char* src = Neo68KROM;
unsigned char* dst =(unsigned char*)malloc(rom_size);

  if (dst) {
  // Copy of P1 at 200000 and 300000 (120b diff)
    memcpy(dst+0x000000, src+0x700000, 0x100000);
    memcpy(dst+0x100000, src+0x000000, 0x400000);
    memcpy(dst+0x500000, src+0x400000, 0x200000);
    //memcpy(src+0x000000, dst+0x000000, 0x800000);

    //memcpy(dst,src,rom_size);

  for( i = 0; i   j=BITSWAP24(i,23,22,21,20,19,18,17,16,15,14,13,12,11,2,9,8,7,1,5,4,3,10,6,0);
      src[j]=dst[i];
 }

    free(dst);
  }

  kof10th_patches();
}

static void kof10th_px_decrypt()
{
int i,j,rom_size = 0x800000;
unsigned char* src = Neo68KROM;
unsigned char* dst =(unsigned char*)malloc(rom_size);

  if (dst) {
  // Copy of P1 at 200000 and 300000 (120b diff)
    memcpy(dst+0x000000, src+0x700000, 0x100000);
    memcpy(dst+0x100000, src+0x000000, 0x400000);
    memcpy(dst+0x500000, src+0x400000, 0x200000);
    //memcpy(src+0x000000, dst+0x000000, 0x800000);

    //memcpy(dst,src,rom_size);

  for( i = 0; i < rom_size; i++ ){
  j=BITSWAP24(i,23,22,21,20,19,18,17,16,15,14,13,12,11,2,9,8,7,1,5,4,3,10,6,0);
      src[j]=dst[i];
 }

    free(dst);
  }
 
  kof10th_patches();
}

static int kof10thInit()
{
pNeoInitCallback = kof10th_px_decrypt;
nNeoTextROMFixType= 10;
  return NeoInit();
}

struct BurnDriver BurnDrvkof10th= {
  "kof10th",NULL, "neogeo", "2004",
"The King of Fighters 10th Anniversary Edition (hack)\0",NULL,"SNK Playmore", "Neo Geo",
NULL, NULL, NULL, NULL,
  BDF_GAME_WORKING | BDF_BOOTLEG, 2, HARDWARE_SNK_NEOGEO | HARDWARE_SNK_SRAM,
  NULL, kof10thRomInfo, kof10thRomName, neogeoInputInfo, neogeoDIPInfo,
  kof10thInit, NeoExit, NeoFrame, NeoRender, NeoScan, &NeoRecalcPalette,
  nNeoScreenWidth, 224, 4, 3
};

Offline iq_132

  • Administrator
  • *****
  • Posts: 3728
  • Karma: +411/-0
  • Definitely not Dink!
    • NeoSource
King of Fighters 10th Anniversary Edition Emulation Infos
« Reply #17 on: March 07, 2005, 11:32:26 PM »
lol, that's my code :P  Looks like someone is sharing a bit early :p


Offline bms888

  • Jr. Member
  • **
  • Posts: 93
  • Karma: +0/-0
  • Member
King of Fighters 10th Anniversary Edition Emulation Infos
« Reply #18 on: March 07, 2005, 11:43:35 PM »
Quote from: iq_132
lol, that's my code :P  Looks like someone is sharing a bit early :p


BTW.IQ!

nNeoTextROMFixType= 10; ???

IQ.In fact.

kof10th kf10-c3a -- c8b same as kof2k2nd kf2k2_c3.rom -- kf2k2_c8.rom,

kof10th kf10-v1/2 same as kof2002 decrypted V.

why Raz & U useing the many same roms? ^_^

netbug. I'v tested your FBA code. the kof10th can't boot,just black screen. :mad:

by the way,what is nNeoTextROMFixType= 10; :cool:

Offline iq_132

  • Administrator
  • *****
  • Posts: 3728
  • Karma: +411/-0
  • Definitely not Dink!
    • NeoSource
King of Fighters 10th Anniversary Edition Emulation Infos
« Reply #19 on: March 08, 2005, 01:45:50 AM »
BMS... I've tried that decrypted P rom and a decrypted S rom.
Also, I've tried the C roms as you suggest.  
They all result in the backgrounds still being scrambled.  
Is there something you haven't mentioned/posted?


Offline bms888

  • Jr. Member
  • **
  • Posts: 93
  • Karma: +0/-0
  • Member
King of Fighters 10th Anniversary Edition Emulation Infos
« Reply #20 on: March 08, 2005, 03:57:32 AM »
Quote from: iq_132
BMS... I've tried that decrypted P rom and a decrypted S rom.
Also, I've tried the C roms as you suggest.  
They all result in the backgrounds still being scrambled.  
Is there something you haven't mentioned/posted?


OK.you can get decrypted S and Emu( NMameX II) from here:

http://bbs.emu-zone.org/showthread.php?t=266007

Offline James33

  • Expert
  • *****
  • Posts: 532
  • Karma: +3/-0
  • The Mame Man
    • Emulation Zone
King of Fighters 10th Anniversary Edition Emulation Infos
« Reply #21 on: March 08, 2005, 05:28:53 AM »
None of those drivers work  I think rather get the set thats working in Kawaks 1.54 than all these weird sets  :cool:


netbug code boots up for me but its still not working properly and its the same as the driver I already have


netbug driver




Quote from: bms888
Kof10th do not need any bankswitch code. ^_^



So what code does it need ??
IQ Forum Member

Offline KaNyErO

  • Member
  • ***
  • Posts: 142
  • Karma: +4/-0
King of Fighters 10th Anniversary Edition Emulation Infos
« Reply #22 on: March 08, 2005, 08:49:30 AM »
i´ve done a 100% standard 128kb s1 that should work even in nrx. It even fixes some bugs like the infinite symbol. If you want it just let me know.

btw... it seems that emulation in kawaks is not perfect, i was told different characters has different moves.  :confused:

Offline neo04

  • Jr. Member
  • **
  • Posts: 90
  • Karma: +1/-0
King of Fighters 10th Anniversary Edition Emulation Infos
« Reply #23 on: March 08, 2005, 09:09:23 AM »
kanyero can u give patch for it? thx :)

Offline JiMMy_PaGe

  • Expert
  • *****
  • Posts: 60
  • Karma: +2/-0
    • SNK-NeoFighters
King of Fighters 10th Anniversary Edition Emulation Infos
« Reply #24 on: March 08, 2005, 12:25:14 PM »
@BMS888
ur set dosent need bankswitch because its not protected, but the encrypted p roms has 3 bankswitchs, two of them are emulated (see iq's code), now theres only one left...
Btw, could u make a patch from kawaks dev p1 ram dump or the encrypted one to ur p1a ? it will be very useful for us, with ur p rom we will be able to finish the driver and finally run the encrypted set :D :D
@Kanyero:
Its good to know that u have the fully fixed and decrypted s1 :D :D, btw, could u give us some informations about it? like, if it uses bitswap or not, or something... any help will be very aprecciated :D
Thanks in advance
See ya bros

Offline iq_132

  • Administrator
  • *****
  • Posts: 3728
  • Karma: +411/-0
  • Definitely not Dink!
    • NeoSource
King of Fighters 10th Anniversary Edition Emulation Infos
« Reply #25 on: March 08, 2005, 01:20:14 PM »
I have a slight correction for Jimmy.  There aren't bankswitches.  There are 3 ram locations that need to be emulated correctly, and also need to be switched between the two because of an overlap (at least according to Razoola's docs)


Offline JiMMy_PaGe

  • Expert
  • *****
  • Posts: 60
  • Karma: +2/-0
    • SNK-NeoFighters
King of Fighters 10th Anniversary Edition Emulation Infos
« Reply #26 on: March 08, 2005, 01:22:41 PM »
Quote from: iq_132
I have a slight correction for Jimmy.  There aren't bankswitches.  There are 3 ram locations that need to be emulated correctly, and also need to be switched between the two because of an overlap (at least according to Razoola's docs)

Yeah u are right, thanks for the correction, i always get confused with these bankswitch/rams things lol  :D   :D
See ya
 :cool:

Offline bms888

  • Jr. Member
  • **
  • Posts: 93
  • Karma: +0/-0
  • Member
King of Fighters 10th Anniversary Edition Emulation Infos
« Reply #27 on: March 08, 2005, 06:49:33 PM »
Quote from: Jimmy_Page
@BMS888
ur set dosent need bankswitch because its not protected, but the encrypted p roms has 3 bankswitchs, two of them are emulated (see iq's code), now theres only one left...
Btw, could u make a patch from kawaks dev p1 ram dump or the encrypted one to ur p1a ? it will be very useful for us, with ur p rom we will be able to finish the driver and finally run the encrypted set :D :D
@Kanyero:
Its good to know that u have the fully fixed and decrypted s1 :D :D, btw, could u give us some informations about it? like, if it uses bitswap or not, or something... any help will be very aprecciated :D
Thanks in advance
See ya bros


@Jim
This p1a is a fixed P1 by HappyASR,not new P1 set,have some changes.^_^.

   ROM_LOAD16_WORD_SWAP( "kf10-p1a.bin", 0x000000, 0x700000, 0xCBC97E22 )

Offline bms888

  • Jr. Member
  • **
  • Posts: 93
  • Karma: +0/-0
  • Member
King of Fighters 10th Anniversary Edition Emulation Infos
« Reply #28 on: March 08, 2005, 06:52:33 PM »
Quote from: iq_132
I have a slight correction for Jimmy.  There aren't bankswitches.  There are 3 ram locations that need to be emulated correctly, and also need to be switched between the two because of an overlap (at least according to Razoola's docs)


Yes.IQ.

Razoola's docs some info is importend for me about RAM locations and port address.^_^

Offline iq_132

  • Administrator
  • *****
  • Posts: 3728
  • Karma: +411/-0
  • Definitely not Dink!
    • NeoSource
King of Fighters 10th Anniversary Edition Emulation Infos
« Reply #29 on: March 08, 2005, 06:52:54 PM »
Can you post a patch for that? :D