Author Topic: CPS driver cleanup  (Read 44317 times)

Offline iq_132

  • Administrator
  • *****
  • Posts: 3724
  • Karma: +411/-0
  • Definitely not Dink!
    • NeoSource
Re: CPS driver cleanup
« Reply #30 on: February 28, 2008, 10:36:24 PM »
Weird... it trimmed the last 3 lines off of the file when I saved it. :S

Anyway, fixed (for the 4th time...)


Offline LittleKaneda

  • Jr. Member
  • **
  • Posts: 55
  • Karma: +1/-0
Re: CPS driver cleanup
« Reply #31 on: February 28, 2008, 10:46:30 PM »
Weird... it trimmed the last 3 lines off of the file when I saved it. :S

Anyway, fixed (for the 4th time...)

Is this one my fault?

Quote
Linking executable... fba.exe
obj/GNU_WIN32/fba/burn/capcom/dc_1944.o(.data+0x690):dc_1944.cpp: undefined refe
rence to `Cps2Init()'
obj/GNU_WIN32/fba/burn/capcom/dc_1944.o(.data+0x710):dc_1944.cpp: undefined refe
rence to `Cps2Init()'
obj/GNU_WIN32/fba/burn/capcom/dc_19xx.o(.data+0x1210):dc_19xx.cpp: undefined ref
erence to `Cps2Init()'
obj/GNU_WIN32/fba/burn/capcom/dc_19xx.o(.data+0x1290):dc_19xx.cpp: undefined ref
erence to `Cps2Init()'
obj/GNU_WIN32/fba/burn/capcom/dc_19xx.o(.data+0x1310):dc_19xx.cpp: undefined ref
erence to `Cps2Init()'
obj/GNU_WIN32/fba/burn/capcom/dc_19xx.o(.data+0x1390):dc_19xx.cpp: more undefine
d references to `Cps2Init()' follow
MAKE[2]: *** [fba.exe] Error 1
MAKE[1]: *** [all] Error 2
MAKE: *** [mingw] Error 2

Offline iq_132

  • Administrator
  • *****
  • Posts: 3724
  • Karma: +411/-0
  • Definitely not Dink!
    • NeoSource
Re: CPS driver cleanup
« Reply #32 on: February 28, 2008, 10:57:34 PM »
Is this one my fault?


Yeah.  My cleanup has the individual driver files for cps1 & cps2 combined into 2 files.


In makefile.mingw you'll want to replace this:

Code: [Select]
dc_1941.o dc_3wonders.o dc_captcomm.o dc_cawing.o dc_dino.o  dc_dw.o \
dc_ffight.o dc_forgottn.o dc_ghouls.o dc_knights.o dc_kod.o dc_megaman.o \
dc_mercs.o dc_msword.o dc_mtwins.o dc_nemo.o dc_pang3.o dc_pnickj.o \
dc_punisher.o dc_qad.o dc_qtono2.o dc_sf2.o dc_sf2t.o dc_sfzch.o \
dc_slammast.o dc_strider.o dc_unsquad.o dc_varth.o dc_willow.o dc_wof.o \
\
dc_1944.o dc_19xx.o dc_armwar.o dc_avsp.o dc_batcir.o dc_choko.o dc_csclub.o \
dc_cworld2j.o dc_cyb.o dc_ddsom.o dc_ddtod.o dc_dimahoo.o dc_dstlk.o \
dc_ecofghtr.o dc_gigawing.o dc_hsf2.o dc_jyangoku.o dc_megaman2.o dc_mmancp2u.o \
dc_mmatrix.o dc_mpang.o dc_msh.o dc_mshvsf.o dc_mvsc.o dc_nwarr.o dc_progear.o \
dc_pzloop2.o dc_qnd.o dc_ringdest.o dc_sfa.o dc_sfa2.o dc_sfa3.o dc_sgemf.o \
dc_spf.o dc_ssf2.o dc_ssf2t.o dc_vhunt2.o dc_vsav.o dc_vsav2.o dc_xmcota.o \
dc_xmvsf.o \

With this

Code: [Select]
d_cps1.o \
\
d_cps2.o \

and remove:

 dc_input.o


I'd really suggest deleting everything in the capcom directory and then putting these new ones in there. 
It's quite a bit cleaner without all of the unused dc_xxxx.cpp files.



Offline LittleKaneda

  • Jr. Member
  • **
  • Posts: 55
  • Karma: +1/-0
Re: CPS driver cleanup
« Reply #33 on: February 28, 2008, 11:12:21 PM »
Quote
      dc_cps1.o \
      \
      d_cps2.o \

I got this error below, so I changed dc_cps1.o \ to d_cps1.o \ And everything compiled correctly. Did I do that right?  :biggrin:
Quote
MAKE[1]: *** No rule to make target `dc_cps1.d', needed by `all'.  Stop.
MAKE: *** [mingw] Error 2


By the way, thanks for that.
« Last Edit: February 28, 2008, 11:14:45 PM by LittleKaneda »

Offline iq_132

  • Administrator
  • *****
  • Posts: 3724
  • Karma: +411/-0
  • Definitely not Dink!
    • NeoSource
Re: CPS driver cleanup
« Reply #34 on: February 28, 2008, 11:39:36 PM »
I got this error below, so I changed dc_cps1.o \ to d_cps1.o \ And everything compiled correctly. Did I do that right?  :biggrin:

By the way, thanks for that.

Yup, that's right.  I'm completely out of it today lol.


Offline kenshiro

  • Expert
  • *****
  • Posts: 145
  • Karma: +21/-0
Re: CPS driver cleanup
« Reply #35 on: February 29, 2008, 09:24:47 AM »
I have noticed two problems:

- When i launch the set hsf2, hsf2j, ffightj and ffightu, i got a black screen :S We can hear the music, coins etc, but the screen is black :S

- The mbombrdj set have graphic glitches :redface:

Offline iq_132

  • Administrator
  • *****
  • Posts: 3724
  • Karma: +411/-0
  • Definitely not Dink!
    • NeoSource
Re: CPS driver cleanup
« Reply #36 on: February 29, 2008, 12:30:06 PM »
I have noticed two problems:

- When i launch the set hsf2, hsf2j, ffightj and ffightu, i got a black screen :S We can hear the music, coins etc, but the screen is black :S

- The mbombrdj set have graphic glitches :redface:

I can't reproduce this. :S

Are you using the 68k ASM?  Have you tried deleting the config files for those games?  If you're compiling your own build, you may have to delete the obj/src/burn/capcom directory.


Offline kenshiro

  • Expert
  • *****
  • Posts: 145
  • Karma: +21/-0
Re: CPS driver cleanup
« Reply #37 on: February 29, 2008, 01:47:55 PM »
Quote
Are you using the 68k ASM?  Have you tried deleting the config files for those games?

Yes i'm using 68k ASM. I deleted all config files etc...

Quote
If you're compiling your own build, you may have to delete the obj/src/burn/capcom directory.

I did it. This is for a build of FBAxxx Pro.

I had probably broken something by lack of attention :biggrin:, i'll check that.

Thanks for your help! :wink:

Offline LittleKaneda

  • Jr. Member
  • **
  • Posts: 55
  • Karma: +1/-0
Re: CPS driver cleanup
« Reply #38 on: February 29, 2008, 06:14:17 PM »
If you're compiling your own build, you may have to delete the obj/src/burn/capcom directory.

I'm a little confused now. What's the difference between

src/burn/capcom (this is where I added the new files)

and

obj/GNU_WIN32/fba/burn/capcom
« Last Edit: February 29, 2008, 06:53:14 PM by LittleKaneda »

Offline iq_132

  • Administrator
  • *****
  • Posts: 3724
  • Karma: +411/-0
  • Definitely not Dink!
    • NeoSource
