Author Topic: What I have been working on...  (Read 469 times)

Offline Kev

  • FBA Dev
  • ******
  • Posts: 27
  • Karma: +1/-0
What I have been working on...
« on: June 02, 2019, 07:06:26 PM »
As I have been working on the SNES driver a bit after a many year gap, I got to the position where I needed more test roms. For years, I have wanted a way of loading roms for the non arcade systems that didn't require the rom being added to the main game selection dialog.

After a bit of thought I figured one way of doing it was to create a new driver structure (BurnSlot) that has a link back to a normal BurnDrv driver. After some messing around, I have started to get it working in the way I thought it should be. Basically, there is a new load option, which when selected, pops up a window to select the system to load (currently only Sega Master System, Spectrum and snes), and then allows you to select a rom.

It looks a bit like the attached screenshot.

TODO:
* Make it work with zip roms (should be pretty easy)
* Add support for other platforms. As the console/computer drivers tend to be a bit more free-form than the arcade drivers this does require a few code changes/additions to the drivers but none that are hopefully too horrible!
* Currently, it requires a BurnSlot for each configuration of a specific system, so e.g. for snes, there will be 3 systems to choose from to start with (USA/NTSC, EURO/PAL, JAP/PAL). This might get a bit complicated with SMS for example as you have all the different region SMS systems and also Game Gear. The cool thing with this though is that you can e.g. load a game on a different region console. The downside is that there might end up with a lot of systems to choose from
* The UI needs work. I can't figure out how to edit the resource files without causing issues, so I have re-purposed the language download dialog for now.
* Translations need adding for the UI
* I am still not sure this is the greatest idea ever as bug reports might happen for bad roms.

Hopefully I can get this to the stage where it can be merged into the main git without my shitty code upsetting any of the other devs  :p



Offline dink

  • Administrator
  • *****
  • Posts: 2926
  • Karma: +247/-0
  • feed the horse yumyum
Re: What I have been working on...
« Reply #1 on: June 02, 2019, 07:14:11 PM »
Hi Kev,
Nice work :)  I long for the day to play super gng in fba! :)

Back with the sms driver I started working on a loader for non-romset loads, but came to the conclusion that getting fba-features: "most recent games", states, input settings, replay, etc. working right with it would not be feasible without adding a mountain of kludges, so abandoned the idea and wrote a proggy to convert mame hash .xml's to fba style rom entries.  problem solved :)

best regards,
- dink


Offline Kev

  • FBA Dev
  • ******
  • Posts: 27
  • Karma: +1/-0
Re: What I have been working on...
« Reply #2 on: June 02, 2019, 07:28:02 PM »
Yes, some of those features might be better disabled when using this loader. That's probably the easy short term solution anyway. Things like controller config are saved per system, so it's only save states/replays/most recent games that are going to be the issue unless it saves the whole rom area as well, which I could argue is never going to happen.

Either way, this is only ever going to be used as a "bonus" to the full on game select dialog, and the way I have done it means once it's all cleaned up, we should only need a few extra driver structs and one or two new init routines per driver. Hopefully this means it won't create a massive maintenance overhead.  I could also see it being disabled in release builds and just have it there for running test roms on the systems, but that can be decided later :biggrin:

Super GNG is getting a bit further than it was, but all the capcom games seem to crash after the Capcom logo. It is next on my list to look once this is done though :)

Offline Bad Dude

  • Newbies
  • *
  • Posts: 46
  • Karma: +0/-0
Re: What I have been working on...
« Reply #3 on: June 04, 2019, 02:48:34 PM »
Good to see SNES on FBNEO. I'll follow the progress, for sure! 

Online barbudreadmon

  • Administrator
  • *****
  • Posts: 393
  • Karma: +17/-1
  • lr-fbalpha developer
Re: What I have been working on...
« Reply #4 on: June 04, 2019, 03:34:08 PM »
Long time i didn't play some snes rpg, looking forward to doing it on FBNeo :).

Offline Bad Dude

  • Newbies
  • *
  • Posts: 46
  • Karma: +0/-0
Re: What I have been working on...
« Reply #5 on: June 04, 2019, 06:14:17 PM »
I go with Contra: The alien wars  :cool:

Offline Arcadez

  • Expert
  • *****
  • Posts: 535
  • Karma: +14/-5
  • Arcade Addict
Re: What I have been working on...
« Reply #6 on: June 04, 2019, 06:39:20 PM »
Super Adventure Island is where it's at :) @kev some good progress here nice to see it.

Offline Fulg0re

  • Jr. Member
  • **
  • Posts: 89
  • Karma: +0/-0
Re: What I have been working on...
« Reply #7 on: June 04, 2019, 11:23:18 PM »
Well it would be awesome if this will work cause there are some games which do not run perfect  than on a real snes.
I am running a lot of emus on my pc. FBNEO up the most modern high end emus for racing and shmups games of the latest generation. They all work nearly perfect. But no snes Emu does. Especially if you wanna play these games which do have all the high end graphic chips involved. 3DFX, Mode 7. I have never seen Axelay running great. I do know what I am talking about cause I have many original hardware and games. If this works.... This would be awesome!!!!!

Offline Kev

  • FBA Dev
  • ******
  • Posts: 27
  • Karma: +1/-0
Re: What I have been working on...
« Reply #8 on: June 05, 2019, 04:56:44 AM »
Without starting from scratch and spending a few years on it (which is possible I guess) the driver probably won't ever support all the games. It's better than it was now I have fixed some bugs but countless remain and probably will for a while. I can certainly concentrate on getting the suggested ones working though.  :smilie:

Offline Kev

  • FBA Dev
  • ******
  • Posts: 27
  • Karma: +1/-0
Re: What I have been working on...
« Reply #9 on: June 07, 2019, 10:30:54 AM »
Needed a break from the snes driver as there are too many CPU bugs to get my head around, so did some work on another old driver.


Offline dink

  • Administrator
  • *****
  • Posts: 2926
  • Karma: +247/-0
  • feed the horse yumyum
Re: What I have been working on...
« Reply #10 on: June 07, 2019, 07:01:37 PM »
OMG, this is my favorite Tetris version ever!
please tell me it has sound :)

best regards,
- dink

Needed a break from the snes driver as there are too many CPU bugs to get my head around, so did some work on another old driver.

Offline Kev

  • FBA Dev
  • ******
  • Posts: 27
  • Karma: +1/-0
Re: What I have been working on...
« Reply #11 on: June 07, 2019, 07:27:02 PM »
OMG, this is my favorite Tetris version ever!
please tell me it has sound :)

best regards,
- dink

I've been working on sound today. It's making noise at least but not anything that sounds like Tetris lol