Author Topic: 3 Little problems  (Read 3961 times)

Offline XorXe

  • Newbies
  • *
  • Posts: 34
  • Karma: +0/-0
  • Learning 4 Masters ^^
3 Little problems
« on: October 25, 2005, 09:03:52 AM »
Hi guys i have 3 problems in mame.

First: I add some hacks in my compilation like KOF2000 Evo & Remix Pro, but i have a problem whit the text all are wrong in the hacks, the text show like this:


I try whir a 512K S1 and 128K but have same problem, this is my current driver

Code: [Select]
ROM_START( kof2kevo )
ROM_REGION( 0x500000, REGION_CPU1, 0 )
ROM_LOAD16_WORD_SWAP( "kof2kevo-p1.bin", 0x000000, 0x100000, CRC(3107aa48) )
ROM_LOAD16_WORD_SWAP( "257-p2n.bin", 0x100000, 0x400000, CRC(693c2c5e) )

NEO_SFIX_128K( "kof2k_s1.rom", CRC(B785417F) )

NEO_BIOS_SOUND_256K( "257-m1_decrypted.bin", CRC(D404DB70) )

ROM_REGION( 0x1000000, REGION_SOUND1, ROMREGION_SOUNDONLY )
ROM_LOAD( "257-v1.bin", 0x000000, 0x400000, CRC(17cde847) SHA1(4bcc0205b70dc6d9216b29025450c9c5b08cb65d) )
ROM_LOAD( "257-v2.bin", 0x400000, 0x400000, CRC(1afb20ff) SHA1(57dfd2de058139345ff2b744a225790baaecd5a2) )
ROM_LOAD( "257-v3.bin", 0x800000, 0x400000, CRC(4605036a) SHA1(51b228a0600d38a6ec37aec4822879ec3b0ee106) )
ROM_LOAD( "257-v4.bin", 0xc00000, 0x400000, CRC(764bbd6b) SHA1(df23c09ca6cf7d0ae5e11ff16e30c159725106b3) )

NO_DELTAT_REGION

ROM_REGION( 0x4000000, REGION_GFX3, 0 )
ROM_LOAD16_BYTE( "kof2k_c1.rom", 0x0000000, 0x800000, CRC(ABCDD424) )
ROM_LOAD16_BYTE( "kof2k_c2.rom", 0x0000001, 0x800000, CRC(CDA33778) )
ROM_LOAD16_BYTE( "kof2k_c3.rom", 0x1000000, 0x800000, CRC(087FB15B) )
ROM_LOAD16_BYTE( "kof2k_c4.rom", 0x1000001, 0x800000, CRC(FE9DFDE4) )
ROM_LOAD16_BYTE( "kof2k_c5.rom", 0x2000000, 0x800000, CRC(03EE4BF4) )
ROM_LOAD16_BYTE( "kof2k_c6.rom", 0x2000001, 0x800000, CRC(8599CC5B) )
ROM_LOAD16_BYTE( "kof2k_c7.rom", 0x3000000, 0x800000, CRC(71DFC3E2) )
ROM_LOAD16_BYTE( "kof2k_c8.rom", 0x3000001, 0x800000, CRC(0FA30E5F) )
ROM_END

ROM_START( kof2krp )
ROM_REGION( 0x500000, REGION_CPU1, 0 )
ROM_LOAD16_WORD_SWAP( "kof2krp-p1.bin", 0x000000, 0x100000, CRC(7c81d853) )
ROM_LOAD16_WORD_SWAP( "kof2krp-p2.bin", 0x100000, 0x400000, CRC(82a6aeed) )

NEO_SFIX_128K( "kof2k_s1.rom", CRC(B785417F) )

NEO_BIOS_SOUND_256K( "257-m1_decrypted.bin", CRC(D404DB70) )

ROM_REGION( 0x1000000, REGION_SOUND1, ROMREGION_SOUNDONLY )
ROM_LOAD( "257-v1.bin", 0x000000, 0x400000, CRC(17cde847) SHA1(4bcc0205b70dc6d9216b29025450c9c5b08cb65d) )
ROM_LOAD( "257-v2.bin", 0x400000, 0x400000, CRC(1afb20ff) SHA1(57dfd2de058139345ff2b744a225790baaecd5a2) )
ROM_LOAD( "257-v3.bin", 0x800000, 0x400000, CRC(4605036a) SHA1(51b228a0600d38a6ec37aec4822879ec3b0ee106) )
ROM_LOAD( "257-v4.bin", 0xc00000, 0x400000, CRC(764bbd6b) SHA1(df23c09ca6cf7d0ae5e11ff16e30c159725106b3) )

