XL-Engine
XL-Engine copied to clipboard
Example xlgames.ini file?
I'd like to run XL-Engine with a copy of Dark Forces I bought off of steam, it's not clear whether that's possible (shouldn't there be gob and lfd loading code somewhere in here?).
I had to make a number of changes to get to the point where the xl engine runs, and these are in https://github.com/lucasw/XL-Engine/tree/return_fail - one thing I had to do was disable the vsync enable/disable call because it was crashing on my machine.
I couldn't find any example xlgames.ini so I created one from the source code:
https://github.com/lucasw/XL-Engine/blob/return_fail/xlgames.ini
ullscreen=1
immediateExit=0
showAllGames=1
uiGlow=0
colorCorrect=1
# setting this true crashes on Intel graphics adapter
# TODO try Radeon HD 8790M with DRI_PRIME
vsync=0
reduceCPU=0
launchGame=0
frameLimit=30
brightness=100
saturation=50
contrast=50
gamma=50
musicVolume=50
soundVolume=50
# gus, gravis, sf2
midiformat=gus
# TODO string type
patchloc="/etc/timidity/freepats.cfg"
# openGL 1.3
# openGL 2.0
# openGL 3.2
graphicsDevice=autodetect
windowScale=50
gameScale=50
gameCount=1
# TODO
# keyMapping=0
game0Name="Dark Forces"
# game0Lib= # don't have any .so files for Dark Forces
#game0Icon=""
game0Path="~/other/games/darkforces/gog_dark_forces/data"
The first time I ran it it triggered the creation of xlsettings.ini.
I get an error:
[Error]dlopen(Games/) failed, error: Games/.so: cannot open shared object file: No such file or directory
But I don't have a game0Lib
defined, because I don't have a .so file for this dos game (another clue this is not the code to DarkXL?).
Other errors
There are a number of sound effects that aren't in the repo:
No such file or directory : UI/Sounds/sub_bass_mouseover.wav
No such file or directory : UI/Sounds/echo_affirm.wav
No such file or directory : UI/Sounds/echo_affirm1.wav
No such file or directory : UI/Sounds/echo_deny.wav
Also a number of png files aren't present: computer.png, dashboard.png, joystick.png and others.
If I run without the game0Path I get a blank blue-gray screen with some text of the version number in the upper left. The code makes it look like the tilde ought to bring up a ui but it doesn't that kepress (or any keypress?).
This is using Ubuntu 16.04.
You do realize that this repo is for the launcher right? The game code itself (he calls them plugins) still haven't been posted.
Thanks for the work you've put into this however. :)
I put a lot of dummy pngs in place and got the GUI launcher up and running with those PNG files. Not too shabby, but sadly it is just the Launcher. To be fair, it sets up everything necessary for the game to run and likely passes them through to the games but those .so/.dll aren't available yet.
Klaso is working on helping to release DarkXL and DaggerXL sources.
Thanks for that explanation, this makes a lot more sense now.