Installer unreal-tournament-2004-dvd-windows-oldunrea

files:
- game_dvd: https://archive.org/download/ut-2004-dvd/UT2004_DVD.ISO
- game_update: https://lutris.nyc3.cdn.digitaloceanspaces.com/games/ut2004/ut2004megapack.7z
- game_patch_w: https://github.com/OldUnreal/UT2004Patches/releases/download/3374-preview-9/OldUnreal-UT2004Patch3374-Windows-60bd31b3.zip
- game_patch_l: https://github.com/OldUnreal/UT2004Patches/releases/download/3374-preview-9/OldUnreal-UT2004Patch3374-Linux-60bd31b3.tar.bz2
game:
  exe: drive_c/UT2004/System/UT2004.exe
  launch_configs:
  - exe: $GAMEDIR/drive_c/UT2004/System/UT2004-linux
    name: Unreal Tournament 2004 - Linux
  prefix: $GAMEDIR
installer:
- task:
    description: Creating wine prefix...
    name: create_prefix
    prefix: $GAMEDIR
- extract:
    description: Extracting DVD data...
    dst: $CACHE
    file: game_dvd
    format: iso
- task:
    description: Installing game, let all other options to default...when asking for
      a serial number, type 3QHVC-DHA9K-A84RE-KYRT4
    executable: $CACHE/Setup.exe
    name: wineexec
- extract:
    dst: $CACHE
    file: game_update
    format: 7z
- task:
    description: Installing Unreal Tournament 2004 Mega Pack and update v3369...
    executable: $CACHE/ut2004megapack.exe
    name: wineexec
- extract:
    dst: $GAMEDIR/drive_c/UT2004
    file: game_patch_w
    format: zip
- extract:
    dst: $GAMEDIR/drive_c/UT2004
    file: game_patch_l
    format: bz2
- execute:
    command: cd "$GAMEDIR/drive_c/UT2004/System"; cp UT2004 UT2004-linux ;
- write_config:
    data:
      D3DDrv.D3DRenderDevice:
        ReduceMouseLag: true
      Engine.Engine:
        RenderDevice: D3DDrv.D3DRenderDevice
      Engine.GameEngine:
        MainMenuClass: GUI2K4.UT2K4MainMenuWS
      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/drive_c/UT2004/System/Default.ini
    merge: true
- execute:
    command: cd "$GAMEDIR/drive_c/UT2004/System"; sed -i -e s/ut2004master1.epicgames.com/ut2004master.333networks.com/g
      -e s/ut2004master2.epicgames.com/ut2004master.errorist.eu/g Default.ini;
- write_config:
    data:
      Engine.PlayerController:
        DefaultFOV: 106.2602
        DesiredFOV: 106.2602
        FOVAngle: 106.2602
    file: $GAMEDIR/drive_c/UT2004/System/DefUser.ini
- move:
    dst: $CACHE
    src: $GAMEDIR/drive_c/UT2004/System/UT2004.ini
description: Play "Unreal Tournament 2004" DVD Windows edition on Linux!
game_slug: unreal-tournament-2004
gogslug: ''
humblestoreid: ''
installer_slug: unreal-tournament-2004-dvd-windows-oldunrea
name: Unreal Tournament 2004
notes: "- Install Windows AND Linux version\r\n- Included: Megapack v3369 + OldUnreal\
  \ patch 3374\r\n- Game will be set to your desktop resolution in widescreen mode\
  \ with adapted FOV\r\n- Game's languages available: English (default), Spanish,\
  \ French and Italian\r\n- Play UT2004 online with 333networks masterserver\r\n-\
  \ Depend your keyboard layout, press \"~\" (qwerty) or \"\xF9\" (azerty) or ...\
  \ key to show console\r\n- Type \"preferences\" in console to access advanced settings"
runner: wine
script:
  files:
  - game_dvd: https://archive.org/download/ut-2004-dvd/UT2004_DVD.ISO
  - game_update: https://lutris.nyc3.cdn.digitaloceanspaces.com/games/ut2004/ut2004megapack.7z
  - game_patch_w: https://github.com/OldUnreal/UT2004Patches/releases/download/3374-preview-9/OldUnreal-UT2004Patch3374-Windows-60bd31b3.zip
  - game_patch_l: https://github.com/OldUnreal/UT2004Patches/releases/download/3374-preview-9/OldUnreal-UT2004Patch3374-Linux-60bd31b3.tar.bz2
  game:
    exe: drive_c/UT2004/System/UT2004.exe
    launch_configs:
    - exe: $GAMEDIR/drive_c/UT2004/System/UT2004-linux
      name: Unreal Tournament 2004 - Linux
    prefix: $GAMEDIR
  installer:
  - task:
      description: Creating wine prefix...
      name: create_prefix
      prefix: $GAMEDIR
  - extract:
      description: Extracting DVD data...
      dst: $CACHE
      file: game_dvd
      format: iso
  - task:
      description: Installing game, let all other options to default...when asking
        for a serial number, type 3QHVC-DHA9K-A84RE-KYRT4
      executable: $CACHE/Setup.exe
      name: wineexec
  - extract:
      dst: $CACHE
      file: game_update
      format: 7z
  - task:
      description: Installing Unreal Tournament 2004 Mega Pack and update v3369...
      executable: $CACHE/ut2004megapack.exe
      name: wineexec
  - extract:
      dst: $GAMEDIR/drive_c/UT2004
      file: game_patch_w
      format: zip
  - extract:
      dst: $GAMEDIR/drive_c/UT2004
      file: game_patch_l
      format: bz2
  - execute:
      command: cd "$GAMEDIR/drive_c/UT2004/System"; cp UT2004 UT2004-linux ;
  - write_config:
      data:
        D3DDrv.D3DRenderDevice:
          ReduceMouseLag: true
        Engine.Engine:
          RenderDevice: D3DDrv.D3DRenderDevice
        Engine.GameEngine:
          MainMenuClass: GUI2K4.UT2K4MainMenuWS
        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/drive_c/UT2004/System/Default.ini
      merge: true
  - execute:
      command: cd "$GAMEDIR/drive_c/UT2004/System"; sed -i -e s/ut2004master1.epicgames.com/ut2004master.333networks.com/g
        -e s/ut2004master2.epicgames.com/ut2004master.errorist.eu/g Default.ini;
  - write_config:
      data:
        Engine.PlayerController:
          DefaultFOV: 106.2602
          DesiredFOV: 106.2602
          FOVAngle: 106.2602
      file: $GAMEDIR/drive_c/UT2004/System/DefUser.ini
  - move:
      dst: $CACHE
      src: $GAMEDIR/drive_c/UT2004/System/UT2004.ini
