files:
- setup: N/A:Select the Windows installer downloaded from GOG
game:
gogid: 1207658938
main_file: $GAMEDIR/dosboxPRIV_lutris.conf
installer:
- extract:
dst: $GAMEDIR
file: setup
- copy:
description: Move GOG files to $GAMEDIR
dst: $GAMEDIR
src: $GAMEDIR/__support/app
- write_file:
content: '[sdl]
fullscreen = true
fullresolution = desktop
output = openglpp
[cpu]
core = auto
cputype = auto
cycles = fixed 8000
cycleup = 1000
cycledown = 1000
[autoexec]
@echo off
mount C "$GAMEDIR" -t dir
mount C "$GAMEDIR/cloud_saves" -t overlay
imgmount d "$GAMEDIR/GAME.GOG" -t iso -fs iso
c:
goto launcher
:launcher
cls
ECHO ------------------------------------------
ECHO Wing Commander: Privateer
ECHO ------------------------------------------
ECHO 1) Privateer
ECHO 2) Privateer: Righteous Fire
ECHO 3) Game settings
ECHO 4) Sound options
ECHO ------------------------------------------
ECHO 5) Exit
ECHO ------------------------------------------
@choice /c12345 /s Choose option [1-5]: /n
if errorlevel 5 goto exit
if errorlevel 4 goto sound
if errorlevel 3 goto setup
if errorlevel 2 goto rf
if errorlevel 1 goto priv
:priv
cls
priv.exe
goto exit
:rf
cls
priv.exe r
goto exit
:setup
cls
INSTALL.EXE
goto launcher
:sound
cls
echo.
echo 1) Set to Roland MT-32 / MIDI
echo 2) Set to Soundblaster 16 (default)
echo 3) Return to launcher
echo.
choice /C:123 /N Choose option [1-3]:
if errorlevel = 3 goto launcher
if errorlevel = 2 goto sb16
if errorlevel = 1 goto mt32
:mt32
cls
echo.
echo Note: Please edit your global DOSBox configuration file to point to the
location of
echo the Roland MT-32 ROM files. See https://github.com/dosbox-staging/dosbox-staging/wiki/MIDI
echo.
echo Setting to Roland MT-32 after pressing a key.
echo.
pause
cls
CONFIG -set "mididevice=mt32"
CONFIG -writeconf "$GAMEDIR/dosboxPRIV_lutris.conf"
echo 3 1 > SOUND.CFG
echo 816 7 -1 -1 >> SOUND.CFG
echo 544 7 1 -1 >> SOUND.CFG
echo 0 0 >> SOUND.CFG
cls
echo.
echo Completed!
echo.
pause
goto launcher
:sb16
cls
CONFIG -set "mididevice=auto"
CONFIG -writeconf "$GAMEDIR/dosboxPRIV_lutris.conf"
echo 2 1 > SOUND.CFG
echo 904 7 -1 -1 >> SOUND.CFG
echo 544 7 1 -1 >> SOUND.CFG
echo 2 0 >> SOUND.CFG
cls
echo.
echo Completed!
echo.
pause
goto launcher
:exit
exit'
file: $GAMEDIR/dosboxPRIV_lutris.conf
description: Includes custom launcher interface for ease of use
game_slug: wing-commander-privateer
gogslug: wing_commander_privateer
humblestoreid: ''
installer_slug: wing-commander-privateer-gog
name: 'Wing Commander : Privateer'
notes: ''
runner: dosbox
script:
files:
- setup: N/A:Select the Windows installer downloaded from GOG
game:
gogid: 1207658938
main_file: $GAMEDIR/dosboxPRIV_lutris.conf
installer:
- extract:
dst: $GAMEDIR
file: setup
- copy:
description: Move GOG files to $GAMEDIR
dst: $GAMEDIR
src: $GAMEDIR/__support/app
- write_file:
content: '[sdl]
fullscreen = true
fullresolution = desktop
output = openglpp
[cpu]
core = auto
cputype = auto
cycles = fixed 8000
cycleup = 1000
cycledown = 1000
[autoexec]
@echo off
mount C "$GAMEDIR" -t dir
mount C "$GAMEDIR/cloud_saves" -t overlay
imgmount d "$GAMEDIR/GAME.GOG" -t iso -fs iso
c:
goto launcher
:launcher
cls
ECHO ------------------------------------------
ECHO Wing Commander: Privateer
ECHO ------------------------------------------
ECHO 1) Privateer
ECHO 2) Privateer: Righteous Fire
ECHO 3) Game settings
ECHO 4) Sound options
ECHO ------------------------------------------
ECHO 5) Exit
ECHO ------------------------------------------
@choice /c12345 /s Choose option [1-5]: /n
if errorlevel 5 goto exit
if errorlevel 4 goto sound
if errorlevel 3 goto setup
if errorlevel 2 goto rf
if errorlevel 1 goto priv
:priv
cls
priv.exe
goto exit
:rf
cls
priv.exe r
goto exit
:setup
cls
INSTALL.EXE
goto launcher
:sound
cls
echo.
echo 1) Set to Roland MT-32 / MIDI
echo 2) Set to Soundblaster 16 (default)
echo 3) Return to launcher
echo.
choice /C:123 /N Choose option [1-3]:
if errorlevel = 3 goto launcher
if errorlevel = 2 goto sb16
if errorlevel = 1 goto mt32
:mt32
cls
echo.
echo Note: Please edit your global DOSBox configuration file to point to the
location of
echo the Roland MT-32 ROM files. See https://github.com/dosbox-staging/dosbox-staging/wiki/MIDI
echo.
echo Setting to Roland MT-32 after pressing a key.
echo.
pause
cls
CONFIG -set "mididevice=mt32"
CONFIG -writeconf "$GAMEDIR/dosboxPRIV_lutris.conf"
echo 3 1 > SOUND.CFG
echo 816 7 -1 -1 >> SOUND.CFG
echo 544 7 1 -1 >> SOUND.CFG
echo 0 0 >> SOUND.CFG
cls
echo.
echo Completed!
echo.
pause
goto launcher
:sb16
cls
CONFIG -set "mididevice=auto"
CONFIG -writeconf "$GAMEDIR/dosboxPRIV_lutris.conf"
echo 2 1 > SOUND.CFG
echo 904 7 -1 -1 >> SOUND.CFG
echo 544 7 1 -1 >> SOUND.CFG
echo 2 0 >> SOUND.CFG
cls
echo.
echo Completed!
echo.
pause
goto launcher
:exit
exit'
file: $GAMEDIR/dosboxPRIV_lutris.conf
slug: wing-commander-privateer-gog
steamid: null
version: GOG
year: 1993
{
"game_slug": "wing-commander-privateer",
"version": "GOG",
"description": "Includes custom launcher interface for ease of use",
"notes": "",
"name": "Wing Commander : Privateer",
"year": 1993,
"steamid": null,
"gogslug": "wing_commander_privateer",
"humblestoreid": "",
"runner": "dosbox",
"slug": "wing-commander-privateer-gog",
"installer_slug": "wing-commander-privateer-gog",
"script": {
"files": [
{
"setup": "N/A:Select the Windows installer downloaded from GOG"
}
],
"game": {
"gogid": 1207658938,
"main_file": "$GAMEDIR/dosboxPRIV_lutris.conf"
},
"installer": [
{
"extract": {
"dst": "$GAMEDIR",
"file": "setup"
}
},
{
"copy": {
"description": "Move GOG files to $GAMEDIR",
"dst": "$GAMEDIR",
"src": "$GAMEDIR/__support/app"
}
},
{
"write_file": {
"content": "[sdl]\nfullscreen = true\nfullresolution = desktop\noutput = openglpp\n\n\n[cpu]\ncore = auto\ncputype = auto\ncycles = fixed 8000\ncycleup = 1000\ncycledown = 1000\n\n\n[autoexec]\n@echo off\nmount C \"$GAMEDIR\" -t dir\nmount C \"$GAMEDIR/cloud_saves\" -t overlay\nimgmount d \"$GAMEDIR/GAME.GOG\" -t iso -fs iso\nc:\ngoto launcher\n:launcher\ncls\nECHO ------------------------------------------\nECHO Wing Commander: Privateer\nECHO ------------------------------------------\nECHO 1) Privateer\nECHO 2) Privateer: Righteous Fire\nECHO 3) Game settings\nECHO 4) Sound options\nECHO ------------------------------------------\nECHO 5) Exit\nECHO ------------------------------------------\n@choice /c12345 /s Choose option [1-5]: /n\nif errorlevel 5 goto exit\nif errorlevel 4 goto sound\nif errorlevel 3 goto setup\nif errorlevel 2 goto rf\nif errorlevel 1 goto priv\n:priv\ncls\npriv.exe\ngoto exit\n:rf\ncls\npriv.exe r\ngoto exit\n:setup\ncls\nINSTALL.EXE\ngoto launcher\n:sound\ncls\necho.\necho 1) Set to Roland MT-32 / MIDI\necho 2) Set to Soundblaster 16 (default)\necho 3) Return to launcher\necho.\nchoice /C:123 /N Choose option [1-3]:\nif errorlevel = 3 goto launcher\nif errorlevel = 2 goto sb16\nif errorlevel = 1 goto mt32\n:mt32\ncls\necho.\necho Note: Please edit your global DOSBox configuration file to point to the location of\necho the Roland MT-32 ROM files. See https://github.com/dosbox-staging/dosbox-staging/wiki/MIDI\necho.\necho Setting to Roland MT-32 after pressing a key.\necho.\npause\ncls\nCONFIG -set \"mididevice=mt32\"\nCONFIG -writeconf \"$GAMEDIR/dosboxPRIV_lutris.conf\"\necho 3 1 > SOUND.CFG\necho 816 7 -1 -1 >> SOUND.CFG\necho 544 7 1 -1 >> SOUND.CFG\necho 0 0 >> SOUND.CFG\ncls\necho.\necho Completed!\necho.\npause\ngoto launcher\n:sb16\ncls\nCONFIG -set \"mididevice=auto\"\nCONFIG -writeconf \"$GAMEDIR/dosboxPRIV_lutris.conf\"\necho 2 1 > SOUND.CFG\necho 904 7 -1 -1 >> SOUND.CFG\necho 544 7 1 -1 >> SOUND.CFG\necho 2 0 >> SOUND.CFG\ncls\necho.\necho Completed!\necho.\npause\ngoto launcher\n:exit\nexit",
"file": "$GAMEDIR/dosboxPRIV_lutris.conf"
}
}
]
}
}