Jump to content

Welcome to 1Emulation.com
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account
Photo

Metal Slug 5 (mslug5.zip/ms5.zip) News

- - - - -

  • This topic is locked This topic is locked
536 replies to this topic

#177
Dr Neo

Dr Neo

    Novice

  • Members+
  • 23 posts
Click to view battle stats
Where is the link for your compiled version of Mame 32.1, James??
Please?? :-D

#178
Tidus

Tidus

    The Shadow......

  • Premium Members
  • 497 posts
Click to view battle stats
hey,
I just got the mslug5nd zip,
and I unzip it.
I want the mslug5 to work on an emu,
what emu should I use?
thx.

#179
Agozer

Agozer

    Board Script AI | 16-bit Corpse | The Mummy

  • User Admin
  • 19,839 posts
  • Gender:Male
  • Location:Nokia Land
  • Interests:Video games, plain and simple.
Click to view battle stats
Currently Metal Slug 5 works only in a special MAME build.

#180
Dr Neo

Dr Neo

    Novice

  • Members+
  • 23 posts
Click to view battle stats
Yeah..in Dos Mame ^_^ and that's too bad huh.

#181
James

James

    Emulation Master

  • 1Emu Veteran
  • 2,884 posts
  • Gender:Male
  • Location:Newcastle Australia
Click to view battle stats

Currently Metal Slug 5 works only in a special MAME build.

emulators that is known to work on so far is mame32 mine .... pigmame and dos mame 78 not surwe what else



anyway happy new year

Edited by james, 31 December 2003 - 03:48 PM.


#182
James

James

    Emulation Master

  • 1Emu Veteran
  • 2,884 posts
  • Gender:Male
  • Location:Newcastle Australia
Click to view battle stats

it works tho

i never used the mslug5 driver

so what is the diffence betwwen the mslug5nd and mslug5 driver can you show me

?


I don't have the mslug5.zip romset, so I played only mslug5nd.zip romset for the moment.
Anyway here is the complete code, surely you know more than me how to read it! ^_^

ROM_START( mslug5 )
    ROM_REGION( 0x800000, REGION_CPU1, 0 )
    ROM_LOAD16_WORD_SWAP( "268-p1.bin", 0x000000, 0x800000, CRC(3F1CF3D2) SHA1(2C85EB5ACDEDE4816675B91F8989C9E13C1573F8) )

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

    NEO_BIOS_SOUND_128K( "268-m1d.bin", CRC(6FA01C9A) SHA1(3DAB7593BFCCE318D22EC3DF672EE3B4AB73DCF5) )

    ROM_REGION( 0x1000000, REGION_SOUND1, ROMREGION_SOUNDONLY )
    ROM_LOAD( "268-v1.bin", 0x000000, 0x400000, CRC(C3540E0D) SHA1(BF7CA3ABE291B28A4CFAEF791F0C556CC98AD8D8) )
    ROM_LOAD( "268-v2.bin", 0x400000, 0x400000, CRC(077BD2F4) SHA1(1699959D17F8C7113CEBDB9DA2E1CD18CE48486C) )
    ROM_LOAD( "268-v3.bin", 0x800000, 0x400000, CRC(39B14567) SHA1(1658612A93BA30130F9260BC41D3F18F6B90C1E7) )
    ROM_LOAD( "268-v4.bin", 0xc00000, 0x400000, CRC(969FF3B2) SHA1(50FECEB741A1C08B000B077A33151AB1352EB798) )

    NO_DELTAT_REGION

    ROM_REGION( 0x4000000, REGION_GFX3, 0 )
    ROM_LOAD16_BYTE( "268-c1.bin", 0x0000000, 0x800000, CRC(27d59de8) SHA1(DE3C5CFA980CCA2FAB0416AC0D292948B5D4C9C3) ) /* Plane 0,1 */
    ROM_LOAD16_BYTE( "268-c2.bin", 0x0000001, 0x800000, CRC(e600dee1) SHA1(3198EE5C7C2C7563B49EBD9F7BA95D9B0B303F6C) ) /* Plane 2,3 */
    ROM_LOAD16_BYTE( "268-c3.bin", 0x1000000, 0x800000, CRC(b650f098) SHA1(99443EA4C1BAB45F1977A390EB7E1A0163915110) ) /* Plane 0,1 */
    ROM_LOAD16_BYTE( "268-c4.bin", 0x1000001, 0x800000, CRC(10499589) SHA1(68A36D336582069E79AD481638D92F57C4CD6523) ) /* Plane 2,3 */
    ROM_LOAD16_BYTE( "268-c5.bin", 0x2000000, 0x800000, CRC(19352405) SHA1(4AE15D29BA979601598EDDF8905072FE1D9E0A98) ) /* Plane 0,1 */
    ROM_LOAD16_BYTE( "268-c6.bin", 0x2000001, 0x800000, CRC(bbec8745) SHA1(86A6C036BF51AF516FEA83A30874026EC1586A83) ) /* Plane 2,3 */
    ROM_LOAD16_BYTE( "268-c7.bin", 0x3000000, 0x800000, CRC(fe2c1338) SHA1(30F3280FE527098ECF46541CC645A59B366105EA) ) /* Plane 0,1 */
    ROM_LOAD16_BYTE( "268-c8.bin", 0x3000001, 0x800000, CRC(ecce3141) SHA1(B5D0D81D5CC624538B0651C568295E578A1330D1) ) /* Plane 2,3 */
ROM_END

ROM_START( mslug5nd )
    ROM_REGION( 0x800000, REGION_CPU1, 0 )
    ROM_LOAD16_WORD_SWAP( "268-p1.bin", 0x000000, 0x800000, CRC(3F1CF3D2) SHA1(2C85EB5ACDEDE4816675B91F8989C9E13C1573F8) )

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

    NEO_BIOS_SOUND_128K( "268-m1d.bin", CRC(6FA01C9A) SHA1(3DAB7593BFCCE318D22EC3DF672EE3B4AB73DCF5) )

    ROM_REGION( 0x1000000, REGION_SOUND1, ROMREGION_SOUNDONLY )
    ROM_LOAD( "268-v1.bin", 0x000000, 0x400000, CRC(C3540E0D) SHA1(BF7CA3ABE291B28A4CFAEF791F0C556CC98AD8D8) )
    ROM_LOAD( "268-v2.bin", 0x400000, 0x400000, CRC(077BD2F4) SHA1(1699959D17F8C7113CEBDB9DA2E1CD18CE48486C) )
    ROM_LOAD( "268-v3.bin", 0x800000, 0x400000, CRC(39B14567) SHA1(1658612A93BA30130F9260BC41D3F18F6B90C1E7) )
    ROM_LOAD( "268-v4.bin", 0xc00000, 0x400000, CRC(969FF3B2) SHA1(50FECEB741A1C08B000B077A33151AB1352EB798) )

    NO_DELTAT_REGION

    ROM_REGION( 0x4000000, REGION_GFX3, 0 )
    ROM_LOAD16_BYTE( "268-c1d.bin", 0x0000000, 0x800000, CRC(969C0D62) SHA1(DE3C5CFA980CCA2FAB0416AC0D292948B5D4C9C3) ) /* Plane 0,1 */
    ROM_LOAD16_BYTE( "268-c2d.bin", 0x0000001, 0x800000, CRC(C69AE867) SHA1(3198EE5C7C2C7563B49EBD9F7BA95D9B0B303F6C) ) /* Plane 2,3 */
    ROM_LOAD16_BYTE( "268-c3d.bin", 0x1000000, 0x800000, CRC(D7BEAEAF) SHA1(99443EA4C1BAB45F1977A390EB7E1A0163915110) ) /* Plane 0,1 */
    ROM_LOAD16_BYTE( "268-c4d.bin", 0x1000001, 0x800000, CRC(E1B1131B) SHA1(68A36D336582069E79AD481638D92F57C4CD6523) ) /* Plane 2,3 */
    ROM_LOAD16_BYTE( "268-c5d.bin", 0x2000000, 0x800000, CRC(2FA1A5AD) SHA1(4AE15D29BA979601598EDDF8905072FE1D9E0A98) ) /* Plane 0,1 */
    ROM_LOAD16_BYTE( "268-c6d.bin", 0x2000001, 0x800000, CRC(6DE89589) SHA1(86A6C036BF51AF516FEA83A30874026EC1586A83) ) /* Plane 2,3 */
    ROM_LOAD16_BYTE( "268-c7d.bin", 0x3000000, 0x800000, CRC(97BD0C0A) SHA1(30F3280FE527098ECF46541CC645A59B366105EA) ) /* Plane 0,1 */
    ROM_LOAD16_BYTE( "268-c8d.bin", 0x3000001, 0x800000, CRC(C0D5BC20) SHA1(B5D0D81D5CC624538B0651C568295E578A1330D1) ) /* Plane 2,3 */
ROM_END

int ms5_bank_offset = 0;

static WRITE16_HANDLER( mslug5_calc_bankoffset_w )
{
    ms5_bank_offset = (data>>12)%0x03;
}

static WRITE16_HANDLER( mslug5_bankswitch_w )
{
    neogeo_set_cpu1_second_bank( (neogeo_ram16[0x10/2] + ms5_bank_offset) << 20 );
}

DRIVER_INIT( mslug5 )
{
    neogeo_fix_bank_type = 1;
    kof2000_neogeo_gfx_decrypt(0x19);

    install_mem_write16_handler(0, 0x2ffff0, 0x2ffff1, mslug5_bankswitch_w);
    install_mem_write16_handler(0, 0x2ffff2, 0x2ffff3, mslug5_calc_bankoffset_w);

    init_neogeo();
}

DRIVER_INIT( mslug5nd )
{
    /* the S data comes from the end of the C data */
    {
        int i;
        int tx_size = memory_region_length(REGION_GFX1);
        int rom_size = memory_region_length(REGION_GFX3);
        
        UINT8 *src = memory_region(REGION_GFX3)+rom_size-tx_size;
        UINT8 *dst = memory_region(REGION_GFX1);

        for (i = 0;i < tx_size;i++)
            dst[i] = src[(i & ~0x1f) + ((i & 7) << 2) + ((~i & 8) >> 2) + ((i & 0x10) >> 4)];
    }
    
    install_mem_write16_handler(0, 0x2ffff0, 0x2ffff1, mslug5_bankswitch_w);
    install_mem_write16_handler(0, 0x2ffff2, 0x2ffff3, mslug5_calc_bankoffset_w);

    init_neogeo();
}

i do not see the any diff between mslug5 and mslug5nd rom sets


and where you put int ms5_bank_offset = 0; that is wrong but anyway if it works for you :)






happy new year

#183
deltaquad

deltaquad

    Member

  • Members
  • 96 posts
  • Location:Uncharted Territories
Click to view battle stats
Looking at your driver in your pm, your driver seem the same as mine, I only have a "=0" at the end of the "int ms5_bank_offset" line and in your driver the "=0" there isn't, but I think it's only a minor difference and with or without the "=0" those drivers seems equivalent, and it seems they works fine both! :)
This is the important thing, isn't it? :(

HAPPY NEW YEAR TO YOU ALL! ^_^

#184
Kevin-Nash

Kevin-Nash

    Beginner

  • Members
  • 11 posts
Click to view battle stats
what version of mame do u have to get for ms5??

#185
phil death

phil death

    Novice

  • Members
  • 23 posts
Click to view battle stats
METAL SLUG 5 CHEAT DAT

add this to your mame cheat dat


; [metal slug 5]
mslug5nd:0:10095e:63:000:cha select time!
mslug5nd:0:100a40:00:000:cha select!
mslug5nd:0:10d45d:ff:000:1p bullet 255!
mslug5nd:0:10d457:63:000:1p bomb!
mslug5nd:0:10dcd7:23:000:1p tank energy!
mslug5nd:0:10dcdf:63:000:1p tank bomb!
mslug5nd:0:10D67E:60:000:play time 60
mslug5nd:0:100D19:40:000:1P invincible
mslug5nd:0:100A41:09:000:1P life 9
mslug5nd:0:100D56:01:000:1P pig freeze
mslug5nd:0:100D56:01:001:1P pig now
mslug5nd:0:10DDDD:0F:001:1P safe prizoner

#186
White_sand

White_sand

    Newbie Poster

  • Members
  • 3 posts
Click to view battle stats
I started to play this game.... It looks awsome... the best NEOGEO game out in years. The controls on this MAME hack are too hard to use though.

#187
MaxBebop

MaxBebop

    Member

  • Members+
  • 89 posts
  • Gender:Male
  • Location:Los Angeles, California
Click to view battle stats

i have it working in mame32 78.1b  my compile  so far it is working ok

I cant get my MAME 78 to detect it

what do I need to do?




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users