Jump to content
LaunchBox Community Forums
dillonm

Import from Gamebase?

Recommended Posts

Hello, Gamebase user here with many systems set up. Old computer games need a lot of per game tweaking, also multidisk handling. Gamebase creators have already done all this huge work for us, it even repacks the files when exiting the games so the savestates and hiscores are preserved! So trying to import the games as a console set and simply loading them in the emulator is not the best way to do it.

The correct way is using an executable included with Gamebase, specifically developed to allow other frontends to use the Gamebase setup: GBlauncher.exe.

Quote

 

This all came about because I wanted to run some GameBase databases on my Arcade Cabinet.

Lets say, like me, you have built, or aquired an Arcade Cabinet, or a “MAME” machine, and you want to get GB64, or GameBase Amiga, or GBST, etc. to run on them. Well now you can! As of v1.3 of GameBase, it's possible to browse through your favourite GB databases running on your favourite arcade frontend, while still using GEMUS (Gamebase EMUlator Script) as a backend to run the games.

Why not just run the emulators directly from my arcade frontend? Good question. For many of the more popular GameBase databases, such as GB64 and GameBase Amiga, a load of work has been done to get the games running in the emulators as best as possible, with all the correct settings and controls. Emulators can be fiddly things, and some games just refuse to play ball unless everything is configured perfectly. GB64 and GameBase Amiga are great examples of this. So, by using GameBase (or more specifically GEMUS) to run the games, you're getting rid of a big potential headache, and saving yourself countless hours trying to figure our why game X doesn't run in emulator Y, etc.

Why do I need GameBase databases on my cab? Well, you don't really need them, but since *I* needed them, I thought there might be others out there with the same desires. Going back to the popular GB64, there's 20000 fully configured C64 games right there, with game info all collated as accurately as possible over a number of years (year, manufacturer/publisher, genre, etc). All the games have screenshots too, and that's just the tip of the iceberg really. GameBase Amiga is the same, thousands of games, all fully emulator-configured, with game info and screenshots. There are others, too. Sure, you don't need GameBase databases on your cab, but for a number of old retro systems you might just be missing out if you don't.

 

Basically you can create a RomLister compatible XML with all the games detail, so you can then convert it to the frontend specific format. It even exports the screenshots so they can be used by the frontend. I've already done it with mGalaxy. 

http://www.bu22.com/wiki/exporting_gamebases_to_other_frontends

http://www.bu22.com/wiki/gblauncher.exe

If some testing is needed I have many Gamebases and Launchbox installed and would be glad to be of help.

Share this post


Link to post
Share on other sites

Thanks mgtroyas.  From reading through your links, GBLauncher currently doesn't create xml's for launchbox correct?  So currently we are not able to get this to work with LB?  Just want to ensure I'm understanding right.

Share this post


Link to post
Share on other sites

From the Gamebase you can create a RomLister format XML. Then using RomLister you can filter it and convert it to multiple frontend XML formats.

I saw mGalaxy format being added as output option after this frontend appeared. Don't know if RomLister author added it spontaneously or mGalaxy author helped him.

https://www.waste.org/~winkles/ROMLister/

romlister_list.jpg

I suppose (haven't that understanding of the LaunchBox internals yet) that adding a new platform requires more work than creating the XML?

But reading this documentation again, I'm starting to believe XML creation is only for convenience (having the game metadata), if GBLauncher is used as emulator, just receiving the ROMfile as a parameter it finds the Gamebase game ID and launchs the game via GEMUS. I'll do some tests when I have the time.

Share this post


Link to post
Share on other sites

Currently the import from RomList does not have a LaunchBox option am I right mgtroyas?  wirtual82, can you share how you did this?

Share this post


Link to post
Share on other sites

@Ted777 Last time I used Romlist LaunchBox didn't exist, and no newer versions habe been released, so Iassume not.

@wirtual82 If you rename the game files they won't be runnable with "gblaunch" and Gamebase. I also aspire to have an official LaunchBox integrated method, to make life  easier to all Gamebase users.

Edited by mgtroyas
  • Like 1

Share this post


Link to post
Share on other sites
42 minutes ago, wirtual82 said:

basically, I renamed gamefiles to correspond game names because that is not usually the case. Everything is clean and consistent according to one pattern. 

That's what I try to say, this way launching the games through "gblaunch.exe" as emulator (so using all the gamebase per-game tweaking) no longer works.

Share this post


Link to post
Share on other sites
On 2/25/2017 at 1:50 PM, wirtual82 said:

I do not use this emulator at all. I import the roms and set different emulators for different platforms with all the metadata and images

I know I'm a little late  but would you do a tutorial 9_9

Share this post


Link to post
Share on other sites

i used gamebase for years , really good but it would be brilliant to import to launchbox & gamebase has lots of artwork that is missing from the launchbox database ;)

