Installer unreal-gold-gog-oldunreal-patch

files:
- gogsetup: N/A:Select the EXE downloaded from GOG
- patch_lin: https://github.com/OldUnreal/Unreal-testing/releases/download/v227k_12/OldUnreal-UnrealPatch227k-Linux.tar.bz2
- patch_win: https://github.com/OldUnreal/Unreal-testing/releases/download/v227k_12/OldUnreal-UnrealPatch227k-Windows.zip
- linuxlibs: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Unreal%20Gold/unreal_gold_lib64.tar.xz
game:
  exe: drive_c/GOG Games/Unreal Gold/System64/Unreal.exe
  launch_configs:
  - exe: $GAMEDIR/drive_c/GOG Games/Unreal Gold/System64/unreal-bin-amd64
    name: Unreal Gold Linux native version
  - args: -firstrun
    exe: $GAMEDIR/drive_c/GOG Games/Unreal Gold/System64/Unreal.exe
    name: Unreal Gold Windows first run
  - exe: $GAMEDIR/drive_c/GOG Games/Unreal Gold/System64/UnrealLinux.ini
    name: Unreal Gold Linux config file
  prefix: $GAMEDIR
installer:
- task:
    arch: win64
    name: create_prefix
    prefix: $GAMEDIR
- extract:
    dst: $GAMEDIR/drive_c/GOG Games
    file: gogsetup
    format: gog
- move:
    dst: $GAMEDIR/drive_c/GOG Games/Unreal Gold
    src: $GAMEDIR/drive_c/GOG Games/app
- extract:
    dst: $GAMEDIR/drive_c/GOG Games/Unreal Gold
    file: patch_lin
    format: bz2
- extract:
    dst: $GAMEDIR/drive_c/GOG Games/Unreal Gold
    file: patch_win
    format: zip
- extract:
    dst: $GAMEDIR/drive_c/GOG Games/Unreal Gold/lib64
    file: linuxlibs
- 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.Console:
        GlobalConsoleKey: 112
      Engine.Engine:
        GameRenderDevice: XOpenGLDrv.XOpenGLRenderDevice
        Language: $INPUT_LANG
      FirstRun:
        FirstRun: 227
      WinDrv.WindowsClient:
        FrameRateLimit: 60
        FullscreenColorBits: 32
        FullscreenViewportX: $RESOLUTION_WIDTH
        FullscreenViewportY: $RESOLUTION_HEIGHT
        StartupFullscreen: false
        UseDesktopFullScreen: true
        WindowedColorBits: 32
    file: $GAMEDIR/drive_c/GOG Games/Unreal Gold/System64/Default.ini
    merge: true
- write_config:
    data:
      Engine.PlayerPawn:
        DefaultFOV: 106.4
        DesiredFOV: 106.4
        MainFOV: 106.4
    file: $GAMEDIR/drive_c/GOG Games/Unreal Gold/System64/DefUser.ini
    merge: true
- write_config:
    data:
      Engine.Console:
        GlobalConsoleKey: 112
      Engine.Engine:
        GameRenderDevice: OpenGLDrv.OpenGLRenderDevice
        Language: $INPUT_LANG
      FirstRun:
        FirstRun: 227
      SDL2Drv.SDL2Client:
        FrameRateLimit: 60
        FullscreenColorBits: 32
        FullscreenViewportX: $RESOLUTION_WIDTH
        FullscreenViewportY: $RESOLUTION_HEIGHT
        StartupFullscreen: false
        UseDesktopFullScreen: true
        WindowedColorBits: 32
    file: $GAMEDIR/drive_c/GOG Games/Unreal Gold/System64/DefaultLinux.ini
    merge: true
system:
  env:
    DXVK_FRAME_RATE: '60'
    DXVK_HUD: null
  prefix_command: LD_LIBRARY_PATH="$GAMEDIR/drive_c/GOG Games/Unreal Gold/lib64"
description: Play "Unreal Gold" provided by GOG on Linux!
game_slug: unreal-gold
gogslug: ultra_pack_deluxe_turbo_hd_remix_vol2
humblestoreid: ''
installer_slug: unreal-gold-gog-oldunreal-patch
name: Unreal Gold
notes: "- Using OldUnreal patch 227k_12\r\n- You can choose to play the Windows (x64)\
  \ or Linux (x64) versions\r\n- This script installer will automagically set the\
  \ game to your desktop resolution\r\n- type key F1 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- This game does not natively support controller. I wrote Antimicrox profiles,\
  \ you can download them here: \r\nhttps://github.com/legluondunet/MyLittleLutrisScripts/tree/master/Unreal/gamepad%20profiles"
