Author Topic: About ms5pcb decrypted roms !  (Read 19782 times)

Offline Ashura-X

  • Member
  • ***
  • Posts: 138
  • Karma: +0/-0
About ms5pcb decrypted roms !
« on: April 29, 2006, 09:56:09 AM »
Any way to make these running fine on mame ?

Offline James33

  • Expert
  • *****
  • Posts: 532
  • Karma: +3/-0
  • The Mame Man
    • Emulation Zone
Re: About ms5pcb decrypted roms !
« Reply #1 on: April 29, 2006, 11:56:21 AM »
What is the problem ?
Oh by the way I do not have the roms to test .
IQ Forum Member

Offline iq_132

  • Administrator
  • *****
  • Posts: 3732
  • Karma: +411/-0
  • Definitely not Dink!
    • NeoSource
Re: About ms5pcb decrypted roms !
« Reply #2 on: April 29, 2006, 03:07:44 PM »
What roms are you using for the decrypted Cx ash?


Offline Ashura-X

  • Member
  • ***
  • Posts: 138
  • Karma: +0/-0
Re: About ms5pcb decrypted roms !
« Reply #3 on: April 29, 2006, 06:21:31 PM »
I dunno if this driver is correct, anyway, pls IQ take a look :P
Code: [Select]
ROM_START( ms5pcbd ) /* Dencrypted Set */
ROM_REGION( 0x800000, REGION_CPU1, 0 )
ROM_LOAD32_WORD_SWAP( "268-p1.bin", 0x000000, 0x400000, CRC(d0466792) SHA1(880819933d997fab398f91061e9dbccb959ae8a1) )
ROM_LOAD32_WORD_SWAP( "268-p2.bin", 0x000002, 0x400000, CRC(fbf6b61e) SHA1(9ec743d5988b5e3183f37f8edf45c72a8c0c893e) )

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

ROM_REGION16_BE( 0x80000, REGION_USER1, 0 )
/* this contains both an ASIA and JAPAN bios, HARDDIP3 on the PCB selects which to use */
ROM_LOAD16_WORD_SWAP( "268-bios.bin", 0x00000, 0x80000, CRC(b4590283) SHA1(47047ed5b6062babc0a0bebcc30e4b3f021e115a) )

ROM_REGION( 0x50000, REGION_CPU2, 0 )
/* Encrypted, we load it here for reference and replace with decrypted ROM */
ROM_LOAD( "268-m1.bin", 0x00000, 0x10000, CRC(58b107d0) SHA1(cc7fe66ff4f9c026cde4df06f86c848eb21f7af8) )
/* Decrypted */
ROM_LOAD( "268-m1_decrypted.bin", 0x00000, 0x10000, CRC(3c0655a7) SHA1(ae839d4c2b87a7aa3dd8e5caddc43eb75ee9b732) )
ROM_RELOAD( 0x10000, 0x10000 )

ROM_REGION( 0x10000, REGION_GFX4, 0 )
ROM_LOAD( "000-lo.lo", 0x00000, 0x10000, CRC(e09e253c) SHA1(2b1c719531dac9bb503f22644e6e4236b91e7cfc) )

ROM_REGION( 0x1000000, REGION_SOUND1, 0 )
/* Encrypted */
ROM_LOAD( "268-v1d.bin", 0x000000, 0x1000000, CRC(4182838b) SHA1(03e58b6709db467e92397b26b84658f5adb0ff92) )

NO_DELTAT_REGION

ROM_REGION( 0x4000000, REGION_GFX3, 0 )
/* Encrypted */
ROM_LOAD32_WORD( "ms5n-c1.rom", 0x0000000, 0x1000000, CRC(996debed) SHA1(ec6965a24862541f337a1b7e259038b9b40ad1d2) ) /* Plane 0,1 */
ROM_LOAD32_WORD( "ms5n-c2.rom", 0x0000002, 0x1000000, CRC(960a9764) SHA1(687cf957d91ef9da219b573f444e668209dcea41) ) /* Plane 2,3 */
ROM_LOAD32_WORD( "ms5n-c3.rom", 0x2000000, 0x1000000, CRC(f699994f) SHA1(ff079d3c126e9611760956d51c5df66d8013dd78) ) /* Plane 0,1 */
ROM_LOAD32_WORD( "ms5n-c4.rom", 0x2000002, 0x1000000, CRC(49e902e8) SHA1(289a560ffe3d50abd773c61fa2df3c1f18d7e803) ) /* Plane 2,3 */
ROM_END

Offline iq_132

  • Administrator
  • *****
  • Posts: 3732
  • Karma: +411/-0
  • Definitely not Dink!
    • NeoSource
Re: About ms5pcb decrypted roms !
« Reply #4 on: April 29, 2006, 06:23:21 PM »
Code: [Select]
ROM_START( ms5pcbd ) /* Decrypted Set */
ROM_REGION( 0x800000, REGION_CPU1, 0 )
ROM_LOAD32_WORD_SWAP( "268-p1r.bin", 0x000000, 0x400000, CRC(d0466792) SHA1(880819933d997fab398f91061e9dbccb959ae8a1) )
ROM_LOAD32_WORD_SWAP( "268-p2r.bin", 0x000002, 0x400000, CRC(fbf6b61e) SHA1(9ec743d5988b5e3183f37f8edf45c72a8c0c893e) )

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

ROM_REGION16_BE( 0x80000, REGION_USER1, 0 )
// This is the WRONG bios for this set. WRONG WRONG WRONG
ROM_LOAD16_WORD_SWAP( "268-bios.bin", 0x00000, 0x80000, CRC(b4590283) SHA1(47047ed5b6062babc0a0bebcc30e4b3f021e115a) )

ROM_REGION( 0x50000, REGION_CPU2, 0 )
/* Encrypted, we load it here for reference and replace with decrypted ROM */
ROM_LOAD( "268-m1.bin", 0x00000, 0x10000, CRC(58b107d0) SHA1(cc7fe66ff4f9c026cde4df06f86c848eb21f7af8) )
/* Decrypted */
ROM_LOAD( "268-m1_decrypted.bin", 0x00000, 0x10000, CRC(3c0655a7) SHA1(ae839d4c2b87a7aa3dd8e5caddc43eb75ee9b732) )
ROM_RELOAD( 0x10000, 0x10000 )

ROM_REGION( 0x10000, REGION_GFX4, 0 )
ROM_LOAD( "000-lo.lo", 0x00000, 0x10000, CRC(e09e253c) SHA1(2b1c719531dac9bb503f22644e6e4236b91e7cfc) )

ROM_REGION( 0x1000000, REGION_SOUND1, 0 )
ROM_LOAD( "268-v1d.bin", 0x000000, 0x1000000, CRC(4182838b) SHA1(03e58b6709db467e92397b26b84658f5adb0ff92) )

NO_DELTAT_REGION

ROM_REGION( 0x4000000, REGION_GFX3, 0 )
ROM_LOAD16_BYTE( "ms5n-c1.rom", 0x0000000, 0x1000000, CRC(996debed) SHA1(ec6965a24862541f337a1b7e259038b9b40ad1d2) ) /* Plane 0,1 */
ROM_LOAD16_BYTE( "ms5n-c2.rom", 0x0000001, 0x1000000, CRC(960a9764) SHA1(687cf957d91ef9da219b573f444e668209dcea41) ) /* Plane 2,3 */
ROM_LOAD16_BYTE( "ms5n-c3.rom", 0x2000000, 0x1000000, CRC(f699994f) SHA1(ff079d3c126e9611760956d51c5df66d8013dd78) ) /* Plane 0,1 */
ROM_LOAD16_BYTE( "ms5n-c4.rom", 0x2000001, 0x1000000, CRC(49e902e8) SHA1(289a560ffe3d50abd773c61fa2df3c1f18d7e803) ) /* Plane 2,3 */
ROM_END

And try this init, I haven't tested, but it should work...

Code: [Select]
DRIVER_INIT( ms5pcbd )
{
mslug5_decrypt_68k();

neogeo_sfix_decrypt();   // may have to extern this from neocrypt
svcpcb_s1data_decrypt(); // or whatever you have this named

neogeo_fix_bank_type = 1;
init_neogeo();
install_pvc_protection();
}
« Last Edit: April 29, 2006, 09:49:03 PM by iq_132 »


Offline James33

  • Expert
  • *****
  • Posts: 532
  • Karma: +3/-0
  • The Mame Man
    • Emulation Zone
Re: About ms5pcb decrypted roms !
« Reply #5 on: April 30, 2006, 12:53:04 AM »
Is the encrypted rom set online at all ?
IQ Forum Member

Offline iq_132

  • Administrator
  • *****
  • Posts: 3732
  • Karma: +411/-0
  • Definitely not Dink!
    • NeoSource
Re: About ms5pcb decrypted roms !
« Reply #6 on: April 30, 2006, 01:35:25 AM »
Yup, all the roms are available afaik (except the bios because it isn't dumped, and the proper m1d).

Here's a kit to convert the encrypted mslug5 (mvs) cx roms to the encrypted PCB ones.


Offline Ashura-X

  • Member
  • ***
  • Posts: 138
  • Karma: +0/-0
Re: About ms5pcb decrypted roms !
« Reply #7 on: April 30, 2006, 10:27:12 AM »
Thx a lot :D

Offline James33

  • Expert
  • *****
  • Posts: 532
  • Karma: +3/-0
  • The Mame Man
    • Emulation Zone
Re: About ms5pcb decrypted roms !
« Reply #8 on: April 30, 2006, 10:44:21 AM »
Thanks IQ for that :)
I think I seen a code for the encrypted roms but I am not sure where I seen it now .
« Last Edit: April 30, 2006, 10:45:23 AM by James33 »
IQ Forum Member

Offline Ashura-X

  • Member
  • ***
  • Posts: 138
  • Karma: +0/-0
Re: About ms5pcb decrypted roms !
« Reply #9 on: April 30, 2006, 05:23:55 PM »
Thanks IQ for that :)
I think I seen a code for the encrypted roms but I am not sure where I seen it now .

James, grabb last mame32plus source. The code is inside of it ;)

Offline James33

  • Expert
  • *****
  • Posts: 532
  • Karma: +3/-0
  • The Mame Man
    • Emulation Zone
Re: About ms5pcb decrypted roms !
« Reply #10 on: May 01, 2006, 04:04:56 AM »
Thanks for that :)  , I am useing the uni bios 2.2 for now , Since the proper one has not been dumped yet .

Did a CRC check and it came up as being correct .
« Last Edit: May 01, 2006, 04:06:41 AM by James33 »
IQ Forum Member