Jump to content
LaunchBox Community Forums

FS-UAE Exporter to create a folder structure for import into Launchbox


Recommended Posts

Update 2017-01-12:

From FS-UAE version 2.8.3 and later the "launcher app" is not necessary anymore:

https://fs-uae.net/2017/01/08/fs-uae-2-8-3-released

 

Update 2016-09-20:

This solution now comes with a launcher to grant proper save state support as described in this post:

--- Original post ---

Hi all,

as discussed here:

I think I found a new method to integrate Amiga games via FS-UAE into Launchbox. The idea is to use FS-UAEs config database and it's unique IDs per game per config. If you start FS-UAE with a uuid as parameter, it does everything for you, configures the Amiga, mounts the correct discs, fill the disk-swapper and so on...

I now made a little program that extracts these infos out of the SQLite database FS-UAE uses and automatically creates a folder structure for import into Launchbox. I know my program is ugly and definitly not 100% stable (I hacked it down in approx. an hour) but it does the job :)

dce2uvttepalbbfbi.jpg

 

What do you think of it and my method?

 

Here is a short instruction how to use it:

You have to have a fully working FS-UAE with a populated database with your games.

My program requires .NET framework 4.5 and does not need to be installed

First you have to locate FS-UAEs "launcher.sqlite" file, it's located in the FS-UAE\Data\Databases subfolder:

dce2wpsrofvpaadla.jpg

Then you need to specify an output folder (should be empty):

dce2xju2eh13o02mm.jpg

Next you have to choose whether you want to export all game variants you have or only one variant per game, I advise to check this box.

dce2xx4kag1hy732m.jpg

Then you can finally choose whether you want the folder names to be created with the variants name or without, e.g. "Battle Isle" or "Battle Isle [ADF, Gamebase]". Launchbox will ignore the variant when importing so it gets correctly scraped either way.

Then you click on "Start Export" and a few seconds later you end up with something like this:

dce314uq6mwequa8e.jpg

you then can import the whole folder, just make sure to check "use folder names instead of rom file names":

dcd73ts9o9ytv48kp.jpgEnjoy your fully automated Amiga games import :-)

dce31ps1vu08wvscu.jpg

 

FSUAE_Exporter.zip

Edited by Eirulan
Forgot to attach the program itself :-)
  • Like 5
  • Thanks 4
Link to comment
Share on other sites

This looks really cool I have CD32 working on one PC but it was a pain and I never got much further with it this sounds promising to get all your amiga games running I'll have to do some more research as I don't know anything about FSUAE or really Amiga at all. Thanks for sharing though.

  • Like 1
Link to comment
Share on other sites

So where do the actual rom files go for this? Do I have to point FS-UAE itself to a folder for them or something? Thus far I've just used Launcher.exe as the emulator in LB and the WHDLoad zips as roms and in any instances where additional tweaking was needed (like PRELOAD) I create a config in FS-UAE and then used the config as the rom in LB.

I guess with this I'd be setting up a new/separate emulator entry in LB specifically for FS-UAE UUID, but I'm just a little confused as to where the games themselves need to go in that case.

Link to comment
Share on other sites

It doesn't matter where your actual rom files (adf's etc.) are. You just have to make sure FS-UAE knows them and has scanned them. Launchbox will never see them nor need them. Launchbox only needs the newly created folder structure my little tool creates.

I don't think this method works with WHDLoad zip files, so I also have two emulators in Launchbox, one for my method and one for the WHDLoad zips.

4 minutes ago, Zombeaver said:

... and then used the config as the rom in LB.

in fact, you're doing the same here. You're just passing Launchbox a config, nothing else.

 

... does this answer the question or did I misunderstand it?

Edited by Eirulan
Link to comment
Share on other sites

4 minutes ago, Eirulan said:

You just have to make sure FS-UAE knows them and has scanned them.

This is what I was asking. I've never actually scanned anything into FS-UAE.

4 minutes ago, Eirulan said:

I don't think this method works with WHDLoad zip files

Why wouldn't it? They're associated with the UUIDs in the FS-UAE database just like anything else. If you click on the dump drop-down menu it'll show all the known dumps, with configs for each.

4 minutes ago, Eirulan said:

in fact, you're doing the same here. You're just passing Launchbox a config, nothing else.

Right, except that in my case I'm directing the config in FS-UAE to a specific file in a specific folder for the corresponding game.

Link to comment
Share on other sites

6 minutes ago, Zombeaver said:

This is what I was asking. I've never actually scanned anything into FS-UAE.

Ah now I understand. Sure I have used the wrong wording, sorry, I'm no native-speaker :) What I mean is FS-UAE "knows" what you have, has "recognized" your game variants, indicated through this circle in front of a variant.

 

6 minutes ago, Zombeaver said:

Why wouldn't it? They're associated with the UUIDs in the FS-UAE database just like anything else. If you click on the dump drop-down menu it'll show all the known dumps, with configs for each.

Now this is in fact an issue on my side, I can't get my FS-UAE to recognize my WHDLoad zips, no matter what I'm doing... If your FS-UAE recognizes yours, then you're good to go, sure.

Link to comment
Share on other sites

8 minutes ago, Eirulan said:

I can't get my FS-UAE to recognize my WHDLoad zips, no matter what I'm doing

Really? There's practically no setup involved. Import your kickstarts into FS-UAE (which presumably you've already done) and then add Launcher.exe as the emulator in LB, and then the zips as roms in your LB library and that's literally it. I've used zips from KillerGorilla and WHDownload and, with only a couple exceptions, they've worked great. For me, this was the whole point in coming over from WinUAE in the first place. I'm using 2.7.15 development version.

Link to comment
Share on other sites

Yeah, I'm doing exactly this and they are working fine when I run them via Launchbox.

What I mean, the do not get recognized inside FS-UAE. That means, I cannot run them directly via FS-UAE by choosing them on the game's dropdown.

For example, I have this Agony WHDLoad:

dce8pjllfoku4pu8e.jpg

But in FS-UAE it's not recognized.

dce8s6auizoqmlyry.jpg

dce8sexpafl4ei6vi.jpg

It works when I pass the zip as a startup-parameter like through LB, so this is just a small issue.

 

Link to comment
Share on other sites

Hmm... then this may indeed not work for me. That's unfortunate :( The only thing I use with FS-UAE is WHDLoad zips.

One thing I notice in the Amiga GamesDB is that for .adf versions it has specific file names listed for each variant (in the file_list and floppy_list sections), but it does not for WHDLoad games. I wonder if that has anything to do with it.

Agony-01.JPGAgony-02.JPGI wonder if there's some way the zips could be renamed so that they'd be recognized.

Link to comment
Share on other sites

Seems like you have a different ROM-set. Mine consists of the original Amiga WHD images in lha archives, yours is in zip format with the amiga file structure.

I once tried to convert the zips to lha, but that doesn't work well because some of the files cannot be transferred perfectly (amiga file system vs. windows)

At that time I gave up and searched for the lha romset...

 

Link to comment
Share on other sites

@Eirulan do your zips contain lha files or a file/folder structure like I mentioned? If they're lha files then maybe what I have actually will work as is. Like I said, I've never actually scanned/imported any of my games into FS-UAE itself, I've just downloaded the databases, so I don't know whether or not what I have would be recognized (because I haven't tried yet).

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...