runner: wine
script:
  files:
  - gogsetup: N/A:Select the EXE downloaded from GOG
  - patch_lin: https://github.com/OldUnreal/Unreal-testing/releases/download/v227k_12/OldUnreal-UnrealPatch227k-Linux.tar.bz2
  - patch_win: https://github.com/OldUnreal/Unreal-testing/releases/download/v227k_12/OldUnreal-UnrealPatch227k-Windows.zip
  - linuxlibs: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Unreal%20Gold/unreal_gold_lib64.tar.xz
  game:
    exe: drive_c/GOG Games/Unreal Gold/System64/Unreal.exe
    launch_configs:
    - exe: $GAMEDIR/drive_c/GOG Games/Unreal Gold/System64/unreal-bin-amd64
      name: Unreal Gold Linux native version
    - args: -firstrun
      exe: $GAMEDIR/drive_c/GOG Games/Unreal Gold/System64/Unreal.exe
      name: Unreal Gold Windows first run
    - exe: $GAMEDIR/drive_c/GOG Games/Unreal Gold/System64/UnrealLinux.ini
      name: Unreal Gold Linux config file
    prefix: $GAMEDIR
  installer:
  - task:
      arch: win64
      name: create_prefix
      prefix: $GAMEDIR
  - extract:
      dst: $GAMEDIR/drive_c/GOG Games
      file: gogsetup
      format: gog
  - move:
      dst: $GAMEDIR/drive_c/GOG Games/Unreal Gold
      src: $GAMEDIR/drive_c/GOG Games/app
  - extract:
      dst: $GAMEDIR/drive_c/GOG Games/Unreal Gold
      file: patch_lin
      format: bz2
  - extract:
      dst: $GAMEDIR/drive_c/GOG Games/Unreal Gold
      file: patch_win
      format: zip
  - extract:
      dst: $GAMEDIR/drive_c/GOG Games/Unreal Gold/lib64
      file: linuxlibs
  - 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.Console:
          GlobalConsoleKey: 112
        Engine.Engine:
          GameRenderDevice: XOpenGLDrv.XOpenGLRenderDevice
          Language: $INPUT_LANG
        FirstRun:
          FirstRun: 227
        WinDrv.WindowsClient:
          FrameRateLimit: 60
          FullscreenColorBits: 32
          FullscreenViewportX: $RESOLUTION_WIDTH
          FullscreenViewportY: $RESOLUTION_HEIGHT
          StartupFullscreen: false
          UseDesktopFullScreen: true
          WindowedColorBits: 32
      file: $GAMEDIR/drive_c/GOG Games/Unreal Gold/System64/Default.ini
      merge: true
  - write_config:
      data:
        Engine.PlayerPawn:
          DefaultFOV: 106.4
          DesiredFOV: 106.4
          MainFOV: 106.4
      file: $GAMEDIR/drive_c/GOG Games/Unreal Gold/System64/DefUser.ini
      merge: true
  - write_config:
      data:
        Engine.Console:
          GlobalConsoleKey: 112
        Engine.Engine:
          GameRenderDevice: OpenGLDrv.OpenGLRenderDevice
          Language: $INPUT_LANG
        FirstRun:
          FirstRun: 227
        SDL2Drv.SDL2Client:
          FrameRateLimit: 60
          FullscreenColorBits: 32
          FullscreenViewportX: $RESOLUTION_WIDTH
          FullscreenViewportY: $RESOLUTION_HEIGHT
          StartupFullscreen: false
          UseDesktopFullScreen: true
          WindowedColorBits: 32
      file: $GAMEDIR/drive_c/GOG Games/Unreal Gold/System64/DefaultLinux.ini
      merge: true
  system:
    env:
      DXVK_FRAME_RATE: '60'
      DXVK_HUD: null
    prefix_command: LD_LIBRARY_PATH="$GAMEDIR/drive_c/GOG Games/Unreal Gold/lib64"
