Installer unreal-gold-cd-patch-227j

files:
- patch1: https://www.dropbox.com/scl/fi/aa6vpin57hyd7f3ljo148/unreal-227j.7z?rlkey=odf7pkha5273lzqa340b57j9z&dl=1
- patch2: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Unreal%20Gold/UPakFonts.tar.xz
- linuxlibs: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Unreal%20Gold/unreal_gold_lib64.tar.xz
game:
  exe: drive_c/UnrealGold/System64/Unreal.exe
  launch_configs:
  - exe: $GAMEDIR/drive_c/UnrealGold/System64/UnrealLinux.bin
    name: Unreal Linux native version
  prefix: $GAMEDIR
installer:
- task:
    arch: win64
    install_gecko: true
    install_mono: false
    name: create_prefix
    prefix: $GAMEDIR
- insert-disc:
    description: Please insert "Unreal" Windows CD and press autodetect
    requires: system/Unreal.exe
- task:
    description: Running setup of the game. Just proceed and keep all settings at
      their defaults
    executable: $DISC/setup.exe
    name: wineexec
    prefix: $GAMEDIR
- extract:
    dst: $GAMEDIR/drive_c/UnrealGold/lib64
    file: linuxlibs
- extract:
    dst: $GAMEDIR/drive_c/UnrealGold
    file: patch1
- extract:
    dst: $GAMEDIR/drive_c/UnrealGold/Textures
    file: patch2
- chmodx: $GAMEDIR/drive_c/UnrealGold/System64/UnrealLinux.bin
- 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:
      D3D9Drv.D3D9RenderDevice:
        FrameRateLimit: 60
      Engine.Console:
        GlobalConsoleKey: 112
      Engine.Engine:
        GameRenderDevice: D3D9Drv.D3D9RenderDevice
        Language: $INPUT_LANG
      FirstRun:
        FirstRun: 227
      UMenu.UMenuRootWindow:
        GUIScale: 2.0
      WinDrv.WindowsClient:
        FullscreenColorBits: 32
        FullscreenViewportX: $RESOLUTION_WIDTH
        FullscreenViewportY: $RESOLUTION_HEIGHT
        WindowedColorBits: 32
        WindowedViewportX: $RESOLUTION_WIDTH
        WindowedViewportY: $RESOLUTION_HEIGHT
    file: $GAMEDIR/drive_c/UnrealGold/System64/Default.ini
    merge: true
- write_config:
    data:
      Engine.PlayerPawn:
        DefaultFOV: 106.4
        DesiredFOV: 106.4
        MainFOV: 106.4
    file: $GAMEDIR/drive_c/UnrealGold/System64/DefUser.ini
    merge: true
- write_config:
    data:
      Engine.Console:
        GlobalConsoleKey: 112
      Engine.Engine:
        GameRenderDevice: OpenGLDrv.OpenGLRenderDevice
        Language: $INPUT_LANG
      FirstRun:
        FirstRun: 227
      OpenGLDrv.OpenGLRenderDevice:
        FrameRateLimit: 60
      UMenu.UMenuRootWindow:
        GUIScale: 2.0
      WinDrv.WindowsClient:
        FullscreenColorBits: 32
        FullscreenViewportX: $RESOLUTION_WIDTH
        FullscreenViewportY: $RESOLUTION_HEIGHT
        WindowedColorBits: 32
        WindowedViewportX: $RESOLUTION_WIDTH
        WindowedViewportY: $RESOLUTION_HEIGHT
    file: $GAMEDIR/drive_c/UnrealGold/System64/DefaultLinux.ini
    merge: true
- move:
    dst: $CACHE
    src: $GAMEDIR/drive_c/UnrealGold/System64/Unreal.ini
- move:
    dst: $CACHE
    src: $GAMEDIR/drive_c/UnrealGold/System64/UnrealLinux.ini
- move:
    dst: $CACHE
    src: $GAMEDIR/drive_c/UnrealGold/System64/User.ini
system:
  env:
    DXVK_FRAME_RATE: '60'
    DXVK_HUD: ''
  prefix_command: LD_LIBRARY_PATH=$GAMEDIR/drive_c/UnrealGold/lib64
description: Play "Unreal" CD edition on Linux!
game_slug: unreal-gold
gogslug: ultra_pack_deluxe_turbo_hd_remix_vol2
humblestoreid: ''
installer_slug: unreal-gold-cd-patch-227j
name: Unreal Gold
notes: "- 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 with\
  \ widescreen mode\r\n- Patch 227j\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:
  - patch1: https://www.dropbox.com/scl/fi/aa6vpin57hyd7f3ljo148/unreal-227j.7z?rlkey=odf7pkha5273lzqa340b57j9z&dl=1
  - patch2: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Unreal%20Gold/UPakFonts.tar.xz
  - linuxlibs: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Unreal%20Gold/unreal_gold_lib64.tar.xz
  game:
    exe: drive_c/UnrealGold/System64/Unreal.exe
    launch_configs:
    - exe: $GAMEDIR/drive_c/UnrealGold/System64/UnrealLinux.bin
      name: Unreal Linux native version
    prefix: $GAMEDIR
  installer:
  - task:
      arch: win64
      install_gecko: true
      install_mono: false
      name: create_prefix
      prefix: $GAMEDIR
  - insert-disc:
      description: Please insert "Unreal" Windows CD and press autodetect
      requires: system/Unreal.exe
  - task:
      description: Running setup of the game. Just proceed and keep all settings at
        their defaults
      executable: $DISC/setup.exe
      name: wineexec
      prefix: $GAMEDIR
  - extract:
      dst: $GAMEDIR/drive_c/UnrealGold/lib64
      file: linuxlibs
  - extract:
      dst: $GAMEDIR/drive_c/UnrealGold
      file: patch1
  - extract:
      dst: $GAMEDIR/drive_c/UnrealGold/Textures
      file: patch2
  - chmodx: $GAMEDIR/drive_c/UnrealGold/System64/UnrealLinux.bin
  - 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:
        D3D9Drv.D3D9RenderDevice:
          FrameRateLimit: 60
        Engine.Console:
          GlobalConsoleKey: 112
        Engine.Engine:
          GameRenderDevice: D3D9Drv.D3D9RenderDevice
          Language: $INPUT_LANG
        FirstRun:
          FirstRun: 227
        UMenu.UMenuRootWindow:
          GUIScale: 2.0
        WinDrv.WindowsClient:
          FullscreenColorBits: 32
          FullscreenViewportX: $RESOLUTION_WIDTH
          FullscreenViewportY: $RESOLUTION_HEIGHT
          WindowedColorBits: 32
          WindowedViewportX: $RESOLUTION_WIDTH
          WindowedViewportY: $RESOLUTION_HEIGHT
      file: $GAMEDIR/drive_c/UnrealGold/System64/Default.ini
      merge: true
  - write_config:
      data:
        Engine.PlayerPawn:
          DefaultFOV: 106.4
          DesiredFOV: 106.4
          MainFOV: 106.4
      file: $GAMEDIR/drive_c/UnrealGold/System64/DefUser.ini
      merge: true
  - write_config:
      data:
        Engine.Console:
          GlobalConsoleKey: 112
        Engine.Engine:
          GameRenderDevice: OpenGLDrv.OpenGLRenderDevice
          Language: $INPUT_LANG
        FirstRun:
          FirstRun: 227
        OpenGLDrv.OpenGLRenderDevice:
          FrameRateLimit: 60
        UMenu.UMenuRootWindow:
          GUIScale: 2.0
        WinDrv.WindowsClient:
          FullscreenColorBits: 32
          FullscreenViewportX: $RESOLUTION_WIDTH
          FullscreenViewportY: $RESOLUTION_HEIGHT
          WindowedColorBits: 32
          WindowedViewportX: $RESOLUTION_WIDTH
          WindowedViewportY: $RESOLUTION_HEIGHT
      file: $GAMEDIR/drive_c/UnrealGold/System64/DefaultLinux.ini
      merge: true
  - move:
      dst: $CACHE
      src: $GAMEDIR/drive_c/UnrealGold/System64/Unreal.ini
  - move:
      dst: $CACHE
      src: $GAMEDIR/drive_c/UnrealGold/System64/UnrealLinux.ini
  - move:
      dst: $CACHE
      src: $GAMEDIR/drive_c/UnrealGold/System64/User.ini
  system:
    env:
      DXVK_FRAME_RATE: '60'
      DXVK_HUD: ''
    prefix_command: LD_LIBRARY_PATH=$GAMEDIR/drive_c/UnrealGold/lib64
