Author Topic: Hack Kof 2000 (Evolution v1.3) on Mame 0.235 missing slashes and text  (Read 39230 times)

Offline Djan

  • Newbies
  • *
  • Posts: 10
  • Karma: +0/-0
Hi, I'm trying to add this HBMame hack from kof2000 (evolution v1.3) to mame 0.235

The problem is that there are graphical errors, that is, there are no graphics, part of the text does not appear, nor bars etc... :/

Change I made I removed this part: NEO_SFIX_MT_512K

And I put this:
Code: [Select]
/* NEO_SFIX_MT_512K */
ROM_Y_ZOOM

/* The Encrypted Boards do not have an s1 rom, data for it comes from the Cx ROMs */
ROM_REGION( 0x80000, "cslot1:fixed", 0 )
ROM_FILL( 0x000000, 0x20000, 0x000000 )
ROM_REGION( 0x20000, "fixedbios", 0 )
ROM_LOAD( "sfix.sfix", 0x000000, 0x20000, CRC(c2ea0cfd) SHA1(fd4a618cdcdbf849374f0a50dd8efe9dbab706c3) )

full driver:
Code: [Select]
ROM_START( kof2kevo3 ) //The King of Fighters 2000 (Evolution v1.3)
ROM_REGION( 0x500000, "cslot1:maincpu", ROMREGION_BE|ROMREGION_16BIT )
ROM_LOAD16_WORD_SWAP( "257evo3.p1",  0x000000, 0x100000, CRC(93cc8aa5) SHA1(46226909fd182d9edefb529bfe4c91f8a5b02a9e) )
ROM_LOAD16_WORD_SWAP( "257n.p2", 0x100000, 0x400000, CRC(693c2c5e) SHA1(dc9121b7369ef46596343cac055a00aec81704d4) )

/* NEO_SFIX_MT_512K */
ROM_Y_ZOOM

/* The Encrypted Boards do not have an s1 rom, data for it comes from the Cx ROMs */
ROM_REGION( 0x80000, "cslot1:fixed", 0 )
ROM_FILL( 0x000000, 0x20000, 0x000000 )
ROM_REGION( 0x20000, "fixedbios", 0 )
ROM_LOAD( "sfix.sfix", 0x000000, 0x20000, CRC(c2ea0cfd) SHA1(fd4a618cdcdbf849374f0a50dd8efe9dbab706c3) )


NEO_BIOS_AUDIO_256K( "257d.m1", CRC(d404db70) SHA1(8cd1f3e140a9a367de23544e76371b0491287909) )

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

ROM_REGION( 0x4000000, "cslot1:sprites", 0 )
ROM_LOAD16_BYTE( "257d.c1", 0x0000000, 0x800000, CRC(abcdd424) SHA1(1d52aae8a7806d48c098c2a7a77dff6e02ac4870) )
ROM_LOAD16_BYTE( "257d.c2", 0x0000001, 0x800000, CRC(cda33778) SHA1(a619740364c952c443f27ed9b7c395610f2673c7) )
ROM_LOAD16_BYTE( "257d.c3", 0x1000000, 0x800000, CRC(087fb15b) SHA1(f77cb6e670cdf7709d84d770ecf28533cbfbe6de) )
ROM_LOAD16_BYTE( "257d.c4", 0x1000001, 0x800000, CRC(fe9dfde4) SHA1(23750ff0c4bc084d55eea66a5cdd0ef2d6c32cdc) )
ROM_LOAD16_BYTE( "257d.c5", 0x2000000, 0x800000, CRC(03ee4bf4) SHA1(8f26c5bc525a5786de8e25797e2875a1dfe527be) )
ROM_LOAD16_BYTE( "257d.c6", 0x2000001, 0x800000, CRC(8599cc5b) SHA1(9a05fc12273aebfbc4ac22e88b32ae9ecd269462) )
ROM_LOAD16_BYTE( "257d.c7", 0x3000000, 0x800000, CRC(71dfc3e2) SHA1(1889a8dc88993e35f9fd93ce2bee1de52995932d) )
ROM_LOAD16_BYTE( "257d.c8", 0x3000001, 0x800000, CRC(0fa30e5f) SHA1(0cb7fa6b0219e1af2df9b97786c677651a78f37a) )
ROM_END

Code: [Select]
GAME( 2000, kof2kevo3,  kof2000,  neobase,  neogeo,  mvs_led_state,   empty_init, ROT0, "FCHT-EGHT", "Kof2000 (Evolution v1.3)", MACHINE_SUPPORTS_SAVE )




« Last Edit: September 09, 2021, 01:08:10 AM by Djan »

Offline dink

  • Administrator
  • *****
  • Posts: 5151
  • Karma: +461/-1
  • pie? I nearly bought one!
Re: Hack Kof 2000 (Evolution v1.3) on Mame 0.235 missing slashes and text
« Reply #1 on: September 09, 2021, 09:34:59 AM »
If I remember correctly, FIX is usually the text areas (HUD, text, life bars, etc - stuff that doesn't move aka FIXed)
removing the NEO_SFIX_MT_512K section probably broke that.  Since regular MAME doesn't have that, we have to figure out what it means.
Looking in hbmame's includes/neogeo.h:
The macro decodes to "NEO_SFIX_MT( 0x80000 )", which decodes to 2 other macros

#define ROM_Y_ZOOM \
   ROM_REGION( 0x20000, "zoomy", 0 ) \
   ROM_LOAD( "000-lo.lo", 0x00000, 0x20000, CRC(5a86cff2) SHA1(5992277debadeb64d1c1c64b0a92d9293eaf7e4a) )

#define NEO_SFIX_MT(bytes) \
   ROM_Y_ZOOM \
   ROM_REGION( 0x20000, "fixedbios", 0 ) \
   ROM_LOAD( "sfix.sfix",  0, 0x20000, CRC(c2ea0cfd) SHA1(fd4a618cdcdbf849374f0a50dd8efe9dbab706c3) ) \
   ROM_REGION( bytes, "fixed", ROMREGION_ERASE00 )

So, to fix your driver, try this:
Code: [Select]

ROM_START( kof2kevo3 ) //The King of Fighters 2000 (Evolution v1.3)
ROM_REGION( 0x500000, "cslot1:maincpu", ROMREGION_BE|ROMREGION_16BIT )
ROM_LOAD16_WORD_SWAP( "257evo3.p1",  0x000000, 0x100000, CRC(93cc8aa5) SHA1(46226909fd182d9edefb529bfe4c91f8a5b02a9e) )
ROM_LOAD16_WORD_SWAP( "257n.p2", 0x100000, 0x400000, CRC(693c2c5e) SHA1(dc9121b7369ef46596343cac055a00aec81704d4) )

// this part expanded from macro's
ROM_REGION( 0x20000, "zoomy", 0 )
ROM_LOAD( "000-lo.lo", 0x00000, 0x20000, CRC(5a86cff2) SHA1(5992277debadeb64d1c1c64b0a92d9293eaf7e4a) )

ROM_REGION( 0x20000, "fixedbios", 0 )
ROM_LOAD( "sfix.sfix",  0, 0x20000, CRC(c2ea0cfd) SHA1(fd4a618cdcdbf849374f0a50dd8efe9dbab706c3) )

ROM_REGION( 0x80000, "fixed", ROMREGION_ERASE00 )
// end of macro expansion

/* The Encrypted Boards do not have an s1 rom, data for it comes from the Cx ROMs */
ROM_REGION( 0x80000, "cslot1:fixed", 0 )
ROM_FILL( 0x000000, 0x20000, 0x000000 )

NEO_BIOS_AUDIO_256K( "257d.m1", CRC(d404db70) SHA1(8cd1f3e140a9a367de23544e76371b0491287909) )

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

ROM_REGION( 0x4000000, "cslot1:sprites", 0 )
ROM_LOAD16_BYTE( "257d.c1", 0x0000000, 0x800000, CRC(abcdd424) SHA1(1d52aae8a7806d48c098c2a7a77dff6e02ac4870) )
ROM_LOAD16_BYTE( "257d.c2", 0x0000001, 0x800000, CRC(cda33778) SHA1(a619740364c952c443f27ed9b7c395610f2673c7) )
ROM_LOAD16_BYTE( "257d.c3", 0x1000000, 0x800000, CRC(087fb15b) SHA1(f77cb6e670cdf7709d84d770ecf28533cbfbe6de) )
ROM_LOAD16_BYTE( "257d.c4", 0x1000001, 0x800000, CRC(fe9dfde4) SHA1(23750ff0c4bc084d55eea66a5cdd0ef2d6c32cdc) )
ROM_LOAD16_BYTE( "257d.c5", 0x2000000, 0x800000, CRC(03ee4bf4) SHA1(8f26c5bc525a5786de8e25797e2875a1dfe527be) )
ROM_LOAD16_BYTE( "257d.c6", 0x2000001, 0x800000, CRC(8599cc5b) SHA1(9a05fc12273aebfbc4ac22e88b32ae9ecd269462) )
ROM_LOAD16_BYTE( "257d.c7", 0x3000000, 0x800000, CRC(71dfc3e2) SHA1(1889a8dc88993e35f9fd93ce2bee1de52995932d) )
ROM_LOAD16_BYTE( "257d.c8", 0x3000001, 0x800000, CRC(0fa30e5f) SHA1(0cb7fa6b0219e1af2df9b97786c677651a78f37a) )
ROM_END
« Last Edit: September 09, 2021, 09:38:17 AM by dink »

Offline Djan

  • Newbies
  • *
  • Posts: 10
  • Karma: +0/-0
Re: Hack Kof 2000 (Evolution v1.3) on Mame 0.235 missing slashes and text
« Reply #2 on: September 09, 2021, 03:48:51 PM »
hello, first thank you very much for your attention dink, i added the drive you modified, but it didn't work :/

sequence of errors attached:


resolved with this change:
Code: [Select]
// this part expanded from macro's
ROM_REGION( 0x20000, "spritegen:zoomy", 0 ) //  spritegen:
ROM_LOAD( "000-lo.lo", 0x00000, 0x20000, CRC(5a86cff2) SHA1(5992277debadeb64d1c1c64b0a92d9293eaf7e4a) )

the game opens, but it still has the same problem :/
« Last Edit: September 09, 2021, 03:51:13 PM by Djan »

Offline dink

  • Administrator
  • *****
  • Posts: 5151
  • Karma: +461/-1
  • pie? I nearly bought one!
Re: Hack Kof 2000 (Evolution v1.3) on Mame 0.235 missing slashes and text
« Reply #3 on: September 09, 2021, 04:19:42 PM »
hmmm, try putting:
ROM_Y_ZOOM

In there directly after the program roms, and remove:
  ROM_REGION( 0x20000, "spritegen:zoomy", 0 ) //  spritegen:
  ROM_LOAD( "000-lo.lo", 0x00000, 0x20000, CRC(5a86cff2) SHA1(5992277debadeb64d1c1c64b0a92d9293eaf7e4a) )

What do you have for the GAME() line?
Perhaps try changing the Machine field from kof2000 to kof2000n ? (or vice-versa)

best regards,
- dink


Offline Djan

  • Newbies
  • *
  • Posts: 10
  • Karma: +0/-0
Re: Hack Kof 2000 (Evolution v1.3) on Mame 0.235 missing slashes and text
« Reply #4 on: September 09, 2021, 05:45:47 PM »
that's exactly what I did I put ROM_Y_ZOOM the game works but the problem persists.

The GAME() line looks exactly like this:
Code: [Select]
GAME( 2000, kof2kevo3,  kof2000,  neobase,  neogeo, mvs_led_state,   empty_init, ROT0, "FCHT-EGHT", "The King of Fighters 2000 (Evolution v1.3)", MACHINE_SUPPORTS_SAVE )

I've also made these changes in the Machine field (kof2000 to kof2000n) and vice versa, but then the game doesn't even open, mame closes!

I no longer know where to change :/ it seems to me to be a problem elsewhere in mame's code!

Offline dink

  • Administrator
  • *****
  • Posts: 5151
  • Karma: +461/-1
  • pie? I nearly bought one!
Re: Hack Kof 2000 (Evolution v1.3) on Mame 0.235 missing slashes and text
« Reply #5 on: September 09, 2021, 08:17:00 PM »
Well, don't lose hope, maybe Robert (hbmame guy) or iq_132 has an idea.

best regards,
- dink

Offline Djan

  • Newbies
  • *
  • Posts: 10
  • Karma: +0/-0
Re: Hack Kof 2000 (Evolution v1.3) on Mame 0.235 missing slashes and text
« Reply #6 on: September 09, 2021, 11:08:29 PM »
Thank you so much for your support - dink

I hope they see this post, I look forward to this solution.  ;p

Offline Robert

  • MAME Devs
  • *****
  • Posts: 48
  • Karma: +27/-0
Re: Hack Kof 2000 (Evolution v1.3) on Mame 0.235 missing slashes and text
« Reply #7 on: September 10, 2021, 08:31:40 AM »
According to your crosspost at mameworld, it looks like you have fixed it.

Offline Djan

  • Newbies
  • *
  • Posts: 10
  • Karma: +0/-0
Re: Hack Kof 2000 (Evolution v1.3) on Mame 0.235 missing slashes and text
« Reply #8 on: September 10, 2021, 03:43:06 PM »
hello, by the way are you the Robbbert of mameWorld ?
I still couldn't get it, Robbbert from mameWorld told me that these extra macros are to tidy up and clarify the neogeo listing in HBmame "NEO_SFIX_MT_512K" and that these macros are not in Mame.
I was sad :/ I thought this crusade would be simpler, however I'm losing hope already.

Offline Robert

  • MAME Devs
  • *****
  • Posts: 48
  • Karma: +27/-0
Re: Hack Kof 2000 (Evolution v1.3) on Mame 0.235 missing slashes and text
« Reply #9 on: September 12, 2021, 08:23:32 AM »
You'll never graduate to game hacker if you give up so easily.

Just replace the NEO_SFIX_MT_512K part with
 ROM_REGION( 0x20000, "fixedbios", 0 )
   ROM_LOAD( "sfix.sfix",  0, 0x20000, CRC(c2ea0cfd) SHA1(fd4a618cdcdbf849374f0a50dd8efe9dbab706c3) )
   ROM_REGION( 0x80000, "fixed", ROMREGION_ERASE00 )

There needs to be a ROM_Y_ZOOM in there too, but only once.


edit: in MAME some of the rom regions will need to be prefixed with cslot1: - this isn't needed in HBMAME (because HBMAME doesn't support slots). You'll have to try it out by looking at other sets in MAME.
« Last Edit: September 12, 2021, 09:18:57 AM by Robert »

Offline Djan

  • Newbies
  • *
  • Posts: 10
  • Karma: +0/-0
Re: Hack Kof 2000 (Evolution v1.3) on Mame 0.235 missing slashes and text
« Reply #10 on: September 12, 2021, 07:48:41 PM »
Hi Robert, yes, this was the first modification I made to the driver, I analyzed the hbmame driver and noticed that on the mame 235 drive there was no such part NEO_SFIX_MT_512K, it was replaced by this one:
Code: [Select]
        ROM_Y_ZOOM

ROM_REGION( 0x80000, "cslot1:fixed", 0 )
ROM_FILL( 0x000000, 0x20000, 0x000000 )
ROM_REGION( 0x20000, "fixedbios", 0 )
ROM_LOAD( "sfix.sfix", 0x000000, 0x20000, CRC(c2ea0cfd) SHA1(fd4a618cdcdbf849374f0a50dd8efe9dbab706c3) )

Based on mame 235's kof2000, I copied this part and put it in the kof2kevo3 driver but even so the fixed part of text and bars still doesn't appear.

Tried to compile other old versions of mame too but error persists.
If it's not asking too much of you, try compiling this kof2kevo3 driver on mame 235

It seems to me to be a problem elsewhere in the mame 235 code.

thank you very much for your attention!

Offline Djan

  • Newbies
  • *
  • Posts: 10
  • Karma: +0/-0
Re: Hack Kof 2000 (Evolution v1.3) on Mame 0.235 missing slashes and text
« Reply #11 on: September 13, 2021, 11:46:08 PM »
Here is the log for study. Here in this configuration the rom works, but it lacks the bars and texts.
Detail in the GAME() line in Machine is (neobase)
Code: [Select]
GAME( 2000, kof2kevo3,  kof2000,  neobase,    neogeo, mvs_led_state,   empty_init, ROT0, "FCHT-EGHT", "The King of Fighters 2000 (Evolution v1.3)", MACHINE_SUPPORTS_SAVE )
LOG.TXT
Code: [Select]
Attempting load of mame.ini
Parsing mame.ini
Attempting load of mame.ini
Parsing mame.ini
Attempting load of horizont.ini
Attempting load of arcade.ini
Attempting load of raster.ini
Parsing raster.ini
Attempting load of source\neogeo.ini
Attempting load of neogeo.ini
Attempting load of kof2000.ini
Attempting load of kof2kevo3.ini
Reading translation file English: 1 strings, original table at word offset 7, translated table at word offset 9
Loaded 0 translations from file English
Starting plugin data...
Attempting load of mame.ini
Parsing mame.ini
Attempting load of mame.ini
Parsing mame.ini
Attempting load of horizont.ini
Attempting load of arcade.ini
Attempting load of raster.ini
Parsing raster.ini
Attempting load of source\neogeo.ini
Attempting load of neogeo.ini
Attempting load of kof2000.ini
Attempting load of kof2kevo3.ini
Video: Monitor 65537 = "\\.\DISPLAY1" (primary)
Direct3D: Using Direct3D 9Ex
Switchres(v2.002) display[0]: monitor[generic_15] generation[on]
Switchres: Monitor range 15625.00-15750.00,49.50-65.00,2.000,4.700,8.000,0.064,0.192,1.024,0,0,192,288,448,576
Switchres: \\.\DISPLAY1: NVIDIA GeForce 9500 GT (PCI\VEN_10DE&DEV_0640&SUBSYS_C9583842&REV_A1)
Switchres: Device key: System\CurrentControlSet\Control\Video\{5338E992-EA5A-4B12-BA9B-E6D2C7496800}\0000
Video chipset is not compatible.
Switchres: Searching for custom video modes...
Switchres: [  0]  640x 480 @ 60p : system mode
system mode
Switchres: [  1]  640x 480 @ 72p : system mode
system mode
Switchres: [  2]  640x 480 @ 75p : system mode
system mode
Switchres: [  3]  720x 480 @ 56p : system mode
system mode
Switchres: [  4]  720x 480 @ 60p : system mode
system mode
Switchres: [  5]  720x 480 @ 72p : system mode
system mode
Switchres: [  6]  720x 480 @ 75p : system mode
system mode
Switchres: [  7]  720x 576 @ 56p : system mode
system mode
Switchres: [  8]  720x 576 @ 60p : system mode
system mode
Switchres: [  9]  720x 576 @ 72p : system mode
system mode
Switchres: [ 10]  720x 576 @ 75p : system mode
system mode
Switchres: [ 11]  800x 600 @ 56p : system mode
system mode
Switchres: [ 12]  800x 600 @ 60p : system mode
system mode
Switchres: [ 13]  800x 600 @ 72p : system mode
system mode
Switchres: [ 14]  800x 600 @ 75p : system mode
system mode
Switchres: [ 15] 1024x 768 @ 60p : system mode
system mode
Switchres: [ 16] 1024x 768 @ 70p : system mode
system mode
Switchres: [ 17] 1024x 768 @ 75p : system mode
system mode
Switchres: [ 18] 1280x 720 @ 60p : system mode
system mode
Switchres: [ 19] 1280x 768 @ 60p : system mode
system mode
Switchres: [ 20] 1360x 768 @ 60p : system mode
system mode
Switchres: [ 21] 1366x 768 @ 60p* : system mode
system mode
Switchres: Found 0 custom of 21 active video modes
Switchres: get_mode(0) 320 224 59.185606 1.778646
Switchres: Calculating best video mode for 320x224@59.185608 orientation: normal

Switchres: [ 640]x[ 480]_[60=60.000000Hz] - locked

Switchres: [ 640]x[ 480]_[72=72.000000Hz] - locked

Switchres: [ 640]x[ 480]_[75=75.000000Hz] - locked

Switchres: [ 720]x[ 480]_[56=56.000000Hz] - locked

Switchres: [ 720]x[ 480]_[60=60.000000Hz] - locked

Switchres: [ 720]x[ 480]_[72=72.000000Hz] - locked

Switchres: [ 720]x[ 480]_[75=75.000000Hz] - locked

Switchres: [ 720]x[ 576]_[56=56.000000Hz] - locked

Switchres: [ 720]x[ 576]_[60=60.000000Hz] - locked

Switchres: [ 720]x[ 576]_[72=72.000000Hz] - locked

Switchres: [ 720]x[ 576]_[75=75.000000Hz] - locked

Switchres: [ 800]x[ 600]_[56=56.000000Hz] - locked

Switchres: [ 800]x[ 600]_[60=60.000000Hz] - locked

Switchres: [ 800]x[ 600]_[72=72.000000Hz] - locked

Switchres: [ 800]x[ 600]_[75=75.000000Hz] - locked

Switchres: [1024]x[ 768]_[60=60.000000Hz] - locked

Switchres: [1024]x[ 768]_[70=70.000000Hz] - locked

Switchres: [1024]x[ 768]_[75=75.000000Hz] - locked

Switchres: [1280]x[ 720]_[60=60.000000Hz] - locked

Switchres: [1280]x[ 768]_[60=60.000000Hz] - locked

Switchres: [1360]x[ 768]_[60=60.000000Hz] - locked

Switchres: [1366]x[ 768]_[60=60.000000Hz]
   rng(0):  out of range
Physical width 936, height 728
Direct3D: Initialize
Direct3D: Configuring adapter #0 = NVIDIA GeForce 9500 GT
Direct3D: Adapter has Vendor ID: 10DE and Device ID: 640
RawInput: APIs detected
RawInput: APIs detected
RawInput: APIs detected
DirectSound: Primary buffer: 48000 Hz, 16 bits, 2 channels
Input: Adding keyboard #0: Teclado Padr?o PS/2 (device id: \\?\ACPI#PNP0303#4&12845b4&0#{884b96c3-56ef-11d1-bc8c-00a0c91405dd})
Input: Adding mouse #0: Mouse compat?vel com PS/2 (device id: \\?\ACPI#PNP0F13#4&12845b4&0#{378de44c-56ef-11d1-bc8c-00a0c91405dd})
Input: Adding mouse #1: Mouse compat?vel com HID (device id: \\?\HID#VID_0000&PID_0538#6&16320ab9&0&0000#{378de44c-56ef-11d1-bc8c-00a0c91405dd})
Input: Adding lightgun #0: Mouse compat?vel com PS/2 (device id: \\?\ACPI#PNP0F13#4&12845b4&0#{378de44c-56ef-11d1-bc8c-00a0c91405dd})
Input: Adding lightgun #1: Mouse compat?vel com HID (device id: \\?\HID#VID_0000&PID_0538#6&16320ab9&0&0000#{378de44c-56ef-11d1-bc8c-00a0c91405dd})
Direct3D: YUV format = RGB
Direct3D: Max texture size = 8192x8192
Direct3D: Device created at 920x690
Direct3D: Initialize HLSL
Direct3D: First store options
Direct3D: HLSL initialized
unzip: opened archive file roms\kof2kevo3.zip
unzip: found roms\kof2kevo3.zip ECD
unzip: roms\kof2kevo3.zip has no ZIP64 ECD locator
unzip: read roms\kof2kevo3.zip central directory
unzip: closing archive file roms\kof2kevo3.zip and sending to cache
unzip: found roms\kof2kevo3.zip in cache
unzip: opened archive file roms\kof2kevo3.zip
unzip: closing archive file roms\kof2kevo3.zip and sending to cache
unzip: found roms\kof2kevo3.zip in cache
unzip: closing archive file roms\kof2kevo3.zip and sending to cache
unzip: opened archive file roms\kof2000.zip
unzip: found roms\kof2000.zip ECD
unzip: roms\kof2000.zip has no ZIP64 ECD locator
unzip: read roms\kof2000.zip central directory
unzip: closing archive file roms\kof2000.zip and sending to cache
unzip: opened archive file roms\neogeo.zip
unzip: found roms\neogeo.zip ECD
unzip: roms\neogeo.zip has no ZIP64 ECD locator
unzip: read roms\neogeo.zip central directory
unzip: closing archive file roms\neogeo.zip and sending to cache
unzip: found roms\kof2kevo3.zip in cache
unzip: closing archive file roms\kof2kevo3.zip and sending to cache
unzip: found roms\kof2000.zip in cache
unzip: closing archive file roms\kof2000.zip and sending to cache
unzip: found roms\neogeo.zip in cache
unzip: opened archive file roms\neogeo.zip
unzip: closing archive file roms\neogeo.zip and sending to cache
unzip: found roms\kof2kevo3.zip in cache
unzip: closing archive file roms\kof2kevo3.zip and sending to cache
unzip: found roms\kof2000.zip in cache
unzip: closing archive file roms\kof2000.zip and sending to cache
unzip: found roms\neogeo.zip in cache
unzip: opened archive file roms\neogeo.zip
unzip: closing archive file roms\neogeo.zip and sending to cache
unzip: found roms\kof2kevo3.zip in cache
unzip: closing archive file roms\kof2kevo3.zip and sending to cache
unzip: found roms\kof2000.zip in cache
unzip: closing archive file roms\kof2000.zip and sending to cache
unzip: found roms\neogeo.zip in cache
unzip: opened archive file roms\neogeo.zip
unzip: closing archive file roms\neogeo.zip and sending to cache
unzip: found roms\kof2kevo3.zip in cache
unzip: opened archive file roms\kof2kevo3.zip
unzip: closing archive file roms\kof2kevo3.zip and sending to cache
unzip: found roms\kof2kevo3.zip in cache
unzip: opened archive file roms\kof2kevo3.zip
unzip: closing archive file roms\kof2kevo3.zip and sending to cache
unzip: found roms\kof2kevo3.zip in cache
unzip: opened archive file roms\kof2kevo3.zip
unzip: closing archive file roms\kof2kevo3.zip and sending to cache
unzip: found roms\kof2kevo3.zip in cache
unzip: opened archive file roms\kof2kevo3.zip
unzip: closing archive file roms\kof2kevo3.zip and sending to cache
unzip: found roms\kof2kevo3.zip in cache
unzip: opened archive file roms\kof2kevo3.zip
unzip: closing archive file roms\kof2kevo3.zip and sending to cache
unzip: found roms\kof2kevo3.zip in cache
unzip: opened archive file roms\kof2kevo3.zip
unzip: closing archive file roms\kof2kevo3.zip and sending to cache
unzip: found roms\kof2kevo3.zip in cache
unzip: opened archive file roms\kof2kevo3.zip
unzip: closing archive file roms\kof2kevo3.zip and sending to cache
unzip: found roms\kof2kevo3.zip in cache
unzip: opened archive file roms\kof2kevo3.zip
unzip: closing archive file roms\kof2kevo3.zip and sending to cache
unzip: found roms\kof2kevo3.zip in cache
unzip: opened archive file roms\kof2kevo3.zip
unzip: closing archive file roms\kof2kevo3.zip and sending to cache
unzip: found roms\kof2kevo3.zip in cache
unzip: opened archive file roms\kof2kevo3.zip
unzip: closing archive file roms\kof2kevo3.zip and sending to cache
unzip: found roms\kof2kevo3.zip in cache
unzip: opened archive file roms\kof2kevo3.zip
unzip: closing archive file roms\kof2kevo3.zip and sending to cache
unzip: found roms\kof2kevo3.zip in cache
unzip: opened archive file roms\kof2kevo3.zip
unzip: closing archive file roms\kof2kevo3.zip and sending to cache
unzip: found roms\kof2kevo3.zip in cache
unzip: opened archive file roms\kof2kevo3.zip
unzip: closing archive file roms\kof2kevo3.zip and sending to cache
Optional device ':cslot6' not found
Optional device ':cslot5' not found
Optional device ':cslot4' not found
Optional device ':cslot3' not found
Optional device ':cslot2' not found
Optional memory region ':audiocpu' not found
Optional memory region ':fixed' not found
Optional memory region ':sprites' not found
Optional shared pointer ':maincpu' not found
Optional memory region ':maincpu' not found
Optional memory region ':screen' not found
Optional memory region ':ymsnd:adpcmb' not found
Optional memory region ':ymsnd:adpcma' not found
Optional memory region ':saveram' not found
Optional memory region ':cslot1:ymsnd:adpcmb' not found
Optional memory region ':cslot1:audiocrypt' not found
Starting The King of Fighters 2000 (Evolution v1.3) ':'
  (missing dependencies; rescheduling)
Starting Motorola MC68000 ':maincpu'
Starting Zilog Z80 ':audiocpu'
Starting 74HC259 Addressable Latch ':systemlatch'
Starting Video Screen ':screen'
Starting palette ':palette'
Starting Neo-Geo Sprites (optimized) ':spritegen'
Starting Input Merger (all high) ':audionmi'
Starting Generic 8-bit latch ':soundlatch'
Starting Generic 8-bit latch ':soundlatch2'
Starting YM2610 OPNB ':ymsnd'
Starting Watchdog Timer ':watchdog'
Starting uPD4990A RTC ':upd4990a'
Starting NVRAM ':saveram'
Starting Speaker ':lspeaker'
Starting Speaker ':rspeaker'
Starting NeoGeo Memory Card ':memcard'
Starting SNK Neo Geo Edge Connector (Controller) ':edge'
Starting SNK Neo Geo Arcade Joystick ':edge:joy'
Starting SNK Neo Geo controller port ':ctrl1'
Starting SNK Neo Geo controller port ':ctrl2'
Starting Neo Geo Cartridge Slot ':cslot1'
Starting Neo Geo Standard Carts ':cslot1:rom'
Starting The King of Fighters 2000 (Evolution v1.3) ':'
Attempting to parse: default.cfg
Attempting to parse: kof2kevo3.cfg

Detail in the log, I think it may be important, in the line (Starting Neo Geo Standard Carts ':cslot1:rom') the kof2000 protection is not activated.

Here is the log for study. Here in this configuration the rom does not work and the mame locks and closes.
Detail here in the GAME() line in Machine is (kof2000)
Code: [Select]
GAME( 2000, kof2kevo,   kof2000,  kof2000,   neogeo,     mvs_led_state,    empty_init,  ROT0, "Jason/K3 and Wesker", "Kof2000 (Evolution v1.2)", MACHINE_SUPPORTS_SAVE )
LOG.TXT
Code: [Select]
Attempting load of mame.ini
Parsing mame.ini
Attempting load of mame.ini
Parsing mame.ini
Attempting load of horizont.ini
Attempting load of arcade.ini
Attempting load of raster.ini
Parsing raster.ini
Attempting load of source\neogeo.ini
Attempting load of neogeo.ini
Attempting load of kof2000.ini
Attempting load of kof2kevo3.ini
Reading translation file English: 1 strings, original table at word offset 7, translated table at word offset 9
Loaded 0 translations from file English
Starting plugin data...
Attempting load of mame.ini
Parsing mame.ini
Attempting load of mame.ini
Parsing mame.ini
Attempting load of horizont.ini
Attempting load of arcade.ini
Attempting load of raster.ini
Parsing raster.ini
Attempting load of source\neogeo.ini
Attempting load of neogeo.ini
Attempting load of kof2000.ini
Attempting load of kof2kevo3.ini
Video: Monitor 65537 = "\\.\DISPLAY1" (primary)
Direct3D: Using Direct3D 9Ex
Switchres(v2.002) display[0]: monitor[generic_15] generation[on]
Switchres: Monitor range 15625.00-15750.00,49.50-65.00,2.000,4.700,8.000,0.064,0.192,1.024,0,0,192,288,448,576
Switchres: \\.\DISPLAY1: NVIDIA GeForce 9500 GT (PCI\VEN_10DE&DEV_0640&SUBSYS_C9583842&REV_A1)
Switchres: Device key: System\CurrentControlSet\Control\Video\{5338E992-EA5A-4B12-BA9B-E6D2C7496800}\0000
Video chipset is not compatible.
Switchres: Searching for custom video modes...
Switchres: [  0]  640x 480 @ 60p : system mode
system mode
Switchres: [  1]  640x 480 @ 72p : system mode
system mode
Switchres: [  2]  640x 480 @ 75p : system mode
system mode
Switchres: [  3]  720x 480 @ 56p : system mode
system mode
Switchres: [  4]  720x 480 @ 60p : system mode
system mode
Switchres: [  5]  720x 480 @ 72p : system mode
system mode
Switchres: [  6]  720x 480 @ 75p : system mode
system mode
Switchres: [  7]  720x 576 @ 56p : system mode
system mode
Switchres: [  8]  720x 576 @ 60p : system mode
system mode
Switchres: [  9]  720x 576 @ 72p : system mode
system mode
Switchres: [ 10]  720x 576 @ 75p : system mode
system mode
Switchres: [ 11]  800x 600 @ 56p : system mode
system mode
Switchres: [ 12]  800x 600 @ 60p : system mode
system mode
Switchres: [ 13]  800x 600 @ 72p : system mode
system mode
Switchres: [ 14]  800x 600 @ 75p : system mode
system mode
Switchres: [ 15] 1024x 768 @ 60p : system mode
system mode
Switchres: [ 16] 1024x 768 @ 70p : system mode
system mode
Switchres: [ 17] 1024x 768 @ 75p : system mode
system mode
Switchres: [ 18] 1280x 720 @ 60p : system mode
system mode
Switchres: [ 19] 1280x 768 @ 60p : system mode
system mode
Switchres: [ 20] 1360x 768 @ 60p : system mode
system mode
Switchres: [ 21] 1366x 768 @ 60p* : system mode
system mode
Switchres: Found 0 custom of 21 active video modes
Switchres: get_mode(0) 320 224 59.185606 1.778646
Switchres: Calculating best video mode for 320x224@59.185608 orientation: normal

Switchres: [ 640]x[ 480]_[60=60.000000Hz] - locked

Switchres: [ 640]x[ 480]_[72=72.000000Hz] - locked

Switchres: [ 640]x[ 480]_[75=75.000000Hz] - locked

Switchres: [ 720]x[ 480]_[56=56.000000Hz] - locked

Switchres: [ 720]x[ 480]_[60=60.000000Hz] - locked

Switchres: [ 720]x[ 480]_[72=72.000000Hz] - locked

Switchres: [ 720]x[ 480]_[75=75.000000Hz] - locked

Switchres: [ 720]x[ 576]_[56=56.000000Hz] - locked

Switchres: [ 720]x[ 576]_[60=60.000000Hz] - locked

Switchres: [ 720]x[ 576]_[72=72.000000Hz] - locked

Switchres: [ 720]x[ 576]_[75=75.000000Hz] - locked

Switchres: [ 800]x[ 600]_[56=56.000000Hz] - locked

Switchres: [ 800]x[ 600]_[60=60.000000Hz] - locked

Switchres: [ 800]x[ 600]_[72=72.000000Hz] - locked

Switchres: [ 800]x[ 600]_[75=75.000000Hz] - locked

Switchres: [1024]x[ 768]_[60=60.000000Hz] - locked

Switchres: [1024]x[ 768]_[70=70.000000Hz] - locked

Switchres: [1024]x[ 768]_[75=75.000000Hz] - locked

Switchres: [1280]x[ 720]_[60=60.000000Hz] - locked

Switchres: [1280]x[ 768]_[60=60.000000Hz] - locked

Switchres: [1360]x[ 768]_[60=60.000000Hz] - locked

Switchres: [1366]x[ 768]_[60=60.000000Hz]
   rng(0):  out of range
Physical width 936, height 728
Direct3D: Initialize
Direct3D: Configuring adapter #0 = NVIDIA GeForce 9500 GT
Direct3D: Adapter has Vendor ID: 10DE and Device ID: 640
RawInput: APIs detected
RawInput: APIs detected
RawInput: APIs detected
DirectSound: Primary buffer: 48000 Hz, 16 bits, 2 channels
Input: Adding keyboard #0: Teclado Padr?o PS/2 (device id: \\?\ACPI#PNP0303#4&12845b4&0#{884b96c3-56ef-11d1-bc8c-00a0c91405dd})
Input: Adding mouse #0: Mouse compat?vel com PS/2 (device id: \\?\ACPI#PNP0F13#4&12845b4&0#{378de44c-56ef-11d1-bc8c-00a0c91405dd})
Input: Adding mouse #1: Mouse compat?vel com HID (device id: \\?\HID#VID_0000&PID_0538#6&16320ab9&0&0000#{378de44c-56ef-11d1-bc8c-00a0c91405dd})
Input: Adding lightgun #0: Mouse compat?vel com PS/2 (device id: \\?\ACPI#PNP0F13#4&12845b4&0#{378de44c-56ef-11d1-bc8c-00a0c91405dd})
Input: Adding lightgun #1: Mouse compat?vel com HID (device id: \\?\HID#VID_0000&PID_0538#6&16320ab9&0&0000#{378de44c-56ef-11d1-bc8c-00a0c91405dd})
Direct3D: YUV format = RGB
Direct3D: Max texture size = 8192x8192
Direct3D: Device created at 920x690
Direct3D: Initialize HLSL
Direct3D: First store options
Direct3D: HLSL initialized
unzip: opened archive file roms\kof2kevo3.zip
unzip: found roms\kof2kevo3.zip ECD
unzip: roms\kof2kevo3.zip has no ZIP64 ECD locator
unzip: read roms\kof2kevo3.zip central directory
unzip: closing archive file roms\kof2kevo3.zip and sending to cache
unzip: found roms\kof2kevo3.zip in cache
unzip: opened archive file roms\kof2kevo3.zip
unzip: closing archive file roms\kof2kevo3.zip and sending to cache
unzip: found roms\kof2kevo3.zip in cache
unzip: closing archive file roms\kof2kevo3.zip and sending to cache
unzip: opened archive file roms\kof2000.zip
unzip: found roms\kof2000.zip ECD
unzip: roms\kof2000.zip has no ZIP64 ECD locator
unzip: read roms\kof2000.zip central directory
unzip: closing archive file roms\kof2000.zip and sending to cache
unzip: opened archive file roms\neogeo.zip
unzip: found roms\neogeo.zip ECD
unzip: roms\neogeo.zip has no ZIP64 ECD locator
unzip: read roms\neogeo.zip central directory
unzip: closing archive file roms\neogeo.zip and sending to cache
unzip: found roms\kof2kevo3.zip in cache
unzip: closing archive file roms\kof2kevo3.zip and sending to cache
unzip: found roms\kof2000.zip in cache
unzip: closing archive file roms\kof2000.zip and sending to cache
unzip: found roms\neogeo.zip in cache
unzip: opened archive file roms\neogeo.zip
unzip: closing archive file roms\neogeo.zip and sending to cache
unzip: found roms\kof2kevo3.zip in cache
unzip: closing archive file roms\kof2kevo3.zip and sending to cache
unzip: found roms\kof2000.zip in cache
unzip: closing archive file roms\kof2000.zip and sending to cache
unzip: found roms\neogeo.zip in cache
unzip: opened archive file roms\neogeo.zip
unzip: closing archive file roms\neogeo.zip and sending to cache
unzip: found roms\kof2kevo3.zip in cache
unzip: closing archive file roms\kof2kevo3.zip and sending to cache
unzip: found roms\kof2000.zip in cache
unzip: closing archive file roms\kof2000.zip and sending to cache
unzip: found roms\neogeo.zip in cache
unzip: opened archive file roms\neogeo.zip
unzip: closing archive file roms\neogeo.zip and sending to cache
unzip: found roms\kof2kevo3.zip in cache
unzip: opened archive file roms\kof2kevo3.zip
unzip: closing archive file roms\kof2kevo3.zip and sending to cache
unzip: found roms\kof2kevo3.zip in cache
unzip: opened archive file roms\kof2kevo3.zip
unzip: closing archive file roms\kof2kevo3.zip and sending to cache
unzip: found roms\kof2kevo3.zip in cache
unzip: opened archive file roms\kof2kevo3.zip
unzip: closing archive file roms\kof2kevo3.zip and sending to cache
unzip: found roms\kof2kevo3.zip in cache
unzip: opened archive file roms\kof2kevo3.zip
unzip: closing archive file roms\kof2kevo3.zip and sending to cache
unzip: found roms\kof2kevo3.zip in cache
unzip: opened archive file roms\kof2kevo3.zip
unzip: closing archive file roms\kof2kevo3.zip and sending to cache
unzip: found roms\kof2kevo3.zip in cache
unzip: opened archive file roms\kof2kevo3.zip
unzip: closing archive file roms\kof2kevo3.zip and sending to cache
unzip: found roms\kof2kevo3.zip in cache
unzip: opened archive file roms\kof2kevo3.zip
unzip: closing archive file roms\kof2kevo3.zip and sending to cache
unzip: found roms\kof2kevo3.zip in cache
unzip: opened archive file roms\kof2kevo3.zip
unzip: closing archive file roms\kof2kevo3.zip and sending to cache
unzip: found roms\kof2kevo3.zip in cache
unzip: opened archive file roms\kof2kevo3.zip
unzip: closing archive file roms\kof2kevo3.zip and sending to cache
unzip: found roms\kof2kevo3.zip in cache
unzip: opened archive file roms\kof2kevo3.zip
unzip: closing archive file roms\kof2kevo3.zip and sending to cache
unzip: found roms\kof2kevo3.zip in cache
unzip: opened archive file roms\kof2kevo3.zip
unzip: closing archive file roms\kof2kevo3.zip and sending to cache
unzip: found roms\kof2kevo3.zip in cache
unzip: opened archive file roms\kof2kevo3.zip
unzip: closing archive file roms\kof2kevo3.zip and sending to cache
unzip: found roms\kof2kevo3.zip in cache
unzip: opened archive file roms\kof2kevo3.zip
unzip: closing archive file roms\kof2kevo3.zip and sending to cache
Optional device ':cslot6' not found
Optional device ':cslot5' not found
Optional device ':cslot4' not found
Optional device ':cslot3' not found
Optional device ':cslot2' not found
Optional memory region ':audiocpu' not found
Optional memory region ':fixed' not found
Optional memory region ':sprites' not found
Optional shared pointer ':maincpu' not found
Optional memory region ':maincpu' not found
Optional memory region ':screen' not found
Optional memory region ':ymsnd:adpcmb' not found
Optional memory region ':ymsnd:adpcma' not found
Optional memory region ':saveram' not found
Optional memory region ':cslot1:ymsnd:adpcmb' not found
Optional memory region ':cslot1:audiocrypt' not found
Starting The King of Fighters 2000 (Evolution v1.3) ':'
  (missing dependencies; rescheduling)
Starting Motorola MC68000 ':maincpu'
Starting Zilog Z80 ':audiocpu'
Starting 74HC259 Addressable Latch ':systemlatch'
Starting Video Screen ':screen'
Starting palette ':palette'
Starting Neo-Geo Sprites (optimized) ':spritegen'
Starting Input Merger (all high) ':audionmi'
Starting Generic 8-bit latch ':soundlatch'
Starting Generic 8-bit latch ':soundlatch2'
Starting YM2610 OPNB ':ymsnd'
Starting Watchdog Timer ':watchdog'
Starting uPD4990A RTC ':upd4990a'
Starting NVRAM ':saveram'
Starting Speaker ':lspeaker'
Starting Speaker ':rspeaker'
Starting NeoGeo Memory Card ':memcard'
Starting SNK Neo Geo Edge Connector (Controller) ':edge'
Starting SNK Neo Geo Arcade Joystick ':edge:joy'
Starting SNK Neo Geo controller port ':ctrl1'
Starting SNK Neo Geo controller port ':ctrl2'
Starting Neo Geo Cartridge Slot ':cslot1'
Starting Neo Geo KoF 2000 SMA Cart ':cslot1:sma_kof2k'
Starting Neo Geo SMA Protection ':cslot1:sma_kof2k:sma_prot'
Starting Neo Geo CMC42/CMC40 Protection ':cslot1:sma_kof2k:cmc_prot'
Starting The King of Fighters 2000 (Evolution v1.3) ':'
-----------------------------------------------------
Exception at EIP=00000000007659aa (not found): ACCESS VIOLATION
While attempting to read memory at 000000000bb01000
-----------------------------------------------------
RAX=0000000000000000 RBX=0000000005584040 RCX=000000000bb01000 RDX=000000000b600040
RSI=000000000d320040 RDI=0000000004000000 RBP=0000000000050000 RSP=00000000002289f0
 R8=000000000b600040  R9=000000000bf00040 R10=0000000000000000 R11=0000000000000000
R12=0000000000080000 R13=0000000000000000 R14=0000000000000000 R15=000000000bb10080
-----------------------------------------------------
Stack crawl:
  0000000000229200: 00000000007659aa (not found)
  0000000000229290: 00000000006e0edd (not found)
  0000000000229370: 000000000106bc99 (not found)
  00000000002294f0: 0000000000406e45 (not found)
  00000000002295a0: 0000000000409bed (not found)
  00000000002295e0: 00000000007e74c4 (not found)
  0000000000229710: 00000000007acb83 (not found)
  0000000000229840: 00000000008275d4 (not found)
  0000000000229950: 000000000082d586 (not found)
  0000000000229a90: 000000000082ebed (not found)
  000000000022f280: 00000000004c5284 (not found)
  000000000022f630: 000000000052d4de (not found)
  000000000022f8d0: 000000000052d91d (not found)
  000000000022f930: 00000000004c2757 (not found)
  000000000022fe50: 0000000001eb7456 (not found)
  000000000022ff20: 00000000004013a5 (not found)
  000000000022ff50: 000000000040150b (not found)
  000000000022ff80: 000000007799556d (BaseThreadInitThunk+0x000d)
  000000000022ffd0: 0000000077bf372d (RtlUserThreadStart+0x001d)


Detail in the log, I think it may be important, in the line (Starting Neo Geo KoF 2000 SMA Cart ':cslot1:sma_kof2k') the kof2000 protection is activated but the mame closes.
Anyway I think it might be interesting for those who have experience in mame to identify this problem of not working this hack of hbmame.

DRIVER KOF2KEVO3
Code: [Select]
//  The King of Fighters 2000 (Evolution v1.3)
ROM_START( kof2kevo3 )
ROM_REGION( 0x500000, "cslot1:maincpu", ROMREGION_BE|ROMREGION_16BIT )
ROM_LOAD16_WORD_SWAP( "257evo3.p1",  0x000000, 0x100000, CRC(93cc8aa5) SHA1(46226909fd182d9edefb529bfe4c91f8a5b02a9e) )
ROM_LOAD16_WORD_SWAP( "257n.p2", 0x100000, 0x400000, CRC(693c2c5e) SHA1(dc9121b7369ef46596343cac055a00aec81704d4) )


ROM_Y_ZOOM

/* The Encrypted Boards do not have an s1 rom, data for it comes from the Cx ROMs */
ROM_REGION( 0x80000, "cslot1:fixed", 0 )
ROM_FILL( 0x000000, 0x20000, 0x000000 )
ROM_REGION( 0x20000, "fixedbios", 0 )
ROM_LOAD( "sfix.sfix", 0x000000, 0x20000, CRC(c2ea0cfd) SHA1(fd4a618cdcdbf849374f0a50dd8efe9dbab706c3) )


NEO_BIOS_AUDIO_256K( "257d.m1", CRC(d404db70) SHA1(8cd1f3e140a9a367de23544e76371b0491287909) )

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

ROM_REGION( 0x4000000, "cslot1:sprites", 0 )
ROM_LOAD16_BYTE( "257d.c1", 0x0000000, 0x800000, CRC(abcdd424) SHA1(1d52aae8a7806d48c098c2a7a77dff6e02ac4870) )
ROM_LOAD16_BYTE( "257d.c2", 0x0000001, 0x800000, CRC(cda33778) SHA1(a619740364c952c443f27ed9b7c395610f2673c7) )
ROM_LOAD16_BYTE( "257d.c3", 0x1000000, 0x800000, CRC(087fb15b) SHA1(f77cb6e670cdf7709d84d770ecf28533cbfbe6de) )
ROM_LOAD16_BYTE( "257d.c4", 0x1000001, 0x800000, CRC(fe9dfde4) SHA1(23750ff0c4bc084d55eea66a5cdd0ef2d6c32cdc) )
ROM_LOAD16_BYTE( "257d.c5", 0x2000000, 0x800000, CRC(03ee4bf4) SHA1(8f26c5bc525a5786de8e25797e2875a1dfe527be) )
ROM_LOAD16_BYTE( "257d.c6", 0x2000001, 0x800000, CRC(8599cc5b) SHA1(9a05fc12273aebfbc4ac22e88b32ae9ecd269462) )
ROM_LOAD16_BYTE( "257d.c7", 0x3000000, 0x800000, CRC(71dfc3e2) SHA1(1889a8dc88993e35f9fd93ce2bee1de52995932d) )
ROM_LOAD16_BYTE( "257d.c8", 0x3000001, 0x800000, CRC(0fa30e5f) SHA1(0cb7fa6b0219e1af2df9b97786c677651a78f37a) )
ROM_END
« Last Edit: September 14, 2021, 12:09:38 AM by Djan »

Offline Djan

  • Newbies
  • *
  • Posts: 10
  • Karma: +0/-0
Re: Hack Kof 2000 (Evolution v1.3) on Mame 0.235 missing slashes and text
« Reply #12 on: September 15, 2021, 02:33:16 AM »
Hello, I added the file 257d-s1.bin CRC (38901d4d) in the driver and got an improvement in the game, I removed the LOAD part and put the S1 file, the texts are now showing, the bars appear but with errors as you can see in the attachment below

Code: [Select]
#define NEO_SFIX_MT(bytes) \
ROM_Y_ZOOM \
ROM_REGION( 0x20000, "fixedbios", 0 ) \
ROM_LOAD( "sfix.sfix",  0, 0x20000, CRC(c2ea0cfd) SHA1(fd4a618cdcdbf849374f0a50dd8efe9dbab706c3) ) \
ROM_REGION( bytes, "cslot1:fixed", ROMREGION_ERASE00 )

#define NEO_SFIX_MT_512K \
NEO_SFIX_MT( 0x80000 )

#define NEO_SFIX(bytes, name, hash) \
NEO_SFIX_MT( bytes ) \
ROM_LOAD( name, 0x00000, bytes, hash )

#define NEO_SFIX_512K(name, hash) \
NEO_SFIX( 0x80000, name, hash )

Driver   
Code: [Select]

//  The King of Fighters 2000 (Evolution v1.3)
ROM_START( kof2kevo3 )
ROM_REGION( 0x500000, "cslot1:maincpu", ROMREGION_BE|ROMREGION_16BIT )
ROM_LOAD16_WORD_SWAP( "257evo3.p1",  0x000000, 0x100000, CRC(93cc8aa5) SHA1(46226909fd182d9edefb529bfe4c91f8a5b02a9e) )
ROM_LOAD16_WORD_SWAP( "257n.p2", 0x100000, 0x400000, CRC(693c2c5e) SHA1(dc9121b7369ef46596343cac055a00aec81704d4) )

// S1
NEO_SFIX_512K("257d-s1.bin", CRC(38901d4d) SHA1( c7684f66ab4ed577094da6ae143477C9df28d1fe ) )

NEO_BIOS_AUDIO_256K( "257d.m1", CRC(d404db70) SHA1(8cd1f3e140a9a367de23544e76371b0491287909) )

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

ROM_REGION( 0x4000000, "cslot1:sprites", 0 )
ROM_LOAD16_BYTE( "257d.c1", 0x0000000, 0x800000, CRC(abcdd424) SHA1(1d52aae8a7806d48c098c2a7a77dff6e02ac4870) )
ROM_LOAD16_BYTE( "257d.c2", 0x0000001, 0x800000, CRC(cda33778) SHA1(a619740364c952c443f27ed9b7c395610f2673c7) )
ROM_LOAD16_BYTE( "257d.c3", 0x1000000, 0x800000, CRC(087fb15b) SHA1(f77cb6e670cdf7709d84d770ecf28533cbfbe6de) )
ROM_LOAD16_BYTE( "257d.c4", 0x1000001, 0x800000, CRC(fe9dfde4) SHA1(23750ff0c4bc084d55eea66a5cdd0ef2d6c32cdc) )
ROM_LOAD16_BYTE( "257d.c5", 0x2000000, 0x800000, CRC(03ee4bf4) SHA1(8f26c5bc525a5786de8e25797e2875a1dfe527be) )
ROM_LOAD16_BYTE( "257d.c6", 0x2000001, 0x800000, CRC(8599cc5b) SHA1(9a05fc12273aebfbc4ac22e88b32ae9ecd269462) )
ROM_LOAD16_BYTE( "257d.c7", 0x3000000, 0x800000, CRC(71dfc3e2) SHA1(1889a8dc88993e35f9fd93ce2bee1de52995932d) )
ROM_LOAD16_BYTE( "257d.c8", 0x3000001, 0x800000, CRC(0fa30e5f) SHA1(0cb7fa6b0219e1af2df9b97786c677651a78f37a) )

ROM_END
« Last Edit: September 15, 2021, 02:43:21 AM by Djan »

Offline dink

  • Administrator
  • *****
  • Posts: 5151
  • Karma: +461/-1
  • pie? I nearly bought one!
Re: Hack Kof 2000 (Evolution v1.3) on Mame 0.235 missing slashes and text
« Reply #13 on: September 15, 2021, 08:58:14 AM »
I noticed in hbmame's init for the game, it actually decrypts and fills in the fix area.  This is probably the right solution, good luck.
https://github.com/Robbbert/hbmame/blob/master/src/hbmame/drivers/neogeo.cpp
init_kof2000()

best regards,
- dink

Offline Djan

  • Newbies
  • *
  • Posts: 10
  • Karma: +0/-0
Re: Hack Kof 2000 (Evolution v1.3) on Mame 0.235 missing slashes and text
« Reply #14 on: September 16, 2021, 02:16:57 AM »
Hi, dink I solved the problem as follows I copied the C's and m1 files from kof2000 and changed the Machine field in GAME() to kof2000n and that's it.  :biggrin:

I have another problem, I'm trying to install another kof2000 hack, this one has NEO_SFIX_MT_512K and an S1

There is no problem in the compilation but when I start the game the error happens!
Code: [Select]
Driver kof2000s45 (file neogeo.cpp): 3 errors, 0 warnings
Errors:
   ROM '257hc44.s1' extends past the defined memory region
   ROM '257hc44.s1' extends past the defined memory region
   ROM '257hc44.s1' extends past the defined memory region

Fatal error: Error in RomModule definition: out of memory region space

The driver is the one below, I believe the problem is there in "ROM_CONTINUE"

Code: [Select]
// The King of Fighters 2000 (Boss ST Zero 2010-09-05)
ROM_START( kof2000s45 )
ROM_REGION( 0x500000, "cslot1:maincpu", ROMREGION_BE|ROMREGION_16BIT )
ROM_LOAD16_WORD_SWAP( "257hc45.p1",  0x000000, 0x100000, CRC(e226d4b0) SHA1(04c3186e2439fa9e396346d02195f3ca7b910eb4) )
ROM_LOAD16_WORD_SWAP( "257hc45.p2", 0x100000, 0x400000, CRC(4c686a81) SHA1(2210a184e3b014515405a1dc5512d5d1b5ababdc) )

//NEO_SFIX_MT_512K
ROM_Y_ZOOM

ROM_REGION( 0x80000, "cslot1:fixed", 0 )
ROM_FILL( 0x000000, 0x20000, 0x000000 )
ROM_REGION( 0x20000, "fixedbios", 0 )
ROM_LOAD( "sfix.sfix", 0x000000, 0x20000, CRC(c2ea0cfd) SHA1(fd4a618cdcdbf849374f0a50dd8efe9dbab706c3) )

ROM_LOAD( "257hc44.s1", 0x60000, 0x20000, CRC(8d1f51fd) SHA1(196e2982fd1a13cfe12bbba28de076313ec8e37e) )
ROM_CONTINUE( 0x40000, 0x20000 )
ROM_CONTINUE( 0x20000, 0x20000 )
ROM_CONTINUE( 0x00000, 0x20000 )

NEO_BIOS_AUDIO_ENCRYPTED_256K( "257.m1", CRC(4b749113) SHA1(2af2361146edd0ce3966614d90165a5c1afb8de4) )

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

ROM_REGION( 0x4000000, "cslot1:sprites", 0 )
ROM_LOAD16_BYTE( "257-c1.c1", 0x0000000, 0x800000, CRC(cef1cdfa) SHA1(6135080f3a6b4712b76cc217edcc58e72b55c2b9) )
ROM_LOAD16_BYTE( "257-c2.c2", 0x0000001, 0x800000, CRC(f7bf0003) SHA1(9f7b19a2100cf7d12867e742f440dd5277b4f895) )
ROM_LOAD16_BYTE( "257-c3.c3", 0x1000000, 0x800000, CRC(101e6560) SHA1(8073ae1139e215d1167f8d32c14079a46ce3ee1c) )
ROM_LOAD16_BYTE( "257-c4.c4", 0x1000001, 0x800000, CRC(bd2fc1b1) SHA1(da0006761923ad49b404a08d7a151193ee307a69) )
ROM_LOAD16_BYTE( "257-c5.c5", 0x2000000, 0x800000, CRC(89775412) SHA1(b221b30224bc4239f1b3c2d2fd1cd4fa84e3523c) )
ROM_LOAD16_BYTE( "257-c6.c6", 0x2000001, 0x800000, CRC(fa7200d5) SHA1(6f2b0d38af34e280d56a58955400e5c679906871) )
ROM_LOAD16_BYTE( "257hc45.c7", 0x3000000, 0x800000, CRC(89b228af) SHA1(53265a7ce935b9e8c5fdab27efd24ba56b7a6da9) )
ROM_LOAD16_BYTE( "257hc45.c8", 0x3000001, 0x800000, CRC(6e20b468) SHA1(0543631a203475af782199e107cf9d548523c816) )
ROM_END

this is my beautiful and working hack   :biggrin: