Author Topic: dink's FBA Development & Fixes thread  (Read 197765 times)

Offline Gab75

  • Advanced Member
  • *****
  • Posts: 543
  • Karma: +20/-0
  • All games deserve to be emulated, more or less! :P
Re: dink's FBA Development & Fixes thread
« Reply #1350 on: July 02, 2017, 09:47:56 am »
Shaved 4 seconds of the f6/gamelist window.  (in 2.999ghz compy-p4 time)

Very happy about this!

Excellent work! :)

On my old laptop I5-2430M it's about three times faster! From 2.5-3 seconds to less than a second!

Offline dink

  • Administrator
  • *****
  • Posts: 2653
  • Karma: +226/-0
  • feed the horse yumyum
Re: dink's FBA Development & Fixes thread
« Reply #1351 on: July 07, 2017, 09:31:36 am »
Here's a little video showing off my recent work on Mystic Warriors: https://www.youtube.com/watch?v=5Qyb2QrVaLs

There are still a few emulation-related glitches, but they are almost unnoticable compared to how it used to be..

Check out how awesome that intro/title screen scene is now!  <3
Also, the cargo-plane scene where you fly atop the green plane into the back of the cargo plane is perfect.  At first, this was the only part I was aiming to fix.

As a bonus, its a 1cc/longplay recorded without using any states or cheats.

best regards,
- dink

Offline dink

  • Administrator
  • *****
  • Posts: 2653
  • Karma: +226/-0
  • feed the horse yumyum
Re: dink's FBA Development & Fixes thread
« Reply #1352 on: July 19, 2017, 11:52:23 pm »
dink's news & stuff:

One of the last issues with Megadrive has been quenched tonight.  I created a new soundchip for FBA called MD2612, which is a high quality ym2612 emulation based on eke-eke's gensplus-gx ym2612 core, which is based on the original MAME fm core.  It would have never been possible to backport the changes from eke-eke's gensplus-gx ym2612 core to ours, so the new one was created.  Also, the old one will be left alone for the time being.  This new core is running at the Megadrive's ym2612 native 53267hz (NTSC) and interpolatively resampled to your soundrate.

Good things noticed so far:
Mega Turrican's intro song is perfect(!)
Streets of Rage 2 "Punch & Jump" sfx fixed.

bye for now,
- dink

Offline Combone

  • Newbies
  • *
  • Posts: 29
  • Karma: +1/-0
Re: dink's FBA Development & Fixes thread
« Reply #1353 on: July 20, 2017, 12:27:36 am »
dink's news & stuff:

One of the last issues with Megadrive has been quenched tonight.  I created a new soundchip for FBA called MD2612, which is a high quality ym2612 emulation based on eke-eke's gensplus-gx ym2612 core, which is based on the original MAME fm core.  It would have never been possible to backport the changes from eke-eke's gensplus-gx ym2612 core to ours, so the new one was created.  Also, the old one will be left alone for the time being.  This new core is running at the Megadrive's ym2612 native 53267hz (NTSC) and interpolatively resampled to your soundrate.

Good things noticed so far:
Mega Turrican's intro song is perfect(!)
Streets of Rage 2 "Punch & Jump" sfx fixed.

bye for now,
- dink

Amazing News  :smilie: Congratulations dink

Offline dink

  • Administrator
  • *****
  • Posts: 2653
  • Karma: +226/-0
  • feed the horse yumyum
Re: dink's FBA Development & Fixes thread
« Reply #1354 on: August 10, 2017, 09:17:32 am »
Over the past couple days I'd been investigating a problem with games flagged BDF_16BIT_ONLY.  This includes Megadrive, Cave (not PGM Cave), CPS3.. So, when a game is paused and a mode change happens, such as going from windowed to fullscreen or back again, the screen would be blank.  It's a bug that's been illusive and bothered me for years..
It turns out the reason for this issue is nastier than I thought - If you're not @ 16bpp native, these systems will render +1 frame behind emulation.  Ouch.  :redface:  But.. its fixed now.  Any projects using FBAlpha as a core will have to c&p 2 lines of code from one of our default video cores (video/win32/vid_d3d.cpp:vidFrame()) to their core @ the next release. (unless something changes).

best regards,
- dink

Offline jan_klaassen

  • FBA Dev
  • ******
  • Posts: 315
  • Karma: +10/-0
Re: dink's FBA Development & Fixes thread
« Reply #1355 on: August 10, 2017, 02:34:04 pm »
You're right about the delay, it's about time to get rid of that.

However, using 3d hardware gets you the conversion from 15/16bit to 32bit for free, so you shouldn't be using any software conversion inside fba in that case -- it should only be used for the ddraw blitter (or when software gamma correction is enabled).

Offline dink

  • Administrator
  • *****
  • Posts: 2653
  • Karma: +226/-0
  • feed the horse yumyum
Re: dink's FBA Development & Fixes thread
« Reply #1356 on: August 21, 2017, 06:36:53 pm »
While I was fixing more issues and improving the Megadrive emulation core,  Combone added a bunch of nice Sonic mods/hacks.  One of them in particular that stands out is Sonic Classic Heroes.  You start by controlling Sonic, and your 2 pals Tails and Knuckles follow along, and at any time you can switch between the other 2 characters - that's right - the game has double-AI and in-game character selector :)
I found a bunch of nice homebrew and demoscene stuff to add, also, including Monster World IV English, Mega Cheril Perils by the Mojon Twins, the new Maiaka demo from Resistance rel'd at Evoke 2017 a few days ago, Alex Kidd 2 for SMS final - we had a few requests for this over the past year and a half, but it was still in beta so I didn't add it.  Luckily MAME's git history reminded me that the final had been released ;)  Some piccy's:

Offline robsons2007

  • Jr. Member
  • **
  • Posts: 61
  • Karma: +0/-0
Re: dink's FBA Development & Fixes thread
« Reply #1357 on: August 22, 2017, 11:19:29 am »
While I was fixing more issues and improving the Megadrive emulation core,  Combone added a bunch of nice Sonic mods/hacks.  One of them in particular that stands out is Sonic Classic Heroes.  You start by controlling Sonic, and your 2 pals Tails and Knuckles follow along, and at any time you can switch between the other 2 characters - that's right - the game has double-AI and in-game character selector :)
I found a bunch of nice homebrew and demoscene stuff to add, also, including Monster World IV English, Mega Cheril Perils by the Mojon Twins, the new Maiaka demo from Resistance rel'd at Evoke 2017 a few days ago, Alex Kidd 2 for SMS final - we had a few requests for this over the past year and a half, but it was still in beta so I didn't add it.  Luckily MAME's git history reminded me that the final had been released ;)  Some piccy's:

Excellent work as always  dink :biggrin: :biggrin:

Offline barbudreadmon

  • Expert
  • *****
  • Posts: 286
  • Karma: +9/-0
  • lr-fbalpha developer
Re: dink's FBA Development & Fixes thread
« Reply #1358 on: August 22, 2017, 01:31:08 pm »
By the way, i think there are some big endian issues with system 16 and megadrive drivers in fba (those games doesn't seem to work properly on ps3's libretro-fbalpha). If anyone got information on how to fix those (perhaps gamez fan if he still working on its xbox360 port ?), i would be interested.

Offline iq_132

  • Administrator
  • *****
  • Posts: 3573
  • Karma: +376/-0
  • Just a lion with a sword
    • NeoSource
Re: dink's FBA Development & Fixes thread
« Reply #1359 on: August 22, 2017, 01:55:30 pm »
By the way, i think there are some big endian issues with system 16 and megadrive drivers in fba (those games doesn't seem to work properly on ps3's libretro-fbalpha). If anyone got information on how to fix those (perhaps gamez fan if he still working on its xbox360 port ?), i would be interested.
The original Xbox is x86. Not going to be much help for arm endianness unfortunately.


Offline barbudreadmon

  • Expert
  • *****
  • Posts: 286
  • Karma: +9/-0
  • lr-fbalpha developer
Re: dink's FBA Development & Fixes thread
« Reply #1360 on: August 22, 2017, 02:01:04 pm »
The original Xbox is x86. Not going to be much help for arm endianness unfortunately.
Both ps3 and xbox360 are supposed to share the same kind of cpu (a PowerPC big endian). The original xbox is indeed x86, but i thought gamez fan wrote a xbox360 port ?

Offline iq_132

  • Administrator
  • *****
  • Posts: 3573
  • Karma: +376/-0
  • Just a lion with a sword
    • NeoSource
Re: dink's FBA Development & Fixes thread
« Reply #1361 on: August 22, 2017, 03:02:34 pm »
Both ps3 and xbox360 are supposed to share the same kind of cpu (a PowerPC big endian). The original xbox is indeed x86, but i thought gamez fan wrote a xbox360 port ?
Nope, that's Lantus (iirc). Gamzefan maintains the FBA port to OG Xbox.


Offline barbudreadmon

  • Expert
  • *****
  • Posts: 286
  • Karma: +9/-0
  • lr-fbalpha developer
Re: dink's FBA Development & Fixes thread
« Reply #1362 on: August 22, 2017, 03:25:32 pm »
Nope, that's Lantus (iirc). Gamzefan maintains the FBA port to OG Xbox.
Thanks for the information, it allowed me to find a repository of this port on github :).

Offline dink

  • Administrator
  • *****
  • Posts: 2653
  • Karma: +226/-0
  • feed the horse yumyum
Re: dink's FBA Development & Fixes thread
« Reply #1363 on: August 22, 2017, 07:00:41 pm »
Thanks to Gab75, Konami's '88 Games archery level is now playable. 

best regards,
- dink

Offline Gab75

  • Advanced Member
  • *****
  • Posts: 543
  • Karma: +20/-0
  • All games deserve to be emulated, more or less! :P
Re: dink's FBA Development & Fixes thread
« Reply #1364 on: August 23, 2017, 04:58:47 am »
Thanks to Gab75, Konami's '88 Games archery level is now playable. 

Thanks to you for the fix! :)

Hereunder two snapshots before the fix... as you can see, the archery level was unplayable...