slug: unreal-tournament-2004-dvd-windows-oldunrea
steamid: 13230
version: DVD Windows + OldUnreal patch
year: 2004
{
  "game_slug": "unreal-tournament-2004",
  "version": "DVD Windows + OldUnreal patch",
  "description": "Play \"Unreal Tournament 2004\" DVD Windows edition on Linux!",
  "notes": "- Install Windows AND Linux version\r\n- Included: Megapack v3369 + OldUnreal patch 3374\r\n- Game will be set to your desktop resolution in widescreen mode with adapted FOV\r\n- Game's languages available: English (default), Spanish, French and Italian\r\n- Play UT2004 online with 333networks masterserver\r\n- Depend your keyboard layout, press \"~\" (qwerty) or \"\u00f9\" (azerty) or ... key to show console\r\n- Type \"preferences\" in console to access advanced settings",
  "name": "Unreal Tournament 2004",
  "year": 2004,
  "steamid": 13230,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "unreal-tournament-2004-dvd-windows-oldunrea",
  "installer_slug": "unreal-tournament-2004-dvd-windows-oldunrea",
  "script": {
    "files": [
      {
        "game_dvd": "https://archive.org/download/ut-2004-dvd/UT2004_DVD.ISO"
      },
      {
        "game_update": "https://lutris.nyc3.cdn.digitaloceanspaces.com/games/ut2004/ut2004megapack.7z"
      },
      {
        "game_patch_w": "https://github.com/OldUnreal/UT2004Patches/releases/download/3374-preview-9/OldUnreal-UT2004Patch3374-Windows-60bd31b3.zip"
      },
      {
        "game_patch_l": "https://github.com/OldUnreal/UT2004Patches/releases/download/3374-preview-9/OldUnreal-UT2004Patch3374-Linux-60bd31b3.tar.bz2"
      }
    ],
    "game": {
      "exe": "drive_c/UT2004/System/UT2004.exe",
      "launch_configs": [
        {
          "exe": "$GAMEDIR/drive_c/UT2004/System/UT2004-linux",
          "name": "Unreal Tournament 2004 - Linux"
        }
      ],
      "prefix": "$GAMEDIR"
    },
    "installer": [
      {
        "task": {
          "description": "Creating wine prefix...",
          "name": "create_prefix",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "extract": {
          "description": "Extracting DVD data...",
          "dst": "$CACHE",
          "file": "game_dvd",
          "format": "iso"
        }
      },
      {
        "task": {
          "description": "Installing game, let all other options to default...when asking for a serial number, type 3QHVC-DHA9K-A84RE-KYRT4",
          "executable": "$CACHE/Setup.exe",
          "name": "wineexec"
        }
      },
      {
        "extract": {
          "dst": "$CACHE",
          "file": "game_update",
          "format": "7z"
        }
      },
      {
        "task": {
          "description": "Installing Unreal Tournament 2004 Mega Pack and update v3369...",
          "executable": "$CACHE/ut2004megapack.exe",
          "name": "wineexec"
        }
      },
      {
        "extract": {
          "dst": "$GAMEDIR/drive_c/UT2004",
          "file": "game_patch_w",
          "format": "zip"
        }
      },
      {
        "extract": {
          "dst": "$GAMEDIR/drive_c/UT2004",
          "file": "game_patch_l",
          "format": "bz2"
        }
      },
      {
        "execute": {
          "command": "cd \"$GAMEDIR/drive_c/UT2004/System\"; cp UT2004 UT2004-linux ;"
        }
      },
      {
        "write_config": {
          "data": {
            "D3DDrv.D3DRenderDevice": {
              "ReduceMouseLag": true
            },
            "Engine.Engine": {
              "RenderDevice": "D3DDrv.D3DRenderDevice"
            },
            "Engine.GameEngine": {
              "MainMenuClass": "GUI2K4.UT2K4MainMenuWS"
            },
            "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/drive_c/UT2004/System/Default.ini",
          "merge": true
        }
      },
      {
        "execute": {
          "command": "cd \"$GAMEDIR/drive_c/UT2004/System\"; sed -i -e s/ut2004master1.epicgames.com/ut2004master.333networks.com/g -e s/ut2004master2.epicgames.com/ut2004master.errorist.eu/g Default.ini;"
        }
      },
      {
        "write_config": {
          "data": {
            "Engine.PlayerController": {
              "DefaultFOV": 106.2602,
              "DesiredFOV": 106.2602,
              "FOVAngle": 106.2602
            }
          },
          "file": "$GAMEDIR/drive_c/UT2004/System/DefUser.ini"
        }
      },
      {
        "move": {
          "dst": "$CACHE",
          "src": "$GAMEDIR/drive_c/UT2004/System/UT2004.ini"
        }
      }
    ]
  }
}
Back to game