Author Topic: The King of Fighters 2004 Special Edition (Hack)  (Read 24722 times)

Offline iq_132

  • Administrator
  • *****
  • Posts: 3621
  • Karma: +385/-0
  • Bare Knuckle!
    • NeoSource
Re: The King of Fighters 2004 - Special Edition (Hack) making problem - 1 only.
« Reply #15 on: November 21, 2005, 05:39:36 PM »
1. What is kf2k4spe a clone of?
2. What does kf2k4spe's parent use to decrypt it's V roms?

Answer both of those questions and you will have the answer you seek.

« Last Edit: November 21, 2005, 05:40:46 PM by iq_132 »


Offline KingHanco

  • Sr. Member
  • ****
  • Posts: 401
  • Karma: +0/-4
  • "Special " Member
Re: The King of Fighters 2004 - Special Edition (Hack) making problem - 1 only.
« Reply #16 on: November 21, 2005, 06:28:25 PM »
1. What is kf2k4spe a clone of?
2. What does kf2k4spe's parent use to decrypt it's V roms?

Answer both of those questions and you will have the answer you seek.



1. Clone of kof2002 - Encrypted Set.

2. Uses v roms from the  kof2002 - Encrypted Set. 265-v1.bin - CRC(15e8f3f5) SHA1(7c9e6426b9fa6db0158baa17a6485ffce057d889) ) and 265-v2.bin - CRC(da41d6f9) SHA1(a43021f1e58947dcbe3c8ca5283b20b649f0409d) ) for the REGION_SOUND1. kof2002 doesn't uses the v3 and v4 anymore.

I look at the kof2002 - Encrypted and it doesn't have the kof2002_vx_decrypt(); in the neogeo.c in the drivers folder because they change the decrypt into encrypted.  :biggrin:

Offline iq_132

  • Administrator
  • *****
  • Posts: 3621
  • Karma: +385/-0
  • Bare Knuckle!
    • NeoSource
Re: The King of Fighters 2004 - Special Edition (Hack) making problem - 1 only.
« Reply #17 on: November 21, 2005, 06:37:47 PM »
ok... let's try this again.

In kf2k4spe, you are using these v roms:

Code: [Select]
        ROM_REGION( 0x1000000, REGION_SOUND1, 0)
ROM_LOAD( "265-v1.bin", 0x000000, 0x800000, CRC(15e8f3f5) SHA1(7c9e6426b9fa6db0158baa17a6485ffce057d889) )
ROM_LOAD( "265-v2.bin", 0x800000, 0x800000, CRC(da41d6f9) SHA1(a43021f1e58947dcbe3c8ca5283b20b649f0409d) )

In kof2002, these are the V roms:

Code: [Select]
ROM_REGION( 0x1000000, REGION_SOUND1, 0 )
/* Encrypted */
ROM_LOAD( "265-v1.bin", 0x000000, 0x800000, CRC(15e8f3f5) SHA1(7c9e6426b9fa6db0158baa17a6485ffce057d889) )
ROM_LOAD( "265-v2.bin", 0x800000, 0x800000, CRC(da41d6f9) SHA1(a43021f1e58947dcbe3c8ca5283b20b649f0409d) )

If  the V roms for kof2002 are encrypted, and the V roms are the same, that must mean what?


Offline KingHanco

  • Sr. Member
  • ****
  • Posts: 401
  • Karma: +0/-4
  • "Special " Member
Re: The King of Fighters 2004 - Special Edition (Hack) making problem - 1 only.
« Reply #18 on: November 21, 2005, 07:15:14 PM »
ok... let's try this again.

In kf2k4spe, you are using these v roms:

Code: [Select]
        ROM_REGION( 0x1000000, REGION_SOUND1, 0)
ROM_LOAD( "265-v1.bin", 0x000000, 0x800000, CRC(15e8f3f5) SHA1(7c9e6426b9fa6db0158baa17a6485ffce057d889) )
ROM_LOAD( "265-v2.bin", 0x800000, 0x800000, CRC(da41d6f9) SHA1(a43021f1e58947dcbe3c8ca5283b20b649f0409d) )

