files:
- setup: N/A:Select the Windows installer downloaded from GOG
game:
gogid: 1207662653
main_file: $GAMEDIR/dosboxWC2_lutris.conf
installer:
- extract:
description: Extract GOG installer
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 = 4000
cycleup = 1000
cycledown = 1000
[sblaster]
sbtype = sb16
sbbase = 220
irq = 5
dma = 1
[autoexec]
@echo off
mount C "$GAMEDIR" -t dir
mount C "$GAMEDIR/cloud_saves" -t overlay
c:
goto launcher
:launcher
cls
ECHO ------------------------------------------
ECHO Wing Commander II
ECHO ------------------------------------------
ECHO 1) Wing Commander II: Vengeance of the Kilrathi
ECHO 2) Wing Commander II: Special Operations 1
ECHO 3) Wing Commander II: Special Operations 2
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 s02
if errorlevel 2 goto s01
if errorlevel 1 goto wc2
:wc2
cls
echo 1) Play
echo 2) Play with debug mode
echo 3) Play with invincibility & debug mode
echo 4) Return to launcher
echo.
@choice /c1234 /s Choose option [1-4]: /n
if errorlevel = 4 goto launcher
if errorlevel = 3 goto invinc
if errorlevel = 2 goto debug
if errorlevel = 1 goto play
:play
cls
loadfix -32 wc2.exe
goto exit
:debug
cls
loadfix -32 wc2.exe Origin
goto exit
:invinc
cls
loadfix -32 wc2.exe Origin -k
goto exit
:s01
cls
echo 1) Play
echo 2) Play with debug mode
echo 3) Play with invincibility & debug mode
echo 4) Return to launcher
echo.
@choice /c1234 /s Choose option [1-4]: /n
if errorlevel = 4 goto launcher
if errorlevel = 3 goto invincso1
if errorlevel = 2 goto debugso1
if errorlevel = 1 goto playso1
:playso1
cls
loadfix -32 so1.exe
goto exit
:debugso1
cls
loadfix -32 so1.exe Origin
goto exit
:invincso1
cls
loadfix -32 so1.exe Origin -k
goto exit
:s02
cls
echo 1) Play
echo 2) Play with debug mode
echo 3) Play with invincibility & debug mode
echo 4) Return to launcher
echo.
@choice /c1234 /s Choose option [1-4]: /n
if errorlevel = 4 goto launcher
if errorlevel = 3 goto invincso2
if errorlevel = 2 goto debugso2
if errorlevel = 1 goto playso2
:playso2
cls
loadfix -32 so2.exe
goto exit
:debugso2
cls
loadfix -32 so2.exe Origin
goto exit
:invincso2
cls
loadfix -32 so2.exe Origin -k
goto exit
:sound
cls
echo.
echo 1) Set to Roland MT-32
echo 2) Set to Soundblaster 16 (default)
echo 3) Return to launcher
echo.
@choice /c123 /s Choose option [1-3]: /n
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/dosboxWC2_lutris.conf"
echo v r c25 d1 > WC2.CFG
cls
echo.
echo Completed!
echo.
pause
goto launcher
:sb16
cls
CONFIG -set "mididevice=auto"
CONFIG -writeconf "$GAMEDIR/dosboxWC2_lutris.conf"
echo v a904 c25 d1 > WC2.CFG
cls
echo.
echo Completed!
echo.
pause
goto launcher
:exit
exit'
file: $GAMEDIR/dosboxWC2_lutris.conf
description: Includes custom launcher interface for ease of use
game_slug: wing-commander-ii-deluxe-edition
gogslug: wing_commander_1_2
humblestoreid: ''
installer_slug: wing-commander-ii-deluxe-edit-gog
name: 'Wing Commander II: Deluxe Edition'
notes: ''
runner: dosbox
script:
files:
- setup: N/A:Select the Windows installer downloaded from GOG
game:
gogid: 1207662653
main_file: $GAMEDIR/dosboxWC2_lutris.conf
installer:
- extract:
description: Extract GOG installer
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 = 4000
cycleup = 1000
cycledown = 1000
[sblaster]
sbtype = sb16
sbbase = 220
irq = 5
dma = 1
[autoexec]
@echo off
mount C "$GAMEDIR" -t dir
mount C "$GAMEDIR/cloud_saves" -t overlay
c:
goto launcher
:launcher
cls
ECHO ------------------------------------------
ECHO Wing Commander II
ECHO ------------------------------------------
ECHO 1) Wing Commander II: Vengeance of the Kilrathi
ECHO 2) Wing Commander II: Special Operations 1
ECHO 3) Wing Commander II: Special Operations 2
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 s02
if errorlevel 2 goto s01
if errorlevel 1 goto wc2
:wc2
cls
echo 1) Play
echo 2) Play with debug mode
echo 3) Play with invincibility & debug mode
echo 4) Return to launcher
echo.
@choice /c1234 /s Choose option [1-4]: /n
if errorlevel = 4 goto launcher
if errorlevel = 3 goto invinc
if errorlevel = 2 goto debug
if errorlevel = 1 goto play
:play
cls
loadfix -32 wc2.exe
goto exit
:debug
cls
loadfix -32 wc2.exe Origin
goto exit
:invinc
cls
loadfix -32 wc2.exe Origin -k
goto exit
:s01
cls
echo 1) Play
echo 2) Play with debug mode
echo 3) Play with invincibility & debug mode
echo 4) Return to launcher
echo.
@choice /c1234 /s Choose option [1-4]: /n
if errorlevel = 4 goto launcher
if errorlevel = 3 goto invincso1
if errorlevel = 2 goto debugso1
if errorlevel = 1 goto playso1
:playso1
cls
loadfix -32 so1.exe
goto exit
:debugso1
cls
loadfix -32 so1.exe Origin
goto exit
:invincso1
cls
loadfix -32 so1.exe Origin -k
goto exit
:s02
cls
echo 1) Play
echo 2) Play with debug mode
echo 3) Play with invincibility & debug mode
echo 4) Return to launcher
echo.
@choice /c1234 /s Choose option [1-4]: /n
if errorlevel = 4 goto launcher
if errorlevel = 3 goto invincso2
if errorlevel = 2 goto debugso2
if errorlevel = 1 goto playso2
:playso2
cls
loadfix -32 so2.exe
goto exit
:debugso2
cls
loadfix -32 so2.exe Origin
goto exit
:invincso2
cls
loadfix -32 so2.exe Origin -k
goto exit
:sound
cls
echo.
echo 1) Set to Roland MT-32
echo 2) Set to Soundblaster 16 (default)
echo 3) Return to launcher
echo.
@choice /c123 /s Choose option [1-3]: /n
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/dosboxWC2_lutris.conf"
echo v r c25 d1 > WC2.CFG
cls
echo.
echo Completed!
echo.
pause
goto launcher
:sb16
cls
CONFIG -set "mididevice=auto"
CONFIG -writeconf "$GAMEDIR/dosboxWC2_lutris.conf"
echo v a904 c25 d1 > WC2.CFG
cls
echo.
echo Completed!
echo.
pause
goto launcher
:exit
exit'
file: $GAMEDIR/dosboxWC2_lutris.conf
slug: wing-commander-ii-deluxe-edit-gog
steamid: null
version: GOG
year: 1991
{
"game_slug": "wing-commander-ii-deluxe-edition",
"version": "GOG",
"description": "Includes custom launcher interface for ease of use",
"notes": "",
"name": "Wing Commander II: Deluxe Edition",
"year": 1991,
"steamid": null,
"gogslug": "wing_commander_1_2",
"humblestoreid": "",
"runner": "dosbox",
"slug": "wing-commander-ii-deluxe-edit-gog",
"installer_slug": "wing-commander-ii-deluxe-edit-gog",
"script": {
"files": [
{
"setup": "N/A:Select the Windows installer downloaded from GOG"
}
],
"game": {
"gogid": 1207662653,
"main_file": "$GAMEDIR/dosboxWC2_lutris.conf"
},
"installer": [
{
"extract": {
"description": "Extract GOG installer",
"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 = 4000\ncycleup = 1000\ncycledown = 1000\n\n\n[sblaster]\nsbtype = sb16\nsbbase = 220\nirq = 5\ndma = 1\n\n\n[autoexec]\n@echo off\nmount C \"$GAMEDIR\" -t dir\nmount C \"$GAMEDIR/cloud_saves\" -t overlay\nc:\ngoto launcher\n:launcher\ncls\nECHO ------------------------------------------\nECHO Wing Commander II\nECHO ------------------------------------------\nECHO 1) Wing Commander II: Vengeance of the Kilrathi\nECHO 2) Wing Commander II: Special Operations 1\nECHO 3) Wing Commander II: Special Operations 2\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 s02\nif errorlevel 2 goto s01\nif errorlevel 1 goto wc2\n:wc2\ncls\necho 1) Play\necho 2) Play with debug mode\necho 3) Play with invincibility & debug mode\necho 4) Return to launcher\necho.\n@choice /c1234 /s Choose option [1-4]: /n\nif errorlevel = 4 goto launcher\nif errorlevel = 3 goto invinc\nif errorlevel = 2 goto debug\nif errorlevel = 1 goto play\n:play\ncls\nloadfix -32 wc2.exe\ngoto exit\n:debug\ncls\nloadfix -32 wc2.exe Origin\ngoto exit\n:invinc\ncls\nloadfix -32 wc2.exe Origin -k\ngoto exit\n:s01\ncls\necho 1) Play\necho 2) Play with debug mode\necho 3) Play with invincibility & debug mode\necho 4) Return to launcher\necho.\n@choice /c1234 /s Choose option [1-4]: /n\nif errorlevel = 4 goto launcher\nif errorlevel = 3 goto invincso1\nif errorlevel = 2 goto debugso1\nif errorlevel = 1 goto playso1\n:playso1\ncls\nloadfix -32 so1.exe\ngoto exit\n:debugso1\ncls\nloadfix -32 so1.exe Origin\ngoto exit\n:invincso1\ncls\nloadfix -32 so1.exe Origin -k\ngoto exit\n:s02\ncls\necho 1) Play\necho 2) Play with debug mode\necho 3) Play with invincibility & debug mode\necho 4) Return to launcher\necho.\n@choice /c1234 /s Choose option [1-4]: /n\nif errorlevel = 4 goto launcher\nif errorlevel = 3 goto invincso2\nif errorlevel = 2 goto debugso2\nif errorlevel = 1 goto playso2\n:playso2\ncls\nloadfix -32 so2.exe\ngoto exit\n:debugso2\ncls\nloadfix -32 so2.exe Origin\ngoto exit\n:invincso2\ncls\nloadfix -32 so2.exe Origin -k\ngoto exit\n:sound\ncls\necho.\necho 1) Set to Roland MT-32\necho 2) Set to Soundblaster 16 (default)\necho 3) Return to launcher\necho.\n@choice /c123 /s Choose option [1-3]: /n\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/dosboxWC2_lutris.conf\"\necho v r c25 d1 > WC2.CFG\ncls\necho.\necho Completed!\necho.\npause\ngoto launcher\n:sb16\ncls\nCONFIG -set \"mididevice=auto\"\nCONFIG -writeconf \"$GAMEDIR/dosboxWC2_lutris.conf\"\necho v a904 c25 d1 > WC2.CFG\ncls\necho.\necho Completed!\necho.\npause\ngoto launcher\n:exit\nexit",
"file": "$GAMEDIR/dosboxWC2_lutris.conf"
}
}
]
}
}