Welcome!
General Emulation => MAME => Topic started by: Nsk on October 13, 2006, 06:34:57 AM
-
Hi, I have a problem with some hacks, if someone can help :rolleyes:
-most kof96 hacks loops at start
-kof2k3evo (v1.4) does'nt start
-kf2k2spls reset on selection screen and visibily has a problem with the "s1" rom (no super plus)
my drivers (all does'nt works, I removed SHA1 for better read):
ROM_START( kof96evosp )
ROM_REGION( 0x300000, REGION_CPU1, 0 )
ROM_LOAD16_WORD_SWAP( "214-p1evosp.bin", 0x000000, 0x100000, CRC(61099e5a) )
ROM_LOAD16_WORD_SWAP( "214-p2.bin", 0x100000, 0x200000, CRC(002ccb73) )
NEO_SFIX_128K( "214-s1.bin", CRC(1254cbdb) )
NEO_BIOS_SOUND_128K( "214-m1.bin", CRC(dabc427c) )
ROM_REGION( 0xa00000, REGION_SOUND1, 0 )
ROM_LOAD( "214-v1.bin", 0x000000, 0x400000, CRC(63f7b045) )
ROM_LOAD( "214-v2.bin", 0x400000, 0x400000, CRC(25929059) )
ROM_LOAD( "214-v3.bin", 0x800000, 0x200000, CRC(92a2257d) )
NO_DELTAT_REGION
ROM_REGION( 0x2000000, REGION_GFX3, 0 )
ROM_LOAD16_BYTE( "214-c1.bin", 0x0000000, 0x400000, CRC(7ecf4aa2) ) /* Plane 0,1 */
ROM_LOAD16_BYTE( "214-c2.bin", 0x0000001, 0x400000, CRC(05b54f37) ) /* Plane 2,3 */
ROM_LOAD16_BYTE( "214-c3.bin", 0x0800000, 0x400000, CRC(64989a65) ) /* Plane 0,1 */
ROM_LOAD16_BYTE( "214-c4.bin", 0x0800001, 0x400000, CRC(afbea515) ) /* Plane 2,3 */
ROM_LOAD16_BYTE( "214-c5.bin", 0x1000000, 0x400000, CRC(2a3bbd26) ) /* Plane 0,1 */
ROM_LOAD16_BYTE( "214-c6.bin", 0x1000001, 0x400000, CRC(44d30dc7) ) /* Plane 2,3 */
ROM_LOAD16_BYTE( "214-c7.bin", 0x1800000, 0x400000, CRC(3687331b) ) /* Plane 0,1 */
ROM_LOAD16_BYTE( "214-c8.bin", 0x1800001, 0x400000, CRC(fa1461ad) ) /* Plane 2,3 */
ROM_END
ROM_START( kof96rfs )
ROM_REGION( 0x300000, REGION_CPU1, 0 )
ROM_LOAD16_WORD_SWAP( "214-p1rfs.bin", 0x000000, 0x300000, CRC(8f9cf253) )
NEO_SFIX_128K( "214-s1rfs.bin", CRC(08811ec1) )
NEO_BIOS_SOUND_128K( "214-m1.bin", CRC(dabc427c) )
ROM_REGION( 0xa00000, REGION_SOUND1, 0 )
ROM_LOAD( "214-v1.bin", 0x000000, 0x400000, CRC(63f7b045) )
ROM_LOAD( "214-v2.bin", 0x400000, 0x400000, CRC(25929059) )
ROM_LOAD( "214-v3.bin", 0x800000, 0x200000, CRC(92a2257d) )
NO_DELTAT_REGION
ROM_REGION( 0x2000000, REGION_GFX3, 0 )
ROM_LOAD16_BYTE( "214-c1.bin", 0x0000000, 0x400000, CRC(7ecf4aa2) ) /* Plane 0,1 */
ROM_LOAD16_BYTE( "214-c2.bin", 0x0000001, 0x400000, CRC(05b54f37) ) /* Plane 2,3 */
ROM_LOAD16_BYTE( "214-c3.bin", 0x0800000, 0x400000, CRC(64989a65) ) /* Plane 0,1 */
ROM_LOAD16_BYTE( "214-c4.bin", 0x0800001, 0x400000, CRC(afbea515) ) /* Plane 2,3 */
ROM_LOAD16_BYTE( "214-c5.bin", 0x1000000, 0x400000, CRC(2a3bbd26) ) /* Plane 0,1 */
ROM_LOAD16_BYTE( "214-c6.bin", 0x1000001, 0x400000, CRC(44d30dc7) ) /* Plane 2,3 */
ROM_LOAD16_BYTE( "214-c7.bin", 0x1800000, 0x400000, CRC(3687331b) ) /* Plane 0,1 */
ROM_LOAD16_BYTE( "214-c8.bin", 0x1800001, 0x400000, CRC(fa1461ad) ) /* Plane 2,3 */
ROM_END
ROM_START( kof96rss )
ROM_REGION( 0x300000, REGION_CPU1, 0 )
ROM_LOAD16_WORD_SWAP( "214-p1rss.bin", 0x000000, 0x300000, CRC(93ABE27C) )
NEO_SFIX_128K( "214-s1rss.bin", CRC(F304DF75) )
NEO_BIOS_SOUND_128K( "214-m1.bin", CRC(dabc427c) )
ROM_REGION( 0xa00000, REGION_SOUND1, 0 )
ROM_LOAD( "214-v1.bin", 0x000000, 0x400000, CRC(63f7b045) )
ROM_LOAD( "214-v2.bin", 0x400000, 0x400000, CRC(25929059) )
ROM_LOAD( "214-v3.bin", 0x800000, 0x200000, CRC(92a2257d) )
NO_DELTAT_REGION
ROM_REGION( 0x2000000, REGION_GFX3, 0 )
ROM_LOAD16_BYTE( "214-c1.bin", 0x0000000, 0x400000, CRC(7ecf4aa2) ) /* Plane 0,1 */
ROM_LOAD16_BYTE( "214-c2.bin", 0x0000001, 0x400000, CRC(05b54f37) ) /* Plane 2,3 */
ROM_LOAD16_BYTE( "214-c3.bin", 0x0800000, 0x400000, CRC(64989a65) ) /* Plane 0,1 */
ROM_LOAD16_BYTE( "214-c4.bin", 0x0800001, 0x400000, CRC(afbea515) ) /* Plane 2,3 */
ROM_LOAD16_BYTE( "214-c5.bin", 0x1000000, 0x400000, CRC(2a3bbd26) ) /* Plane 0,1 */
ROM_LOAD16_BYTE( "214-c6.bin", 0x1000001, 0x400000, CRC(44d30dc7) ) /* Plane 2,3 */
ROM_LOAD16_BYTE( "214-c7.bin", 0x1800000, 0x400000, CRC(3687331b) ) /* Plane 0,1 */
ROM_LOAD16_BYTE( "214-c8.bin", 0x1800001, 0x400000, CRC(fa1461ad) ) /* Plane 2,3 */
ROM_END
ROM_START( kof96rp )
ROM_REGION( 0x300000, REGION_CPU1, 0 )
ROM_LOAD16_WORD_SWAP( "214-p1rp.bin", 0x000000, 0x100000, CRC(4f75f758) )
ROM_LOAD16_WORD_SWAP( "214-p2.bin", 0x100000, 0x200000, CRC(002ccb73) )
NEO_SFIX_128K( "214-s1.bin", CRC(1254cbdb) )
NEO_BIOS_SOUND_128K( "214-m1.bin", CRC(dabc427c) )
ROM_REGION( 0xa00000, REGION_SOUND1, 0 )
ROM_LOAD( "214-v1.bin", 0x000000, 0x400000, CRC(63f7b045) )
ROM_LOAD( "214-v2.bin", 0x400000, 0x400000, CRC(25929059) )
ROM_LOAD( "214-v3.bin", 0x800000, 0x200000, CRC(92a2257d) )
NO_DELTAT_REGION
ROM_REGION( 0x2000000, REGION_GFX3, 0 )
ROM_LOAD16_BYTE( "214-c1.bin", 0x0000000, 0x400000, CRC(7ecf4aa2) ) /* Plane 0,1 */
ROM_LOAD16_BYTE( "214-c2.bin", 0x0000001, 0x400000, CRC(05b54f37) ) /* Plane 2,3 */
ROM_LOAD16_BYTE( "214-c3.bin", 0x0800000, 0x400000, CRC(64989a65) ) /* Plane 0,1 */
ROM_LOAD16_BYTE( "214-c4.bin", 0x0800001, 0x400000, CRC(afbea515) ) /* Plane 2,3 */
ROM_LOAD16_BYTE( "214-c5.bin", 0x1000000, 0x400000, CRC(2a3bbd26) ) /* Plane 0,1 */
ROM_LOAD16_BYTE( "214-c6.bin", 0x1000001, 0x400000, CRC(44d30dc7) ) /* Plane 2,3 */
ROM_LOAD16_BYTE( "214-c7.bin", 0x1800000, 0x400000, CRC(3687331b) ) /* Plane 0,1 */
ROM_LOAD16_BYTE( "214-c8.bin", 0x1800001, 0x400000, CRC(fa1461ad) ) /* Plane 2,3 */
ROM_END
ROM_START( kf2k2spls )
ROM_REGION( 0x500000, REGION_CPU1, 0 )
ROM_LOAD16_WORD_SWAP( "265-p1sp.bin", 0x000000, 0x100000, CRC(7481AF02) )
ROM_LOAD16_WORD_SWAP( "265-p2sp.bin", 0x100000, 0x400000, CRC(6578F2C6) )
NEO_SFIX_128K( "271-s1sp.bin", CRC(196592F6) )
NEO_BIOS_SOUND_128K( "265-m1_decrypted.bin", CRC(1c661a4b) )
ROM_REGION( 0x1000000, REGION_SOUND1, 0 )
/* Encrypted */
ROM_LOAD( "265-v1.bin", 0x000000, 0x800000, CRC(15e8f3f5) )
ROM_LOAD( "265-v2.bin", 0x800000, 0x800000, CRC(da41d6f9) )
NO_DELTAT_REGION
ROM_REGION( 0x4000000, REGION_GFX3, 0 )
/* Decrypted */
ROM_LOAD16_BYTE( "265-c1d.bin", 0x0000000, 0x800000, CRC(7efa6ef7) ) /* Plane 0,1 */
ROM_LOAD16_BYTE( "265-c2d.bin", 0x0000001, 0x800000, CRC(aa82948b) ) /* Plane 2,3 */
ROM_LOAD16_BYTE( "265-c3d.bin", 0x1000000, 0x800000, CRC(959fad0b) ) /* Plane 0,1 */
ROM_LOAD16_BYTE( "265-c4d.bin", 0x1000001, 0x800000, CRC(efe6a468) ) /* Plane 2,3 */
ROM_LOAD16_BYTE( "265-c5d.bin", 0x2000000, 0x800000, CRC(74bba7c6) ) /* Plane 0,1 */
ROM_LOAD16_BYTE( "265-c6d.bin", 0x2000001, 0x800000, CRC(e20d2216) ) /* Plane 2,3 */
ROM_LOAD16_BYTE( "265-c7sp.bin", 0x3000000, 0x800000, CRC(31E7AAA3) ) /* Plane 0,1 */
ROM_LOAD16_BYTE( "265-c8sp.bin", 0x3000001, 0x800000, CRC(F26A445B) ) /* Plane 2,3 */
ROM_END
ROM_START( kof2k3evo )
ROM_REGION( 0x800000, REGION_CPU1, 0 )
ROM_LOAD16_WORD_SWAP( "271-p1evo.bin", 0x000000, 0x800000, CRC(ce221039) )
/* regular s1 rom */
ROM_REGION( 0x20000, REGION_GFX1, 0 )
ROM_LOAD( "271-s1evo.bin", 0x00000, 0x20000, CRC(2849FBFB) )
ROM_REGION( 0x20000, REGION_GFX2, 0 )
ROM_LOAD( "sfix.sfx", 0x000000, 0x20000, CRC(354029fc) )
ROM_REGION( 0x080000, REGION_USER4, 0 )
/* The M1 ROM is encrypted, we load it here for reference and replace it with a decrypted version */
ROM_LOAD( "271-m1c.bin", 0x00000, 0x080000, CRC(f5515629) )
/* Decrypted */
NEO_BIOS_SOUND_512K( "271-m1_decrypted.bin", CRC(0e86af8f) )
ROM_REGION( 0x1000000, REGION_SOUND1, 0 )
/* Encrypted */
ROM_LOAD( "271-v1c.bin", 0x000000, 0x800000, CRC(ffa3f8c7) )
ROM_LOAD( "271-v2c.bin", 0x800000, 0x800000, CRC(5382c7d1) )
NO_DELTAT_REGION
ROM_REGION( 0x4000000, REGION_GFX3, 0 )
/* Encrypted */
ROM_LOAD16_BYTE( "271-c1c.bin", 0x0000000, 0x800000, CRC(b1dc25d0) )
ROM_LOAD16_BYTE( "271-c2c.bin", 0x0000001, 0x800000, CRC(d5362437) )
ROM_LOAD16_BYTE( "271-c3c.bin", 0x1000000, 0x800000, CRC(0a1fbeab) )
ROM_LOAD16_BYTE( "271-c4c.bin", 0x1000001, 0x800000, CRC(87b19a0c) )
ROM_LOAD16_BYTE( "271-c5c.bin", 0x2000000, 0x800000, CRC(704ea371) )
ROM_LOAD16_BYTE( "271-c6c.bin", 0x2000001, 0x800000, CRC(20a1164c) )
ROM_LOAD16_BYTE( "271-c7c.bin", 0x3000000, 0x800000, CRC(189aba7f) )
ROM_LOAD16_BYTE( "271-c8c.bin", 0x3000001, 0x800000, CRC(20ec4fdc) )
ROM_END
DRIVER_INIT( kf2k2spls )
{
neo_pcm2_swap(0);
neogeo_fix_bank_type = 0;
init_neogeo(machine);
}
DRIVER_INIT( kof2k3evo )
{
neo_pcm2_swap(5);
cmc50_neogeo_gfx_decrypt(0x9d);
neogeo_fix_bank_type = 2;
init_neogeo(machine);
}
GAMEB( 1996, kof96evosp, kof96, neogeo, neogeo, neogeo, neogeo, ROT0, "hack", "The King of Fighters '96 Evolution Special (v1.2, Wesker hack)", 0 )
GAMEB( 1996, kof96rfs, kof96, neogeo, neogeo, neogeo, neogeo, ROT0, "hack", "The King of Fighters '96 Remix Final Standard (v1.4, SNK2003 hack)", 0 )
GAMEB( 1996, kof96rss, kof96, neogeo, neogeo, neogeo, neogeo, ROT0, "hack", "The King of Fighters '96 Remix Spring Special (v1.5, SNK2003 hack)", 0 )
GAMEB( 1996, kof96rp, kof96, neogeo, neogeo, neogeo, neogeo, ROT0, "hack", "The King of Fighters '96 Remix Pro (v1.0 Final, hack)", 0 )
GAMEB( 2002, kf2k2spls, kof2002, neogeo, neogeo, neogeo, kf2k2spls, ROT0, "hack", "The King of Fighters 2002 Super Plus (v1.9, Jason hack)", 0 )
GAMEB( 2003, kof2k3evo, kof2003, neogeo, neogeo, neogeo, kof2k3evo, ROT0, "hack", "The King of Fighters 2003 Evolution (v1.4, SNK2003 hack)",0 )
If you know what happen with some of them.... Thanks for your help !
-
I tried kof96evosp on fba and it worked just fine.
As for your mame driver, other than the set name being too long (should be 8 or less chars) and the p2 being on the same line as the p1, I saw nothing wrong with it.
I'll try these one at a time (as I get the time)
-
Thanks to answer me. With my build game name with more than 8 caracters works, I try with less but it changes nothing.
this is very strange because these games works in kawaks with this simples dat file:
System: NEO
RomName: kof96rss
Game: The King Of Fighters’96 Remix Spring Special
Parent: kof96
[Program]
214-p1rss.bin,0,300000,93ABE27C,0
[Text]
214-s1rss.bin,0,20000,F304DF75,0
[Z80]
214-m1.bin,0,20000,DABC427C,0
[Samples]
214-v1.bin,0,400000,63F7B045,0
214-v2.bin,400000,400000,25929059,0
214-v3.bin,800000,200000,92A2257D,0
[Graphics]
214-c1.bin,0,400000,7ECF4AA2,0
214-c1.bin,1,400000,5B54F37,0
214-c1.bin,800000,400000,64989A65,0
214-c1.bin,800001,400000,AFBEA515,0
214-c1.bin,1000000,400000,2A3BBD26,0
214-c1.bin,1000001,400000,44D30DC7,0
214-c1.bin,1800000,400000,3687331B,0
214-c1.bin,1800001,400000,FA1461AD,0
[System]
CartridgeID: 214
GfxCrypt: 0
GfxKey: 0
ButLayout: 9
Fix: 0
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
System: Neo
RomName: Kof96rfs
Game: The King of Fighters '96 Remix Final Standard
Parent: kof96
[Program]
214-p1rfs.bin,0,300000,8F9CF253,0
[Text]
214-s1rfs.bin,0,20000,8811EC1,0
[Z80]
214-m1.bin,0,20000,dabc427c,0
[Samples]
214-v1.bin,0,400000,63f7b045,0
214-v2.bin,400000,400000,25929059,0
214-v3.bin,800000,200000,92a2257d,0
[Graphics]
214-c1.bin,0,400000,7ecf4aa2,0
214-c2.bin,1,400000,5b54f37,0
214-c3.bin,800000,400000,64989a65,0
214-c4.bin,800001,400000,afbea515,0
214-c5.bin,1000000,400000,2a3bbd26,0
214-c6.bin,1000001,400000,44d30dc7,0
214-c7.bin,1800000,400000,3687331b,0
214-c8.bin,1800001,400000,fa1461ad,0
[System]
CartridgeID: 214
GfxCrypt: 0
GfxKey: 0
ButLayout: 9
Fix: 0
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
System: NEO
RomName: kf2k2spls
Game: The King of Fighters 2002 Super Plus (Decrypted C)
Parent: kof2k2nd
[Program]
265-p1sp.bin,0,100000,7481AF02,0
265-p2sp.bin,100000,400000,6578F2C6,0
[Text]
265-s1sp.bin,0,20000,196592F6,0
[Z80]
265-m1d.bin,0,20000,1C661A4B,0
[Samples]
265-v1d.bin,0,800000,FC9A58D,0
265-v2d.bin,800000,800000,B8C475A4,0
[Graphics]
265-c1d.bin,0,800000,7EFA6EF7,0
265-c1d.bin,1,800000,AA82948B,0
265-c1d.bin,1000000,800000,959FAD0B,0
265-c1d.bin,1000001,800000,EFE6A468,0
265-c1d.bin,2000000,800000,74BBA7C6,0
265-c1d.bin,2000001,800000,E20D2216,0
265-c7sp.bin,3000000,800000,31E7AAA3,0
265-c8sp.bin,3000001,800000,F26A445B,0
[System]
CartridgeID: 265
GfxCrypt: 0
GfxKey: 0
ButLayout: 9
Fix: 0
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
System: NEO
RomName: kf2k3evo
Game: The King of Fighters 2003 - Evolution 1.4
Parent: kf2k3bl
[Program]
271-p1evo.bin,0,800000,CE221039,0
[Text]
271-s1evo.bin,0,20000,2849FBFB,0
[Z80]
271-m1bl.bin,0,20000,3A4969FF,0
[Samples]
2k3-v1.bin,0,400000,D2B8AA5E,0
2k3-v2.bin,400000,400000,71956EE2,0
2k3-v3.bin,800000,400000,DDBBB199,0
2k3-v4.bin,C00000,400000,1B90C4F,0
[Graphics]
2k3-c1.bin,0,800000,E42FC226,0
2k3-c2.bin,1,800000,1B5E3B58,0
2k3-c3.bin,1000000,800000,D334FDD9,0
2k3-c4.bin,1000001,800000,D457699,0
2k3-c5.bin,2000000,800000,8A91AAE4,0
2k3-c6.bin,2000001,800000,9F8674B8,0
2k3-c7.bin,3000000,800000,374EA523,0
2k3-c8.bin,3000001,800000,75211F4D,0
[System]
CartridgeID: 271
GfxCrypt: 0
GfxKey: 0
ButLayout: 9
Fix: 0
I don't anderstand why they can't run in mame with the same methode...
(I add crypted Vx for kf2k2spls and Crypted Cx/Vx for kof2k3evo but it shouldn't change the result)
-
maybe its because of the watchdog feature mame introduce way back... :)
try to disable it...
-
Ho thanks, I don't find how to remove it really but I make a try and removing the line
MDRV_WATCHDOG_TIME_INIT(TIME_IN_SEC(0.128762))
in "static MACHINE_DRIVER_START( neogeo )" and now kof2k3evo works :biggrin:
But others doesn't... :p
Thanks, I progress!!
-
It's the same problem for all this kof96 hacks, with the unibios I have exactly this same error for all of them:
(http://houba.pitufo.org/kof96h.png)
If someone know how to fix this problem :confused:
For kof2k3evo someone know how to fix the watchdog problem without removing it?
Thanks for your help :smilie:
-
strange... that says its having a problem trying to read the neogeo main 68k ram.
-
yes very strange... I see that kof96evosp and kof96rp are in ekmame, I make a try with the 0.107 version and the game loops at boot too. I try with the 0.99 version too and the same result.
So, these games works fine with nebula and kawaks but for unknow raison not so easily with mame...
-
I do not seem to have those roms otherwise I could see if I could help :)
-
thanks to help, I've sending you a PM, I expect you will find because I really don't know what hapen with this roms...
-
Cool :)
Could you show me how kof96evosp is loaded on kawaks ?
-
The game works in nebula (and certainly kawaks) with this:
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
System: NEO
RomName: kof96evosp
Game: The King of Fighters '96 Evolution Special
parent: kof96
[Program]
214-p1evosp.bin,0,100000,61099E5A,0
214-p2.bin,100000,200000,2CCB73,0
[Text]
214-s1.bin,0,20000,1254CBDB,0
[Z80]
214-m1.bin,0,20000,DABC427C,0
[Samples]
214-v1.bin,0,400000,63F7B045,0
214-v2.bin,400000,400000,25929059,0
214-v3.bin,800000,200000,92A2257D,0
[Graphics]
214-c1.bin,0,400000,7ECF4AA2,0
214-c2.bin,1,400000,5B54F37,0
214-c3.bin,800000,400000,64989A65,0
214-c4.bin,800001,400000,AFBEA515,0
214-c5.bin,1000000,400000,2A3BBD26,0
214-c6.bin,1000001,400000,44D30DC7,0
214-c7.bin,1800000,400000,3687331B,0
214-c8.bin,1800001,400000,FA1461AD,0
[System]
CartridgeID: 214
GfxCrypt: 0
GfxKey: 0
ButLayout: 9
Fix: 1
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
I expect you will find :smilie:
-
What other game uses Fix: 1 in kawaks , Nebula ? And what does Fix 1 do ?
-
I don't know, the game run fine with fix=1 and fix=0 too, kof 96 was defined with fix=1 so it should be correct...
the games who have fix=1 too with nebula:
aof3, garoup, kof95/96/97/98/99p, kizuna, rbff1/2/spec, samsho4, lastblad and ms4plus
I don't know if this will help you, but thanks to try.
-
This should let kof2k3evo work without affecting the other games
No doubt there is a better way to do this .
static MACHINE_DRIVER_START( neogeo_hack )
/* basic machine hardware */
MDRV_CPU_ADD_TAG("main", M68000, 12000000) /* verified */
MDRV_CPU_PROGRAM_MAP(neogeo_readmem,neogeo_writemem)
MDRV_CPU_VBLANK_INT(neogeo_raster_interrupt,RASTER_LINES)
MDRV_CPU_ADD(Z80, 4000000) /* verified */
/* audio CPU */
MDRV_CPU_PROGRAM_MAP(sound_readmem,sound_writemem)
MDRV_CPU_IO_MAP(neo_readio,neo_writeio)
MDRV_FRAMES_PER_SECOND(15625.0 / 264) /* verified with real PCB */
MDRV_VBLANK_DURATION(DEFAULT_60HZ_VBLANK_DURATION)
MDRV_MACHINE_START(neogeo)
MDRV_MACHINE_RESET(neogeo)
MDRV_NVRAM_HANDLER(neogeo)
MDRV_MEMCARD_HANDLER(neogeo)
/* video hardware */
MDRV_VIDEO_ATTRIBUTES(VIDEO_TYPE_RASTER | VIDEO_RGB_DIRECT)
MDRV_SCREEN_SIZE(40*8, 32*8)
MDRV_VISIBLE_AREA(0*8, 40*8-1, 2*8, 30*8-1)
MDRV_GFXDECODE(neogeo_mvs_gfxdecodeinfo)
MDRV_PALETTE_LENGTH(4096)
MDRV_VIDEO_START(neogeo_mvs)
MDRV_VIDEO_UPDATE(neogeo)
/* sound hardware */
MDRV_SPEAKER_STANDARD_STEREO("left", "right")
MDRV_SOUND_ADD(YM2610, 8000000)
MDRV_SOUND_CONFIG(neogeo_ym2610_interface)
MDRV_SOUND_ROUTE(0, "left", 0.60)
MDRV_SOUND_ROUTE(0, "right", 0.60)
MDRV_SOUND_ROUTE(1, "left", 1.0)
MDRV_SOUND_ROUTE(2, "right", 1.0)
MACHINE_DRIVER_END
GAMEB( 2003, kof2k3evo, kof2003, neogeo, neogeo_hack, neogeo, kof2k3evo, ROT0, "hack", "The King of Fighters 2003 Evolution (v1.4, SNK2003 hack)",0 )
-
big thanks I will try this !! :smilie:
Edit: Ok it's just what I did before and I know it works. Nice astuce to make a second machine driver :)
It's really strange to have to do things like that to make this game working...
do you think that MAME is now to accurate to allow this hacks working? or is there something broken in the driver?
-
I think they are bad hacks . I have a hack called kof96evo and it works Also have others that work fine .
-
kof96rfs and kof96rss are very good but I think they have been made for emulation, they probably don't work in real hardware...
I have many hacks of many neogeo games too, but I see that most kof96 hacks doesn't work on MAME and all return the same error. so it's really surprising.
-
No doubt a patch or fix is needed .
-
I find something strange:
with the unibios this is the error so in 008CE8:
(http://houba.pitufo.org/kof96h.png)
and in mem:
(http://houba.pitufo.org/kof96he.png)
We can see in 008CE8: 4e71
and it's fun because many protection's patchs in MAME use this value :rolleyes:
I think it can't be a coinsidence but I don't know what does it mean :confused:
-
Maybe patching out that address might solve the problem ?
-
I find something strange:
with the unibios this is the error so in 008CE8:
(http://houba.pitufo.org/kof96h.png)
and in mem:
(http://houba.pitufo.org/kof96he.png)
We can see in 008CE8: 4e71
and it's fun because many protection's patchs in MAME use this value :rolleyes:
I think it can't be a coinsidence but I don't know what does it mean :confused:
4E71 is "No Op" / NoP / Do nothing
If you want to remove something in 68xxx processor code, use that patch.
4E75 is "Return to Sub" / rts / stop the current function (kind of)
Just for shits and giggles, try this patch with that game.
mem16[0x8CE8 / 2] = 0x422D;
mem16[0x8CEA / 2] = 0x27EC;
mem16[0x8CEC / 2] = 0x422D;
-
:confused: I try but nothing better
I think I see what you want to do but it does'nt work :redface:
I expect you will find something :smilie:
So thanks to try to help me :smilie:
-
I've only tested this with kof96evosp and kof96rfs, but it should work for kof96rss and kof96rp.
DRIVER_INIT( kof96evosp )
{
// Change CLR.W to CLR.B. Is this a bug in the 68k
// emulation of MAME or that of every other emulator?
memory_region(REGION_CPU1)[0x8CE4] = 0x2d;
init_neogeo(machine);
}
As for kf2k2spls and kof2k3evo, I've been unable to find teh romz, so I haven't looked at them.
-
I've only tested this with kof96evosp and kof96rfs, but it should work for kof96rss and kof96rp.
DRIVER_INIT( kof96evosp )
{
// Change CLR.W to CLR.B. Is this a bug in the 68k
// emulation of MAME or that of every other emulator?
memory_region(REGION_CPU1)[0x8CE4] = 0x2d;
init_neogeo(machine);
}
As for kf2k2spls and kof2k3evo, I've been unable to find teh romz, so I haven't looked at them.
That patch might be able to sort all of those hacks :)
-
Exellent, I will try now!
Edit: I try this and it works great!!
Many thanks for all !!
-
Here's a fix for kf2k2spls, it doesn't make it show "Super Plus," but I think that's the wrong S1 for that Px rom set (as I can't see "Super" using MAME's tile viewer [F4].
DRIVER_INIT( kf2k2spls )
{
// Stop from running into another sub.
UINT16 *mem16 = (UINT16*)memory_region( REGION_CPU1 );
mem16[0xddafc / 2] = 0x4e75;
neogeo_fix_bank_type = 0;
init_neogeo(machine);
}
Also, here's a patch to allow kf2k3evo to boot, but it crashes before the round. I still need to look into that. ^^
UINT16 *mem16 = (UINT16*)memory_region( REGION_CPU1 );
mem16[0x44364 / 2] = 0x4e71;
-
One more: Thanks :eek:
You are really fast!
(one day if you can explain me how do you find that so rapidly... :rolleyes:)
PS: all works great, s1945p too :smilie:
-
looking what you did for others previous games I found the pach for this one alone :cool: :biggrin:
ROM_START( kf98combo )
ROM_REGION( 0x500000, REGION_CPU1, 0 )
ROM_LOAD16_WORD_SWAP( "242-p1co.bin", 0x000000, 0x100000, CRC(64A0754D) )
ROM_LOAD16_WORD_SWAP( "242-p2co.bin", 0x100000, 0x400000, CRC(3B9C1DB4) )
NEO_SFIX_128K( "242-s1co.bin", CRC(6017CF97) )
NEO_BIOS_SOUND_256K( "242-m1a.bin", CRC(4ef7016b) )
ROM_REGION( 0x1000000, REGION_SOUND1, 0 )
ROM_LOAD( "242-v1.bin", 0x000000, 0x400000, CRC(b9ea8051) )
ROM_LOAD( "242-v2.bin", 0x400000, 0x400000, CRC(cc11106e) )
ROM_LOAD( "242-v3.bin", 0x800000, 0x400000, CRC(044ea4e1) )
ROM_LOAD( "242-v4.bin", 0xc00000, 0x400000, CRC(7985ea30) )
NO_DELTAT_REGION
ROM_REGION( 0x4000000, REGION_GFX3, 0 )
ROM_LOAD16_BYTE( "242-c1co.bin", 0x0000000, 0x800000, CRC(EFC547B0) ) /* Plane 0,1 */
ROM_LOAD16_BYTE( "242-c2co.bin", 0x0000001, 0x800000, CRC(395ED6AF) ) /* Plane 2,3 */
ROM_LOAD16_BYTE( "242-c3co.bin", 0x1000000, 0x800000, CRC(882E5246) ) /* Plane 0,1 */
ROM_LOAD16_BYTE( "242-c4co.bin", 0x1000001, 0x800000, CRC(4F3F2123) ) /* Plane 2,3 */
ROM_LOAD16_BYTE( "242-c5.bin", 0x2000000, 0x800000, CRC(9d10bed3) ) /* Plane 0,1 */
ROM_LOAD16_BYTE( "242-c6.bin", 0x2000001, 0x800000, CRC(da07b6a2) ) /* Plane 2,3 */
ROM_LOAD16_BYTE( "242-c7.bin", 0x3000000, 0x800000, CRC(f6d7a38a) ) /* Plane 0,1 */
ROM_LOAD16_BYTE( "242-c8.bin", 0x3000001, 0x800000, CRC(c823e045) ) /* Plane 2,3 */
ROM_END
DRIVER_INIT( kf98combo )
{
// thanks to Aubrel for this one :)
// Another one who works without this with every other emulator
init_neogeo(machine);
memory_region(REGION_CPU1)[0x28729] = 0xb2;
}
GAMEB( 1998, kf98combo, kof98, neogeo, neogeo, neogeo, kf98combo, ROT0, "hack", "The King of Fighters '98 Combo (2006, Ivex hack)", 0 )
-
Nice work :) Some of these patches are not too hard to find, the UNI-BIOS certainly helps to tell you where to start. i would also suggest compiling a debug mame, this allows you to use the 68k debugger which can help you figure out exactly the problem.
-
Also, here is a patch to allow kf2k3evo to work completely. :)
UINT16 *mem16 = (UINT16*)memory_region( REGION_CPU1 );
mem16[0x01926 / 2] = 0x0001;
mem16[0x01928 / 2] = 0x010E;
mem16[0x44364 / 2] = 0x4e71;
-
"excellent" :biggrin:
thanks!
A little question: you tell me to show near the address problem and patch the differences with the "original" values shown with the "parent" rom. But making this couldn't delete some of the hack's particularities?
I tryed this methode with kovplush but it seems that this game have a problem in 0081fe9a cpu mem address and with the debugger this memory value is allways changing during gameplay => I could'nt patch it :redface:
Thank for your help!
-
AM_RANGE(0x800000, 0x81ffff) AM_RAM AM_MIRROR(0x0e0000) AM_BASE(&pgm_mainram) /* Main Ram */
That address is the ram for the game, you need to find where the rom is writing/reading that piece of ram and causing the problem. This could be a bit more difficult given that the rom is encrypted. ^^
You can use the attached program to decrypt the program files of kovplus, etc (just rename the input file to filein.bin and the decrypted file will be out.bin.
-
hi , i continue this post because i need help too
to make a correct driver for a hack under mame
ROM_START( kof2k1rp )
ROM_REGION( 0x500000, REGION_CPU1, 0 )
ROM_LOAD16_WORD_SWAP( "262-p1rp.bin", 0x000000, 0x100000, CRC(E9E42E55) SHA1(2a254d056ab046d2704e16ebbaa2b68c6e867dc7) )
ROM_LOAD16_WORD_SWAP( "262-p2rp.bin", 0x100000, 0x400000, CRC(91668D86) SHA1(3df31baaa1c87b040f88eeffff1a174960f9f1fc) )
NEO_SFIX_128K( "262-s1rp.bin", CRC(492F5EFE) SHA1(e18895da5c294245b6e119421affbd4f0e168c7a) )
/* The M1 ROM is encrypted, we load it here for reference and replace it with a decrypted version */
ROM_REGION( 0x40000, REGION_USER4, 0 )
ROM_LOAD( "265-262-m1.bin", 0x00000, 0x20000, CRC(1d5aab51) SHA1(52327c5bcad87770419057097cca20a3b187bec3) )
NEO_BIOS_SOUND_128K( "265-262_decrypted-m1.bin", CRC(2fb0a8a5) SHA1(9878370ff8cef3e9c9f307ad64c29522dd625c8f) )
ROM_REGION( 0x1000000, REGION_SOUND1, 0 )
ROM_LOAD( "262-v1.bin", 0x000000, 0x400000, CRC(83d49ecf) SHA1(2f2c116e45397652e77fcf5d951fa5f71b639572) )
ROM_LOAD( "262-v2.bin", 0x400000, 0x400000, CRC(003f1843) SHA1(bdd58837ad542548bd4053c262f558af88e3b989) )
ROM_LOAD( "262-v3.bin", 0x800000, 0x400000, CRC(2ae38dbe) SHA1(4e82b7dd3b899d61907620517a5a27bdaba0725d) )
ROM_LOAD( "262-v4.bin", 0xc00000, 0x400000, CRC(26ec4dd9) SHA1(8bd68d95a2d913be41a51f51e48dbe3bff5924fb) )
NO_DELTAT_REGION
ROM_REGION( 0x4000000, REGION_GFX3, 0 )
/* Encrypted */
ROM_LOAD16_BYTE( "262-c1.bin", 0x0000000, 0x800000, CRC(99cc785a) SHA1(374f0674871d0196fa274aa6c5956d7b3848d5da) ) /* Plane 0,1 */
ROM_LOAD16_BYTE( "262-c2.bin", 0x0000001, 0x800000, CRC(50368cbf) SHA1(5d9e206e98e0b0c7735b72ea46b45058fdec2352) ) /* Plane 2,3 */
ROM_LOAD16_BYTE( "262-c3.bin", 0x1000000, 0x800000, CRC(fb14ff87) SHA1(445a8db2fc69eff54a252700f2d3a89244c58e75) ) /* Plane 0,1 */
ROM_LOAD16_BYTE( "262-c4.bin", 0x1000001, 0x800000, CRC(4397faf8) SHA1(6752b394f6647502a649a3e62bd3442f936b733e) ) /* Plane 2,3 */
ROM_LOAD16_BYTE( "262-c5.bin", 0x2000000, 0x800000, CRC(91f24be4) SHA1(88190c41f7d4a0f4b1982149fc9acfc640af498d) ) /* Plane 0,1 */
ROM_LOAD16_BYTE( "262-c6.bin", 0x2000001, 0x800000, CRC(a31e4403) SHA1(5cd1a14703aa58810e2377dfb7353c61e9dc9c1f) ) /* Plane 2,3 */
ROM_LOAD16_BYTE( "262-c7.bin", 0x3000000, 0x800000, CRC(54d9d1ec) SHA1(80c3a8ec39130dd5d3da561f287709da6b8abcf4) ) /* Plane 0,1 */
ROM_LOAD16_BYTE( "262-c8.bin", 0x3000001, 0x800000, CRC(59289a6b) SHA1(ddfce7c85b2a144975db5bb14b4b51aaf881880e) ) /* Plane 2,3 */
ROM_END
DRIVER_INIT( kof2k1rp )
{
cmc50_neogeo_gfx_decrypt(0x1e);
init_neogeo(machine);
}
GAMEB( 2001, kof2k1rp, kof2001, neogeo, neogeo, neogeo, kof2k1rp, ROT0, "hack", "The King of Fighters 2001 (Remix Pro, v1.02 Final, Kim/Raymonose/Jason/K3 Hack)" , 0)
after 30 second or more the game crash with this error
(http://membres.lycos.fr/ryukoken/images/error.png)
thank if you can help me :p
no one can help me , omg to hard to solve it
-
Nova, I've tested and retested this game in MAME with unibios 1.0 as well as the normal bios and it works fine,
are you sure there isn't something else in your build causing the problem?
-
i dont know if something else make this crash
i have test this set with all bios, unibios,aes,mvs
and the game crash, but only when i play with boss
i have test with decrypted C roms too and the
game make me same crash
-
ah, it crashes when you play as a boss. That is very important information. ^^
-
yes after some tests i can confirm, its when i play boss