NO_DELTAT_REGION

ROM_REGION( 0x4000000, REGION_GFX3, 0 )
ROM_LOAD16_BYTE( "kof2k_c1.rom", 0x0000000, 0x800000, CRC(ABCDD424) )
ROM_LOAD16_BYTE( "kof2k_c2.rom", 0x0000001, 0x800000, CRC(CDA33778) )
ROM_LOAD16_BYTE( "kof2k_c3.rom", 0x1000000, 0x800000, CRC(087FB15B) )
ROM_LOAD16_BYTE( "kof2k_c4.rom", 0x1000001, 0x800000, CRC(FE9DFDE4) )
ROM_LOAD16_BYTE( "kof2k_c5.rom", 0x2000000, 0x800000, CRC(03EE4BF4) )
ROM_LOAD16_BYTE( "kof2k_c6.rom", 0x2000001, 0x800000, CRC(8599CC5B) )
ROM_LOAD16_BYTE( "kof2k_c7.rom", 0x3000000, 0x800000, CRC(71DFC3E2) )
ROM_LOAD16_BYTE( "kof2k_c8.rom", 0x3000001, 0x800000, CRC(0FA30E5F) )
ROM_END

Second problem:

I add a nebula/kawaks KOF2003 Set and KOF2003 Evolution (whit transparent life bars), in this case Mame dont load the game, only try to load the P1 ROM but return to main screen  :confused:

I use this nebula/kawaks DAT:

Code: [Select]
System: NEO
RomName: kof2k3bh
Game: The King of Fighters 2003 (Boss)

[Program]
271d-p1.rom,0,800000,155C294E,0
271d-p2.bin,800000,400000,5D3D8BB3,0

[Text]

[Z80]
271-m1bl.bin,0,20000,396E17CD,0

[Samples]
271-v1d.rom,0,400000,D2B8AA5E,0
271-v2d.rom,400000,400000,71956EE2,0
271-v3d.rom,800000,400000,DDBBB199,0
271-v4d.rom,C00000,400000,1B90C4F,0

[Graphics]
271-c1d.rom,0,800000,E42FC226,0
271-c2d.rom,1,800000,1B5E3B58,0
271-c3d.rom,1000000,800000,D334FDD9,0
271-c4d.rom,1000001,800000,D457699,0
271-c5d.rom,2000000,800000,8A91AAE4,0
271-c6d.rom,2000001,800000,9F8674B8,0
271-c7nt.rom,3000000,800000,9965D632,0
271-c8nt.rom,3000001,800000,989BC5C9,0

[System]
CartridgeID: 271
GfxCrypt: 0
GfxKey: 0
ButLayout: 9
Fix: 13
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

System: NEO
RomName: kof2k3ev
Game: The King of Fighters 2003 (Evolution)
Parent: kof2k3bh

[Program]
kof2k3evo_p1.rom,0,800000,CE221039,0
271d-p2.bin,800000,400000,5D3D8BB3,0

[Text]
kof2k3evo_s1.rom,0,20000,2849FBFB,0

[Z80]
271-m1bl.bin,0,20000,396E17CD,0

[Samples]
271-v1d.rom,0,400000,D2B8AA5E,0
271-v2d.rom,400000,400000,71956EE2,0
271-v3d.rom,800000,400000,DDBBB199,0
271-v4d.rom,C00000,400000,1B90C4F,0

[Graphics]
271-c1d.rom,0,800000,E42FC226,0
271-c2d.rom,1,800000,1B5E3B58,0
271-c3d.rom,1000000,800000,D334FDD9,0
271-c4d.rom,1000001,800000,D457699,0
271-c5d.rom,2000000,800000,8A91AAE4,0
271-c6d.rom,2000001,800000,9F8674B8,0
271-c7nt.rom,3000000,800000,9965D632,0
271-c8nt.rom,3000001,800000,989BC5C9,0

[System]
CartridgeID: 271
GfxCrypt: 0
GfxKey: 0
ButLayout: 9
Fix: 13

