files:
- client: https://origin-a.akamaihd.net/Origin-Client-Download/origin/live/OriginThinSetup.exe
- updater: https://raw.githubusercontent.com/DrDoctor13/wine-origin-updater/master/updateorigin.sh
game:
arch: win64
exe: drive_c/Program Files (x86)/Origin/Origin.exe
prefix: $GAMEDIR
installer:
- task:
arch: win64
description: Creating Wine prefix
name: create_prefix
prefix: $GAMEDIR
- input_menu:
description: 'Setting DXVK workarounds please choose your GPU:'
id: GPU
options:
- Not needed for AMD. Ignore this.: AMD
- ? 'dxgi.customVendorId = 10de
dxgi.nvapiHack = False'
: Nvidia
preselect: Not needed for AMD. Ignore this.
- write_file:
content: $INPUT_GPU
file: $GAMEDIR/dxvk.conf
- task:
app: nocrashdialog vcrun2017 win7
arch: win64
name: winetricks
prefix: $GAMEDIR
- task:
arch: win64
args: /silent
description: Installing Origin... Login window will pop-up and close.
exclude_processes: Origin.exe OriginClientService.exe OriginWebHelperService.exe
QtWebEngineProcess.exe
executable: client
name: wineexec
prefix: $GAMEDIR
- task:
arch: win64
name: winekill
prefix: $GAMEDIR
- chmodx: updater
- merge:
dst: $GAMEDIR/drive_c/Program Files (x86)/Origin
src: updater
system:
disable_runtime: false
env:
DXVK_CONFIG_FILE: $GAMEDIR/dxvk.conf
DXVK_HUD: 0
wine:
overrides:
nvapi,nvapi64: disabled
xaudio2_7: native,builtin
description: "This is a copy of the Battlefield 1 DXVK installer. It only sets up\
\ Origin and DXVK, you'll need to download Battlefield Hardline manually. If this\
\ stops working in the future, please try the Battlefield 3, 4 or 1 installer, if\
\ they got updated.\r\n\r\nSingle and multi-player work pretty much out of the box,\
\ only thing required is to get the browser to work with Battlelog. For this please\
\ see below in the technical notes."
game_slug: battlefield-hardline
gogslug: ''
humblestoreid: ''
installer_slug: battlefield-hardline-dxvk
name: 'Battlefield: Hardline'
notes: "To be able to launch the game (From the Battlefield 3 DXVK, ReShade version):\r\
\nIn order to launch the game with your Linux browser, a browser User Agent switcher\
\ has to be installed. For firefox this add-on is ideal:\r\nhttps://addons.mozilla.org/en-US/firefox/addon/ua-switcher\r\
\n\r\nWith your Linux browser go to:\r\nhttps://battlelog.battlefield.com/bfh/\r\
\nand set your User Agent to IE11 for that domain.\r\n\r\n\r\nIf there are graphical\
\ issues in game, turn of 'Antialiasing Deferred' in the graphics settings. That\
\ fixed weird texture flickering in single-player for me. Everything else can be\
\ set as high as Ultra, and HBAO works too.\r\n\r\nI've disabled \"Origin in Game\
\ for Battlefield Hardline\". Not sure if there are compatibility issues if this\
\ is left on."
runner: wine
script:
files:
- client: https://origin-a.akamaihd.net/Origin-Client-Download/origin/live/OriginThinSetup.exe
- updater: https://raw.githubusercontent.com/DrDoctor13/wine-origin-updater/master/updateorigin.sh
game:
arch: win64
exe: drive_c/Program Files (x86)/Origin/Origin.exe
prefix: $GAMEDIR
installer:
- task:
arch: win64
description: Creating Wine prefix
name: create_prefix
prefix: $GAMEDIR
- input_menu:
description: 'Setting DXVK workarounds please choose your GPU:'
id: GPU
options:
- Not needed for AMD. Ignore this.: AMD
- ? 'dxgi.customVendorId = 10de
dxgi.nvapiHack = False'
: Nvidia
preselect: Not needed for AMD. Ignore this.
- write_file:
content: $INPUT_GPU
file: $GAMEDIR/dxvk.conf
- task:
app: nocrashdialog vcrun2017 win7
arch: win64
name: winetricks
prefix: $GAMEDIR
- task:
arch: win64
args: /silent
description: Installing Origin... Login window will pop-up and close.
exclude_processes: Origin.exe OriginClientService.exe OriginWebHelperService.exe
QtWebEngineProcess.exe
executable: client
name: wineexec
prefix: $GAMEDIR
- task:
arch: win64
name: winekill
prefix: $GAMEDIR
- chmodx: updater
- merge:
dst: $GAMEDIR/drive_c/Program Files (x86)/Origin
src: updater
system:
disable_runtime: false
env:
DXVK_CONFIG_FILE: $GAMEDIR/dxvk.conf
DXVK_HUD: 0
wine:
overrides:
nvapi,nvapi64: disabled
xaudio2_7: native,builtin
slug: battlefield-hardline-dxvk
steamid: null
version: DXVK
year: 2015
{
"game_slug": "battlefield-hardline",
"version": "DXVK",
"description": "This is a copy of the Battlefield 1 DXVK installer. It only sets up Origin and DXVK, you'll need to download Battlefield Hardline manually. If this stops working in the future, please try the Battlefield 3, 4 or 1 installer, if they got updated.\r\n\r\nSingle and multi-player work pretty much out of the box, only thing required is to get the browser to work with Battlelog. For this please see below in the technical notes.",
"notes": "To be able to launch the game (From the Battlefield 3 DXVK, ReShade version):\r\nIn order to launch the game with your Linux browser, a browser User Agent switcher has to be installed. For firefox this add-on is ideal:\r\nhttps://addons.mozilla.org/en-US/firefox/addon/ua-switcher\r\n\r\nWith your Linux browser go to:\r\nhttps://battlelog.battlefield.com/bfh/\r\nand set your User Agent to IE11 for that domain.\r\n\r\n\r\nIf there are graphical issues in game, turn of 'Antialiasing Deferred' in the graphics settings. That fixed weird texture flickering in single-player for me. Everything else can be set as high as Ultra, and HBAO works too.\r\n\r\nI've disabled \"Origin in Game for Battlefield Hardline\". Not sure if there are compatibility issues if this is left on.",
"name": "Battlefield: Hardline",
"year": 2015,
"steamid": null,
"gogslug": "",
"humblestoreid": "",
"runner": "wine",
"slug": "battlefield-hardline-dxvk",
"installer_slug": "battlefield-hardline-dxvk",
"script": {
"files": [
{
"client": "https://origin-a.akamaihd.net/Origin-Client-Download/origin/live/OriginThinSetup.exe"
},
{
"updater": "https://raw.githubusercontent.com/DrDoctor13/wine-origin-updater/master/updateorigin.sh"
}
],
"game": {
"arch": "win64",
"exe": "drive_c/Program Files (x86)/Origin/Origin.exe",
"prefix": "$GAMEDIR"
},
"installer": [
{
"task": {
"arch": "win64",
"description": "Creating Wine prefix",
"name": "create_prefix",
"prefix": "$GAMEDIR"
}
},
{
"input_menu": {
"description": "Setting DXVK workarounds please choose your GPU:",
"id": "GPU",
"options": [
{
"Not needed for AMD. Ignore this.": "AMD"
},
{
"dxgi.customVendorId = 10de\ndxgi.nvapiHack = False": "Nvidia"
}
],
"preselect": "Not needed for AMD. Ignore this."
}
},
{
"write_file": {
"content": "$INPUT_GPU",
"file": "$GAMEDIR/dxvk.conf"
}
},
{
"task": {
"app": "nocrashdialog vcrun2017 win7",
"arch": "win64",
"name": "winetricks",
"prefix": "$GAMEDIR"
}
},
{
"task": {
"arch": "win64",
"args": "/silent",
"description": "Installing Origin... Login window will pop-up and close.",
"exclude_processes": "Origin.exe OriginClientService.exe OriginWebHelperService.exe QtWebEngineProcess.exe",
"executable": "client",
"name": "wineexec",
"prefix": "$GAMEDIR"
}
},
{
"task": {
"arch": "win64",
"name": "winekill",
"prefix": "$GAMEDIR"
}
},
{
"chmodx": "updater"
},
{
"merge": {
"dst": "$GAMEDIR/drive_c/Program Files (x86)/Origin",
"src": "updater"
}
}
],
"system": {
"disable_runtime": false,
"env": {
"DXVK_CONFIG_FILE": "$GAMEDIR/dxvk.conf",
"DXVK_HUD": 0
}
},
"wine": {
"overrides": {
"nvapi,nvapi64": "disabled",
"xaudio2_7": "native,builtin"
}
}
}
}