Skip to content

Commit

Permalink
r5reloaded.json: script with my edits.
Browse files Browse the repository at this point in the history
  • Loading branch information
begin-theadventure authored Sep 16, 2022
1 parent 4af6dfb commit 8321d23
Showing 1 changed file with 37 additions and 33 deletions.
70 changes: 37 additions & 33 deletions R5Reloaded/r5reloaded.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,26 +4,25 @@
"previous": null,
"results": [
{
"id": 11844,
"game_id": 25594,
"game_slug": "apex-legends",
"name": "Apex Legends",
"year": 2019,
"user": "Farcrada",
"id": ,
"game_id": ,
"game_slug": "r5reloaded",
"name": "R5Reloaded",
"year": 2021,
"user": "begin-theadventure",
"runner": "wine",
"slug": "apex-legends-origin",
"slug": "r5reloaded-origin",
"version": "Origin",
"description": "The game does not work due to Easy Anti Cheat. Please let know Electronic Arts that you are interested in playing on Linux. Electronic Arts has the resources to support Linux easily, the more people ask for support, the more it is likely to have a native version.",
"notes": "Please read before installing: <a href=\"https://github.com/lutris/lutris/wiki/Game:-Origin\">https://github.com/lutris/lutris/wiki/Game:-Origin</a>\r\n\r\nSeeing as these are the same devs and it's using the same engine as <a href=\"https://lutris.net/games/titanfall-2/\">Titanfall 2</a> there might be some issues with sound. Crackling sound can be fixed by adding <a href=\"https://kodi.wiki/view/PulseAudio#Known_issues\">tsched=0</a> to the file: <tt>/etc/pulse/default.pa</tt>",
"description": "",
"notes": "Please read before installing: <a href=\"https://github.com/lutris/docs/blob/master/Origin.md\">https://github.com/lutris/docs/blob/master/Origin.md</a>\r\n\r\n-<b>Comes with a DXVK cache for a stutter free experience!</b>\r\n-Crackling sound can be fixed by adding <a href=\"https://wiki.archlinux.org/index.php/PulseAudio/Troubleshooting#Glitches.2C_skips_or_crackling\">tsched=0</a> to /etc/pulse/default.pa\r\n-You might want to remove r5reloaded folder under /mnt/Games/Lutris/cache/ directory after installation",
"credits": "",
"created_at": "2019-02-04T22:01:18.400000Z",
"updated_at": "2022-06-09T00:55:30.461651Z",
"updated_at": "2022-08-22T00:01:00.461651Z",
"draft": false,
"published": true,
"published_by": 19464,
"published": false,
"published_by": ,
"rating": "",
"is_playable": false,
"steamid": 1172470,
"steamid": ,
"gogid": null,
"gogslug": "",
"humbleid": "",
Expand All @@ -32,10 +31,10 @@
"script": {
"files": [
{
"client": "https://origin-a.akamaihd.net/Origin-Client-Download/origin/live/OriginThinSetup.exe"
"client": "https://download.dm.origin.com/origin/live/OriginSetup.exe"
},
{
"updater": "https://raw.githubusercontent.com/DrDoctor13/wine-origin-updater/master/updateorigin.sh"
"cache": "https://sam.nl.tab.digital/s/oZRKz5So2B8gbzY/download?path=%2Fdxvk-caches%2FR5Reloaded&files=r5apex.dxvk-cache.tar.xz"
}
],
"game": {
Expand All @@ -57,16 +56,27 @@
"command": "mkdir \"$GAMEDIR/nv-shaders\""
}
},
{
"execute": {
"command": "mkdir \"$GAMEDIR/mesa-shaders\""
}
},
{
"extract": {
"dst": "$GAMEDIR/dxvk-cache",
"file": "cache"
}
},
{
"input_menu": {
"description": "Setting DXVK workarounds please choose your GPU:",
"id": "GPU",
"options": [
{
"#Not needed for AMD. Ignore this.\n#d3d11.zeroInitWorkgroupMemory = False": "AMD"
"#Not needed for AMD. Ignore this.\n#d3d11.zeroInitWorkgroupMemory = False\ndxgi.nvapiHack = False": "AMD"
},
{
"Fixes fps issues on menus.\nd3d11.zeroInitWorkgroupMemory = True": "Nvidia"
"Fixes fps issues on menus.\nd3d11.zeroInitWorkgroupMemory = True\ndxgi.nvapiHack = False": "Nvidia"
}
],
"preselect": "#Not needed for AMD. Ignore this.\n#d3d11.zeroInitWorkgroupMemory = False"
Expand All @@ -80,7 +90,7 @@
},
{
"task": {
"app": "nocrashdialog vcrun2017 win7",
"app": "nocrashdialog arial vcrun2017 win10",
"arch": "win64",
"name": "winetricks",
"prefix": "$GAMEDIR"
Expand All @@ -90,8 +100,8 @@
"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",
"description": "Installing Origin... Login window will pop-up, close it.",
"exclude_processes": "Origin.exe OriginClientService.exe OriginWebHelperService.exe QtWebEngineProcess.exe explorer.exe winedbg.exe OriginER.exe",
"executable": "client",
"name": "wineexec",
"prefix": "$GAMEDIR"
Expand All @@ -104,21 +114,16 @@
"prefix": "$GAMEDIR"
}
},
{
"chmodx": "updater"
},
{
"merge": {
"dst": "$GAMEDIR/drive_c/Program Files (x86)/Origin",
"src": "updater"
}
}
],
"system": {
"env": {
"DXVK_CONFIG_FILE": "$GAMEDIR/dxvk.conf",
"__GL_SHADER_DISK_CACHE": 1,
"__GL_SHADER_DISK_CACHE_PATH": "$GAMEDIR/nv-shaders"
"DXVK_HUD": "compiler",
"DXVK_ASYNC": 1,
"DXVK_STATE_CACHE_PATH": "$GAMEDIR/dxvk-cache",
"STAGING_SHARED_MEMORY": 0,
"__GL_SHADER_DISK_CACHE_PATH": "$GAMEDIR/nv-shaders",
"MESA_SHADER_CACHE_DIR": "$GAMEDIR/mesa-shaders"
},
"exclude_processes": "QtWebEngineProcess.exe ActivationUI.exe OriginWebHelperService.exe"
},
Expand All @@ -130,7 +135,6 @@
}
}
},
"content": "files:\r\n- client: https://origin-a.akamaihd.net/Origin-Client-Download/origin/live/OriginThinSetup.exe\r\n- updater: https://raw.githubusercontent.com/DrDoctor13/wine-origin-updater/master/updateorigin.sh\r\ngame:\r\n arch: win64\r\n exe: drive_c/Program Files (x86)/Origin/Origin.exe\r\n prefix: $GAMEDIR\r\ninstaller:\r\n- task:\r\n arch: win64\r\n description: Creating Wine prefix\r\n name: create_prefix\r\n prefix: $GAMEDIR\r\n- execute:\r\n command: mkdir \"$GAMEDIR/nv-shaders\"\r\n- input_menu:\r\n description: 'Setting DXVK workarounds please choose your GPU:'\r\n id: GPU\r\n options:\r\n - ? '#Not needed for AMD. Ignore this.\r\n\r\n #d3d11.zeroInitWorkgroupMemory = False'\r\n : AMD\r\n - ? 'Fixes fps issues on menus.\r\n\r\n d3d11.zeroInitWorkgroupMemory = True'\r\n : Nvidia\r\n preselect: '#Not needed for AMD. Ignore this.\r\n\r\n #d3d11.zeroInitWorkgroupMemory = False'\r\n- write_file:\r\n content: $INPUT_GPU\r\n file: $GAMEDIR/dxvk.conf\r\n- task:\r\n app: nocrashdialog vcrun2017 win7\r\n arch: win64\r\n name: winetricks\r\n prefix: $GAMEDIR\r\n- task:\r\n arch: win64\r\n args: /silent\r\n description: Installing Origin... Login window will pop-up and close.\r\n exclude_processes: Origin.exe OriginClientService.exe OriginWebHelperService.exe\r\n QtWebEngineProcess.exe\r\n executable: client\r\n name: wineexec\r\n prefix: $GAMEDIR\r\n- task:\r\n arch: win64\r\n name: winekill\r\n prefix: $GAMEDIR\r\n- chmodx: updater\r\n- merge:\r\n dst: $GAMEDIR/drive_c/Program Files (x86)/Origin\r\n src: updater\r\nsystem:\r\n env:\r\n DXVK_CONFIG_FILE: $GAMEDIR/dxvk.conf\r\n __GL_SHADER_DISK_CACHE: 1\r\n __GL_SHADER_DISK_CACHE_PATH: $GAMEDIR/nv-shaders\r\n exclude_processes: QtWebEngineProcess.exe ActivationUI.exe OriginWebHelperService.exe\r\nwine:\r\n dxvk: true\r\n overrides:\r\n nvapi,nvapi64: disabled\r\n xaudio2_7: native,builtin"
}
]
}

0 comments on commit 8321d23

Please sign in to comment.