Author Topic: CPS driver cleanup  (Read 44314 times)

Offline kenshiro

  • Expert
  • *****
  • Posts: 145
  • Karma: +21/-0
Re: CPS driver cleanup
« Reply #45 on: May 08, 2008, 01:59:19 PM »
I forgot to declare megaman as parent of mmancp2u.

All seems really ok now lol :biggrin:

Offline iq_132

  • Administrator
  • *****
  • Posts: 3724
  • Karma: +411/-0
  • Definitely not Dink!
    • NeoSource
Re: CPS driver cleanup
« Reply #46 on: May 10, 2008, 11:46:43 PM »
Nice!! This has saved me a lot of time!


Offline 0746

  • Expert
  • *****
  • Posts: 108
  • Karma: +2/-0
Re: CPS driver cleanup
« Reply #47 on: May 11, 2008, 07:54:04 AM »
And I thought I accidentally deleted some files :biggrin:
It's in one file now. Really neat.

Offline kenshiro

  • Expert
  • *****
  • Posts: 145
  • Karma: +21/-0
Re: CPS driver cleanup
« Reply #48 on: May 30, 2008, 01:41:57 PM »
Added Mighty! Pang (Euro 001010)

Thanks you Bonky for this dump :biggrin:

Switch old set mpang to mpangu

Offline Bonky0013

  • Newbies
  • *
  • Posts: 38
  • Karma: +7/-0
  • FBA Fan
Re: CPS driver cleanup
« Reply #49 on: May 30, 2008, 11:30:46 PM »
Hello,

Very good job Kenshiro  :biggrin:

Thanks  :biggrin:

Offline kenshiro

  • Expert
  • *****
  • Posts: 145
  • Karma: +21/-0
Re: CPS driver cleanup
« Reply #50 on: June 07, 2008, 07:00:11 PM »
- Added Capcom Sports Club (970722 Japan, Rent version)

- Added support for split CPS-2 graphics roms from FBA 0.2.96.84

Thanks to Bonky and Treble Winner :biggrin:

Offline lxd_bruce

  • Jr. Member
  • **
  • Posts: 75
  • Karma: +1/-0
Re: CPS driver cleanup
« Reply #51 on: July 14, 2008, 10:14:12 AM »
ssf2tb,ssf2tbj,ssf2tbr1 can't work??? :confused:

look at the following picture
« Last Edit: July 14, 2008, 10:20:41 AM by lxd_bruce »

Offline Barry Harris

  • dontbeabarry
  • *
  • Posts: 1785
  • Karma: +0/-65535
  • I'm Barry Harris and I like to f*** people over
Re: CPS driver cleanup
« Reply #52 on: July 14, 2008, 11:47:38 AM »
They try to emulate the linkup feature but it currently doesn't work. Go into the games config screen and set it to "Single".
Account of Barry Harris; the traitor.
Send me an e-mail at barry@fbalpha.com letting me know how big of a piece of sh** I am.

Offline lxd_bruce

  • Jr. Member
  • **
  • Posts: 75
  • Karma: +1/-0
Re: CPS driver cleanup
« Reply #53 on: July 14, 2008, 12:24:33 PM »
thx.

press F2. :biggrin:

Offline lxd_bruce

  • Jr. Member
  • **
  • Posts: 75
  • Karma: +1/-0
Re: CPS driver cleanup
« Reply #54 on: July 15, 2008, 03:34:25 AM »
Code: [Select]

// Forgotten Worlds (US)

static struct BurnRomInfo ForgottnRomDesc[] = {
{ "lwu11a",        0x020000, 0xddf78831, 1 | BRF_ESS | BRF_PRG }, // 68k program
{ "lwu15a",        0x020000, 0xf7ce2097, 1 | BRF_ESS | BRF_PRG },
{ "lwu10a",        0x020000, 0x8cb38c81, 1 | BRF_ESS | BRF_PRG },
{ "lwu14a",        0x020000, 0xd70ef9fd, 1 | BRF_ESS | BRF_PRG },
{ "lw-07",         0x080000, 0xfd252a26, 1 | BRF_ESS | BRF_PRG },

{ "lw-01.9d",      0x080000, 0x0318f298, 2 | BRF_GRA },
{ "lw-08.9f",      0x080000, 0x25a8e43c, 2 | BRF_GRA },
{ "lw-05.9e",      0x080000, 0xe4552fd7, 2 | BRF_GRA },
{ "lw-12.9g",      0x080000, 0x8e6a832b, 2 | BRF_GRA },
{ "lw-02.12d",     0x080000, 0x43e6c5c8, 2 | BRF_GRA },
{ "lw-09.12f",     0x080000, 0x899cb4ad, 2 | BRF_GRA },
{ "lw-06.12e",     0x080000, 0x5b9edffc, 2 | BRF_GRA },
{ "lw-13.12g",     0x080000, 0x8e058ef5, 2 | BRF_GRA },

{ "lwu00",         0x010000, 0x59df2a63, 3 | BRF_ESS | BRF_PRG }, // z80 program

{ "lw-03u",        0x020000, 0x807d051f, 4 | BRF_SND },
{ "lw-04u",        0x020000, 0xe6cd098e, 4 | BRF_SND },
};

STD_ROM_PICK(Forgottn) STD_ROM_FN(Forgottn)

void load_stars()
{
CpsLoadStars(CpsStar, 5);
}

int forgottnInit()
{
pCpsInitCallback = load_stars;

return CpsInit();
}

struct BurnDriver BurnDrvCpsForgottn = {
"forgottn", NULL, NULL, "1988",
"Forgotten Worlds (US)\0", NULL, "Capcom", "CPS1",
NULL, NULL, NULL, NULL,
BDF_GAME_WORKING,2,HARDWARE_CAPCOM_CPS1_GENERIC,
NULL,ForgottnRomInfo,ForgottnRomName,forgottnInputInfo, forgottnDIPInfo,
forgottnInit,CpsExit,Cps1Frame,CpsRedraw,CpsAreaScan,
&CpsRecalcPal,384,224,4,3
};

the latest set of "Forgottn" from MAME 0126 can't work.

How to solve this problem? :confused:
« Last Edit: July 15, 2008, 03:36:20 AM by lxd_bruce »

Offline KOF2112

  • Expert
  • *****
  • Posts: 187
  • Karma: +14/-4
Re: CPS driver cleanup
« Reply #55 on: July 15, 2008, 05:29:11 AM »

CpsLoadStars(CpsStar, 5);

Changes

CpsLoadStars(CpsStar, 9);

Offline lxd_bruce

  • Jr. Member
  • **
  • Posts: 75
  • Karma: +1/-0
Re: CPS driver cleanup
« Reply #56 on: July 15, 2008, 06:31:07 AM »
CpsLoadStars(CpsStar, 5);

Changes

CpsLoadStars(CpsStar, 9);

it still doesn't work.

Maybe there is something else to modify?

Should cps.cpp be modified?

such as the following?

Code: [Select]
{"forgottn",CPS_B_01, 0,0,0, 0x0000,0xffff,0x0000,0xffff, 7 },