Installer freelancer-cdrom

files:
- officialpatch: https://r.je/freelancer/flpatch.exe
- jflp: https://r.je/freelancer/jflp.exe
- nocd: https://r.je/freelancer/Freelancer.exe
- perfoptions: https://r.je/freelancer/PerfOptions.ini
- msacm32: https://r.je/freelancer/msacm32.dll
- wmfdist: https://r.je/freelancer/WMFDIST.EXE
- hidpifontfix: https://r.je/freelancer/hidpi_fonts.ini
- increaseddrawdistanceexe: https://r.je/freelancer/Freelancer_IncreasedDrawDistance.exe
game:
  arch: win32
  exe: $GAMEDIR/drive_c/Program Files/Microsoft Games/Freelancer/EXE/Freelancer.exe
  prefix: $GAMEDIR
installer:
- task:
    arch: win32
    description: Creating Wine prefix
    name: create_prefix
    prefix: $GAMEDIR
- insert-disc:
    requires: setup.exe
- task:
    description: Installing Freelancer. Please choose "Express install" and CLOSE
      the window when done.
    executable: $DISC/setup.exe
    name: wineexec
    prefix: $GAMEDIR
    return_code: 256
- execute:
    command: mkdir -p '$GAMEDIR/drive_c/users/$USER/Documents/My Games/Freelancer/'
    description: Creating configuration directory
- move:
    description: Creating configuration file
    dst: $GAMEDIR/drive_c/users/$USER/Documents/My Games/Freelancer/PerfOptions.ini
    src: perfoptions
- task:
    description: Installing 1.1 patch
    executable: officialpatch
    name: wineexec
    prefix: $GAMEDIR
- task:
    description: Installing required audio codecs (prevents in-game stuttering)
    executable: wmfdist
    name: wineexec
    prefix: $GAMEDIR
- move:
    description: Installing no-cd
    dst: $GAMEDIR/drive_c/Program Files/Microsoft Games/Freelancer/EXE/Freelancer.exe
    src: nocd
- move:
    description: Adding msacm32.dll (saves downloading a 300mb file from winetricks)
    dst: $GAMEDIR/drive_c/Program Files/Microsoft Games/Freelancer/EXE/msacm32.dll
    src: msacm32
- task:
    description: Installing Jason's Freelancer Patch for widescreen support
    executable: jflp
    name: wineexec
    prefix: $GAMEDIR
- execute:
    command: "echo \"Setting in game resolution to $RESOLUTION_WIDTH x $RESOLUTION_HEIGHT...\"\
      \n\nsed \"s/size\\s*=.*/size=$RESOLUTION_WIDTH, $RESOLUTION_HEIGHT /\" \"$GAMEDIR/drive_c/users/$USER/Documents/My\
      \ Games/Freelancer/PerfOptions.ini\" -i  \nsed \"s/color_bpp\\s*=.*/color_bpp=32/\"\
      \ \"$GAMEDIR/drive_c/users/$USER/Documents/My Games/Freelancer/PerfOptions.ini\"\
      \ -i\nsed \"s/depth_bpp\\s*=.*/depth_bpp=32/\" \"$GAMEDIR/drive_c/users/$USER/Documents/My\
      \ Games/Freelancer/PerfOptions.ini\" -i  \necho \"...done\"\n\nif [ $RESOLUTION_HEIGHT\
      \ -gt 1500 ]\nthen\n  echo \"Your resolution's height is larger than 1500 pixels,\
      \ this causes Freelancer to render fonts incorrectly on both windows and linux\"\
      \n  echo \"Applying font patch...\"\n  cp $CACHE/hidpifontfix/hidpi_fonts.ini\
      \ \"$GAMEDIR/drive_c/Program Files/Microsoft Games/Freelancer/DATA/FONTS/fonts.ini\"\
      \n  echo \"...done\"\nfi\n# Symlink steamuser to the main user directory so\
      \ Proton uses the same PerfOptions.ini\nln -sf \"$GAMEDIR/drive_c/users/$USER\"\
      \ \"$GAMEDIR/drive_c/users/steamuser\"\necho \"Complete!\"\n"
    description: Setting game resolution your screen's native resolution
- input_menu:
    description: Increase draw distances?
    id: DRAWDISTANCE
    options:
    - y: 'Yes'
    - n: 'No'
    preselect: y