i have c64,zx spectrum , amiga, cpc 646 & atari st gamebase :)

2017-09-21_160112.png

Edited by harryoke

Share this post


Link to post
Share on other sites
On 9/22/2017 at 9:29 PM, wirtual82 said:

I only managed to import the metadata provided by gamebase, so genre, year etc. etc. I do not know if that's what you need, but that was time-consuming. Advanced renaming and fuzzy match etc. That sort of thing.

I believe that someone will make a plugin to make things easier for everyone. It shouldn't be a big deal. 

But it was worth it. I like the way it looks now. The way I wanted:

I basically did a fuzzy match to match path names with game titles.

Then I matched the appllication path with game titles to be able to match it with the other metadata. 
 
You need to match your LB titles with gamebase titles first because they do not always match etc. So I did some tricks. 
 

Zrzut ekranu (50).png

someone actually wrote a dat file to rename the roms to something like no intro names and uploaded it to dropbox and now the link says file not found

so if someone can write a dat file to rename the roms to match the pictures at least so launchbox recognize the pictures

im really dissatisfied with launchbox there's so much rom sets and collections that i cant i Import  :(

Share this post


Link to post
Share on other sites

I don't think that there will be any official way to import Gamebases into LaunchBox. It's a niche, hard thing to do it well as every gamebase is slightly different thanks to capabilities of Microsoft Access database engine, and work on better import of things was very low priority recently.

Things  that, seven years after last update, GameBase is doing better than LB

  • logging, you can check what command line was sent to emulators.
  • launching emulators, passing  arguments to them is extremely advancement. 
  • more than one manual, music file, URL etc.
  • unzipping that works, with information which file from archive open, AND which file open on extracted floppy. OK, that one only for C64, I think.
  • better data in gamebases for 8/16 computer system than in Launchbox Games DB.

But overall, LaunchBox has better usability.  So, I hacked crude, very unoptimised converter in Python. Result of converting Gamebase 64:

https://imgur.com/a/XIjMO

UmQTy+

File is 55 MB big, and has info of 25.000 games.

Every important field is imported, extras are imported as "Additional Apps", VLC plays original sids. Music, games, extras stay in gamebase folder, screenshots and box covers are converted to LB naming. Games are launched via GBLauncher.exe but you can start them also by emulators configured in LB.

 

Two things that doesn't  went well:

- "Additional Apps" can't have custom command-line, so I can't pass necessary arguments to GBLauncher.exe. They are run by separate emulator (WinVice, for example), which adds some problems with running them.

- auditing crashes LaunchBox with CheckInvalidPathChars error. I have no idea why, so I attach platform file, so maybe someone can tell my what I should fix.

 

Commodore 64 (GB).zip

Edited by cZ8tL
  • Like 1

Share this post


Link to post
Share on other sites

Has anybody done a tutorial video yet on importing the metadata from gamebase for the Commodore 64 to LB? Would love to do that. From what I've read gamebase has the most extensive metadata for it. Also, a little off subject, which gamebase file is just the game ROMs? I see their package is split into several files online and the descriptions of what is what are not very distict.

Share this post


Link to post
Share on other sites
On 21.11.2017 at 8:48 PM, cZ8tL said:

But overall, LaunchBox has better usability.  So, I hacked crude, very unoptimised converter in Python. Result of converting Gamebase 64:

https://imgur.com/a/XIjMO

UmQTy+

File is 55 MB big, and has info of 25.000 games.

Great Job  @cZ8tL !!

I am coming from Raspi/Retropie and i am looking for an easy gui for all my retrogames on PC. I have Gamebase64 and GamebaseAmiga and of course i wished to have that games/info/Screenshots in my preferred Retro-GUI.

It seems Launchbox is the right GUI and i am looking forward to use your data to integrate the c64 Games. 

For playing Amiga-Games there is fs-uae-arcade, i liked that. But if launchbox is really great it would be a wish to integrate Amiga-Games too. Still have a look....

Thanks for sharing your work! 🙌

Share this post


Link to post
Share on other sites

BTW, how to use the python script? I used GameBase SD reorganiser to rename the file instead.

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×