Installer unreal-tournament-2004-gog-linux-x64

files:
- gogsetup: N/A:Please select the game's setup Windows exe file downloaded from GOG.
- linuxversion: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Unreal%20Tournament%202004/ut2004_linux.tar.xz
game:
  exe: Unreal Tournament 2004/System/ut2004-bin-linux-amd64
installer:
- extract:
    dst: $GAMEDIR/Unreal Tournament 2004
    file: gogsetup
    format: gog
- merge:
    dst: $GAMEDIR/Unreal Tournament 2004
    src: $GAMEDIR/Unreal Tournament 2004/__support/app
- merge:
    dst: $GAMEDIR/Unreal Tournament 2004
    src: $GAMEDIR/Unreal Tournament 2004/app
- extract:
    dst: $GAMEDIR/Unreal Tournament 2004
    file: linuxversion
- chmodx: $GAMEDIR/Unreal Tournament 2004/System/ut2004-bin-linux-amd64
- input_menu:
    description: 'Choose your game''s language:'
    id: LANG
    options:
    - int: English
    - frt: French
    - det: German
    - itt: Italian
    - est: Spanish
    preselect: int
- write_config:
    data:
      Engine.Engine:
        Language: $INPUT_LANG
        RenderDevice: OpenGLDrv.OpenGLRenderDevice
      FirstRun:
        FirstRun: 3369
      OpenGLDrv.OpenGLRenderDevice:
        ReduceMouseLag: true
      SDLDrv.SDLClient:
        FullscreenColorBits: 32
        FullscreenViewportX: $RESOLUTION_WIDTH
        FullscreenViewportY: $RESOLUTION_HEIGHT
        TextureDetailLightmap: Higher
        TextureDetailPlayerSkin: Higher
        TextureDetailRenderMap: Higher
        TextureDetailTerrain: Higher
        TextureDetailWeaponSkin: Higher
        TextureDetailWorld: Higher
        WindowedColorBits: 32
        WindowedViewportX: $RESOLUTION_WIDTH
        WindowedViewportY: $RESOLUTION_HEIGHT
      WinDrv.WindowsClient:
        FullscreenColorBits: 32
        FullscreenViewportX: $RESOLUTION_WIDTH
        FullscreenViewportY: $RESOLUTION_HEIGHT
        TextureDetailLightmap: Higher
        TextureDetailPlayerSkin: Higher
        TextureDetailRenderMap: Higher
        TextureDetailTerrain: Higher
        TextureDetailWeaponSkin: Higher
        TextureDetailWorld: Higher
        WindowedColorBits: 32
        WindowedViewportX: $RESOLUTION_WIDTH
        WindowedViewportY: $RESOLUTION_HEIGHT
    file: $GAMEDIR/Unreal Tournament 2004/System/Default.ini
    merge: true
- write_config:
    data:
      Engine.PlayerController:
        DefaultFOV: 106.2602
        DesiredFOV: 106.2602
        FOVAngle: 106.2602
    file: $GAMEDIR/Unreal Tournament 2004/System/DefUser.ini
- write_file:
    content: 3QHVC-DHA9K-A84RE-KYRT4
    file: $GAMEDIR/Unreal Tournament 2004/System/cdkey
- move:
    dst: $CACHE
    src: $GAMEDIR/Unreal Tournament 2004/System/User.ini
- execute:
    command: cd "$GAMEDIR/Unreal Tournament 2004/System"; sed -i -e s/ut2004master1.epicgames.com/ut2004master.333networks.com/g
      -e s/ut2004master2.epicgames.com/ut2004master.errorist.eu/g Default.ini;
system:
  gamescope: null
  gamescope_game_res: $RESOLUTION
  gamescope_output_res: $RESOLUTION
description: Play "Unreal Tournament 2004" provided by GOG on Linux
game_slug: unreal-tournament-2004
gogslug: ultra_pack_deluxe_turbo_hd_remix_vol2
humblestoreid: ''
installer_slug: unreal-tournament-2004-gog-linux-x64
name: Unreal Tournament 2004
notes: "- Native x64 Linux version\r\n- This script installer will automagically set\
  \ the game to your desktop resolution with widescreen mode\r\n- press \"~\" key\
  \ to show console\r\n- Multilingual: you will be able to choose your preferred language\
  \ for menus, subtitles and voices during installation between English (default),\
  \ French, German, Italian and Spanish\r\n- Play UT2004 online with 333networks masterserver\r\
  \n- You can not alt+tab. Workaround: use Gamescope\r\n- Game could crash if you\
  \ click on a web link\r\n- Use Mangohud or libstrangle to limit fps. For example:\
  \ \r\nMANGOHUD_CONFIG=\"fps_limit=60\" mangohud --dlsym ./ut2004-bin-linux-amd64"