- execute:
    command: "if [ $INPUT = 'n' ]\nthen\n  echo \"...skipping\"\nfi\nif [ $INPUT =\
      \ 'y' ]\nthen\n  echo \"Increasing game draw distance...\"\n  sed \"s/LODranges.*/LODranges\
      \ = 0, 99999/\" \"$GAMEDIR/drive_c/Program Files/Microsoft Games/Freelancer/DATA/SHIPS/shiparch.ini\"\
      \ -i\n  sed \"s/LODranges.*/LODranges = 0, 99999/\" \"$GAMEDIR/drive_c/Program\
      \ Files/Microsoft Games/Freelancer/DATA/SHIPS/rtc_shiparch.ini\" -i\n  sed \"\
      s/LODranges.*/LODranges = 0, 99999/\" \"$GAMEDIR/drive_c/Program Files/Microsoft\
      \ Games/Freelancer/DATA/SOLAR/solararch.ini\" -i\n  sed \"s/LODranges.*/LODranges\
      \ = 0, 99999/\" \"$GAMEDIR/drive_c/Program Files/Microsoft Games/Freelancer/DATA/EQUIPMENT/select_equip.ini\"\
      \ -i\n  sed \"s/LODranges.*/LODranges = 0, 99999/\" \"$GAMEDIR/drive_c/Program\
      \ Files/Microsoft Games/Freelancer/DATA/EQUIPMENT/weapon_equip.ini\" -i\n  sed\
      \ \"s/LODranges.*/LODranges = 0, 99999/\" \"$GAMEDIR/drive_c/Program Files/Microsoft\
      \ Games/Freelancer/DATA/EQUIPMENT/misc_equip.ini\" -i\n  sed \"s/LODranges.*/LODranges\
      \ = 0, 99999/\" \"$GAMEDIR/drive_c/Program Files/Microsoft Games/Freelancer/DATA/EQUIPMENT/st_equip.ini\"\
      \ -i\n  cp $CACHE/increaseddrawdistanceexe/Freelancer_IncreasedDrawDistance.exe\
      \ \"$GAMEDIR/drive_c/Program Files/Microsoft Games/Freelancer/EXE/Freelancer.exe\"\
      \n\n  echo \"...done\"\nfi\necho \"Complete!\"\n"
    description: Draw distance patch
- execute:
    command: "echo \"Fixing color depth\"\n\nsed \"s/color_bpp\\s*=.*/color_bpp=32/\"\
      \ \"$GAMEDIR/drive_c/users/$USER/Documents/My Games/Freelancer/PerfOptions.ini\"\
      \ -i\nsed \"s/depth_bpp\\s*=.*/depth_bpp=32/\" \"$GAMEDIR/drive_c/users/$USER/Documents/My\
      \ Games/Freelancer/PerfOptions.ini\" -i  \necho \"...done\""
    description: Fix color depth
- task:
    arch: win32
    key: SampleCount
    name: set_regedit
    path: HKEY_CURRENT_USER\Software\Wine\Direct3D
    prefix: $GAMEDIR
    type: REG_DWORD
    value: 00000008
wine:
  overrides:
    msacm32.dll: n,b
description: Includes the following:- Official 1.1 patch- Jason's Freelancer Patch
  (for widescreen support)- Draw distance extender (optional), high DPI screen font
  rendering fix
game_slug: freelancer
gogslug: ''
humblestoreid: ''
installer_slug: freelancer-cdrom
name: Freelancer
notes: "DO NOT SELECT WINE-GE it breaks the font rendering, use lutris-*, system or\
  \ proton. An esync supporting version is recommended for slightly better performance.\r\
  \n\r\nWhat this does:\r\n\r\n1. Includes WMFDIST.EXE and overrides msacm32. This\
  \ is necessary to stop the game stuttering when ships spawn (see https://the-starport.com/forums/topic/5979/audio-related-freelancer-stutter-npc-ship-spawn\
  \ )\r\n\r\n2. If your screen resolution is > 1500 pixels high Freelancer has a bug\
  \ where some text is hidden ( see http://www.adoxa.altervista.org/freelancer/widescreen.html\
  \ )  the fix is automatically applied if your desktop resolution is high enough\r\
  \n\r\n3. Installs Jason's freelancer patch for Widescreen support\r\n\r\n4. Includes\
  \ an optional draw distance patch I wrote, it stops a lot of horrible pop in that\
  \ is present in the original game\r\n\r\n5. Automatically sets your game resolution\
  \ to your desktop screen resolution so you don't have to manually edit the options\
  \ ini file."