slug: unreal-gold-gog-oldunreal-patch
steamid: 13250
version: GOG + OldUnreal patch
year: 1998
{
  "game_slug": "unreal-gold",
  "version": "GOG + OldUnreal patch",
  "description": "Play \"Unreal Gold\" provided by GOG on Linux!",
  "notes": "- Using OldUnreal patch 227k_12\r\n- You can choose to play the Windows (x64) or Linux (x64) versions\r\n- This script installer will automagically set the game to your desktop resolution\r\n- type key F1 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- This game does not natively support controller. I wrote Antimicrox profiles, you can download them here: \r\nhttps://github.com/legluondunet/MyLittleLutrisScripts/tree/master/Unreal/gamepad%20profiles",
  "name": "Unreal Gold",
  "year": 1998,
  "steamid": 13250,
  "gogslug": "ultra_pack_deluxe_turbo_hd_remix_vol2",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "unreal-gold-gog-oldunreal-patch",
  "installer_slug": "unreal-gold-gog-oldunreal-patch",
  "script": {
    "files": [
      {
        "gogsetup": "N/A:Select the EXE downloaded from GOG"
      },
      {
        "patch_lin": "https://github.com/OldUnreal/Unreal-testing/releases/download/v227k_12/OldUnreal-UnrealPatch227k-Linux.tar.bz2"
      },
      {
        "patch_win": "https://github.com/OldUnreal/Unreal-testing/releases/download/v227k_12/OldUnreal-UnrealPatch227k-Windows.zip"
      },
      {
        "linuxlibs": "https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Unreal%20Gold/unreal_gold_lib64.tar.xz"
      }
    ],
    "game": {
      "exe": "drive_c/GOG Games/Unreal Gold/System64/Unreal.exe",
      "launch_configs": [
        {
          "exe": "$GAMEDIR/drive_c/GOG Games/Unreal Gold/System64/unreal-bin-amd64",
          "name": "Unreal Gold Linux native version"
        },
        {
          "args": "-firstrun",
          "exe": "$GAMEDIR/drive_c/GOG Games/Unreal Gold/System64/Unreal.exe",
          "name": "Unreal Gold Windows first run"
        },
        {
          "exe": "$GAMEDIR/drive_c/GOG Games/Unreal Gold/System64/UnrealLinux.ini",
          "name": "Unreal Gold Linux config file"
        }
      ],
      "prefix": "$GAMEDIR"
    },
    "installer": [
      {
        "task": {
          "arch": "win64",
          "name": "create_prefix",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "extract": {
          "dst": "$GAMEDIR/drive_c/GOG Games",
          "file": "gogsetup",
          "format": "gog"
        }
      },
      {
        "move": {
          "dst": "$GAMEDIR/drive_c/GOG Games/Unreal Gold",
          "src": "$GAMEDIR/drive_c/GOG Games/app"
        }
      },
      {
        "extract": {
          "dst": "$GAMEDIR/drive_c/GOG Games/Unreal Gold",
          "file": "patch_lin",
          "format": "bz2"
        }
      },
      {
        "extract": {
          "dst": "$GAMEDIR/drive_c/GOG Games/Unreal Gold",
          "file": "patch_win",
          "format": "zip"
        }
      },
      {
        "extract": {
          "dst": "$GAMEDIR/drive_c/GOG Games/Unreal Gold/lib64",
          "file": "linuxlibs"
        }
      },
      {
        "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.Console": {
              "GlobalConsoleKey": 112
            },
            "Engine.Engine": {
              "GameRenderDevice": "XOpenGLDrv.XOpenGLRenderDevice",
              "Language": "$INPUT_LANG"
            },
            "FirstRun": {
              "FirstRun": 227
            },
            "WinDrv.WindowsClient": {
              "FrameRateLimit": 60,
              "FullscreenColorBits": 32,
              "FullscreenViewportX": "$RESOLUTION_WIDTH",
              "FullscreenViewportY": "$RESOLUTION_HEIGHT",
              "StartupFullscreen": false,
              "UseDesktopFullScreen": true,
              "WindowedColorBits": 32
            }
          },
          "file": "$GAMEDIR/drive_c/GOG Games/Unreal Gold/System64/Default.ini",
          "merge": true
        }
      },
      {
        "write_config": {
          "data": {
            "Engine.PlayerPawn": {
              "DefaultFOV": 106.4,
              "DesiredFOV": 106.4,
              "MainFOV": 106.4
            }
          },
          "file": "$GAMEDIR/drive_c/GOG Games/Unreal Gold/System64/DefUser.ini",
          "merge": true
        }
      },
      {
        "write_config": {
          "data": {
            "Engine.Console": {
              "GlobalConsoleKey": 112
            },
            "Engine.Engine": {
              "GameRenderDevice": "OpenGLDrv.OpenGLRenderDevice",
              "Language": "$INPUT_LANG"
            },
            "FirstRun": {
              "FirstRun": 227
            },
            "SDL2Drv.SDL2Client": {
              "FrameRateLimit": 60,
              "FullscreenColorBits": 32,
              "FullscreenViewportX": "$RESOLUTION_WIDTH",
              "FullscreenViewportY": "$RESOLUTION_HEIGHT",
              "StartupFullscreen": false,
              "UseDesktopFullScreen": true,
              "WindowedColorBits": 32
            }
          },
          "file": "$GAMEDIR/drive_c/GOG Games/Unreal Gold/System64/DefaultLinux.ini",
          "merge": true
        }
      }
    ],
    "system": {
      "env": {
        "DXVK_FRAME_RATE": "60",
        "DXVK_HUD": null
      },
      "prefix_command": "LD_LIBRARY_PATH=\"$GAMEDIR/drive_c/GOG Games/Unreal Gold/lib64\""
    }
  }
}
Back to game