Installer star-wars-the-force-unleashed-windows-steam-standa

custom-name: Star Wars - The Force Unleashed Ultimate Sith Edition - Windows Steam
  Standalone
files:
- steamsetup: https://steamcdn-a.akamaihd.net/client/installer/SteamSetup.exe
- menu: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Star%20Wars%20-%20The%20Force%20Unleashed%20Ultimate%20Sith%20Edition/swtfu_steam.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
game:
  args: c:\\swtfu_steam.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
- task:
    args: /S
    description: Installing Steam...
    executable: steamsetup
    name: wineexec
    prefix: $GAMEDIR
- task:
    app: d3dcompiler_47
    name: winetricks
    prefix: $GAMEDIR
- merge:
    dst: $GAMEDIR/drive_c/tmp/
    src: config
- extract:
    dst: $GAMEDIR/drive_c/tmp/swtfu_fixed_files
    file: fix
- 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
- task:
    arch: win64
    key: csmt
    name: set_regedit
    path: HKEY_CURRENT_USER\Software\Wine\Direct3D\
    prefix: $GAMEDIR
    type: REG_DWORD
    value: '00000000'
- execute:
    command: cd "$GAMEDIR/drive_c/tmp/"; sed -i -e "s/resolutionx/"$RESOLUTION_WIDTH"/g"
      -e "s/resolutiony/"$RESOLUTION_HEIGHT"/g" Config.xml;
wine:
  Desktop: true
description: "\r\n\"Star Wars - The Force Unleashed Ultimate Sith Edition\" provided\
  \ by Steam using Lutris Wine runner.\r\n\r\n"
game_slug: star-wars-the-force-unleashed
gogslug: star_wars_the_force_unleashed_ultimate_sith_edition
humblestoreid: ''
installer_slug: star-wars-the-force-unleashed-windows-steam-standa
name: 'Star Wars: The Force Unleashed Ultimate Sith Edition'
notes: "- Multilanguage: Once the game installed, you could choose menus/subtitles/cut\
  \ scenes languages between English, French, German, Italian, Spanish, Polish and\
  \ Russian.\r\n \r\n-- Steam is not fully usable, but it's not important, it's just\
  \ installed to launch the game."
runner: wine
script:
  custom-name: Star Wars - The Force Unleashed Ultimate Sith Edition - Windows Steam
    Standalone
  files:
  - steamsetup: https://steamcdn-a.akamaihd.net/client/installer/SteamSetup.exe
  - menu: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Star%20Wars%20-%20The%20Force%20Unleashed%20Ultimate%20Sith%20Edition/swtfu_steam.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
  game:
    args: c:\\swtfu_steam.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
  - task:
      args: /S
      description: Installing Steam...
      executable: steamsetup
      name: wineexec
      prefix: $GAMEDIR
  - task:
      app: d3dcompiler_47
      name: winetricks
      prefix: $GAMEDIR
  - merge:
      dst: $GAMEDIR/drive_c/tmp/
      src: config
  - extract:
      dst: $GAMEDIR/drive_c/tmp/swtfu_fixed_files
      file: fix
  - 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
  - task:
      arch: win64
      key: csmt
      name: set_regedit
      path: HKEY_CURRENT_USER\Software\Wine\Direct3D\
      prefix: $GAMEDIR
      type: REG_DWORD
      value: '00000000'
  - execute:
      command: cd "$GAMEDIR/drive_c/tmp/"; sed -i -e "s/resolutionx/"$RESOLUTION_WIDTH"/g"
        -e "s/resolutiony/"$RESOLUTION_HEIGHT"/g" Config.xml;
  wine:
    Desktop: true
slug: star-wars-the-force-unleashed-windows-steam-standa
steamid: 32430
version: Windows Steam Standalone
year: 2009
{
  "game_slug": "star-wars-the-force-unleashed",
  "version": "Windows Steam Standalone",
  "description": "\r\n\"Star Wars - The Force Unleashed Ultimate Sith Edition\" provided by Steam using Lutris Wine runner.\r\n\r\n",
  "notes": "- Multilanguage: Once the game installed, you could choose menus/subtitles/cut scenes languages between English, French, German, Italian, Spanish, Polish and Russian.\r\n \r\n-- Steam is not fully usable, but it's not important, it's just installed to launch the game.",
  "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-windows-steam-standa",
  "installer_slug": "star-wars-the-force-unleashed-windows-steam-standa",
  "script": {
    "custom-name": "Star Wars - The Force Unleashed Ultimate Sith Edition - Windows Steam Standalone",
    "files": [
      {
        "steamsetup": "https://steamcdn-a.akamaihd.net/client/installer/SteamSetup.exe"
      },
      {
        "menu": "https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Star%20Wars%20-%20The%20Force%20Unleashed%20Ultimate%20Sith%20Edition/swtfu_steam.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"
      }
    ],
    "game": {
      "args": "c:\\\\swtfu_steam.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"
        }
      },
      {
        "task": {
          "args": "/S",
          "description": "Installing Steam...",
          "executable": "steamsetup",
          "name": "wineexec",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "app": "d3dcompiler_47",
          "name": "winetricks",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR/drive_c/tmp/",
          "src": "config"
        }
      },
      {
        "extract": {
          "dst": "$GAMEDIR/drive_c/tmp/swtfu_fixed_files",
          "file": "fix"
        }
      },
      {
        "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"
        }
      },
      {
        "task": {
          "arch": "win64",
          "key": "csmt",
          "name": "set_regedit",
          "path": "HKEY_CURRENT_USER\\Software\\Wine\\Direct3D\\",
          "prefix": "$GAMEDIR",
          "type": "REG_DWORD",
          "value": "00000000"
        }
      },
      {
        "execute": {
          "command": "cd \"$GAMEDIR/drive_c/tmp/\"; sed -i -e \"s/resolutionx/\"$RESOLUTION_WIDTH\"/g\" -e \"s/resolutiony/\"$RESOLUTION_HEIGHT\"/g\" Config.xml;"
        }
      }
    ],
    "wine": {
      "Desktop": true
    }
  }
}
Back to game