In kof2002, these are the V roms:

Code: [Select]
ROM_REGION( 0x1000000, REGION_SOUND1, 0 )
/* Encrypted */
ROM_LOAD( "265-v1.bin", 0x000000, 0x800000, CRC(15e8f3f5) SHA1(7c9e6426b9fa6db0158baa17a6485ffce057d889) )
ROM_LOAD( "265-v2.bin", 0x800000, 0x800000, CRC(da41d6f9) SHA1(a43021f1e58947dcbe3c8ca5283b20b649f0409d) )

If  the V roms for kof2002 are encrypted, and the V roms are the same, that must mean what?


kf2k4spe using the kof2002 encrypted sounds roms that is encrypted.

Offline neo04

  • Jr. Member
  • **
  • Posts: 90
  • Karma: +1/-0
Re: The King of Fighters 2004 - Special Edition (Hack) making problem - 1 only.
« Reply #19 on: November 21, 2005, 07:46:33 PM »
meaning, it uses the same decryption method as kof2002...

Offline iq_132

  • Administrator
  • *****
  • Posts: 3621
  • Karma: +385/-0
  • Bare Knuckle!
    • NeoSource
Re: The King of Fighters 2004 - Special Edition (Hack) making problem - 1 only.
« Reply #20 on: November 21, 2005, 08:02:33 PM »
meaning, it uses the same decryption method as kof2002...

* iq_132 gives Neo04 a cigar. ;)


Next question for Hanco...

Since kof2002 uses the same roms, and they are encrypted, and use the same code to decrypt them as kof2002, where in this code is the code to decrypt the V roms?

Code: [Select]
DRIVER_INIT( kof2002 )
{
int i;
unsigned int sec[]={0x100000,0x280000,0x300000,0x180000,0x000000,0x380000,0x200000,0x080000};
UINT8 *src = memory_region(REGION_CPU1)+0x100000;
UINT8 *dst = malloc(0x400000);
if (dst)
{
memcpy( dst, src, 0x400000 );
for( i=0; i<8; ++i )
{
memcpy( src+i*0x80000, dst+sec[i], 0x80000 );
}
free(dst);
}

neo_pcm2_swap(0);

neogeo_fix_bank_type = 0;
kof2000_neogeo_gfx_decrypt(0xec);

init_neogeo();
}


Offline KingHanco

  • Sr. Member
  • ****
  • Posts: 401
  • Karma: +0/-4
  • "Special " Member
Re: The King of Fighters 2004 - Special Edition (Hack) making problem - 1 only.
« Reply #21 on: November 21, 2005, 08:33:51 PM »
* iq_132 gives Neo04 a cigar. ;)


Next question for Hanco...

Since kof2002 uses the same roms, and they are encrypted, and use the same code to decrypt them as kof2002, where in this code is the code to decrypt the V roms?

Code: [Select]
DRIVER_INIT( kof2002 )
{
int i;
unsigned int sec[]={0x100000,0x280000,0x300000,0x180000,0x000000,0x380000,0x200000,0x080000};
UINT8 *src = memory_region(REGION_CPU1)+0x100000;
UINT8 *dst = malloc(0x400000);
if (dst)
{
memcpy( dst, src, 0x400000 );
for( i=0; i<8; ++i )
{
memcpy( src+i*0x80000, dst+sec[i], 0x80000 );
}
free(dst);
}

neo_pcm2_swap(0);

neogeo_fix_bank_type = 0;
kof2000_neogeo_gfx_decrypt(0xec);

init_neogeo();
}

kof2000_neogeo_gfx_decrypt(0xec);
« Last Edit: November 21, 2005, 08:45:52 PM by KingHanco »

Offline iq_132

  • Administrator
  • *****
  • Posts: 3621
  • Karma: +385/-0
  • Bare Knuckle!
    • NeoSource
