Author Topic: New cps2 dump need driver  (Read 5997 times)

Offline novaa

  • Newbies
  • *
  • Posts: 10
  • Karma: +0/-1
New cps2 dump need driver
« on: June 07, 2008, 05:17:45 AM »
Hi all
Bonky have dumped capcom sport club japan from
a yellow card with splitted roms , anyone know a
correct driver under mame please ?? thank you
« Last Edit: June 07, 2008, 05:20:14 AM by novaa »

Offline iq_132

  • Administrator
  • *****
  • Posts: 3781
  • Karma: +411/-0
  • Definitely not Dink!
    • NeoSource
Re: New cps2 dump need driver
« Reply #1 on: June 07, 2008, 02:52:08 PM »
I think this will work, but I've not tested, nor have I added sh1 info to it. ^^

Code: [Select]
Add this to src\mame\drivers\cps2.c

ROM_START( csclubjr )
ROM_LOAD16_WORD_SWAP( "cscj.03", 0x000000, 0x80000, CRC(ec4ddaa2) SHA1(f84af8bd01cc994ecd6ac24e829e2bd33817d862) )
ROM_LOAD16_WORD_SWAP( "cscj.04", 0x080000, 0x80000, CRC(60c632bb) SHA1(0d42c33aa476d2cc4efcdad78667353b88225966) )
ROM_LOAD16_WORD_SWAP( "cscj.05", 0x100000, 0x80000, CRC(ad042003) SHA1(1e167c88f3b0617c38c9f43bdc816045ac0296e0) )
ROM_LOAD16_WORD_SWAP( "cscj.06", 0x180000, 0x80000, CRC(169e4d40) SHA1(6540d89df5e76189d32b696be7626087fe26e33b) )
ROM_LOAD16_WORD_SWAP( "csc.07",  0x200000, 0x80000, CRC(01b05caa) SHA1(5b84487da68e6b6f2889c76bf9e070e25941988c) )

ROM_REGION( 0x1000000, REGION_GFX1, 0 )
ROM_FILL(              0x000000, 0x800000, 0 )
ROMX_LOAD( "csc.73",   0x800000,     0x080000, CRC(335f07c3) , ROM_GROUPWORD | ROM_SKIP(6) )
ROMX_LOAD( "csc.74",   0xa00000,     0x080000, CRC(ab215357) , ROM_GROUPWORD | ROM_SKIP(6) )
ROMX_LOAD( "csc.75",   0xc00000,     0x080000, CRC(a2367381) , ROM_GROUPWORD | ROM_SKIP(6) )
ROMX_LOAD( "csc.76",   0xe00000,     0x080000, CRC(728aac1f) , ROM_GROUPWORD | ROM_SKIP(6) )
ROMX_LOAD( "csc.63",   0x800002,     0x080000, CRC(3711b8ca) , ROM_GROUPWORD | ROM_SKIP(6) )
ROMX_LOAD( "csc.64",   0xa00002,     0x080000, CRC(828a06d8) , ROM_GROUPWORD | ROM_SKIP(6) )
ROMX_LOAD( "csc.65",   0xc00002,     0x080000, CRC(86ee4569) , ROM_GROUPWORD | ROM_SKIP(6) )
ROMX_LOAD( "csc.66",   0xe00002,     0x080000, CRC(c24f577f) , ROM_GROUPWORD | ROM_SKIP(6) )
ROMX_LOAD( "csc.83",   0x800004,     0x080000, CRC(0750d12a) , ROM_GROUPWORD | ROM_SKIP(6) )
ROMX_LOAD( "csc.84",   0xa00004,     0x080000, CRC(90a92f39) , ROM_GROUPWORD | ROM_SKIP(6) )
ROMX_LOAD( "csc.85",   0xc00004,     0x080000, CRC(d08ab012) , ROM_GROUPWORD | ROM_SKIP(6) )
ROMX_LOAD( "csc.86",   0xe00004,     0x080000, CRC(41652583) , ROM_GROUPWORD | ROM_SKIP(6) )
ROMX_LOAD( "csc.93",   0x800006,     0x080000, CRC(a756c7f7) , ROM_GROUPWORD | ROM_SKIP(6) )
ROMX_LOAD( "csc.94",   0xa00006,     0x080000, CRC(fb7ccc73) , ROM_GROUPWORD | ROM_SKIP(6) )
ROMX_LOAD( "csc.95",   0xc00006,     0x080000, CRC(4d014297) , ROM_GROUPWORD | ROM_SKIP(6) )
ROMX_LOAD( "csc.96",   0xe00006,     0x080000, CRC(6754b1ef) , ROM_GROUPWORD | ROM_SKIP(6) )

ROM_REGION( QSOUND_SIZE, REGION_CPU2, 0 ) /* 64k for the audio CPU (+banks) */
ROM_LOAD( "csc.01",   0x00000, 0x08000, CRC(ee162111) SHA1(ce8d4bd32bb10ee8b0274ba6fcef05a583b39d48) )
ROM_CONTINUE(         0x10000, 0x18000 )

ROM_REGION( 0x400000, REGION_SOUND1, 0 ) /* QSound samples */
ROM_LOAD16_WORD_SWAP( "csc.51",   0x000000,     0x080000, CRC(5a52afd5) )
ROM_LOAD16_WORD_SWAP( "csc.52",   0x080000,     0x080000, CRC(1408a811) )
ROM_LOAD16_WORD_SWAP( "csc.53",   0x100000,     0x080000, CRC(4fb9f57c) )
ROM_LOAD16_WORD_SWAP( "csc.54",   0x180000,     0x080000, CRC(9a8f40ec) )
ROM_LOAD16_WORD_SWAP( "csc.55",   0x200000,     0x080000, CRC(91529a91) )
ROM_LOAD16_WORD_SWAP( "csc.56",   0x280000,     0x080000, CRC(9a345334) )
ROM_LOAD16_WORD_SWAP( "csc.57",   0x300000,     0x080000, CRC(aedc27f2) )
ROM_LOAD16_WORD_SWAP( "csc.58",   0x380000,     0x080000, CRC(2300b7b3) )
ROM_END

GAME( 1997, csclubjr,  csclub,   cps2, cps2_2p3b, cps2,     ROT0,   "Capcom", "Capcom Sports Club (Japan 970722, Rent version)", 0 )


Add this to the table in src\mame\machine\cps2crpt.c

{ "csclubjr",  { 0x4a2d0be5,0x56c013c0 }, 0x200000 }, // 0C81 0097 0310  cmpi.l  #$00970310,D1


Add this to src\mame\mamedriv.c

DRIVER( csclubjr ) /* 22/07/1997 (c) 1997 (Japan, rent) */


Offline JacKc

  • FBNeo Dev
  • ******
  • Posts: 1754
  • Karma: +56/-0
  • Hasta la vista, Baby !
Re: New cps2 dump need driver
« Reply #2 on: June 07, 2008, 07:22:33 PM »
Many thanks iq_132...Works fine under Mame :cool: