Installer unreal-gold-mesa-fixes

extends: unreal-gold
installer:
- write_config:
    file: $GAMEDIR/System/UnrealLinux.ini
    key: ALDevices
    section: ALAudio.ALAudioSubsystem
    value: ALSASoftware
- write_config:
    file: $GAMEDIR/System/UnrealLinux.ini
    key: FMODDevices
    section: ALAudio.ALAudioSubsystem
    value: 27
- execute:
    command: rm -f $GAMEDIR/lib/libstdc++.a
- execute:
    command: rm -f $GAMEDIR/lib/libstdc++.la
- execute:
    command: rm -f $GAMEDIR/lib/libstdc++.so
- execute:
    command: rm -f $GAMEDIR/lib/libstdc++.so.6
- execute:
    command: rm -f $GAMEDIR/lib/libstdc++.so.6.0.8
- execute:
    command: rm -f $GAMEDIR/lib/libgcc_s.so
- execute:
    command: rm -f $GAMEDIR/lib/libgcc_s.so.1
description: Extension script to make Unreal Gold run on up to date Mesa plus fix
  audio (Works on Arch and possibly others)
game_slug: unreal-gold
gogslug: ultra_pack_deluxe_turbo_hd_remix_vol2
humblestoreid: ''
installer_slug: unreal-gold-mesa-fixes
name: Unreal Gold
notes: "Mesa fix: Removed libgcc* and libstdc++* from the lib/s folder\r\n\r\nAudio\
  \ fix: Set the ALSA output device and correct the FMod number. \r\n\r\nNote: Rerun\
  \ this script any time after changing settings (fixes crash from wrong audio device)"
runner: linux
script:
  extends: unreal-gold
  installer:
  - write_config:
      file: $GAMEDIR/System/UnrealLinux.ini
      key: ALDevices
      section: ALAudio.ALAudioSubsystem
      value: ALSASoftware
  - write_config:
      file: $GAMEDIR/System/UnrealLinux.ini
      key: FMODDevices
      section: ALAudio.ALAudioSubsystem
      value: 27
  - execute:
      command: rm -f $GAMEDIR/lib/libstdc++.a
  - execute:
      command: rm -f $GAMEDIR/lib/libstdc++.la
  - execute:
      command: rm -f $GAMEDIR/lib/libstdc++.so
  - execute:
      command: rm -f $GAMEDIR/lib/libstdc++.so.6
  - execute:
      command: rm -f $GAMEDIR/lib/libstdc++.so.6.0.8
  - execute:
      command: rm -f $GAMEDIR/lib/libgcc_s.so
  - execute:
      command: rm -f $GAMEDIR/lib/libgcc_s.so.1
slug: unreal-gold-mesa-fixes
steamid: 13250
version: Mesa Fixes
year: 1998
{
  "game_slug": "unreal-gold",
  "version": "Mesa Fixes",
  "description": "Extension script to make Unreal Gold run on up to date Mesa plus fix audio (Works on Arch and possibly others)",
  "notes": "Mesa fix: Removed libgcc* and libstdc++* from the lib/s folder\r\n\r\nAudio fix: Set the ALSA output device and correct the FMod number. \r\n\r\nNote: Rerun this script any time after changing settings (fixes crash from wrong audio device)",
  "name": "Unreal Gold",
  "year": 1998,
  "steamid": 13250,
  "gogslug": "ultra_pack_deluxe_turbo_hd_remix_vol2",
  "humblestoreid": "",
  "runner": "linux",
  "slug": "unreal-gold-mesa-fixes",
  "installer_slug": "unreal-gold-mesa-fixes",
  "script": {
    "extends": "unreal-gold",
    "installer": [
      {
        "write_config": {
          "file": "$GAMEDIR/System/UnrealLinux.ini",
          "key": "ALDevices",
          "section": "ALAudio.ALAudioSubsystem",
          "value": "ALSASoftware"
        }
      },
      {
        "write_config": {
          "file": "$GAMEDIR/System/UnrealLinux.ini",
          "key": "FMODDevices",
          "section": "ALAudio.ALAudioSubsystem",
          "value": 27
        }
      },
      {
        "execute": {
          "command": "rm -f $GAMEDIR/lib/libstdc++.a"
        }
      },
      {
        "execute": {
          "command": "rm -f $GAMEDIR/lib/libstdc++.la"
        }
      },
      {
        "execute": {
          "command": "rm -f $GAMEDIR/lib/libstdc++.so"
        }
      },
      {
        "execute": {
          "command": "rm -f $GAMEDIR/lib/libstdc++.so.6"
        }
      },
      {
        "execute": {
          "command": "rm -f $GAMEDIR/lib/libstdc++.so.6.0.8"
        }
      },
      {
        "execute": {
          "command": "rm -f $GAMEDIR/lib/libgcc_s.so"
        }
      },
      {
        "execute": {
          "command": "rm -f $GAMEDIR/lib/libgcc_s.so.1"
        }
      }
    ]
  }
}
Back to game