Re: The King of Fighters 2004 - Special Edition (Hack) making problem - 1 only.
« Reply #22 on: November 21, 2005, 09:18:38 PM »
kof2000_neogeo_gfx_decrypt(0xec);


Errrrtttt!!! Wrong! gfx = graphics, try again ;)


Offline KingHanco

  • Sr. Member
  • ****
  • Posts: 401
  • Karma: +0/-4
  • "Special " Member
Re: The King of Fighters 2004 - Special Edition (Hack) making problem - 1 only.
« Reply #23 on: November 21, 2005, 09:49:14 PM »
neo_pcm2_swap(0);

Heh I problemy wrong again.

Offline iq_132

  • Administrator
  • *****
  • Posts: 3621
  • Karma: +385/-0
  • Bare Knuckle!
    • NeoSource
Re: The King of Fighters 2004 - Special Edition (Hack) making problem - 1 only.
« Reply #24 on: November 21, 2005, 10:10:33 PM »
neo_pcm2_swap(0);
Give it a try ;)

Quote
Heh I problemy wrong again.

Maybe... maybe not. ;)


Offline KingHanco

  • Sr. Member
  • ****
  • Posts: 401
  • Karma: +0/-4
  • "Special " Member
Re: The King of Fighters 2004 - Special Edition (Hack) making problem - 1 only.
« Reply #25 on: November 21, 2005, 10:59:14 PM »
Give it a try ;)

Maybe... maybe not. ;)

That works. The sounds and musics are picking up now. Thanks. :biggrin:

Offline iq_132

  • Administrator
  • *****
  • Posts: 3621
  • Karma: +385/-0
  • Bare Knuckle!
    • NeoSource
Re: The King of Fighters 2004 - Special Edition (Hack) making problem - 1 only.
« Reply #26 on: November 21, 2005, 11:25:38 PM »
See, that wasn't so hard ;)  Next time you have a problem, just think about it, look at what's in front of you, and give it a go.
If you still can't get it, then it's time to come here and ask :)


Offline neo04

  • Jr. Member
  • **
  • Posts: 90
  • Karma: +1/-0
Re: The King of Fighters 2004 - Special Edition (Hack) making problem - 1 only.
« Reply #27 on: November 21, 2005, 11:41:25 PM »
yay! :D got a cigar... :) im late to answer the next one..
« Last Edit: November 21, 2005, 11:42:58 PM by neo04 »

Offline James33

  • Expert
  • *****
  • Posts: 532
  • Karma: +3/-0
  • The Mame Man
    • Emulation Zone
Re: The King of Fighters 2004 - Special Edition (Hack) making problem - 1 only.
« Reply #28 on: November 22, 2005, 07:26:31 AM »
Would be just as easy to use this set .

Code: [Select]
ROM_START( kf2k4spe )
ROM_REGION( 0x500000, REGION_CPU1, 0 )
ROM_LOAD16_WORD_SWAP( "k2k4s-p2.bin", 0x000000, 0x080000, CRC(21a84084) SHA1(973e8a0bffa0e1f055803f663f81a8e03701802d) )
ROM_LOAD16_WORD_SWAP( "k2k4s-p3.bin", 0x080000, 0x080000, CRC(febb484e) SHA1(4b1838795b84f22d578ad043641df0a7bf7d9774) )
ROM_LOAD16_WORD_SWAP( "k2k4s-p1.bin", 0x100000, 0x400000, CRC(e6c50566) SHA1(cc6a3489a3bfeb4dcc65b6ddae0030f7e66fbabe) )

NEO_SFIX_128K( "k2k4s-s1.bin", CRC(a3c9b2d8) SHA1(1472d2cbd7bb73e84824ecf773924007e6117e77) )

NEO_BIOS_SOUND_128K( "k2k4s-m1.bin", CRC(60ba7947) SHA1(061141463fe59c5e0d4cf81d28a09b0b5d9c1566) )

