General Emulation > MAME

Hack Kof 2000 (Evolution v1.3) on Mame 0.235 missing slashes and text

(1/4) > >>

Djan:
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: ---/* 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) )
--- End code ---

full driver:

--- Code: ---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
--- End code ---


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





dink:
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: ---
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

--- End code ---

Djan:
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: ---// this part expanded from macro's
ROM_REGION( 0x20000, "spritegen:zoomy", 0 ) //  spritegen:
ROM_LOAD( "000-lo.lo", 0x00000, 0x20000, CRC(5a86cff2) SHA1(5992277debadeb64d1c1c64b0a92d9293eaf7e4a) )
--- End code ---

the game opens, but it still has the same problem :/

dink:
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

Djan:
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: ---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 )

--- End code ---

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!

Navigation

[0] Message Index

[#] Next page

Go to full version