Jump to content

Mame Game Loading Probs


Ghosty

Recommended Posts

Hey Ya'll Is There Any One Here That Knows Why When I Load ANY Game Mame Restarts? This Is Mame32 Plus, Is This Because Of My Craptasitc Compiling Skills? I Added My Kof2k1 For A Test, It Shows Unlike FBA But WHen I Get To C7/8 Roms It Does That... Thank You In Advance.

Link to comment
Share on other sites

I memmer having a problem with games loading up on MAME before, but it seemed that I was missing the ctrl folder with all the configurations

 

his FBA problem on the other hand is porbably cause he didn't delete that GURU MEDITATION code

Link to comment
Share on other sites

Well James This Is The Code:

Add this near the middle of NEOGEO.C (src/drivers/) before the init section.

ROM_START( kof2k1 )
ROM_REGION( 0x500000, REGION_CPU1, 0 )
ROM_LOAD16_WORD_SWAP( "2k1_p1.bin", 0x000000, 0x100000, CRC(9381750D) )
ROM_LOAD16_WORD_SWAP( "2k1_p2.bin", 0x100000, 0x400000, CRC(C01720AA) )

NEO_SFIX_256K( "2k1_s1.bin", CRC(DE828076) )

NEO_BIOS_SOUND_256K( "2k1_m1.bin", CRC(DFB908CA) )

ROM_REGION( 0x1000000, REGION_SOUND1, ROMREGION_SOUNDONLY )
ROM_LOAD( "2k1_v1.bin", 0x000000, 0x400000, CRC(83D49ECF) )
ROM_LOAD( "2k1_v2.bin", 0x400000, 0x400000, CRC(003F1843) )
ROM_LOAD( "2k1_v3.bin", 0x800000, 0x400000, CRC(2AE38DBE) )
ROM_LOAD( "2k1_v4.bin", 0xc00000, 0x400000, CRC(26EC4DD9) )

NO_DELTAT_REGION

ROM_REGION( 0x4000000, REGION_GFX3, 0 )
ROM_LOAD16_BYTE( "2k1_c1.bin", 0x0000000, 0x800000, CRC(F298B87B) )
ROM_LOAD16_BYTE( "2k1_c2.bin", 0x0000001, 0x800000, CRC(F9D05D99) )
ROM_LOAD16_BYTE( "2k1_c3.bin", 0x1000000, 0x800000, CRC(4C7EC427) )
ROM_LOAD16_BYTE( "2k1_c4.bin", 0x1000001, 0x800000, CRC(1D237AA6) )
ROM_LOAD16_BYTE( "2k1_c5.bin", 0x2000000, 0x800000, CRC(C2256DB5) )
ROM_LOAD16_BYTE( "2k1_c6.bin", 0x2000001, 0x800000, CRC(8D6565A9) )
ROM_LOAD16_BYTE( "2k1_c7.bin", 0x3000000, 0x800000, CRC(EF682ED2) )
ROM_LOAD16_BYTE( "2k1_c8.bin", 0x3000001, 0x800000, CRC(954D0E16) )
ROM_END


Add this in the middle of NEOGEO.C (src/drivers/) in the init section. 

DRIVER_INIT( kof2k1 )
{
neogeo_fix_bank_type = 1;
kof2000_neogeo_gfx_decrypt(0x1E);
init_neogeo();
}


Add this at the bottom of NEOGEO.C (src/drivers/)

GAMEB( 2001, kof2k1, neogeo, neogeo, neogeo, neogeo,  kof2k1,   ROT0, "SNK, Eolith", "The King of Fighters 2001" )


Add this at the bottom of DRIVER.C (src/)

DRIVER( kof2k1 )	/* 262 (c) 2001 SNK, Eolith */

I Added All The Parts Under Kof2000's Spot. The S And M Roms Game Me Probs The Most First. Then It Just Simpally Worked.

Yes I Know My 2k1 Rom Is Really Weird I, And My 2k2 Is Also The Same, Gots To Find Other Now. And I'll Try It With Out The Driver.

 

Weird I Use These Commands(I Made 2 MAMEs In Total)

make USE_UPX=1 NO_DLL=1 WINUI=1 SUFFIX=1 CFLAGSOSDEPEND=$(CFLAGS)

make USE_UPX=1 CFLAGSOSDEPEND=$(CFLAGS)

And I Did Do The Env Command Before I Did Those Others.

I Also Moved The MAME Files To My Old MAME Folder, And Still I Have Problems.

After Every Compile I Always Get A Command Line Version(I Think) Of The MAME.

And Where Whould This "GURU MEDITATION" Be Located?

Link to comment
Share on other sites

you only have to use CFLAGSOSDEPEND=$(CFLAGS) if it's been a while since you've upgraded MingW. You don't have to do the env command.

 

why are you using SUFFIX=1? anyways, you can make a gui version w/out the.ddl by adding WINUI=1 and SUFFIX=32 in there along with NO_DLL=1 and UPX, etc, etc

 

btw, on fba, to remove the GURU MEDIATION, look in this thread

Link to comment
Share on other sites

My driver and I only used this Command for Mame Plus make NO_DLL=1 WINUI=1 SUFFIX=32

 

 

ROM_START( kof2001 )
ROM_REGION( 0x500000, REGION_CPU1, 0 )
ROM_LOAD16_WORD_SWAP( "262-p1.bin", 0x000000, 0x100000, CRC(9381750d) SHA1(dcfecd69e563ff52fe07d23c5372d0f748b07819) )
ROM_LOAD16_WORD_SWAP( "262-p2.bin", 0x100000, 0x400000, CRC(8e0d8329) SHA1(10dcc1baf0aaf1fc84c4d856bca6bcff85aed2bc) )

/* The Encrypted Boards do _not_ have an s1 rom, data for it comes from the Cx ROMs */
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) SHA1(4ae4bf23b4c2acff875775d4cbff5583893ce2a1) )

/* 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", 0x00000, 0x20000, CRC(1d5aab51) SHA1(52327c5bcad87770419057097cca20a3b187bec3) ) /* yes it really does have a strange name */
NEO_BIOS_SOUND_128K( "262-m1d.bin",  CRC(4b9470b7) SHA1(44b027a764275ca01a7da767260241137903ac25) )

ROM_REGION( 0x1000000, REGION_SOUND1, ROMREGION_SOUNDONLY )
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( kof2001 )
{
neogeo_fix_bank_type = 0;
kof2000_neogeo_gfx_decrypt(0x1e);
init_neogeo();
}

 

GAMEB( 2001, kof2001,  neogeo,   neogeo, neogeo, neogeo,  kof2001,  ROT0, "Eolith / SNK", "The King of Fighters 2001" )

Edited by James
Link to comment
Share on other sites

I Just Use CFLAGSOSDEPEND=$(CFLAGS) Because With Out It I Get An Error, nwo-alias-??? Yadi Yadi Ya. And About FBA It Not That The Game Crashes The Game Name Jsut Deosn't Show Up In The List Evan When There Is No Problem With The Compiling. The Mame Is Being Compiled Now And Ya,.. And I Have Gots To Re-Read My Posts. :rolleyes:

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...