files:
- setup: N/A:Select the Windows installer downloaded from GOG
game:
gogid: 1207659473
main_file: $GAMEDIR/dosbox_academy_lutris.conf
installer:
- extract:
description: Extract GOG installer
dst: $GAMEDIR
file: setup
- 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
c:
goto launcher
:launcher
cls
ECHO ------------------------------------------
ECHO Wing Commander: Academy
ECHO ------------------------------------------
ECHO 1) Wing Commander: Academy
ECHO 2) Game settings
ECHO 3) Sound options
ECHO ------------------------------------------
ECHO 4) Exit
ECHO ------------------------------------------
@choice /c1234 /s Choose option [1-4]: /n
if errorlevel 4 goto exit
if errorlevel 3 goto sound
if errorlevel 2 goto setup
if errorlevel 1 goto wca
:wca
cls
echo 1) Play
echo 2) Play with debug mode
echo 3) Return to launcher
echo.
@choice /c123 /s Choose option [1-3]: /n
if errorlevel = 3 goto launcher
if errorlevel = 2 goto debug
if errorlevel = 1 goto play
:play
cls
wca.exe
goto exit
:debug
cls
wca.exe ESRT -k
goto exit
:setup
cls
origin.exe
goto launcher
:sound
cls
echo.
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/dosbox_academy_lutris.conf"
echo r > WCA.CFG
cls
echo.
echo Completed!
echo.
pause
goto launcher
:sb16
cls
CONFIG -set "mididevice=auto"
CONFIG -writeconf "$GAMEDIR/dosbox_academy_lutris.conf"
echo a904 c27 > WCA.CFG
cls
echo.
echo Completed!
echo.
pause
goto launcher
:exit
exit'
file: $GAMEDIR/dosbox_academy_lutris.conf
description: Includes custom launcher interface for ease of use
game_slug: wing-commander-academy
gogslug: wing_commander_academy
humblestoreid: ''
installer_slug: wing-commander-academy-gog
name: 'Wing Commander: Academy'
notes: ''
runner: dosbox
script:
files:
- setup: N/A:Select the Windows installer downloaded from GOG
game:
gogid: 1207659473
main_file: $GAMEDIR/dosbox_academy_lutris.conf
installer:
- extract:
description: Extract GOG installer
dst: $GAMEDIR
file: setup
- 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
c:
goto launcher
:launcher
cls
ECHO ------------------------------------------
ECHO Wing Commander: Academy
ECHO ------------------------------------------
ECHO 1) Wing Commander: Academy
ECHO 2) Game settings
ECHO 3) Sound options
ECHO ------------------------------------------
ECHO 4) Exit
ECHO ------------------------------------------
@choice /c1234 /s Choose option [1-4]: /n
if errorlevel 4 goto exit
if errorlevel 3 goto sound
if errorlevel 2 goto setup
if errorlevel 1 goto wca
:wca
cls
echo 1) Play
echo 2) Play with debug mode
echo 3) Return to launcher
echo.
@choice /c123 /s Choose option [1-3]: /n
if errorlevel = 3 goto launcher
if errorlevel = 2 goto debug
if errorlevel = 1 goto play
:play
cls
wca.exe
goto exit
:debug
cls
wca.exe ESRT -k
goto exit
:setup
cls
origin.exe
goto launcher
:sound
cls
echo.
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/dosbox_academy_lutris.conf"
echo r > WCA.CFG
cls
echo.
echo Completed!
echo.
pause
goto launcher
:sb16
cls
CONFIG -set "mididevice=auto"
CONFIG -writeconf "$GAMEDIR/dosbox_academy_lutris.conf"
echo a904 c27 > WCA.CFG
cls
echo.
echo Completed!
echo.
pause
goto launcher
:exit
exit'
file: $GAMEDIR/dosbox_academy_lutris.conf
slug: wing-commander-academy-gog
steamid: null
version: GOG
year: 1993
{
"game_slug": "wing-commander-academy",
"version": "GOG",
"description": "Includes custom launcher interface for ease of use",
"notes": "",
"name": "Wing Commander: Academy",
"year": 1993,
"steamid": null,
"gogslug": "wing_commander_academy",
"humblestoreid": "",
"runner": "dosbox",
"slug": "wing-commander-academy-gog",
"installer_slug": "wing-commander-academy-gog",
"script": {
"files": [
{
"setup": "N/A:Select the Windows installer downloaded from GOG"
}
],
"game": {
"gogid": 1207659473,
"main_file": "$GAMEDIR/dosbox_academy_lutris.conf"
},
"installer": [
{
"extract": {
"description": "Extract GOG installer",
"dst": "$GAMEDIR",
"file": "setup"
}
},
{
"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\nc:\ngoto launcher\n:launcher\ncls\nECHO ------------------------------------------\nECHO Wing Commander: Academy\nECHO ------------------------------------------\nECHO 1) Wing Commander: Academy\nECHO 2) Game settings\nECHO 3) Sound options\nECHO ------------------------------------------\nECHO 4) Exit\nECHO ------------------------------------------\n@choice /c1234 /s Choose option [1-4]: /n\nif errorlevel 4 goto exit\nif errorlevel 3 goto sound\nif errorlevel 2 goto setup\nif errorlevel 1 goto wca\n:wca\ncls\necho 1) Play\necho 2) Play with debug mode\necho 3) Return to launcher\necho.\n@choice /c123 /s Choose option [1-3]: /n\nif errorlevel = 3 goto launcher\nif errorlevel = 2 goto debug\nif errorlevel = 1 goto play\n:play\ncls\nwca.exe\ngoto exit\n:debug\ncls\nwca.exe ESRT -k\ngoto exit\n:setup\ncls\norigin.exe\ngoto launcher\n:sound\ncls\necho.\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/dosbox_academy_lutris.conf\"\necho r > WCA.CFG\ncls\necho.\necho Completed!\necho.\npause\ngoto launcher\n:sb16\ncls\nCONFIG -set \"mididevice=auto\"\nCONFIG -writeconf \"$GAMEDIR/dosbox_academy_lutris.conf\"\necho a904 c27 > WCA.CFG\ncls\necho.\necho Completed!\necho.\npause\ngoto launcher\n:exit\nexit",
"file": "$GAMEDIR/dosbox_academy_lutris.conf"
}
}
]
}
}