And my MAME driver

Code: [Select]
ROM_START( kof2k3bh )
ROM_REGION( 0x500000, REGION_CPU1, 0 )
ROM_LOAD16_WORD_SWAP( "271d-p1.rom", 0x000000, 0x800000, CRC(155C294E) )
ROM_LOAD16_WORD_SWAP( "271d-p2.rom", 0x100000, 0x400000, CRC(5D3D8BB3) )


ROM_REGION( 0x20000, REGION_GFX1, 0 )
ROM_FILL(                 0x000000, 0x20000, 0 )
ROM_REGION( 0x20000, REGION_GFX2, 0 )
ROM_LOAD( "sfix.sfx",  0x000000, 0x20000, CRC(354029fc) )

NEO_BIOS_SOUND_128K( "271-m1bl.bin", CRC(396E17CD) )

ROM_REGION( 0x1000000, REGION_SOUND1, ROMREGION_SOUNDONLY )
ROM_LOAD( "271-v1d.rom", 0x000000, 0x400000, CRC(D2B8AA5E) )
ROM_LOAD( "271-v2d.rom", 0x400000, 0x400000, CRC(71956EE2) )
ROM_LOAD( "271-v3d.rom", 0x800000, 0x400000, CRC(DDBBB199) )
ROM_LOAD( "271-v4d.rom", 0xc00000, 0x400000, CRC(01B90C4F) )

NO_DELTAT_REGION

ROM_REGION( 0x4000000, REGION_GFX3, 0 )
ROM_LOAD16_BYTE( "271-c1d.rom", 0x0000000, 0x800000, CRC(E42FC226) )
ROM_LOAD16_BYTE( "271-c2d.rom", 0x0000001, 0x800000, CRC(1B5E3B58) )
ROM_LOAD16_BYTE( "271-c3d.rom", 0x1000000, 0x800000, CRC(D334FDD9) )
ROM_LOAD16_BYTE( "271-c4d.rom", 0x1000001, 0x800000, CRC(0D457699) )
ROM_LOAD16_BYTE( "271-c5d.rom", 0x2000000, 0x800000, CRC(8A91AAE4) )
ROM_LOAD16_BYTE( "271-c6d.rom", 0x2000001, 0x800000, CRC(9F8674B8) )
ROM_LOAD16_BYTE( "271-c7nt.rom", 0x3000000, 0x800000, CRC(9965D632) )
ROM_LOAD16_BYTE( "271-c8nt.rom", 0x3000001, 0x800000, CRC(989BC5C9) )
ROM_END

ROM_START( kof2k3ev )
ROM_REGION( 0x500000, REGION_CPU1, 0 )
ROM_LOAD16_WORD_SWAP( "kof2k3evo_p1.rom", 0x000000, 0x800000, CRC(ce221039) )
ROM_LOAD16_WORD_SWAP( "271d-p2.rom", 0x100000, 0x400000, CRC(5D3D8BB3) )

NEO_SFIX_128K( "kof2k3evo_s1.rom", CRC(2849FBFB) )

NEO_BIOS_SOUND_128K( "271-m1bl.bin", CRC(396E17CD) )

ROM_REGION( 0x1000000, REGION_SOUND1, ROMREGION_SOUNDONLY )
ROM_LOAD( "271-v1d.rom", 0x000000, 0x400000, CRC(d2b8aa5e) )
ROM_LOAD( "271-v2d.rom", 0x400000, 0x400000, CRC(71956EE2) )
ROM_LOAD( "271-v3d.rom", 0x800000, 0x400000, CRC(DDBBB199) )
ROM_LOAD( "271-v4d.rom", 0xc00000, 0x400000, CRC(01B90C4F) )

NO_DELTAT_REGION

ROM_REGION( 0x4000000, REGION_GFX3, 0 )
ROM_LOAD16_BYTE( "271-c1d.rom", 0x0000000, 0x800000, CRC(E42FC226) )
ROM_LOAD16_BYTE( "271-c2d.rom", 0x0000001, 0x800000, CRC(1B5E3B58) )
ROM_LOAD16_BYTE( "271-c3d.rom", 0x1000000, 0x800000, CRC(D334FDD9) )
ROM_LOAD16_BYTE( "271-c4d.rom", 0x1000001, 0x800000, CRC(0D457699) )
ROM_LOAD16_BYTE( "271-c5d.rom", 0x2000000, 0x800000, CRC(8A91AAE4) )
ROM_LOAD16_BYTE( "271-c6d.rom", 0x2000001, 0x800000, CRC(9F8674B8) )
ROM_LOAD16_BYTE( "271-c7nt.rom", 0x3000000, 0x800000, CRC(9965D632) )
ROM_LOAD16_BYTE( "271-c8nt.rom", 0x3000001, 0x800000, CRC(989BC5C9) )
ROM_END

Init section

Code: [Select]
DRIVER_INIT( kof2k3bh )
{

int i;
UINT8 *src = memory_region(REGION_GFX3) + memory_region_length(REGION_GFX3) - 0x20000;
UINT8 *dst = memory_region(REGION_GFX1);

for (i = 0; i < 0x20000; i++)
dst[i] = src[(i & 0x1ffe0) + ((i & 7) << 2) + ((~i & 8) >> 2) + ((i & 0x10) >> 4)];

init_neogeo();
}

Third problem, but not important.

I have a problem with the list of games, perhaps so that in some cases I do the following thing:

kof2001 (MAIN SET)
|____kof2001h (set 2) clone of kof2001
|____kof2k1nd (decrypted) clone of 2001
            |___kof2k1rp (Remix pro) clone of kof2k1nd
            |___kof2k1ru (Remix ultra) clone of kof2k1nd

Code: [Select]
GAMEB( 2001, kof2001,  neogeo,    neogeo, raster, neogeo,  kof2001,  ROT0, "Eolith", "The King of Fighters 2001 (set 1)" ) /* Encrypted GFX */
GAMEB( 2001, kof2001h, kof2001,   neogeo, raster, neogeo,  kof2001,  ROT0, "Eolith", "The King of Fighters 2001 (set 2)" ) /* Encrypted GFX */
GAMEB( 2001, kof2k1nd, kof2001,   neogeo, neogeo, neogeo,  neogeo,   ROT0, "Eolith", "The King of Fighters 2001 (Fully Decrypted)" )
GAMEB( 2001, kof2k1pls,kof2001,   neogeo, neogeo, neogeo,  neogeo,   ROT0, "Bootleg", "The King of Fighters 2001 Plus " )
GAMEB( 2001, kof2k1rp, kof2k1nd,   neogeo, neogeo, neogeo,  neogeo,   ROT0, "Hack", "The King of Fighters 2001 (Remix Pro) " )
GAMEB( 2001, kof2k1ru, kof2k1nd,   neogeo, neogeo, neogeo,  neogeo,   ROT0, "Hack", "The King of Fighters 2001 (Remix Ultra Ver 2.3)" )

My game list show like this

I make this to save a little space in the HD think that this is the
problem?

[EDIT]

I attach the 1st image, my freehost dont show it  :mad:



« Last Edit: October 25, 2005, 09:09:01 AM by XorXe »

Offline neo04

  • Jr. Member
  • **
  • Posts: 90
  • Karma: +1/-0
Re: 3 Little problems
« Reply #1 on: October 25, 2005, 12:10:01 PM »
i donno whats the 1st problem is... but maybe the s1 is encrypted?

the 2nd is obvious... if u using the current mame src, u cannot make a game as 'clone of clone'
if u want to make kof2k1nd as parent of those hacks, u must remove kof2k1nd as a clone of kof2001...
it will be better if u use kof2001b (bootleg) as parent to all hacks.. this way, u can still make kof2k1nd as a clone of kof2001

Offline XorXe

  • Newbies
  • *
  • Posts: 34
  • Karma: +0/-0
  • Learning 4 Masters ^^
Re: 3 Little problems
« Reply #2 on: October 25, 2005, 12:48:36 PM »
i donno whats the 1st problem is... but maybe the s1 is encrypted?

Well i think is decrypted S1 i use NeFe to decrypt C roms of KOF2000


the 2nd is obvious... if u using the current mame src, u cannot make a game as 'clone of clone'
if u want to make kof2k1nd as parent of those hacks, u must remove kof2k1nd as a clone of kof2001...
it will be better if u use kof2001b (bootleg) as parent to all hacks.. this way, u can still make kof2k1nd as a clone of kof2001

Ok thanks  :biggrin: