Author Topic: dink's FBN Development & Fixes thread  (Read 1320573 times)

Offline robsons2007

  • Jr. Member
  • **
  • Posts: 61
  • Karma: +0/-0
Re: dink's FBA Development & Fixes thread
« Reply #1245 on: February 27, 2017, 08:17:05 AM »
"Together me and barbudreadmon found and fixed some more crash issues in a few games with -O3 (high optimization) with later versions of gcc.  It turns out that vectorized/simd operations need 32bit integers to be aligned on a 4byte boundary.  Because of this, FBAlpha will run much better on Raspberry Pi and other smaller/embedded systems.  Note: barbudreadmon did mostly all of the hard work here, so big thanks! "


Excellent work from both

Offline dink

  • Administrator
  • *****
  • Posts: 5151
  • Karma: +461/-1
  • pie? I nearly bought one!
Re: dink's FBA Development & Fixes thread
« Reply #1246 on: March 03, 2017, 11:03:52 PM »
This is the 3rd of 4th attempt at fixing this - and this time was finally a success!  ...So I'm really happy to bring this news:
Xain'd Sleena is working perfectly now.  2 deadlocks and a bunch of flickering sprites are gone :)
EDIT: ...a couple hours have passed since this post... To be sure the new fixes hold up, I playtested the game all the way to the end, and its quite awesome.  especially that last level when all the prior bosses start chasing you through the level to your spaceship as their planet is rigged to blow up.  wow, what a rush :)  Did I mention that I was super happy that this game is now perfect in FBAlpha?  Hopefully we can have a release soon.

best regards,
- dink
« Last Edit: March 04, 2017, 12:05:29 AM by dink »

Offline WILOWAR

  • Member
  • ***
  • Posts: 150
  • Karma: +11/-19
Re: dink's FBA Development & Fixes thread
« Reply #1247 on: March 10, 2017, 02:39:05 PM »
Super-X (NTC) superx - game freeze with glitch on screen.

Offline Gab75

  • FBNeo Contributor
  • *****
  • Posts: 1576
  • Karma: +37/-0
  • All games deserve to be emulated, more or less! :P
Re: dink's FBA Development & Fixes thread
« Reply #1248 on: March 10, 2017, 06:35:57 PM »
Super-X (NTC) superx - game freeze with glitch on screen.

If I'm not wrong, the attached screens should be grabbed from second stage... I played until the third stage and the game seems to work properly.
Are you able to create a savestate just before the game freezes?

Offline dink

  • Administrator
  • *****
  • Posts: 5151
  • Karma: +461/-1
  • pie? I nearly bought one!
Re: dink's FBA Development & Fixes thread
« Reply #1249 on: March 10, 2017, 06:40:18 PM »
Hi, Willowar - I think I know the problem with Super-X.  Are you using a keyboard?  Can you try using a Joystick or gamepad instead?

thanks,
- dink
« Last Edit: March 10, 2017, 06:43:56 PM by dink »

Offline Gab75

  • FBNeo Contributor
  • *****
  • Posts: 1576
  • Karma: +37/-0
  • All games deserve to be emulated, more or less! :P
Re: dink's FBA Development & Fixes thread
« Reply #1250 on: March 11, 2017, 12:33:27 AM »
The game seems to freeze when you push up and down at the same time... logically this can happen when you use keyboard controls (as dink pointed out); with a pad or a stick it's impossible to press up and down at the same time...

Offline barbudreadmon

  • Administrator
  • *****
  • Posts: 1140
  • Karma: +60/-2
  • Helper
Re: dink's FBA Development & Fixes thread
« Reply #1251 on: March 11, 2017, 02:49:49 AM »
with a pad or a stick it's impossible to press up and down at the same time...
On a side note :
Just remembered some guy years ago who won a mario kart championship because his controller was in such a bad shape he was able to press left and right at the same time (shifting left and right rapidly while drifting enable turbo boost in many mario kart).
So it's actually possible to press opposite directions with a pad in a bad shape, or modded, because of course some people modded their controllers following this story :p.

