Author Topic: Some testing  (Read 14248 times)

Offline Barry Harris

  • dontbeabarry
  • *
  • Posts: 1785
  • Karma: +0/-65535
  • I'm Barry Harris and I like to f*** people over
Some testing
« on: June 09, 2008, 11:12:10 AM »
If anyone has some time I could do with some help in testing something. I've made the following changes to the CPS code;

Quote
- Lagged the sprite palette in all CPS-2 games - fixes issue in ssf2 attract
- Tidied up the CPS-2 split graphics rom loading
- Properly fixed the qadj ninja sprite bug without resorting to hacks

The one I need help testing is the first one - the sprite palette lagging in CPS-2 games. This was previously only enabled in Gigawing but it does resolve the bug posted here. The "zorro mask" is actually drawn by MAME if you enable the debugger and run it slow enough so the issue isn't the fact that it shouldn't be drawn - I believe the issue to be that caused by not lagging the palette with the sprites and this pans out due to the fact that this fixes the issue.

From the little testing I've done it doesn't cause any problems in other CPS-2 games but it would be nice if somebody had the time to compile in the attached changes and do some good testing on all CPS-2 games to look for any problems that weren't there before.

Thanks for anyone that finds the time.
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 Barry Harris

  • dontbeabarry
  • *
  • Posts: 1785
  • Karma: +0/-65535
  • I'm Barry Harris and I like to f*** people over
Re: Some testing
« Reply #1 on: June 09, 2008, 11:14:43 AM »
P.S. I got another cave game going. Time to look at the missing fighters next.

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 BisonSAS

  • Expert
  • *****
  • Posts: 210
  • Karma: +27/-0
  • [NGBRT]
    • NeoGeo BR Team
Re: Some testing
« Reply #2 on: June 09, 2008, 11:59:25 PM »
The binary for testing: http://forumawp.googlepages.com/fba_cps2_test.rar

Very nice Cave screenshot Barry! :biggrin: :biggrin: :biggrin:

Offline JacKc

  • FBNeo Dev
  • ******
  • Posts: 1677
  • Karma: +56/-0
  • Hasta la vista, Baby !
Re: Some testing
« Reply #3 on: June 11, 2008, 05:11:59 PM »
Start some test with the set beginning with 1

Some bugs in the intro for 19XX - The War against destiny (951207 USA)



Offline BisonSAS

  • Expert
  • *****
  • Posts: 210
  • Karma: +27/-0
  • [NGBRT]
    • NeoGeo BR Team
Re: Some testing
« Reply #4 on: June 11, 2008, 11:47:14 PM »
Start some test with the set beginning with 1

Some bugs in the intro for 19XX - The War against destiny (951207 USA)
The driver need BDF_16BIT_ONLY.

New binary for testing: http://forumawp.googlepages.com/fba_cps2_test2.rar

Offline Barry Harris

  • dontbeabarry
  • *
  • Posts: 1785
  • Karma: +0/-65535
  • I'm Barry Harris and I like to f*** people over
Re: Some testing
« Reply #5 on: June 12, 2008, 03:26:41 AM »
Hmm, I don't repro that bug on my build - and to be honest it wouldn't make sense that lagging the sprite palette would cause that!

Oh, and the driver doesn't need BDF_16BIT_ONLY. It supports all colour depths in it's rendering.
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 JacKc

  • FBNeo Dev
  • ******
  • Posts: 1677
  • Karma: +56/-0
  • Hasta la vista, Baby !
Re: Some testing
« Reply #6 on: June 12, 2008, 05:58:39 PM »
I've seen bugs for Alien Vs Predator and Armored Warriros (only Euro Versions :confused:)

Test made with fba_cps_test2
« Last Edit: June 12, 2008, 06:00:28 PM by JacKc »


Offline BisonSAS

  • Expert
  • *****
  • Posts: 210
  • Karma: +27/-0
  • [NGBRT]
    • NeoGeo BR Team
Re: Some testing
« Reply #7 on: June 12, 2008, 11:41:18 PM »
Hmm, I don't repro that bug on my build - and to be honest it wouldn't make sense that lagging the sprite palette would cause that!

Oh, and the driver doesn't need BDF_16BIT_ONLY. It supports all colour depths in it's rendering.
I'm using your source and gets this bugs in 32 bits... ;p
Bug in the blitters:
Basic and SoftFX
Enhanced work fine.


I've seen bugs for Alien Vs Predator and Armored Warriros (only Euro Versions :confused:)

Test made with fba_cps_test2
Missing BDF_16BIT_ONLY in this drives. :p I forgot to add this. :biggrin:
« Last Edit: June 13, 2008, 01:17:46 AM by BisonSAS »

kev

  • Guest
Re: Some testing
« Reply #8 on: June 14, 2008, 06:09:36 AM »
I'm using your source and gets this bugs in 32 bits... ;p
Bug in the blitters:
Basic and SoftFX
Enhanced work fine.

Missing BDF_16BIT_ONLY in this drives. :p I forgot to add this. :biggrin:

There seems to be a bug in some of the rendering code as I have the same problem on a laptop here. What graphics chipset are you using? I might get chance to take a look this week.

Offline Barry Harris

  • dontbeabarry
  • *
  • Posts: 1785
  • Karma: +0/-65535
  • I'm Barry Harris and I like to f*** people over
Re: Some testing
« Reply #9 on: June 14, 2008, 07:31:53 AM »
There seems to be a bug in some of the rendering code as I have the same problem on a laptop here. What graphics chipset are you using? I might get chance to take a look this week.

Hmm, I think I'll flag CPS drivers as BDF_16BIT_ONLY then. I wonder how long this has existed? I use 32-bit depth on both my desktop (nVidia 8800) and my laptop (ATI) and none of those problems repro. I wonder if it's a GCC vc VC thing? I'm testing with GCC.
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 Barry Harris

  • dontbeabarry
  • *
  • Posts: 1785
  • Karma: +0/-65535
  • I'm Barry Harris and I like to f*** people over
Re: Some testing
« Reply #10 on: June 14, 2008, 07:35:35 AM »
VC builds work fine here (on my desktop) so that's not the issue. :)
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 Barry Harris

  • dontbeabarry
  • *
  • Posts: 1785
  • Karma: +0/-65535
  • I'm Barry Harris and I like to f*** people over
Re: Some testing
« Reply #11 on: June 14, 2008, 07:38:19 AM »
Just tested the build Bison posted and the issue does exist when I use that one. Not sure what happened but it's in that build. :)
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 Barry Harris

  • dontbeabarry
  • *
  • Posts: 1785
  • Karma: +0/-65535
  • I'm Barry Harris and I like to f*** people over
Re: Some testing
« Reply #12 on: June 14, 2008, 07:42:24 AM »
Scratch all that - it's a blitter issue as previously described. :)
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.

kev

  • Guest
Re: Some testing
« Reply #13 on: June 14, 2008, 03:40:31 PM »
Seems to be worse with the scanlines enabled on my media centre PC. Crashes FBA with a memory leak for some reason. Can't run visual studio on it tho so trying to remember how to use gbd and failing. :)

Offline BisonSAS

  • Expert
  • *****
  • Posts: 210
  • Karma: +27/-0
  • [NGBRT]
    • NeoGeo BR Team
Re: Some testing
« Reply #14 on: June 15, 2008, 10:22:48 AM »
What graphics chipset are you using?
GeForce FX 5200 :p