runner: linux
script:
  files:
  - gogsetup: N/A:Please select the game's setup Windows exe file downloaded from
      GOG.
  - linuxversion: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Unreal%20Tournament%202004/ut2004_linux.tar.xz
  game:
    exe: Unreal Tournament 2004/System/ut2004-bin-linux-amd64
  installer:
  - extract:
      dst: $GAMEDIR/Unreal Tournament 2004
      file: gogsetup
      format: gog
  - merge:
      dst: $GAMEDIR/Unreal Tournament 2004
      src: $GAMEDIR/Unreal Tournament 2004/__support/app
  - merge:
      dst: $GAMEDIR/Unreal Tournament 2004
      src: $GAMEDIR/Unreal Tournament 2004/app
  - extract:
      dst: $GAMEDIR/Unreal Tournament 2004
      file: linuxversion
  - chmodx: $GAMEDIR/Unreal Tournament 2004/System/ut2004-bin-linux-amd64
  - input_menu:
      description: 'Choose your game''s language:'
      id: LANG
      options:
      - int: English
      - frt: French
      - det: German
      - itt: Italian
      - est: Spanish
      preselect: int
  - write_config:
      data:
        Engine.Engine:
          Language: $INPUT_LANG
          RenderDevice: OpenGLDrv.OpenGLRenderDevice
        FirstRun:
          FirstRun: 3369
        OpenGLDrv.OpenGLRenderDevice:
          ReduceMouseLag: true
        SDLDrv.SDLClient:
          FullscreenColorBits: 32
          FullscreenViewportX: $RESOLUTION_WIDTH
          FullscreenViewportY: $RESOLUTION_HEIGHT
          TextureDetailLightmap: Higher
          TextureDetailPlayerSkin: Higher
          TextureDetailRenderMap: Higher
          TextureDetailTerrain: Higher
          TextureDetailWeaponSkin: Higher
          TextureDetailWorld: Higher
          WindowedColorBits: 32
          WindowedViewportX: $RESOLUTION_WIDTH
          WindowedViewportY: $RESOLUTION_HEIGHT
        WinDrv.WindowsClient:
          FullscreenColorBits: 32
          FullscreenViewportX: $RESOLUTION_WIDTH
          FullscreenViewportY: $RESOLUTION_HEIGHT
          TextureDetailLightmap: Higher
          TextureDetailPlayerSkin: Higher
          TextureDetailRenderMap: Higher
          TextureDetailTerrain: Higher
          TextureDetailWeaponSkin: Higher
          TextureDetailWorld: Higher
          WindowedColorBits: 32
          WindowedViewportX: $RESOLUTION_WIDTH
          WindowedViewportY: $RESOLUTION_HEIGHT
      file: $GAMEDIR/Unreal Tournament 2004/System/Default.ini
      merge: true
  - write_config:
      data:
        Engine.PlayerController:
          DefaultFOV: 106.2602
          DesiredFOV: 106.2602
          FOVAngle: 106.2602
      file: $GAMEDIR/Unreal Tournament 2004/System/DefUser.ini
  - write_file:
      content: 3QHVC-DHA9K-A84RE-KYRT4
      file: $GAMEDIR/Unreal Tournament 2004/System/cdkey
  - move:
      dst: $CACHE
      src: $GAMEDIR/Unreal Tournament 2004/System/User.ini
  - execute:
      command: cd "$GAMEDIR/Unreal Tournament 2004/System"; sed -i -e s/ut2004master1.epicgames.com/ut2004master.333networks.com/g
        -e s/ut2004master2.epicgames.com/ut2004master.errorist.eu/g Default.ini;
  system:
    gamescope: null
    gamescope_game_res: $RESOLUTION
    gamescope_output_res: $RESOLUTION
