barbudreadmon / fbalpha-backup-dontuse-ty

Deprecated port of Final Burn Alpha to Libretro (v0.2.97.43).
61 stars 43 forks source link

World Rally 2 #188

Open ghost opened 6 years ago

ghost commented 6 years ago

Not an issue at the moment nor might it be. but lemmie know if this Gaelco 2 game performs poorly when supported in this core as i do have a special driver which wont be supported in the next FBA release.

It has optimized video code via iq_132 which speeds it up rather nicely on the ole Xbox with no drawbacks im sure it will be of some benefit if required.

Regards

barbudreadmon commented 6 years ago

Hmmm why not having it in the next fba release if it has no drawbacks ?

ghost commented 6 years ago

Simply because for most platforms it wont be needed, it was a special done for me as the FBA boys knew i wanted to play this game on my Xbox, the driver has different tile handling coded by iq_132 which gives the game a huge speedup.

Anyway you might not need it but im letting ya know it's there should want it.

barbudreadmon commented 6 years ago

Ok thanks, i'll look into it if it is needed :).

ghost commented 6 years ago

No worries on a seperate note how do you find the performance in the M92/M107 games..?? i see you have a speedhack in those drivers although when i added it on spec to my Irem M107 i noticed no diff in the fps on the xbox at anyrate.

These games can be problamatic on lesser hardware due to scanline raster updates every frame or so, but these can be actually be disabled to net a large boost, i'll create a pull just for testing purposes i dont expect you to merge it but you might wanna try out Fire Barrel for example with the scanlines off.

barbudreadmon commented 6 years ago

I have been thinking about disabling the speedhack in m92/m107, i copied this from the old fbalpha core but never noticed a difference. Those drivers could use some speed boost, m107 won't run at full speed on my rpi3, and i remember ppl reporting slowdowns on some m92 games. I'm interested in the speedhack, i'll try to transform it into a dipswitch though (same as what i did on the psikyosh driver, which should be part of the next fba release).

barbudreadmon commented 6 years ago

Barely got 1 fps boost out of the m107 speedhack, how many fps do you gain from this on xbox ?

ghost commented 6 years ago

Around 15fps for Fire Barrel. the fps boost can vary across all the m92 and m107 games but it's the difference between em all being playable or not.

dinkc64 commented 6 years ago

barbudreadmon, try this instead for m107 (|| changed to &&). if (!m107speedhack && (nPrevScreenPos >= 0 && nPrevScreenPos <= 239)) nPrevScreenPos = (scanline-8)+1;

although fire barrel only updates twice per screen, once on line 245 and obligatory 248, this will reduce it to 1 update at 248, you might save at least a couple more frames/sec with that. Here's a replacement DrvFrame, it might get you another couple frames/sec: changes: interleave changed from 2048 to 1024, only update irem ga20 at end of frame. code on pastebin: https://pastebin.com/q16jZD88

barbudreadmon commented 6 years ago

@dinkc64 thanks for the tips, i'll try those this week-end :).

barbudreadmon commented 6 years ago

Those changes are still not enough to run m107 at full speed on my rpi3 (got a ~5 fps improvement though, which is not bad, @dinkc64 perhaps this modified driver should make its way to standalone ?)

ghost commented 6 years ago

Here is that driver for World Rally 2 should ya need it, best to send it your way incase i misplace it

[url]https://www.sendspace.com/file/889w52[/url]

barbudreadmon commented 6 years ago

wrally2 runs fine on rpi3, i was interested in making this speedhack as a dipswitch but there are too much difference between your wrally2 driver and the gaelco2 driver. Do you know which key features allow a better speed in your wrally2 driver ?

ghost commented 6 years ago

Check the graphical tile handling