runner: wine
script:
  files:
  - officialpatch: https://r.je/freelancer/flpatch.exe
  - jflp: https://r.je/freelancer/jflp.exe
  - nocd: https://r.je/freelancer/Freelancer.exe
  - perfoptions: https://r.je/freelancer/PerfOptions.ini
  - msacm32: https://r.je/freelancer/msacm32.dll
  - wmfdist: https://r.je/freelancer/WMFDIST.EXE
  - hidpifontfix: https://r.je/freelancer/hidpi_fonts.ini
  - increaseddrawdistanceexe: https://r.je/freelancer/Freelancer_IncreasedDrawDistance.exe
  game:
    arch: win32
    exe: $GAMEDIR/drive_c/Program Files/Microsoft Games/Freelancer/EXE/Freelancer.exe
    prefix: $GAMEDIR
  installer:
  - task:
      arch: win32
      description: Creating Wine prefix
      name: create_prefix
      prefix: $GAMEDIR
  - insert-disc:
      requires: setup.exe
  - task:
      description: Installing Freelancer. Please choose "Express install" and CLOSE
        the window when done.
      executable: $DISC/setup.exe
      name: wineexec
      prefix: $GAMEDIR
      return_code: 256
  - execute:
      command: mkdir -p '$GAMEDIR/drive_c/users/$USER/Documents/My Games/Freelancer/'
      description: Creating configuration directory
  - move:
      description: Creating configuration file
      dst: $GAMEDIR/drive_c/users/$USER/Documents/My Games/Freelancer/PerfOptions.ini
      src: perfoptions
  - task:
      description: Installing 1.1 patch
      executable: officialpatch
      name: wineexec
      prefix: $GAMEDIR
  - task:
      description: Installing required audio codecs (prevents in-game stuttering)
      executable: wmfdist
      name: wineexec
      prefix: $GAMEDIR
  - move:
      description: Installing no-cd
      dst: $GAMEDIR/drive_c/Program Files/Microsoft Games/Freelancer/EXE/Freelancer.exe
      src: nocd
  - move:
      description: Adding msacm32.dll (saves downloading a 300mb file from winetricks)
      dst: $GAMEDIR/drive_c/Program Files/Microsoft Games/Freelancer/EXE/msacm32.dll
      src: msacm32
  - task:
      description: Installing Jason's Freelancer Patch for widescreen support
      executable: jflp
      name: wineexec
      prefix: $GAMEDIR
  - execute:
      command: "echo \"Setting in game resolution to $RESOLUTION_WIDTH x $RESOLUTION_HEIGHT...\"\
        \n\nsed \"s/size\\s*=.*/size=$RESOLUTION_WIDTH, $RESOLUTION_HEIGHT /\" \"\
        $GAMEDIR/drive_c/users/$USER/Documents/My Games/Freelancer/PerfOptions.ini\"\
        \ -i  \nsed \"s/color_bpp\\s*=.*/color_bpp=32/\" \"$GAMEDIR/drive_c/users/$USER/Documents/My\
        \ Games/Freelancer/PerfOptions.ini\" -i\nsed \"s/depth_bpp\\s*=.*/depth_bpp=32/\"\
        \ \"$GAMEDIR/drive_c/users/$USER/Documents/My Games/Freelancer/PerfOptions.ini\"\
        \ -i  \necho \"...done\"\n\nif [ $RESOLUTION_HEIGHT -gt 1500 ]\nthen\n  echo\
        \ \"Your resolution's height is larger than 1500 pixels, this causes Freelancer\
        \ to render fonts incorrectly on both windows and linux\"\n  echo \"Applying\
        \ font patch...\"\n  cp $CACHE/hidpifontfix/hidpi_fonts.ini \"$GAMEDIR/drive_c/Program\
        \ Files/Microsoft Games/Freelancer/DATA/FONTS/fonts.ini\"\n  echo \"...done\"\
        \nfi\n# Symlink steamuser to the main user directory so Proton uses the same\
        \ PerfOptions.ini\nln -sf \"$GAMEDIR/drive_c/users/$USER\" \"$GAMEDIR/drive_c/users/steamuser\"\
        \necho \"Complete!\"\n"
      description: Setting game resolution your screen's native resolution
  - input_menu:
      description: Increase draw distances?
      id: DRAWDISTANCE
      options:
      - y: 'Yes'
      - n: 'No'
      preselect: y
  - execute:
      command: "if [ $INPUT = 'n' ]\nthen\n  echo \"...skipping\"\nfi\nif [ $INPUT\
        \ = 'y' ]\nthen\n  echo \"Increasing game draw distance...\"\n  sed \"s/LODranges.*/LODranges\
        \ = 0, 99999/\" \"$GAMEDIR/drive_c/Program Files/Microsoft Games/Freelancer/DATA/SHIPS/shiparch.ini\"\
        \ -i\n  sed \"s/LODranges.*/LODranges = 0, 99999/\" \"$GAMEDIR/drive_c/Program\
        \ Files/Microsoft Games/Freelancer/DATA/SHIPS/rtc_shiparch.ini\" -i\n  sed\
        \ \"s/LODranges.*/LODranges = 0, 99999/\" \"$GAMEDIR/drive_c/Program Files/Microsoft\
        \ Games/Freelancer/DATA/SOLAR/solararch.ini\" -i\n  sed \"s/LODranges.*/LODranges\
        \ = 0, 99999/\" \"$GAMEDIR/drive_c/Program Files/Microsoft Games/Freelancer/DATA/EQUIPMENT/select_equip.ini\"\
        \ -i\n  sed \"s/LODranges.*/LODranges = 0, 99999/\" \"$GAMEDIR/drive_c/Program\
        \ Files/Microsoft Games/Freelancer/DATA/EQUIPMENT/weapon_equip.ini\" -i\n\
        \  sed \"s/LODranges.*/LODranges = 0, 99999/\" \"$GAMEDIR/drive_c/Program\
        \ Files/Microsoft Games/Freelancer/DATA/EQUIPMENT/misc_equip.ini\" -i\n  sed\
        \ \"s/LODranges.*/LODranges = 0, 99999/\" \"$GAMEDIR/drive_c/Program Files/Microsoft\
        \ Games/Freelancer/DATA/EQUIPMENT/st_equip.ini\" -i\n  cp $CACHE/increaseddrawdistanceexe/Freelancer_IncreasedDrawDistance.exe\
        \ \"$GAMEDIR/drive_c/Program Files/Microsoft Games/Freelancer/EXE/Freelancer.exe\"\
        \n\n  echo \"...done\"\nfi\necho \"Complete!\"\n"
      description: Draw distance patch
  - execute:
      command: "echo \"Fixing color depth\"\n\nsed \"s/color_bpp\\s*=.*/color_bpp=32/\"\
        \ \"$GAMEDIR/drive_c/users/$USER/Documents/My Games/Freelancer/PerfOptions.ini\"\
        \ -i\nsed \"s/depth_bpp\\s*=.*/depth_bpp=32/\" \"$GAMEDIR/drive_c/users/$USER/Documents/My\
        \ Games/Freelancer/PerfOptions.ini\" -i  \necho \"...done\""
      description: Fix color depth
  - task:
      arch: win32
      key: SampleCount
      name: set_regedit
      path: HKEY_CURRENT_USER\Software\Wine\Direct3D
      prefix: $GAMEDIR
      type: REG_DWORD
      value: 00000008
  wine:
    overrides:
      msacm32.dll: n,b