Re: CPS driver cleanup
« Reply #39 on: February 29, 2008, 06:25:30 PM »
compilers generally compile each .c/cpp file individually (not just straight into the exe).  The produced files are "objects." -- .o / .d files  This is simply to speed up the compilation process (notice how the second time it didn't take 20 minutes lol).  Sometimes when a file is changed it doesn't update the corresponding object file and this causes problems. If you're not having any problems, no need to worry about the objects. ^^


Offline LittleKaneda

  • Jr. Member
  • **
  • Posts: 55
  • Karma: +1/-0
Re: CPS driver cleanup
« Reply #40 on: February 29, 2008, 06:53:28 PM »
I've noticed some games are now unknown since I added the new capcom files (agallet,uopoko,uopokoj,theroes, sailormn,guwange,gaia,feversos,esprade,donpachi,ddonpach, etc). These are all CAVE games, but that doesn't have anything to do with modifying the capcom directory, does it? If it doesn't, I'd rather not get off topic, but if you could pm me that'd be cool.
« Last Edit: February 29, 2008, 06:57:22 PM by LittleKaneda »

Offline iq_132

  • Administrator
  • *****
  • Posts: 3724
  • Karma: +411/-0
  • Definitely not Dink!
    • NeoSource
Re: CPS driver cleanup
« Reply #41 on: February 29, 2008, 11:45:47 PM »
I've noticed some games are now unknown since I added the new capcom files (agallet,uopoko,uopokoj,theroes, sailormn,guwange,gaia,feversos,esprade,donpachi,ddonpach, etc). These are all CAVE games, but that doesn't have anything to do with modifying the capcom directory, does it? If it doesn't, I'd rather not get off topic, but if you could pm me that'd be cool.

When you added the CPS stuff in the, you didn't happen to trim the top two lines off, did you?

Code: [Select]
drvobj =    d_dodonpachi.o d_donpachi.o d_esprade.o d_feversos.o d_gaia.o d_guwange.o \
d_sailormn.o d_uopoko.o \
\
dc_1941.o dc_3wonders.o dc_captcomm.o dc_cawing.o dc_dino.o  dc_dw.o \
dc_ffight.o dc_forgottn.o dc_ghouls.o dc_knights.o dc_kod.o dc_megaman.o \
dc_mercs.o dc_msword.o dc_mtwins.o dc_nemo.o dc_pang3.o dc_pnickj.o \
dc_punisher.o dc_qad.o dc_qtono2.o dc_sf2.o dc_sf2t.o dc_sfzch.o \
dc_slammast.o dc_strider.o dc_unsquad.o dc_varth.o dc_willow.o dc_wof.o \
\
...


Offline LittleKaneda

  • Jr. Member
  • **
  • Posts: 55
  • Karma: +1/-0
Re: CPS driver cleanup
« Reply #42 on: March 01, 2008, 12:56:05 AM »
When you added the CPS stuff in the, you didn't happen to trim the top two lines off, did you?

Code: [Select]
drvobj =    d_dodonpachi.o d_donpachi.o d_esprade.o d_feversos.o d_gaia.o d_guwange.o \
d_sailormn.o d_uopoko.o \
\
dc_1941.o dc_3wonders.o dc_captcomm.o dc_cawing.o dc_dino.o  dc_dw.o \
dc_ffight.o dc_forgottn.o dc_ghouls.o dc_knights.o dc_kod.o dc_megaman.o \
dc_mercs.o dc_msword.o dc_mtwins.o dc_nemo.o dc_pang3.o dc_pnickj.o \
dc_punisher.o dc_qad.o dc_qtono2.o dc_sf2.o dc_sf2t.o dc_sfzch.o \
dc_slammast.o dc_strider.o dc_unsquad.o dc_varth.o dc_willow.o dc_wof.o \
\
...

Why yes, yes I did...

I'm out of it too

(also had to clear my obj/burn/cave folder. ha! i'm learning)
« Last Edit: March 01, 2008, 01:25:13 AM by LittleKaneda »

Offline kenshiro

  • Expert
  • *****
  • Posts: 145
  • Karma: +21/-0
Re: CPS driver cleanup
« Reply #43 on: May 07, 2008, 07:47:29 PM »
 Updated CPS2 romsets to match MAME 0.125,all seems ok :p :cool:



« Last Edit: May 07, 2008, 07:48:44 PM by kenshiro »

Offline Bonky0013

  • Newbies
  • *
  • Posts: 38
  • Karma: +7/-0
  • FBA Fan
Re: CPS driver cleanup
« Reply #44 on: May 08, 2008, 12:59:44 PM »
 Hello All ,

Great job kenshiro ;p