Offline Gab75

  • FBNeo Contributor
  • *****
  • Posts: 1576
  • Karma: +37/-0
  • All games deserve to be emulated, more or less! :P
Re: dink's FBA Development & Fixes thread
« Reply #1252 on: March 11, 2017, 04:53:42 AM »
Just remembered some guy years ago who won a mario kart championship because his controller was in such a bad shape he was able to press left and right at the same time (shifting left and right rapidly while drifting enable turbo boost in many mario kart).

... a symbolic case, when a defect becomes a merit! :P

So it's actually possible to press opposite directions with a pad in a bad shape, or modded, because of course some people modded their controllers following this story :p.

Moreover you could map the joypad buttons as directional inputs... so you would be able to press all directions at the same time!  :biggrin:

Offline dink

  • Administrator
  • *****
  • Posts: 5151
  • Karma: +461/-1
  • pie? I nearly bought one!
Re: dink's FBA Development & Fixes thread
« Reply #1253 on: March 14, 2017, 11:18:47 PM »
Fixed a shedload of driver-bugs, big thanks to gab75, Pityesz and WILOWAR for reporting!

Wall Crash - fixed paddle inputs / default settings
Taito's Operation Wolf 3: automatically use default gun calibrations on first boot
The Karate Tournament: missing button #2 and sprite:tile offset glitch
Quartet, Quartet 2: cracking/popping noises from the dac have been quenched.

best regards,
- dink

Offline dink

  • Administrator
  • *****
  • Posts: 5151
  • Karma: +461/-1
  • pie? I nearly bought one!
Re: dink's FBA Development & Fixes thread
« Reply #1254 on: March 16, 2017, 09:23:29 AM »
Operation Wolf 3-day (in the slapshot driver)

To get the graphics right, I set up a priority bitmap between the TC0480 (Taito tilemap chip) and the Taito F2 sprites code. 

Before and After pictures below...

Offline Gab75

  • FBNeo Contributor
  • *****
  • Posts: 1576
  • Karma: +37/-0
  • All games deserve to be emulated, more or less! :P
Re: dink's FBA Development & Fixes thread
« Reply #1255 on: March 16, 2017, 09:59:31 AM »
Now the sprites/objects priority is almost perfect! Thanks! :)

Offline iq_132

  • Administrator
  • *****
  • Posts: 3732
  • Karma: +411/-0
  • Definitely not Dink!
    • NeoSource
Re: dink's FBA Development & Fixes thread
« Reply #1256 on: March 16, 2017, 10:45:30 AM »
I'm hoping you named those incorrectly. The second one is definitely worse. ^^


Offline Gab75

  • FBNeo Contributor
  • *****
  • Posts: 1576
  • Karma: +37/-0
  • All games deserve to be emulated, more or less! :P
Re: dink's FBA Development & Fixes thread
« Reply #1257 on: March 16, 2017, 11:50:33 AM »
Really... you are too strict! :P The second screenshot is not worse! There's only a "priority issue" with the truck and the tubulars...
in the first one the enemy soldier and the civilian seem to be inside the barrels! :P

Offline dink

  • Administrator
  • *****
  • Posts: 5151
  • Karma: +461/-1
  • pie? I nearly bought one!
Re: dink's FBA Development & Fixes thread
« Reply #1258 on: March 16, 2017, 01:19:41 PM »
OOps, you're right, the tubes on the left side definitely should be infront of the truck, investigating..

Offline dink

  • Administrator
  • *****
  • Posts: 5151
  • Karma: +461/-1
  • pie? I nearly bought one!
Re: dink's FBA Development & Fixes thread
« Reply #1259 on: March 16, 2017, 02:55:56 PM »
gab75: Thanks for pointing out the issue with the pipes :)  Here's a new piccy: