Installer star-wars-the-force-unleashed-gog
custom-name: Star Wars - The Force Unleashed Ultimate Sith Edition - GOG files: - menu: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Star%20Wars%20-%20The%20Force%20Unleashed%20Ultimate%20Sith%20Edition/swtfu_gog.bat - wpp: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Star%20Wars%20-%20The%20Force%20Unleashed%20Ultimate%20Sith%20Edition/swtfu.bmp - config: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Star%20Wars%20-%20The%20Force%20Unleashed%20Ultimate%20Sith%20Edition/Config.xml - fix: filename: SWTFU_Fixed_Files.7z url: https://www.dropbox.com/s/svgytg5fnd0mwb3/SWTFU_Fixed_Files.7z?dl=1 - gnutils: https://github.com/legluondunet/mlls-tools/raw/master/sed/sed_win32.zip - inno: https://constexpr.org/innoextract/files/innoextract-1.9/innoextract-1.9-linux.tar.xz - gamesetup: N/A:Please select the Windows setup exe file downloaded from your GOG account. game: args: c:\\swtfu_gog.bat exe: drive_c/windows/syswow64/wineconsole.exe prefix: $GAMEDIR installer: - task: arch: win64 description: Preparing wineprefix... name: create_prefix prefix: $GAMEDIR - task: arch: win64 key: background name: set_regedit path: HKEY_CURRENT_USER\Control Panel\Colors\ prefix: $GAMEDIR type: REG_SZ value: 0 0 0 - task: arch: win64 key: ActiveTitle name: set_regedit path: HKEY_CURRENT_USER\Control Panel\Colors\ prefix: $GAMEDIR type: REG_SZ value: 0 0 0 - task: arch: win64 key: GradientActiveTitle name: set_regedit path: HKEY_CURRENT_USER\Control Panel\Colors\ prefix: $GAMEDIR type: REG_SZ value: 0 0 0 - extract: dst: $CACHE/innoextract file: inno - execute: args: --extract $gamesetup --output-dir "$GAMEDIR/drive_c/GOG Games" file: $CACHE/innoextract/innoextract - merge: dst: $GAMEDIR/drive_c/tmp/ src: config - extract: dst: $GAMEDIR/drive_c/GOG Games/app/LevelPacks/ file: fix - input_menu: description: 'Please choose your preferred game''s language:' id: LANG options: - en: English - fr: French - de: German - it: Italian - es: Spanish - pl: Polish - ru: Russian preselect: en - task: arch: win64 key: Language name: set_regedit path: HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\aspyr\star wars the force unleashed\ prefix: $GAMEDIR type: REG_SZ value: $INPUT_LANG - task: app: xact name: winetricks prefix: $GAMEDIR - extract: dst: $GAMEDIR/drive_c/tmp/ file: gnutils - merge: dst: $GAMEDIR/drive_c/ src: menu - merge: dst: $GAMEDIR/drive_c/ src: wpp - task: arch: win64 key: wallpaper name: set_regedit path: HKEY_CURRENT_USER\Control Panel\Desktop\ prefix: $GAMEDIR type: REG_SZ value: c:\\swtfu.bmp - execute: command: cd "$GAMEDIR/drive_c/tmp/"; sed -i -e "s/resolutionx/"$RESOLUTION_WIDTH"/g" -e "s/resolutiony/"$RESOLUTION_HEIGHT"/g" Config.xml; cd .. ; cd "GOG Games"; mv app "Star Wars - The Force Unleashed Ultimate Sith Edition"; wine: Desktop: true
description: '"Star Wars - The Force Unleashed Ultimate Sith Edition" provided by GOG using Lutris Wine runner.' game_slug: star-wars-the-force-unleashed gogslug: star_wars_the_force_unleashed_ultimate_sith_edition humblestoreid: '' installer_slug: star-wars-the-force-unleashed-gog name: 'Star Wars: The Force Unleashed Ultimate Sith Edition' notes: '- Multilanguage: you could choose menus/subtitles/cut scenes languages between English, French, German, Italian, Spanish, Polish and Russian.' runner: wine script: custom-name: Star Wars - The Force Unleashed Ultimate Sith Edition - GOG files: - menu: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Star%20Wars%20-%20The%20Force%20Unleashed%20Ultimate%20Sith%20Edition/swtfu_gog.bat - wpp: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Star%20Wars%20-%20The%20Force%20Unleashed%20Ultimate%20Sith%20Edition/swtfu.bmp - config: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Star%20Wars%20-%20The%20Force%20Unleashed%20Ultimate%20Sith%20Edition/Config.xml - fix: filename: SWTFU_Fixed_Files.7z url: https://www.dropbox.com/s/svgytg5fnd0mwb3/SWTFU_Fixed_Files.7z?dl=1 - gnutils: https://github.com/legluondunet/mlls-tools/raw/master/sed/sed_win32.zip - inno: https://constexpr.org/innoextract/files/innoextract-1.9/innoextract-1.9-linux.tar.xz - gamesetup: N/A:Please select the Windows setup exe file downloaded from your GOG account. game: args: c:\\swtfu_gog.bat exe: drive_c/windows/syswow64/wineconsole.exe prefix: $GAMEDIR installer: - task: arch: win64 description: Preparing wineprefix... name: create_prefix prefix: $GAMEDIR - task: arch: win64 key: background name: set_regedit path: HKEY_CURRENT_USER\Control Panel\Colors\ prefix: $GAMEDIR type: REG_SZ value: 0 0 0 - task: arch: win64 key: ActiveTitle name: set_regedit path: HKEY_CURRENT_USER\Control Panel\Colors\ prefix: $GAMEDIR type: REG_SZ value: 0 0 0 - task: arch: win64 key: GradientActiveTitle name: set_regedit path: HKEY_CURRENT_USER\Control Panel\Colors\ prefix: $GAMEDIR type: REG_SZ value: 0 0 0 - extract: dst: $CACHE/innoextract file: inno - execute: args: --extract $gamesetup --output-dir "$GAMEDIR/drive_c/GOG Games" file: $CACHE/innoextract/innoextract - merge: dst: $GAMEDIR/drive_c/tmp/ src: config - extract: dst: $GAMEDIR/drive_c/GOG Games/app/LevelPacks/ file: fix - input_menu: description: 'Please choose your preferred game''s language:' id: LANG options: - en: English - fr: French - de: German - it: Italian - es: Spanish - pl: Polish - ru: Russian preselect: en - task: arch: win64 key: Language name: set_regedit path: HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\aspyr\star wars the force unleashed\ prefix: $GAMEDIR type: REG_SZ value: $INPUT_LANG - task: app: xact name: winetricks prefix: $GAMEDIR - extract: dst: $GAMEDIR/drive_c/tmp/ file: gnutils - merge: dst: $GAMEDIR/drive_c/ src: menu - merge: dst: $GAMEDIR/drive_c/ src: wpp - task: arch: win64 key: wallpaper name: set_regedit path: HKEY_CURRENT_USER\Control Panel\Desktop\ prefix: $GAMEDIR type: REG_SZ value: c:\\swtfu.bmp - execute: command: cd "$GAMEDIR/drive_c/tmp/"; sed -i -e "s/resolutionx/"$RESOLUTION_WIDTH"/g" -e "s/resolutiony/"$RESOLUTION_HEIGHT"/g" Config.xml; cd .. ; cd "GOG Games"; mv app "Star Wars - The Force Unleashed Ultimate Sith Edition"; wine: Desktop: true slug: star-wars-the-force-unleashed-gog steamid: 32430 version: GOG year: 2009
{ "game_slug": "star-wars-the-force-unleashed", "version": "GOG", "description": "\"Star Wars - The Force Unleashed Ultimate Sith Edition\" provided by GOG using Lutris Wine runner.", "notes": "- Multilanguage: you could choose menus/subtitles/cut scenes languages between English, French, German, Italian, Spanish, Polish and Russian.", "name": "Star Wars: The Force Unleashed Ultimate Sith Edition", "year": 2009, "steamid": 32430, "gogslug": "star_wars_the_force_unleashed_ultimate_sith_edition", "humblestoreid": "", "runner": "wine", "slug": "star-wars-the-force-unleashed-gog", "installer_slug": "star-wars-the-force-unleashed-gog", "script": { "custom-name": "Star Wars - The Force Unleashed Ultimate Sith Edition - GOG", "files": [ { "menu": "https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Star%20Wars%20-%20The%20Force%20Unleashed%20Ultimate%20Sith%20Edition/swtfu_gog.bat" }, { "wpp": "https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Star%20Wars%20-%20The%20Force%20Unleashed%20Ultimate%20Sith%20Edition/swtfu.bmp" }, { "config": "https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Star%20Wars%20-%20The%20Force%20Unleashed%20Ultimate%20Sith%20Edition/Config.xml" }, { "fix": { "filename": "SWTFU_Fixed_Files.7z", "url": "https://www.dropbox.com/s/svgytg5fnd0mwb3/SWTFU_Fixed_Files.7z?dl=1" } }, { "gnutils": "https://github.com/legluondunet/mlls-tools/raw/master/sed/sed_win32.zip" }, { "inno": "https://constexpr.org/innoextract/files/innoextract-1.9/innoextract-1.9-linux.tar.xz" }, { "gamesetup": "N/A:Please select the Windows setup exe file downloaded from your GOG account." } ], "game": { "args": "c:\\\\swtfu_gog.bat", "exe": "drive_c/windows/syswow64/wineconsole.exe", "prefix": "$GAMEDIR" }, "installer": [ { "task": { "arch": "win64", "description": "Preparing wineprefix...", "name": "create_prefix", "prefix": "$GAMEDIR" } }, { "task": { "arch": "win64", "key": "background", "name": "set_regedit", "path": "HKEY_CURRENT_USER\\Control Panel\\Colors\\", "prefix": "$GAMEDIR", "type": "REG_SZ", "value": "0 0 0" } }, { "task": { "arch": "win64", "key": "ActiveTitle", "name": "set_regedit", "path": "HKEY_CURRENT_USER\\Control Panel\\Colors\\", "prefix": "$GAMEDIR", "type": "REG_SZ", "value": "0 0 0" } }, { "task": { "arch": "win64", "key": "GradientActiveTitle", "name": "set_regedit", "path": "HKEY_CURRENT_USER\\Control Panel\\Colors\\", "prefix": "$GAMEDIR", "type": "REG_SZ", "value": "0 0 0" } }, { "extract": { "dst": "$CACHE/innoextract", "file": "inno" } }, { "execute": { "args": "--extract $gamesetup --output-dir \"$GAMEDIR/drive_c/GOG Games\"", "file": "$CACHE/innoextract/innoextract" } }, { "merge": { "dst": "$GAMEDIR/drive_c/tmp/", "src": "config" } }, { "extract": { "dst": "$GAMEDIR/drive_c/GOG Games/app/LevelPacks/", "file": "fix" } }, { "input_menu": { "description": "Please choose your preferred game's language:", "id": "LANG", "options": [ { "en": "English" }, { "fr": "French" }, { "de": "German" }, { "it": "Italian" }, { "es": "Spanish" }, { "pl": "Polish" }, { "ru": "Russian" } ], "preselect": "en" } }, { "task": { "arch": "win64", "key": "Language", "name": "set_regedit", "path": "HKEY_LOCAL_MACHINE\\SOFTWARE\\Wow6432Node\\aspyr\\star wars the force unleashed\\", "prefix": "$GAMEDIR", "type": "REG_SZ", "value": "$INPUT_LANG" } }, { "task": { "app": "xact", "name": "winetricks", "prefix": "$GAMEDIR" } }, { "extract": { "dst": "$GAMEDIR/drive_c/tmp/", "file": "gnutils" } }, { "merge": { "dst": "$GAMEDIR/drive_c/", "src": "menu" } }, { "merge": { "dst": "$GAMEDIR/drive_c/", "src": "wpp" } }, { "task": { "arch": "win64", "key": "wallpaper", "name": "set_regedit", "path": "HKEY_CURRENT_USER\\Control Panel\\Desktop\\", "prefix": "$GAMEDIR", "type": "REG_SZ", "value": "c:\\\\swtfu.bmp" } }, { "execute": { "command": "cd \"$GAMEDIR/drive_c/tmp/\"; sed -i -e \"s/resolutionx/\"$RESOLUTION_WIDTH\"/g\" -e \"s/resolutiony/\"$RESOLUTION_HEIGHT\"/g\" Config.xml; cd .. ; cd \"GOG Games\"; mv app \"Star Wars - The Force Unleashed Ultimate Sith Edition\";" } } ], "wine": { "Desktop": true } } }