Welcome!
General Emulation => MAME => Topic started by: James33 on January 13, 2005, 11:05:44 PM
-
I know its wrong But not sure whats needed to fix it
ROM_START( kof2k4se )
ROM_REGION( 0x500000, REGION_CPU1, 0 )
ROM_LOAD16_WORD_SWAP( "sp2k4-p1.bin", 0x000000, 0x400000, CRC(e6c50566) SHA1(cc6a3489a3bfeb4dcc65b6ddae0030f7e66fbabe) )
ROM_LOAD16_WORD_SWAP( "sp2k4-p2.bin", 0x400000, 0x080000, CRC(21a84084) SHA1(973e8a0bffa0e1f055803f663f81a8e03701802d) )
ROM_LOAD16_WORD_SWAP( "sp2k4-p3.bin", 0x080000, 0x080000, CRC(febb484e) SHA1(4b1838795b84f22d578ad043641df0a7bf7d9774) )
NEO_SFIX_128K( "2k4-s1.bin", CRC(a3c9b2d8) SHA1(1472d2cbd7bb73e84824ecf773924007e6117e77) )
NEO_BIOS_SOUND_128K( "2k4-m1d.bin", CRC(5a47d9ad) SHA1(0197737934653acc6c97221660d789e9914f3578) ) /* decrypted */
ROM_REGION( 0x1000000, REGION_SOUND1, ROMREGION_SOUNDONLY )
/* decrypted */
ROM_LOAD( "sp2k4-v1.bin", 0x000000, 0x800000, CRC(e4ddfb3f) SHA1(eb8220ab01c16cf9244b7f3f9912bec0db561b85) )
ROM_LOAD( "sp2k4-v2.bin", 0x800000, 0x800000, CRC(b887d287) SHA1(f593a5722df6f6fac023d189a739a117e976bb2f) )
NO_DELTAT_REGION
ROM_REGION( 0x4000000, REGION_GFX3, 0 )
ROM_LOAD16_BYTE( "2k4-c1d.bin", 0x0000000, 0x800000, CRC(7a050288) SHA1(55a20c5b01e11a859f096af3f8e09986025d288f) ) /* Plane 0,1 */
ROM_LOAD16_BYTE( "2k4-c2d.bin", 0x0000001, 0x800000, CRC(e924afcf) SHA1(651e974f7339d2cdcfa58c5398013197a0525b77) ) /* Plane 2,3 */
ROM_LOAD16_BYTE( "2k4-c3d.bin", 0x1000000, 0x800000, CRC(959fad0b) SHA1(63ab83ddc5f688dc8165a7ff8d262df3fcd942a2) ) /* Plane 0,1 */
ROM_LOAD16_BYTE( "2k4-c4d.bin", 0x1000001, 0x800000, CRC(efe6a468) SHA1(2a414285e48aa948b5b0d4a9333bab083b5fb853) ) /* Plane 2,3 */
ROM_LOAD16_BYTE( "2k4-c5d.bin", 0x2000000, 0x800000, CRC(74bba7c6) SHA1(e01adc7a4633bc0951b9b4f09abc07d728e9a2d9) ) /* Plane 0,1 */
ROM_LOAD16_BYTE( "2k4-c6d.bin", 0x2000001, 0x800000, CRC(e20d2216) SHA1(5d28eea7b581e780b78f391a8179f1678ee0d9a5) ) /* Plane 2,3 */
ROM_LOAD16_BYTE( "2k4-c7d.bin", 0x3000000, 0x800000, CRC(fa705b2b) SHA1(f314c66876589601806352484dd8e45bc41be692) ) /* Plane 0,1 */
ROM_LOAD16_BYTE( "2k4-c8d.bin", 0x3000001, 0x800000, CRC(2c912ff9) SHA1(b624a625ea3e221808b7ea43fb0b1a51d8c1853e) ) /* Plane 2,3 */
ROM_END
DRIVER_INIT( kof2k4se )
{
UINT8 *src = memory_region(REGION_CPU1);
UINT8 *dst = malloc(0x500000);
unsigned int sec[] = {0x400000,0x300000,0x200000,0x100000,0x000000};
if (dst)
{
memcpy(dst,src,0x500000);
for(int i = 0; i < 5; ++i)
{
memcpy(src+i*0x100000,dst+sec[i],0x100000);
}
free(dst);
}
// save_dec_p();
// save_dec_s();
init_neogeo();
}
-
ROM_LOAD16_WORD_SWAP( "sp2k4-p1.bin", 0x[B]100000[/B], 0x400000, CRC(e6c50566) )
ROM_LOAD16_WORD_SWAP( "sp2k4-p2.bin", 0x[B]000000[/B], 0x080000, CRC(21a84084) )
and change your init to
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(int i = 0; i < 4; ++i)
{
memcpy(src+i*0x100000,dst+sec[i],0x100000);
}
free(dst);
}
you can also use the neo descrambler code i posted on shortcut thread :)
-
Why do you change the lyout? the original cart has 3 P ROMs intead of two... anyway BOTH are wrong, this is supposed to be the real driver:
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(5a47d9ad) SHA1(0197737934653acc6c97221660d789e9914f3578) )
ROM_REGION( 0x1000000, REGION_SOUND1, ROMREGION_SOUNDONLY )
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( kof2k4se )
{
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(int i = 0; i < 4; ++i)
{
memcpy(src+i*0x100000,dst+sec[i],0x100000);
}
free(dst);
}
init_neogeo();
}
See ya!!!! :D
-
doh!!!! who said I changed anything. >_>
I just fixed the lines who needed to be... (his p3 was loaded correcty on his driver) so that he could fix his driver quickly
posting your entire driver was pointless :P xD
btw James, i would appreciate a patch for that v rom CRC(e4ddfb3f) if you have it...
I have
"265-v1sew.bin", 0x000000, 0x400000, CRC(8991f6e9)
"265-v2sew.bin", 0x400000, 0x400000, CRC(511e4d2f)
which are the split/watermarked version....
thanks
-
Thanks for that
X-or Please Conatct me on MSN ID *snip* :)
Anyway going by the Kawaks 1.53 dat it uses kof2002 V roms anyway .
-
Ok this is the same rom set as what kawaks 1.53 uses ..And how its loaded in Kawaks Also Same as the kawaks 1.53 dat .
ROM_START( kf2k4spe )
ROM_REGION( 0x500000, REGION_CPU1, 0 )
ROM_LOAD16_WORD_SWAP( "k2k4s-p1.bin", 0x100000, 0x400000, CRC(e6c50566) SHA1(cc6a3489a3bfeb4dcc65b6ddae0030f7e66fbabe) )
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) )
NEO_SFIX_128K( "k2k4s-s1.bin", CRC(a3c9b2d8) SHA1(1472d2cbd7bb73e84824ecf773924007e6117e77) )
NEO_BIOS_SOUND_128K( "k2k4s-m1.bin", CRC(5a47d9ad) SHA1(0197737934653acc6c97221660d789e9914f3578) ) /* decrypted */
ROM_REGION( 0x1000000, REGION_SOUND1, ROMREGION_SOUNDONLY )
/* Encrypted */
ROM_LOAD( "265-v1.bin", 0x000000, 0x800000, CRC(15e8f3f5) SHA1(7c9e6426b9fa6db0158baa17a6485ffce057d889) )
ROM_LOAD( "265-v2.bin", 0x800000, 0x800000, CRC(da41d6f9) SHA1(a43021f1e58947dcbe3c8ca5283b20b649f0409d) )
NO_DELTAT_REGION
ROM_REGION( 0x4000000, REGION_GFX3, 0 )
ROM_LOAD16_BYTE( "k2k4s-c1.bin", 0x3000000, 0x800000, CRC(fa705b2b) SHA1(f314c66876589601806352484dd8e45bc41be692) ) /* Plane 0,1 */
ROM_LOAD16_BYTE( "k2k4s-c2.bin", 0x2000000, 0x800000, CRC(74bba7c6) SHA1(e01adc7a4633bc0951b9b4f09abc07d728e9a2d9) ) /* Plane 0,1 */
ROM_LOAD16_BYTE( "k2k4s-c3.bin", 0x1000000, 0x800000, CRC(959fad0b) SHA1(63ab83ddc5f688dc8165a7ff8d262df3fcd942a2) ) /* Plane 0,1 */
ROM_LOAD16_BYTE( "k2k4s-c4.bin", 0x0000000, 0x800000, CRC(7a050288) SHA1(55a20c5b01e11a859f096af3f8e09986025d288f) ) /* Plane 0,1 */
ROM_LOAD16_BYTE( "k2k4s-c5.bin", 0x3000001, 0x800000, CRC(2c912ff9) SHA1(b624a625ea3e221808b7ea43fb0b1a51d8c1853e) ) /* Plane 2,3 */
ROM_LOAD16_BYTE( "k2k4s-c6.bin", 0x2000001, 0x800000, CRC(e20d2216) SHA1(5d28eea7b581e780b78f391a8179f1678ee0d9a5) ) /* Plane 2,3 */
ROM_LOAD16_BYTE( "k2k4s-c7.bin", 0x1000001, 0x800000, CRC(efe6a468) SHA1(2a414285e48aa948b5b0d4a9333bab083b5fb853) ) /* Plane 2,3 */
ROM_LOAD16_BYTE( "k2k4s-c8.bin", 0x0000001, 0x800000, CRC(e924afcf) SHA1(651e974f7339d2cdcfa58c5398013197a0525b77) ) /* Plane 2,3 */
ROM_END
DRIVER_INIT( kf2k4spe )
{
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(int i = 0; i < 4; ++i)
{
memcpy(src+i*0x100000,dst+sec[i],0x100000);
}
free(dst);
}
neo_pcm2_playmore_2002(0); // kof2002
init_neogeo();
}
GAMEB( 2004, kf2k4spe, kof2002, neogeo, neogeo, neogeo, kf2k4spe, ROT0, "Drogon CO", "The King of Fighters 2004 Special Edition (Hack)" )
-
ROM_REGION( 0x1000000, REGION_SOUND1, ROMREGION_SOUNDONLY )
ROM_LOAD( "k2k4s-v2.bin", 0x000000, 0x800000, CRC(e4ddfb3f) SHA1(eb8220ab01c16cf9244b7f3f9912bec0db561b85) )
ROM_LOAD( "k2k4s-v1.bin", 0x800000, 0x800000, CRC(b887d287) SHA1(f593a5722df6f6fac023d189a739a117e976bb2f) )
ferchogtx, why u name those v roms like that? v1 should be v2, & v2 is v1...
-
ferchogtx, why u name those v roms like that? v1 should be v2, & v2 is v1...
nope fet's name are correct, they are swaped in memory
btw james, kawaks uses wrong v...
-
src/driver.c :
DRIVER( kof2k4se ) /* 0271 (c) 2003 Snk / Playmore */
src/neogeo.c (section ROM_START) :
ROM_START( kof2k4se )
ROM_REGION( 0x900000, REGION_CPU1, 0 )
ROM_LOAD16_WORD_SWAP( "2k4-p1.bin" , 0x000000, 0x100000, CRC(5f482757) )
ROM_LOAD16_WORD_SWAP( "2k4-p2.bin" , 0x100000, 0x400000, CRC(e6c50566) )
ROM_LOAD16_WORD_SWAP( "2k4-p2d.bin" , 0x500000, 0x400000, CRC(698679a7) )
NEO_SFIX_128K( "2k4-s1.bin", CRC(a3c9b2d8) )
NEO_BIOS_SOUND_128K( "2k4-m1.bin", CRC(5a47d9ad) )
ROM_REGION( 0x1000000, REGION_SOUND1, 0)
ROM_LOAD( "2k4-v1.bin", 0x000000, 0x400000, CRC(8991f6e9) )
ROM_LOAD( "2k4-v2.bin", 0x400000, 0x400000, CRC(511e4d2f) )
ROM_LOAD( "2k4-v3.bin", 0x800000, 0x400000, CRC(1dd8b53a) )
ROM_LOAD( "2k4-v4.bin", 0xc00000, 0x400000, CRC(63bb5462) )
NO_DELTAT_REGION
ROM_REGION( 0x4000000, REGION_GFX3, 0 )
ROM_LOAD16_BYTE( "2k4-c1.bin", 0x0000000, 0x800000, CRC(7a050288) ) /* Plane 0,1 */
ROM_LOAD16_BYTE( "2k4-c2.bin", 0x0000001, 0x800000, CRC(e924afcf) ) /* Plane 2,3 */
ROM_LOAD16_BYTE( "2k4-c3.bin", 0x1000000, 0x800000, CRC(959fad0b) ) /* Plane 0,1 */
ROM_LOAD16_BYTE( "2k4-c4.bin", 0x1000001, 0x800000, CRC(efe6a468) ) /* Plane 2,3 */
ROM_LOAD16_BYTE( "2k4-c5.bin", 0x2000000, 0x800000, CRC(74bba7c6) ) /* Plane 0,1 */
ROM_LOAD16_BYTE( "2k4-c6.bin", 0x2000001, 0x800000, CRC(e20d2216) ) /* Plane 2,3 */
ROM_LOAD16_BYTE( "2k4-c7.bin", 0x3000000, 0x800000, CRC(fa705b2b) ) /* Plane 0,1 */
ROM_LOAD16_BYTE( "2k4-c8.bin", 0x3000001, 0x800000, CRC(2c912ff9) ) /* Plane 2,3 */
ROM_END
src/neogeo.c (section DRIVER_INIT) :
DRIVER_INIT( kof2k4se )
{
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(int i = 0; i < 4; ++i)
{
memcpy(src+i*0x100000,dst+sec[i],0x100000);
}
free(dst);
}
init_neogeo();
}
src/neogeo.c (section DRIVER_INIT) :
/* Dragonsoft */
GAMEB( 2004, kof2k4se, neogeo, neogeo, neogeo, neogeo, kof2k4se, ROT0, "DragonSoft", "The King of Fighters 2004 - Special Edition (Hac)", 0 )
I get this error on the black screen.
src/driver/neogeo.c: In function ' init_kof2k4se':
src/driver/neogeo.c:6898: error: 'for' loop initial declaration used outside C99 mode
-
for(int i = 0; i < 4; ++i)
The above code is invalid by strict C standards (It's fine with relaxed or C++ though)
To fix it, do this:
After this:
DRIVER_INIT( kof2k4se )
{
add
int i;
replace this:
for(int i = 0; i < 4; ++i)
with this:
for(i = 0; i < 4; ++i)
Note that I removed "int" from inside the for (...) and defined it before any actual code.
-
Can this be a clone from kof10th?
It gotting the same rom - 5A47D9AD - CRC32 (rom)
It could share it together.
All I have to do is change the kof10th rom from 5008-m1.bin to 2k4-m1.bin in the neogeo.c.
Then I change this bellow.
/* Extras Games */
GAMEB( 2004, kof10th, kof2k4se, neogeo, neogeo, neogeo, kof10th, ROT0, "Bootleg", "The King of Fighters 10th Anniversary - All Team Battle (Hack)", 0 )
/* Dragonsoft */
GAMEB( 2004, kof2k4se, neogeo, neogeo, neogeo, neogeo, kof2k4se, ROT0, "DragonSoft", "The King of Fighters 2004 - Special Edition (Hack)", 0 )
-
No it is not . Both of those sets are clones of kof2002 .
-
No it is not . Both of those sets are clones of kof2002 .
Well any of the roms from the clones doesn't match the kof2002 from the Mame 0.102.
1 or more have to match from the kof2002 with the clones.
I know those clones. No problem. :biggrin:
-
Well any of the roms from the clones doesn't match the kof2002 from the Mame 0.102.
1 or more have to match from the kof2002 with the clones.
I know those clones. No problem. :biggrin:
Actually, no roms have to match up. It's just organization. Kof10th and kf2k4spe are hacks of kof2002.
If kf2k4spe was a hack of kof10th, then what you are saying would make sense.
-
ROM_START( kf2k4spe )
ROM_REGION( 0x500000, REGION_CPU1, 0 )
ROM_LOAD16_WORD_SWAP( "k2k4s-p1.bin", 0x100000, 0x400000, CRC(e6c50566) SHA1(cc6a3489a3bfeb4dcc65b6ddae0030f7e66fbabe) )
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) )
NEO_SFIX_128K( "k2k4s-s1.bin", CRC(a3c9b2d8) SHA1(1472d2cbd7bb73e84824ecf773924007e6117e77) )
NEO_BIOS_SOUND_128K( "k2k4s-m1.bin", CRC(5a47d9ad) SHA1(0197737934653acc6c97221660d789e9914f3578) )
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) )
NO_DELTAT_REGION
ROM_REGION( 0x4000000, REGION_GFX3, 0 )
ROM_LOAD16_BYTE( "k2k4s-c1.bin", 0x3000000, 0x800000, CRC(fa705b2b) SHA1(f314c66876589601806352484dd8e45bc41be692) )
ROM_LOAD16_BYTE( "k2k4s-c2.bin", 0x2000000, 0x800000, CRC(74bba7c6) SHA1(e01adc7a4633bc0951b9b4f09abc07d728e9a2d9) )
ROM_LOAD16_BYTE( "k2k4s-c3.bin", 0x1000000, 0x800000, CRC(959fad0b) SHA1(63ab83ddc5f688dc8165a7ff8d262df3fcd942a2) )
ROM_LOAD16_BYTE( "k2k4s-c4.bin", 0x0000000, 0x800000, CRC(7a050288) SHA1(55a20c5b01e11a859f096af3f8e09986025d288f) )
ROM_LOAD16_BYTE( "k2k4s-c5.bin", 0x3000001, 0x800000, CRC(2c912ff9) SHA1(b624a625ea3e221808b7ea43fb0b1a51d8c1853e) )
ROM_LOAD16_BYTE( "k2k4s-c6.bin", 0x2000001, 0x800000, CRC(e20d2216) SHA1(5d28eea7b581e780b78f391a8179f1678ee0d9a5) )
ROM_LOAD16_BYTE( "k2k4s-c7.bin", 0x1000001, 0x800000, CRC(efe6a468) SHA1(2a414285e48aa948b5b0d4a9333bab083b5fb853) )
ROM_LOAD16_BYTE( "k2k4s-c8.bin", 0x0000001, 0x800000, CRC(e924afcf) SHA1(651e974f7339d2cdcfa58c5398013197a0525b77) )
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);
}
// kof2002_vx_decrypt();
init_neogeo();
}
/* Dragonsoft */
GAMEB( 2004, kf2k4spe, kof2002, neogeo, neogeo, neogeo, kf2k4spe, ROT0, "DragonSoft", "The King of Fighters 2004 - Special Edition (Hack)", 0 )
DRIVER( kf2k4spe ) /* 0265 (c) 2004 Dragonsoft */
Those roms are from Winkawaks 1.54. kof2002.zip and kf2k4spe.zip.
I try the Generator making the driver and source first. It didn't show the game screen and no sounds at all. But I get a blue screen and it need the raster coding in for this one. After I done it and quit. I decide to look for the driver and source that matches the roms. So I found one in the MAMEdOX source.
This is the correct roms set and not patches. But there is 2 problems with this.
1. It doesn't like the kof2002_vx_decrypt(); in the source. (Is the coding change in the source??? Maybe I get the sounds and musics problems with this disabled???) What the kof2002_vx_decrypt(); should be then???
2. The sounds and musics are bad. (Crashes sounds and musics)
Anyway it playable. But it have some crashes musics and sounds which are bad.
I don't know what MAMEdOX did to get the musics and sounds to play right in his source.
-
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. 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:
-
ok... let's try this again.
In kf2k4spe, you are using these v roms:
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:
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?
-
ok... let's try this again.
In kf2k4spe, you are using these v roms:
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:
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.
-
meaning, it uses the same decryption method as kof2002...
-
meaning, it uses the same decryption method as kof2002...
/me 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?
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();
}
-
/me 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?
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);
-
kof2000_neogeo_gfx_decrypt(0xec);
Errrrtttt!!! Wrong! gfx = graphics, try again ;)
-
neo_pcm2_swap(0);
Heh I problemy wrong again.
-
neo_pcm2_swap(0);
Give it a try ;)
Heh I problemy wrong again.
Maybe... maybe not. ;)
-
Give it a try ;)
Maybe... maybe not. ;)
That works. The sounds and musics are picking up now. Thanks. :biggrin:
-
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 :)
-
yay! :D got a cigar... :) im late to answer the next one..
-
Would be just as easy to use this set .
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 )
-
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.
-
If they are the original bootleg roms I will . I doubt the bootleg used the encrypted V roms from kof2002 .
-
If they are the original bootleg roms I will . I doubt the bootleg used the encrypted V roms from kof2002 .
Same here. I dont think a bootleg board would have a neo-pcm2 chip... generaly bootlegs boards dosent have "officials" snk / snkp protection chips, only chips created by the bootleggers... :wink:
C ya :smilie:
-
If they are the original bootleg roms I will . I doubt the bootleg used the encrypted V roms from kof2002 .
Razoola said while back that kf2k4spe uses the kof2002 sound roms when he was adding it to WinKawaks 1.53. (It a clone and hack as he said.)
I remmember that he gotting the board infos about the kf2k4spe roms.
I don't know where do you get the kf2k4spe roms infos from. It would be wise go by on Razoola and Mame said. They can tell you what is the real dump or not.
People now days will do anything making home made roms to get people to play.
-
lmao. I know the person who dumped 2k4spe. It uses DECRYPTED V ROMs from kof2002.
Bootleg roms do not use official SNK protection chips.
-
lmao. I know the person who dumped 2k4spe. It uses DECRYPTED V ROMs from kof2002.
Bootleg roms do not use official SNK protection chips.
Who dump it? :biggrin:
I'd like to use the "real" set, but until someone can positively say "this is OFFICIAL" i will stick with what I've got since it works.
I with you there. But WinKawaks use the roms that I'm using for Mame. I found one roms info on Neo-Geo 20050712.dat from http://www.logiqx.com/Dats/ and it might be the real set. I don't know for sure. There are too many of the The King of Fighters 2004 - Special Edition (Hack) roms!!!
-
Razoola said while back that kf2k4spe uses the kof2002 sound roms when he was adding it to WinKawaks 1.53. (It a clone and hack as he said.)
I remmember that he gotting the board infos about the kf2k4spe roms.
I don't know where do you get the kf2k4spe roms infos from. It would be wise go by on Razoola and Mame said. They can tell you what is the real dump or not.
People now days will do anything making home made roms to get people to play.
Razoola is not the only person who knows how to dump neogeo carts . I have a few freinds here in australia who know how to dump neogeo carts and pcb's .
-
Razoola is not the only person who knows how to dump neogeo carts . I have a few freinds here in australia who know how to dump neogeo carts and pcb's .
I don't know your friends. Why not get them to give those infos and carts snapshots to Razoola. Razoola looking for the real thing.
Many people doesn't know because they haven't seen the real thing and thinking those are just homemade roms. Kind like me for exsample. Without any conform then we just don't use those roms without any infos on about those.
=========================================================================================================
Robert, this one that you post is from the Neo-Geo 20050712.dat. I just now notice that. Thanks for letting us know it works. The roms names are different though. Now I have both sets. :)
ROM_START( kof2k4se ) /* Bootleg Set, KOF 2002 Hack */
ROM_REGION( 0x500000, REGION_CPU1, 0 )
ROM_LOAD16_WORD_SWAP( "2k4-p1.bin", 0x000000, 0x100000, CRC(5f482757) SHA1(0c2cba7fc6256e62eb7464306036784703c35a70) )
ROM_LOAD16_WORD_SWAP( "2k4-p2.bin", 0x100000, 0x400000, CRC(e6c50566) SHA1(cc6a3489a3bfeb4dcc65b6ddae0030f7e66fbabe) )
NEO_SFIX_128K( "2k4-s1.bin", CRC(a3c9b2d8) SHA1(1472d2cbd7bb73e84824ecf773924007e6117e77) )
NEO_BIOS_SOUND_128K( "2k4-m1.bin", CRC(5a47d9ad) SHA1(0197737934653acc6c97221660d789e9914f3578) )
ROM_REGION( 0x1000000, REGION_SOUND1, 0 )
ROM_LOAD( "265-v1d.bin", 0x000000, 0x400000, CRC(8991F6E9) )
ROM_LOAD( "265-v2d.bin", 0x400000, 0x400000, CRC(511E4D2F) )
ROM_LOAD( "265-v3d.bin", 0x800000, 0x400000, CRC(1DD8B53A) )
ROM_LOAD( "265-v4d.bin", 0xc00000, 0x400000, CRC(63BB5462) )
ROM_REGION( 0x4000000, REGION_GFX3, 0 )
ROM_LOAD16_BYTE( "2k4-c1.bin", 0x0000000, 0x800000, CRC(7a050288) SHA1(55a20c5b01e11a859f096af3f8e09986025d288f) )
ROM_LOAD16_BYTE( "2k4-c2.bin", 0x0000001, 0x800000, CRC(e924afcf) SHA1(651e974f7339d2cdcfa58c5398013197a0525b77) )
ROM_LOAD16_BYTE( "2k4-c3.bin", 0x1000000, 0x800000, CRC(959fad0b) SHA1(63ab83ddc5f688dc8165a7ff8d262df3fcd942a2) )
ROM_LOAD16_BYTE( "2k4-c4.bin", 0x1000001, 0x800000, CRC(efe6a468) SHA1(2a414285e48aa948b5b0d4a9333bab083b5fb853) )
ROM_LOAD16_BYTE( "2k4-c5.bin", 0x2000000, 0x800000, CRC(74bba7c6) SHA1(e01adc7a4633bc0951b9b4f09abc07d728e9a2d9) )
ROM_LOAD16_BYTE( "2k4-c6.bin", 0x2000001, 0x800000, CRC(e20d2216) SHA1(5d28eea7b581e780b78f391a8179f1678ee0d9a5) )
ROM_LOAD16_BYTE( "2k4-c7.bin", 0x3000000, 0x800000, CRC(fa705b2b) SHA1(f314c66876589601806352484dd8e45bc41be692) )
ROM_LOAD16_BYTE( "2k4-c8.bin", 0x3000001, 0x800000, CRC(2c912ff9) SHA1(b624a625ea3e221808b7ea43fb0b1a51d8c1853e) )
ROM_END
-
Here is confirmed: kf2k4spe uses DECRYPTED samples, just renamed inverse (like svcboot), this cart cannot use snk protection chips because:
1.- The space that is used for for CMC50 + PCM2 chips is replaced with the p3 and the protection chip that descrambles the program code (basically the 4 Mo P-ROM).
2.- SNK doesn't provide the exact algorithms to encrypt the carts and chip information
3.- Bootleggers have their own protections
4.- the CRC/SHA1 information for the real x80 and sound IS this one (dumped 2 times by the same guy)
NEO_BIOS_SOUND_128K( "k2k4s-m1.bin", CRC(5a47d9ad) SHA1(0197737934653acc6c97221660d789e9914f3578))
ROM_REGION( 0x1000000, REGION_SOUND1, ROMREGION_SOUNDONLY )
ROM_LOAD( "2k2-v2.bin", 0x000000, 0x800000, CRC(8ad2edbd) SHA1(b38aa4466dc8affbaed54c459948589ffd495874) )
ROM_LOAD( "2k2-v1.bin", 0x800000, 0x800000, CRC(b887d287) SHA1(f593a5722df6f6fac023d189a739a117e976bb2f) )
maybe Razz got bad information, like it happened with matrimbl (first addy in kawaks not dev using PCM2 ROMs...) and kof2k2pls and set 2, the 2 sets MUST use roms from bootleg set, because they neither use CMC50 or PCM2 protections, same for kf2k2mp and mp2...
See ya!!!!! :biggrin:
P.D. James is right, Razz is not the only dumper of neogeo carts...