slug: freelancer-cdrom
steamid: null
version: CDROM
year: 2003
{
  "game_slug": "freelancer",
  "version": "CDROM",
  "description": "Includes the following:- Official 1.1 patch- Jason's Freelancer Patch (for widescreen support)- Draw distance extender (optional), high DPI screen font rendering fix",
  "notes": "DO NOT SELECT WINE-GE it breaks the font rendering, use lutris-*, system or proton. An esync supporting version is recommended for slightly better performance.\r\n\r\nWhat this does:\r\n\r\n1. Includes WMFDIST.EXE and overrides msacm32. This is necessary to stop the game stuttering when ships spawn (see https://the-starport.com/forums/topic/5979/audio-related-freelancer-stutter-npc-ship-spawn )\r\n\r\n2. If your screen resolution is > 1500 pixels high Freelancer has a bug where some text is hidden ( see http://www.adoxa.altervista.org/freelancer/widescreen.html )  the fix is automatically applied if your desktop resolution is high enough\r\n\r\n3. Installs Jason's freelancer patch for Widescreen support\r\n\r\n4. Includes an optional draw distance patch I wrote, it stops a lot of horrible pop in that is present in the original game\r\n\r\n5. Automatically sets your game resolution to your desktop screen resolution so you don't have to manually edit the options ini file.",
  "name": "Freelancer",
  "year": 2003,
  "steamid": null,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "freelancer-cdrom",
  "installer_slug": "freelancer-cdrom",
  "script": {
    "files": [
      {
        "officialpatch": "https://r.je/freelancer/flpatch.exe"
      },
      {
        "jflp": "https://r.je/freelancer/jflp.exe"
      },
      {
        "nocd": "https://r.je/freelancer/Freelancer.exe"
      },
      {
        "perfoptions": "https://r.je/freelancer/PerfOptions.ini"
      },
      {
        "msacm32": "https://r.je/freelancer/msacm32.dll"
      },
      {
        "wmfdist": "https://r.je/freelancer/WMFDIST.EXE"
      },
      {
        "hidpifontfix": "https://r.je/freelancer/hidpi_fonts.ini"
      },
      {
        "increaseddrawdistanceexe": "https://r.je/freelancer/Freelancer_IncreasedDrawDistance.exe"
      }
    ],
    "game": {
      "arch": "win32",
      "exe": "$GAMEDIR/drive_c/Program Files/Microsoft Games/Freelancer/EXE/Freelancer.exe",
      "prefix": "$GAMEDIR"
    },
    "installer": [
      {
        "task": {
          "arch": "win32",
          "description": "Creating Wine prefix",
          "name": "create_prefix",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "insert-disc": {
          "requires": "setup.exe"
        }
      },
      {
        "task": {
          "description": "Installing Freelancer. Please choose \"Express install\" and CLOSE the window when done.",
          "executable": "$DISC/setup.exe",
          "name": "wineexec",
          "prefix": "$GAMEDIR",
          "return_code": 256
        }
      },
      {
        "execute": {
          "command": "mkdir -p '$GAMEDIR/drive_c/users/$USER/Documents/My Games/Freelancer/'",
          "description": "Creating configuration directory"
        }
      },
      {
        "move": {
          "description": "Creating configuration file",
          "dst": "$GAMEDIR/drive_c/users/$USER/Documents/My Games/Freelancer/PerfOptions.ini",
          "src": "perfoptions"
        }
      },
      {
        "task": {
          "description": "Installing 1.1 patch",
          "executable": "officialpatch",
          "name": "wineexec",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "description": "Installing required audio codecs (prevents in-game stuttering)",
          "executable": "wmfdist",
          "name": "wineexec",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "move": {
          "description": "Installing no-cd",
          "dst": "$GAMEDIR/drive_c/Program Files/Microsoft Games/Freelancer/EXE/Freelancer.exe",
          "src": "nocd"
        }
      },
      {
        "move": {
          "description": "Adding msacm32.dll (saves downloading a 300mb file from winetricks)",
          "dst": "$GAMEDIR/drive_c/Program Files/Microsoft Games/Freelancer/EXE/msacm32.dll",
          "src": "msacm32"
        }
      },
      {
        "task": {
          "description": "Installing Jason's Freelancer Patch for widescreen support",
          "executable": "jflp",
          "name": "wineexec",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "execute": {
          "command": "echo \"Setting in game resolution to $RESOLUTION_WIDTH x $RESOLUTION_HEIGHT...\"\n\nsed \"s/size\\s*=.*/size=$RESOLUTION_WIDTH, $RESOLUTION_HEIGHT /\" \"$GAMEDIR/drive_c/users/$USER/Documents/My Games/Freelancer/PerfOptions.ini\" -i  \nsed \"s/color_bpp\\s*=.*/color_bpp=32/\" \"$GAMEDIR/drive_c/users/$USER/Documents/My Games/Freelancer/PerfOptions.ini\" -i\nsed \"s/depth_bpp\\s*=.*/depth_bpp=32/\" \"$GAMEDIR/drive_c/users/$USER/Documents/My Games/Freelancer/PerfOptions.ini\" -i  \necho \"...done\"\n\nif [ $RESOLUTION_HEIGHT -gt 1500 ]\nthen\n  echo \"Your resolution's height is larger than 1500 pixels, this causes Freelancer to render fonts incorrectly on both windows and linux\"\n  echo \"Applying font patch...\"\n  cp $CACHE/hidpifontfix/hidpi_fonts.ini \"$GAMEDIR/drive_c/Program Files/Microsoft Games/Freelancer/DATA/FONTS/fonts.ini\"\n  echo \"...done\"\nfi\n# Symlink steamuser to the main user directory so Proton uses the same PerfOptions.ini\nln -sf \"$GAMEDIR/drive_c/users/$USER\" \"$GAMEDIR/drive_c/users/steamuser\"\necho \"Complete!\"\n",
          "description": "Setting game resolution your screen's native resolution"
        }
      },
      {
        "input_menu": {
          "description": "Increase draw distances?",
          "id": "DRAWDISTANCE",
          "options": [
            {
              "y": "Yes"
            },
            {
              "n": "No"
            }
          ],
          "preselect": "y"
        }
      },
      {
        "execute": {
          "command": "if [ $INPUT = 'n' ]\nthen\n  echo \"...skipping\"\nfi\nif [ $INPUT = 'y' ]\nthen\n  echo \"Increasing game draw distance...\"\n  sed \"s/LODranges.*/LODranges = 0, 99999/\" \"$GAMEDIR/drive_c/Program Files/Microsoft Games/Freelancer/DATA/SHIPS/shiparch.ini\" -i\n  sed \"s/LODranges.*/LODranges = 0, 99999/\" \"$GAMEDIR/drive_c/Program Files/Microsoft Games/Freelancer/DATA/SHIPS/rtc_shiparch.ini\" -i\n  sed \"s/LODranges.*/LODranges = 0, 99999/\" \"$GAMEDIR/drive_c/Program Files/Microsoft Games/Freelancer/DATA/SOLAR/solararch.ini\" -i\n  sed \"s/LODranges.*/LODranges = 0, 99999/\" \"$GAMEDIR/drive_c/Program Files/Microsoft Games/Freelancer/DATA/EQUIPMENT/select_equip.ini\" -i\n  sed \"s/LODranges.*/LODranges = 0, 99999/\" \"$GAMEDIR/drive_c/Program Files/Microsoft Games/Freelancer/DATA/EQUIPMENT/weapon_equip.ini\" -i\n  sed \"s/LODranges.*/LODranges = 0, 99999/\" \"$GAMEDIR/drive_c/Program Files/Microsoft Games/Freelancer/DATA/EQUIPMENT/misc_equip.ini\" -i\n  sed \"s/LODranges.*/LODranges = 0, 99999/\" \"$GAMEDIR/drive_c/Program Files/Microsoft Games/Freelancer/DATA/EQUIPMENT/st_equip.ini\" -i\n  cp $CACHE/increaseddrawdistanceexe/Freelancer_IncreasedDrawDistance.exe \"$GAMEDIR/drive_c/Program Files/Microsoft Games/Freelancer/EXE/Freelancer.exe\"\n\n  echo \"...done\"\nfi\necho \"Complete!\"\n",
          "description": "Draw distance patch"
        }
      },
      {
        "execute": {
          "command": "echo \"Fixing color depth\"\n\nsed \"s/color_bpp\\s*=.*/color_bpp=32/\" \"$GAMEDIR/drive_c/users/$USER/Documents/My Games/Freelancer/PerfOptions.ini\" -i\nsed \"s/depth_bpp\\s*=.*/depth_bpp=32/\" \"$GAMEDIR/drive_c/users/$USER/Documents/My Games/Freelancer/PerfOptions.ini\" -i  \necho \"...done\"",
          "description": "Fix color depth"
        }
      },
      {
        "task": {
          "arch": "win32",
          "key": "SampleCount",
          "name": "set_regedit",
          "path": "HKEY_CURRENT_USER\\Software\\Wine\\Direct3D",
          "prefix": "$GAMEDIR",
          "type": "REG_DWORD",
          "value": "00000008"
        }
      }
    ],
    "wine": {
      "overrides": {
        "msacm32.dll": "n,b"
      }
    }
  }
}
Back to game