slug: unreal-tournament-2004-gog-linux-x64
steamid: 13230
version: GOG Linux x64
year: 2004
{
  "game_slug": "unreal-tournament-2004",
  "version": "GOG Linux x64",
  "description": "Play \"Unreal Tournament 2004\" provided by GOG on Linux",
  "notes": "- Native x64 Linux version\r\n- This script installer will automagically set the game to your desktop resolution with widescreen mode\r\n- press \"~\" key to show console\r\n- Multilingual: you will be able to choose your preferred language for menus, subtitles and voices during installation between English (default), French, German, Italian and Spanish\r\n- Play UT2004 online with 333networks masterserver\r\n- You can not alt+tab. Workaround: use Gamescope\r\n- Game could crash if you click on a web link\r\n- Use Mangohud or libstrangle to limit fps. For example: \r\nMANGOHUD_CONFIG=\"fps_limit=60\" mangohud --dlsym ./ut2004-bin-linux-amd64",
  "name": "Unreal Tournament 2004",
  "year": 2004,
  "steamid": 13230,
  "gogslug": "ultra_pack_deluxe_turbo_hd_remix_vol2",
  "humblestoreid": "",
  "runner": "linux",
  "slug": "unreal-tournament-2004-gog-linux-x64",
  "installer_slug": "unreal-tournament-2004-gog-linux-x64",
  "script": {
    "files": [
      {
        "gogsetup": "N/A:Please select the game's setup Windows exe file downloaded from GOG."
      },
      {
        "linuxversion": "https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Unreal%20Tournament%202004/ut2004_linux.tar.xz"
      }
    ],
    "game": {
      "exe": "Unreal Tournament 2004/System/ut2004-bin-linux-amd64"
    },
    "installer": [
      {
        "extract": {
          "dst": "$GAMEDIR/Unreal Tournament 2004",
          "file": "gogsetup",
          "format": "gog"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR/Unreal Tournament 2004",
          "src": "$GAMEDIR/Unreal Tournament 2004/__support/app"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR/Unreal Tournament 2004",
          "src": "$GAMEDIR/Unreal Tournament 2004/app"
        }
      },
      {
        "extract": {
          "dst": "$GAMEDIR/Unreal Tournament 2004",
          "file": "linuxversion"
        }
      },
      {
        "chmodx": "$GAMEDIR/Unreal Tournament 2004/System/ut2004-bin-linux-amd64"
      },
      {
        "input_menu": {
          "description": "Choose your game's language:",
          "id": "LANG",
          "options": [
            {
              "int": "English"
            },
            {
              "frt": "French"
            },
            {
              "det": "German"
            },
            {
              "itt": "Italian"
            },
            {
              "est": "Spanish"
            }
          ],
          "preselect": "int"
        }
      },
      {
        "write_config": {
          "data": {
            "Engine.Engine": {
              "Language": "$INPUT_LANG",
              "RenderDevice": "OpenGLDrv.OpenGLRenderDevice"
            },
            "FirstRun": {
              "FirstRun": 3369
            },
            "OpenGLDrv.OpenGLRenderDevice": {
              "ReduceMouseLag": true
            },
            "SDLDrv.SDLClient": {
              "FullscreenColorBits": 32,
              "FullscreenViewportX": "$RESOLUTION_WIDTH",
              "FullscreenViewportY": "$RESOLUTION_HEIGHT",
              "TextureDetailLightmap": "Higher",
              "TextureDetailPlayerSkin": "Higher",
              "TextureDetailRenderMap": "Higher",
              "TextureDetailTerrain": "Higher",
              "TextureDetailWeaponSkin": "Higher",
              "TextureDetailWorld": "Higher",
              "WindowedColorBits": 32,
              "WindowedViewportX": "$RESOLUTION_WIDTH",
              "WindowedViewportY": "$RESOLUTION_HEIGHT"
            },
            "WinDrv.WindowsClient": {
              "FullscreenColorBits": 32,
              "FullscreenViewportX": "$RESOLUTION_WIDTH",
              "FullscreenViewportY": "$RESOLUTION_HEIGHT",
              "TextureDetailLightmap": "Higher",
              "TextureDetailPlayerSkin": "Higher",
              "TextureDetailRenderMap": "Higher",
              "TextureDetailTerrain": "Higher",
              "TextureDetailWeaponSkin": "Higher",
              "TextureDetailWorld": "Higher",
              "WindowedColorBits": 32,
              "WindowedViewportX": "$RESOLUTION_WIDTH",
              "WindowedViewportY": "$RESOLUTION_HEIGHT"
            }
          },
          "file": "$GAMEDIR/Unreal Tournament 2004/System/Default.ini",
          "merge": true
        }
      },
      {
        "write_config": {
          "data": {
            "Engine.PlayerController": {
              "DefaultFOV": 106.2602,
              "DesiredFOV": 106.2602,
              "FOVAngle": 106.2602
            }
          },
          "file": "$GAMEDIR/Unreal Tournament 2004/System/DefUser.ini"
        }
      },
      {
        "write_file": {
          "content": "3QHVC-DHA9K-A84RE-KYRT4",
          "file": "$GAMEDIR/Unreal Tournament 2004/System/cdkey"
        }
      },
      {
        "move": {
          "dst": "$CACHE",
          "src": "$GAMEDIR/Unreal Tournament 2004/System/User.ini"
        }
      },
      {
        "execute": {
          "command": "cd \"$GAMEDIR/Unreal Tournament 2004/System\"; sed -i -e s/ut2004master1.epicgames.com/ut2004master.333networks.com/g -e s/ut2004master2.epicgames.com/ut2004master.errorist.eu/g Default.ini;"
        }
      }
    ],
    "system": {
      "gamescope": null,
      "gamescope_game_res": "$RESOLUTION",
      "gamescope_output_res": "$RESOLUTION"
    }
  }
}
Back to game