Both sides previous revisionPrevious revisionNext revision | Previous revision |
games:wine:old_school_runescape_jagex_launcher_c [2024/04/29 14:05] – [Jagex Launcher] Sean Rhone | games:wine:old_school_runescape_jagex_launcher_c [2024/05/09 17:43] (current) – Sean Rhone |
---|
===== Prerequisites ===== | ===== Prerequisites ===== |
| |
* [[distros:fedora_workstation_gnome|Fedora Workstation]] | * [[distros:opensuse_tumbleweed_gnome|openSUSE Tumbleweed (GNOME)]] |
* [[notes:wine|Wine]] | * [[notes:wine|Wine]] |
| |
==== Google Drive ==== | ==== Google Drive ==== |
| |
* [[https://drive.google.com/file/d/1iUxgHHBCQXziYHfcDwp3rxFXyb9mL3c2/view?usp=sharing|Google Drive]] link to a clean ''Jagex Launcher'' folder with SHA256 | * [[https://drive.google.com/file/d/1ycvSFHTCXNQ7kXnPTS8XHFg__qgfB2ti/view?usp=sharing|Google Drive]] link to a clean ''Jagex Launcher'' folder with SHA256 |
* Use this if at all unsure | * Use this if at all unsure |
| |
sha256sum ~/'Downloads/20240211-Jagex-Launcher.zip' | grep 'cd924d7b145349912879c429c44416403af5be494914d15446301b2e42cc4812' > '/dev/null' && unzip -b -o -qq ~/'Downloads/20240211-Jagex-Launcher.zip' -d ~/'.wine/Old School RuneScape/drive_c/Program Files' && sync | sha256sum ~/'Downloads/20240509-Jagex-Launcher.zip' | grep 'bc143b9cafbf6d735193d64e486be5015d4a4e857c61329e1a49f7143987789d' > '/dev/null' && unzip -b -o -qq ~/'Downloads/20240509-Jagex-Launcher.zip' -d ~/'.wine/Old School RuneScape/drive_c/Program Files' && sync |
| |
==== Manual ==== | ==== Manual ==== |
| |
* 1080p, fullscreen, max draw distance, MSAA x4, W416, Nearest-neighbour UI scaling | * 1080p, fullscreen, max draw distance, MSAA x4, W416, Nearest-neighbour UI scaling |
* :!: Set ''FpsLimit'' to the screen's refresh rate to prevent uncapped framerates, unless if using Xorg ((set the limit to ''0'' and do ''vblank_mode'' for Vsync instead)) | * :!: If using Wayland, set ''FpsLimit'' to the screen's refresh rate to prevent uncapped framerates ((changing the in-game Framerate limit option to anything will overwrite whatever was specified, including going back to ''0'' with Unlimited)) |
| |
* Last updated: 2024/01/31 | * Last updated: 2024/01/31 |
DisplayFps 0 | DisplayFps 0 |
DrawDistance 90 | DrawDistance 90 |
FpsLimit 74 | FpsLimit 0 |
Fullscreen 1 | Fullscreen 1 |
HideUserName 0 | HideUserName 0 |
Categories=Game;AdventureGame;RolePlaying | Categories=Game;AdventureGame;RolePlaying |
Exec='/bin/bash' -c "cd ~/'.wine/Old School RuneScape/drive_c/Program Files/Jagex Launcher' && PULSE_LATENCY_MSEC='400' MESA_SHADER_CACHE_DIR=~/'.wine/Old School RuneScape' MESA_LOADER_DRIVER_OVERRIDE='zink' MESA_VK_WSI_PRESENT_MODE='immediate' WINEPREFIX=~/'.wine/Old School RuneScape' wine ~/'.wine/Old School RuneScape/drive_c/Program Files/Jagex Launcher/JagexLauncher.exe' --disable-gpu --disable-software-rasterizer" | Exec='/bin/bash' -c "cd ~/'.wine/Old School RuneScape/drive_c/Program Files/Jagex Launcher' && PULSE_LATENCY_MSEC='400' MESA_SHADER_CACHE_DIR=~/'.wine/Old School RuneScape' MESA_LOADER_DRIVER_OVERRIDE='zink' MESA_VK_WSI_PRESENT_MODE='immediate' WINEPREFIX=~/'.wine/Old School RuneScape' wine ~/'.wine/Old School RuneScape/drive_c/Program Files/Jagex Launcher/JagexLauncher.exe' --disable-gpu --disable-software-rasterizer" |
| |
Type=Application | Type=Application |
StartupNotify=true | StartupNotify=true |
Icon=D0C9_osclient.0 | Icon=D0C9_osclient.0 |
StartupWMClass=osclient.exe | StartupWMClass=osclient.exe |
Actions=Cache;Kill;Notes; | Actions=OpenGL;Cache;Kill;Notes; |
| |
| [Desktop Action OpenGL] |
| Exec='/bin/bash' -c "cd ~/'.wine/Old School RuneScape/drive_c/Program Files/Jagex Launcher' && PULSE_LATENCY_MSEC='400' MESA_SHADER_CACHE_DIR=~/'.wine/Old School RuneScape' vblank_mode='3' mesa_glthread='true' MESA_NO_ERROR='1' WINEPREFIX=~/'.wine/Old School RuneScape' wine ~/'.wine/Old School RuneScape/drive_c/Program Files/Jagex Launcher/JagexLauncher.exe' --disable-gpu --disable-software-rasterizer" |
| Name=Launch without Zink |
| |
[Desktop Action Cache] | [Desktop Action Cache] |
| |
===== Execute ===== | ===== Execute ===== |
| |
| * TODO: OSRS can technically be launched directly and accept username/password logins; separate Jagex Launcher methods and add a direct OSRS one |
| |
==== Jagex Launcher ==== | ==== Jagex Launcher ==== |
| |
* ''PULSE_LATENCY_MSEC=400'' [[https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/1769#note_1146786|source]] ((required to fix audio glitches present in music even on Fedora 38+ where PipeWire is used)) | * ''PULSE_LATENCY_MSEC=400'' [[https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/1769#note_1146786|source]] ((required to fix audio glitches present in music even on Fedora 38+ where PipeWire is used)) |
| * This has no enforced Vsync nor Zink usage |
| |
<code>cd ~/'.wine/Old School RuneScape/drive_c/Program Files/Jagex Launcher' && PULSE_LATENCY_MSEC='400' MESA_SHADER_CACHE_DIR=~/'.wine/Old School RuneScape' DXVK_STATE_CACHE_PATH=~/'.wine/Old School RuneScape/dxvk_shader_cache' WINEDEBUG='' WINEPREFIX=~/'.wine/Old School RuneScape' wine ~/'.wine/Old School RuneScape/drive_c/Program Files/Jagex Launcher/JagexLauncher.exe' --disable-gpu --disable-software-rasterizer</code> | <code>cd ~/'.wine/Old School RuneScape/drive_c/Program Files/Jagex Launcher' && PULSE_LATENCY_MSEC='400' MESA_SHADER_CACHE_DIR=~/'.wine/Old School RuneScape' DXVK_STATE_CACHE_PATH=~/'.wine/Old School RuneScape/dxvk_shader_cache' WINEDEBUG='' WINEPREFIX=~/'.wine/Old School RuneScape' wine ~/'.wine/Old School RuneScape/drive_c/Program Files/Jagex Launcher/JagexLauncher.exe' --disable-gpu --disable-software-rasterizer</code> |
==== Forced Vsync ==== | ==== Forced Vsync ==== |
| |
* ''vblank_mode='3'' | * Sets ''vblank_mode=3'', ''mesa_glthread=true'', and ''MESA_NO_ERROR=1'' |
| |
<code>cd ~/'.wine/Old School RuneScape/drive_c/Program Files/Jagex Launcher' && vblank_mode='3' PULSE_LATENCY_MSEC='400' MESA_SHADER_CACHE_DIR=~/'.wine/Old School RuneScape' DXVK_STATE_CACHE_PATH=~/'.wine/Old School RuneScape/dxvk_shader_cache' WINEDEBUG='' WINEPREFIX=~/'.wine/Old School RuneScape' wine ~/'.wine/Old School RuneScape/drive_c/Program Files/Jagex Launcher/JagexLauncher.exe' --disable-gpu --disable-software-rasterizer</code> | |
| |
=== Test === | |
| |
**** | |
| |
<code>cd ~/'.wine/Old School RuneScape/drive_c/Program Files/Jagex Launcher' && vblank_mode='3' mesa_glthread='true' MESA_NO_ERROR='1' PULSE_LATENCY_MSEC='400' MESA_SHADER_CACHE_DIR=~/'.wine/Old School RuneScape' DXVK_STATE_CACHE_PATH=~/'.wine/Old School RuneScape/dxvk_shader_cache' WINEDEBUG='' WINEPREFIX=~/'.wine/Old School RuneScape' wine ~/'.wine/Old School RuneScape/drive_c/Program Files/Jagex Launcher/JagexLauncher.exe' --disable-gpu --disable-software-rasterizer</code> | <code>cd ~/'.wine/Old School RuneScape/drive_c/Program Files/Jagex Launcher' && vblank_mode='3' mesa_glthread='true' MESA_NO_ERROR='1' PULSE_LATENCY_MSEC='400' MESA_SHADER_CACHE_DIR=~/'.wine/Old School RuneScape' DXVK_STATE_CACHE_PATH=~/'.wine/Old School RuneScape/dxvk_shader_cache' WINEDEBUG='' WINEPREFIX=~/'.wine/Old School RuneScape' wine ~/'.wine/Old School RuneScape/drive_c/Program Files/Jagex Launcher/JagexLauncher.exe' --disable-gpu --disable-software-rasterizer</code> |
==== Zink ==== | ==== Zink ==== |
| |
* ''MESA_LOADER_DRIVER_OVERRIDE=zink'' | * Sets ''MESA_LOADER_DRIVER_OVERRIDE=zink'' and ''MESA_VK_WSI_PRESENT_MODE=immediate'' |
* ''MESA_VK_WSI_PRESENT_MODE=immediate'' | |
* :!: This is required for GNOME on Wayland with Intel UHD 630 in order to workaround an odd 50 FPS limit ((TODO: Figure out what this is about and if it affects other GPU vendors; this is also reproducible with [[games:wine:diablo_2|Diablo II non-Resurrected]] when ran through a Glide-to-OpenGL wrapper)) | * :!: This is required for GNOME on Wayland with Intel UHD 630 in order to workaround an odd 50 FPS limit ((TODO: Figure out what this is about and if it affects other GPU vendors; this is also reproducible with [[games:wine:diablo_2|Diablo II non-Resurrected]] when ran through a Glide-to-OpenGL wrapper)) |
| |