slug: unreal-gold-cd-patch-227j
steamid: 13250
version: CD + patch 227j
year: 1998
{
  "game_slug": "unreal-gold",
  "version": "CD + patch 227j",
  "description": "Play \"Unreal\" CD edition on Linux!",
  "notes": "- 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 with widescreen mode\r\n- Patch 227j\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-cd-patch-227j",
  "installer_slug": "unreal-gold-cd-patch-227j",
  "script": {
    "files": [
      {
        "patch1": "https://www.dropbox.com/scl/fi/aa6vpin57hyd7f3ljo148/unreal-227j.7z?rlkey=odf7pkha5273lzqa340b57j9z&dl=1"
      },
      {
        "patch2": "https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Unreal%20Gold/UPakFonts.tar.xz"
      },
      {
        "linuxlibs": "https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Unreal%20Gold/unreal_gold_lib64.tar.xz"
      }
    ],
    "game": {
      "exe": "drive_c/UnrealGold/System64/Unreal.exe",
      "launch_configs": [
        {
          "exe": "$GAMEDIR/drive_c/UnrealGold/System64/UnrealLinux.bin",
          "name": "Unreal Linux native version"
        }
      ],
      "prefix": "$GAMEDIR"
    },
    "installer": [
      {
        "task": {
          "arch": "win64",
          "install_gecko": true,
          "install_mono": false,
          "name": "create_prefix",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "insert-disc": {
          "description": "Please insert \"Unreal\" Windows CD and press autodetect",
          "requires": "system/Unreal.exe"
        }
      },
      {
        "task": {
          "description": "Running setup of the game. Just proceed and keep all settings at their defaults",
          "executable": "$DISC/setup.exe",
          "name": "wineexec",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "extract": {
          "dst": "$GAMEDIR/drive_c/UnrealGold/lib64",
          "file": "linuxlibs"
        }
      },
      {
        "extract": {
          "dst": "$GAMEDIR/drive_c/UnrealGold",
          "file": "patch1"
        }
      },
      {
        "extract": {
          "dst": "$GAMEDIR/drive_c/UnrealGold/Textures",
          "file": "patch2"
        }
      },
      {
        "chmodx": "$GAMEDIR/drive_c/UnrealGold/System64/UnrealLinux.bin"
      },
      {
        "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": {
            "D3D9Drv.D3D9RenderDevice": {
              "FrameRateLimit": 60
            },
            "Engine.Console": {
              "GlobalConsoleKey": 112
            },
            "Engine.Engine": {
              "GameRenderDevice": "D3D9Drv.D3D9RenderDevice",
              "Language": "$INPUT_LANG"
            },
            "FirstRun": {
              "FirstRun": 227
            },
            "UMenu.UMenuRootWindow": {
              "GUIScale": 2.0
            },
            "WinDrv.WindowsClient": {
              "FullscreenColorBits": 32,
              "FullscreenViewportX": "$RESOLUTION_WIDTH",
              "FullscreenViewportY": "$RESOLUTION_HEIGHT",
              "WindowedColorBits": 32,
              "WindowedViewportX": "$RESOLUTION_WIDTH",
              "WindowedViewportY": "$RESOLUTION_HEIGHT"
            }
          },
          "file": "$GAMEDIR/drive_c/UnrealGold/System64/Default.ini",
          "merge": true
        }
      },
      {
        "write_config": {
          "data": {
            "Engine.PlayerPawn": {
              "DefaultFOV": 106.4,
              "DesiredFOV": 106.4,
              "MainFOV": 106.4
            }
          },
          "file": "$GAMEDIR/drive_c/UnrealGold/System64/DefUser.ini",
          "merge": true
        }
      },
      {
        "write_config": {
          "data": {
            "Engine.Console": {
              "GlobalConsoleKey": 112
            },
            "Engine.Engine": {
              "GameRenderDevice": "OpenGLDrv.OpenGLRenderDevice",
              "Language": "$INPUT_LANG"
            },
            "FirstRun": {
              "FirstRun": 227
            },
            "OpenGLDrv.OpenGLRenderDevice": {
              "FrameRateLimit": 60
            },
            "UMenu.UMenuRootWindow": {
              "GUIScale": 2.0
            },
            "WinDrv.WindowsClient": {
              "FullscreenColorBits": 32,
              "FullscreenViewportX": "$RESOLUTION_WIDTH",
              "FullscreenViewportY": "$RESOLUTION_HEIGHT",
              "WindowedColorBits": 32,
              "WindowedViewportX": "$RESOLUTION_WIDTH",
              "WindowedViewportY": "$RESOLUTION_HEIGHT"
            }
          },
          "file": "$GAMEDIR/drive_c/UnrealGold/System64/DefaultLinux.ini",
          "merge": true
        }
      },
      {
        "move": {
          "dst": "$CACHE",
          "src": "$GAMEDIR/drive_c/UnrealGold/System64/Unreal.ini"
        }
      },
      {
        "move": {
          "dst": "$CACHE",
          "src": "$GAMEDIR/drive_c/UnrealGold/System64/UnrealLinux.ini"
        }
      },
      {
        "move": {
          "dst": "$CACHE",
          "src": "$GAMEDIR/drive_c/UnrealGold/System64/User.ini"
        }
      }
    ],
    "system": {
      "env": {
        "DXVK_FRAME_RATE": "60",
        "DXVK_HUD": ""
      },
      "prefix_command": "LD_LIBRARY_PATH=$GAMEDIR/drive_c/UnrealGold/lib64"
    }
  }
}
Back to game