ROM_REGION( 0x1000000, REGION_SOUND1, 0 )
ROM_LOAD( "k2k4s-v2.bin", 0x000000, 0x800000, CRC(e4ddfb3f) SHA1(eb8220ab01c16cf9244b7f3f9912bec0db561b85) )
ROM_LOAD( "k2k4s-v1.bin", 0x800000, 0x800000, CRC(b887d287) SHA1(f593a5722df6f6fac023d189a739a117e976bb2f) )

NO_DELTAT_REGION

ROM_REGION( 0x4000000, REGION_GFX3, 0 )
ROM_LOAD16_BYTE( "k2k4s-c4.bin", 0x0000000, 0x800000, CRC(7a050288) SHA1(55a20c5b01e11a859f096af3f8e09986025d288f) ) /* Plane 0,1 */
ROM_LOAD16_BYTE( "k2k4s-c8.bin", 0x0000001, 0x800000, CRC(e924afcf) SHA1(651e974f7339d2cdcfa58c5398013197a0525b77) ) /* Plane 2,3 */
ROM_LOAD16_BYTE( "k2k4s-c3.bin", 0x1000000, 0x800000, CRC(959fad0b) SHA1(63ab83ddc5f688dc8165a7ff8d262df3fcd942a2) ) /* Plane 0,1 */
ROM_LOAD16_BYTE( "k2k4s-c7.bin", 0x1000001, 0x800000, CRC(efe6a468) SHA1(2a414285e48aa948b5b0d4a9333bab083b5fb853) ) /* Plane 2,3 */
ROM_LOAD16_BYTE( "k2k4s-c2.bin", 0x2000000, 0x800000, CRC(74bba7c6) SHA1(e01adc7a4633bc0951b9b4f09abc07d728e9a2d9) ) /* Plane 0,1 */
ROM_LOAD16_BYTE( "k2k4s-c6.bin", 0x2000001, 0x800000, CRC(e20d2216) SHA1(5d28eea7b581e780b78f391a8179f1678ee0d9a5) ) /* Plane 2,3 */
ROM_LOAD16_BYTE( "k2k4s-c1.bin", 0x3000000, 0x800000, CRC(fa705b2b) SHA1(f314c66876589601806352484dd8e45bc41be692) ) /* Plane 0,1 */
ROM_LOAD16_BYTE( "k2k4s-c5.bin", 0x3000001, 0x800000, CRC(2c912ff9) SHA1(b624a625ea3e221808b7ea43fb0b1a51d8c1853e) ) /* Plane 2,3 */
ROM_END



DRIVER_INIT( kf2k4spe )
{
int i;
UINT8 *src = memory_region(REGION_CPU1)+0x100000;
UINT8 *dst = malloc(0x400000);
unsigned int sec[] = {0x300000,0x200000,0x100000,0x000000};
if (dst)
{
memcpy(dst,src,0x400000);

for (i = 0; i < 4; ++i)
{
memcpy(src+i*0x100000,dst+sec[i],0x100000);
}
free(dst);
}
init_neogeo();
}


GAMEB( 2004, kf2k4spe, kof2002, neogeo, neogeo, neogeo,  kf2k4spe, ROT0, "Dragon CO.LTD", "The King of Fighters 2004 Special Edition (Hack)", 0 )

IQ Forum Member

Offline KingHanco

  • Sr. Member
  • ****
  • Posts: 401
  • Karma: +0/-4
  • "Special " Member
Re: The King of Fighters 2004 - Special Edition (Hack) making problem - 1 only.
« Reply #29 on: November 22, 2005, 07:49:56 AM »
James33,

ROM_REGION( 0x1000000, REGION_SOUND1, 0 )
ROM_LOAD( "k2k4s-v2.bin", 0x000000, 0x800000, CRC(e4ddfb3f) SHA1(eb8220ab01c16cf9244b7f3f9912bec0db561b85) )
ROM_LOAD( "k2k4s-v1.bin", 0x800000, 0x800000, CRC(b887d287) SHA1(f593a5722df6f6fac023d189a739a117e976bb2f) )

Those are patch and unoffical roms. If Razoola and Jan_Klaassen won't use then I won't ether.