Skip to content
This repository was archived by the owner on May 5, 2020. It is now read-only.
This repository was archived by the owner on May 5, 2020. It is now read-only.

Example xlgames.ini file? #22

@lucasw

Description

@lucasw

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions