mmatyas / pegasus-frontend

A cross platform, customizable graphical frontend for launching emulators and managing your game collection.
http://pegasus-frontend.org
Other
1.25k stars 113 forks source link

Import Launchbox emulated games from a linux version of pegasus #798

Open jediafr opened 3 years ago

jediafr commented 3 years ago

Would it be possible to import Launchbox games from a linux version of pegasus ? (many compilations like Exodos, C64forever are created with LB windows but are relying on emulators that could run native to linux, the idea would be to import the LB setting and redirect the emulator towards the linux version through Pegasus). I could provide you with the various /data to improve support.

I have tentatively tried editing the /home/jda/.config/pegasus-frontend/settings.txt like this providers.launchbox.enabled true (that was a guess) providers.launchbox.installdir: /run/media/jda/Maxtor/Dock-file/eXoDOS_Lite

But my experiment doesnt work on the latest buld : pegasus-fe_alpha14-112-g539c5cc7_x11-static.zip Log : 2021-02-16T08:49:41 [w] /home/jda/.config/pegasus-frontend/settings.txt, line 11: line invalid, skipped 2021-02-16T08:49:41 [w] /home/jda/.config/pegasus-frontend/settings.txt, line 12: unrecognized option providers.launchbox.installdir, ignored

mmatyas commented 3 years ago

Hi, the LaunchBox support is not built into the Linux release because LaunchBox isn't officially available for Linux either. Other than that, the LaunchBox config files often contain absolute paths, so even if we read the files things like D:\retroarch\retroarch.exe won't really make sense in a Linux environment.

jediafr commented 3 years ago

I realise it is a very odd request, the LB author has excluded porting LB to Linux but he's committed to maintain LB working with Wine. (https://forums.launchbox-app.com/topic/56154-running-launchbox-and-big-box-on-linux/#comments)

Since you have a working parser for LB, i would think that pointing it to the LB directory (regardless of the system) would be possible witjh a minimum of codebase changes. (if not could i reboot on windows and get the precious metafile for modifications ?)

Importing those entries in Pegasus metafile would enable us to change the retroarch.exe into the /usr/bin/retroarch... (and probably other paths recquired via a big sed from us).

mmatyas commented 3 years ago

Last time I checked LB didn't work with Wine for me, but if there's indeed some intention for that from the authors, that might indeed worth looking into it again. Thanks for the link!

jediafr commented 3 years ago

Yeah i it is a bit tricky but i followed instructions in the thread and i can run it (exodos, eXoWin3x and le C64 curated). It is slow as hell but stable. Hence my request as it would speed things greatly and also make use of native emulators, thanks for keep your mind open about this !

HVR88 commented 3 years ago

Being able to convert exported data from LB for use in Linux/RPi would be a great feature. I run my main EMU system in Windows 10, but I also have a couple of RPi systems I'd like to use Pegasus on - including my on-going Arcade Bar-Top build.

polson commented 3 years ago

You could try using this project to export a metafile: https://github.com/spektor56/PegasusExportPlugin