Both sides previous revisionPrevious revisionNext revision | Previous revision |
games:wine:jagex_launcher [2023/06/30 02:05] – Sean Rhone | games:wine:jagex_launcher [2024/08/06 17:31] (current) – removed Sean Rhone |
---|
====== Information ====== | |
| |
* Jagex Launcher ((https://www.jagex.com/en-GB/launcher)) | |
* 32-bit ((the launcher is seemingly 32-bit but games are native arch)) | |
* :!: 20230607: Notes are good to go for OSRS official (Java), RuneLite (AppImage), and RS3 (native Linux NXT) | |
| |
===== Prerequisites ===== | |
| |
* [[distros:fedora_workstation_gnome|Fedora Workstation]] | |
* [[notes:wine|Wine]] | |
| |
====== Install ====== | |
| |
===== Clean-up ===== | |
| |
**** | |
| |
cd ~ && rm -Rf ~/'.wine/Jagex Launcher' && sync | |
| |
===== Jagex Launcher ===== | |
| |
* :!: This needs installed on a Windows machine and then transferred over to Linux | |
| |
mkdir -p ~/'.wine' && WINEPREFIX=~/'.wine/Jagex Launcher' WINEARCH='win32' wineboot && sync | |
| |
gio open ~/'.wine/Jagex Launcher/drive_c/Program Files' | |
| |
==== Jagex Launcher ==== | |
| |
* 2023/06/12: The launcher nor any GUI appeared even with a virtual desktop | |
| |
mkdir -p ~/'.wine' && wget 'https://cdn.jagex.com/Jagex%20Launcher%20Installer.exe' -O ~/'Downloads/Jagex Launcher Installer.exe' && WINEPREFIX=~/'.wine/Jagex Launcher' WINEARCH='win32' wine ~/'Downloads/Jagex Launcher Installer.exe' | |
| |
====== Old School RuneScape ====== | |
| |
===== Java ===== | |
| |
==== Dependencies ==== | |
| |
* ''wmctrl'' is used to toggle between windowed and fullscreen states | |
| |
sudo dnf install java-11-openjdk wmctrl && sync | |
| |
==== Old School RuneScape ==== | |
| |
**** | |
| |
rm -Rf ~/'.wine/Jagex Launcher/drive_c/Program Files/Jagex Launcher/Games/Old School RuneScape/linux/jagexappletviewer.jar' && mkdir -p ~/'.wine/Jagex Launcher/drive_c/Program Files/Jagex Launcher/Games/Old School RuneScape/linux' '/tmp/oldschool' && wget -O '/tmp/oldschool/OldSchool.msi' 'https://www.runescape.com/downloads/oldschool.msi' && 7z e -o'/tmp/oldschool/OldSchool-msi' -y '/tmp/oldschool/OldSchool.msi' && 7z e -o'/tmp/oldschool/rslauncher-cab' -y '/tmp/oldschool/OldSchool-msi/rslauncher.cab' && cp '/tmp/oldschool/rslauncher-cab/JagexAppletViewerJarFile'* ~/'.wine/Jagex Launcher/drive_c/Program Files/Jagex Launcher/Games/Old School RuneScape/linux/jagexappletviewer.jar' && cp '/tmp/oldschool/rslauncher-cab/JagexAppletViewerPngFile' ~/'.wine/Jagex Launcher/drive_c/Program Files/Jagex Launcher/Games/Old School RuneScape/linux/jagexappletviewer.png' && rm -Rf '/tmp/oldschool' && sync | |
| |
==== Launch Script ==== | |
| |
nano ~/'.wine/Jagex Launcher/drive_c/Program Files/Jagex Launcher/Games/Old School RuneScape/linux/osrs.sh' && chmod +x ~/'.wine/Jagex Launcher/drive_c/Program Files/Jagex Launcher/Games/Old School RuneScape/linux/osrs.sh' && ln --symbolic --force ~/'.wine/Jagex Launcher/drive_c/Program Files/Jagex Launcher/Games/Old School RuneScape/linux/osrs.sh' ~/'.wine/Jagex Launcher/drive_c/Program Files/Jagex Launcher/Games/Old School RuneScape/bin/JagexLauncher.exe' | |
| |
<code> | |
#!/bin/bash | |
cd "${0%/*}" | |
| |
'/usr/lib/jvm/java-11-openjdk-'*'.fc'*'.x86_64/bin/java' -Xmx768m -Xms768m -XX:+UseSerialGC -Duser.home='.' -Djava.class.path='jagexappletviewer.jar' -Dcom.jagex.config='http://oldschool'116'.runescape.com/k=3/l=$(Language:0)/jav_config.ws' -Dhttps.protocols='TLSv1.3' -Dsun.java2d.opengl='false' -Dsun.java2d.uiScale='1' 'jagexappletviewer' 'oldschool'</code> | |
| |
==== Launch ==== | |
| |
* TODO: Desktop launcher and notes | |
* Update launcher if prompted, log-in, select OSRS -> Official Client -> Play | |
| |
cd ~/'.wine/Jagex Launcher/drive_c/Program Files/Jagex Launcher' && WINEPREFIX=~/'.wine/Jagex Launcher' wine ~/'.wine/Jagex Launcher/drive_c/Program Files/Jagex Launcher/JagexLauncher.exe' | |
| |
<code>--disable-gpu --disable-software-rasterizer</code> | |
| |
===== RuneLite ===== | |
| |
* Useful for GPU plugin | |
| |
==== AppImage ==== | |
| |
* Expects ''RuneLite.AppImage'' in ''~/Downloads'' | |
| |
mkdir -p ~/'.wine/Jagex Launcher/drive_c/users/'$USER'/AppData/Local/RuneLite' | |
| |
gio open 'https://runelite.net/' | |
| |
mkdir -p ~/'.wine/Jagex Launcher/drive_c/users/'$USER'/AppData/Local/RuneLite' && mv --force ~/'Downloads/RuneLite.AppImage' ~/'.wine/Jagex Launcher/drive_c/users/'$USER'/AppData/Local/RuneLite' && chmod +x ~/'.wine/Jagex Launcher/drive_c/users/'$USER'/AppData/Local/RuneLite/RuneLite.AppImage' && sync | |
| |
==== Launch Script ==== | |
| |
nano ~/'.wine/Jagex Launcher/drive_c/users/'$USER'/AppData/Local/RuneLite/RuneLite.sh' && chmod +x ~/'.wine/Jagex Launcher/drive_c/users/'$USER'/AppData/Local/RuneLite/RuneLite.sh' && ln --symbolic --force ~/'.wine/Jagex Launcher/drive_c/users/'$USER'/AppData/Local/RuneLite/RuneLite.sh' ~/'.wine/Jagex Launcher/drive_c/users/'$USER'/AppData/Local/RuneLite/RuneLite.exe' | |
| |
<code> | |
#!/bin/sh | |
cd "${0%/*}" | |
| |
# Environment Variables | |
# Modern Open/Mesa Graphics | |
export MESA_SHADER_CACHE_DIR=~/'.runelite' | |
export MESA_GL_VERSION_OVERRIDE='4.6COMPAT' | |
export MESA_NO_ERROR='1' | |
export mesa_glthread='true' | |
export MESA_DISK_CACHE_SINGLE_FILE='1' | |
export MESA_DISK_CACHE_DATABASE='1' | |
| |
./RuneLite.AppImage --disable-telemetry --J=-XX:+UseSerialGC</code> | |
| |
==== Install ==== | |
| |
**** | |
| |
WINEPREFIX=~/'.wine/Jagex Launcher' wine reg add 'HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Uninstall\RuneLite Launcher_is1' /v 'InstallLocation' /t 'REG_SZ' /d 'C:\users\'$USER'\AppData\Local\RuneLite\' /f | |
| |
==== Launch ==== | |
| |
* TODO: Desktop launcher and notes | |
* Update launcher if prompted, log-in, select OSRS -> RuneLite -> Play | |
| |
cd ~/'.wine/Jagex Launcher/drive_c/Program Files/Jagex Launcher' && WINEPREFIX=~/'.wine/Jagex Launcher' wine ~/'.wine/Jagex Launcher/drive_c/Program Files/Jagex Launcher/JagexLauncher.exe' | |
| |
<code>--disable-gpu --disable-software-rasterizer</code> | |
| |
====== RuneScape ====== | |
| |
* See [[games:runescape_native]] | |
| |
===== Launch Script ===== | |
| |
**** | |
| |
<code>ln --backup --symbolic --force ~/'Jagex/updater/runescape-launcher' ~/'.wine/Jagex Launcher/drive_c/Program Files/Jagex Launcher/Games/RuneScape/RuneScape.exe'</code> | |
| |
===== Launch ===== | |
| |
* TODO: Desktop launcher and notes | |
* Update launcher if prompted, log-in, select OSRS -> Official Client -> Play | |
| |
cd ~/'.wine/Jagex Launcher/drive_c/Program Files/Jagex Launcher' && WINEPREFIX=~/'.wine/Jagex Launcher' wine ~/'.wine/Jagex Launcher/drive_c/Program Files/Jagex Launcher/JagexLauncher.exe' | |
| |
<code>--disable-gpu --disable-software-rasterizer</code> | |
| |
====== Desktop Launcher ====== | |
| |
* :!: TODO | |
| |
===== Initial ===== | |
| |
**** | |
| |
rm -Rf ~/'.local/share/applications/wine/Programs/Battle.net' ~/'.local/share/applications/wine/Programs/World of Warcraft Classic' ~/'.local/share/applications/wine/Programs/Burning Crusade Classic' && mkdir -p ~/'.local/share/applications/wine/Programs/World of Warcraft Classic' | |
| |
===== World of Warcraft Classic (Battle.net App) ===== | |
| |
nano ~/'.local/share/applications/wine/Programs/World of Warcraft Classic/World of Warcraft Classic.desktop' | |
| |
<code> | |
[Desktop Entry] | |
Name=World of Warcraft Classic | |
Comment=Classic-era World of Warcraft | |
Categories=Game | |
Exec=env MESA_SHADER_CACHE_DIR='/home/CHANGEME/.wine/World of Warcraft Classic' WINEPREFIX='/home/CHANGEME/.wine/World of Warcraft Classic' wine '/home/CHANGEME/.wine/World of Warcraft Classic/drive_c/Program Files (x86)/World of Warcraft/World of Warcraft Launcher.exe' | |
Type=Application | |
StartupNotify=true | |
Path=/home/CHANGEME/.wine/World of Warcraft Classic/drive_c/Program Files (x86)/World of Warcraft | |
Icon=5298_World of Warcraft Launcher.0 | |
Actions=Kill; | |
| |
[Desktop Action Kill] | |
Exec=env WINEPREFIX='/home/CHANGEME/.wine/World of Warcraft Classic' wineserver -k | |
Name=Force-close</code> | |
| |
sed -i 's/'CHANGEME'/'$USER'/g' ~/'.local/share/applications/wine/Programs/World of Warcraft Classic/World of Warcraft Classic.desktop' | |
| |
====== Quick Commands ====== | |
| |
===== Winecfg ===== | |
| |
**** | |
| |
WINEPREFIX=~/'.wine/Jagex Launcher' winecfg | |
| |
===== Winetricks ===== | |
| |
**** | |
| |
WINEPREFIX=~/'.wine/Jagex Launcher' winetricks | |
| |
===== Registry Editor ===== | |
| |
**** | |
| |
WINEPREFIX=~/'.wine/Jagex Launcher' regedit | |
| |
===== Kill ===== | |
| |
**** | |
| |
WINEPREFIX=~/'.wine/Jagex Launcher' wineserver --kill | |
| |
===== Execute ===== | |
| |
==== Jagex Launcher ==== | |
| |
cd ~/'.wine/Jagex Launcher/drive_c/Program Files/Jagex Launcher' && | |
| |
WINEDEBUG='' | |
| |
WINEPREFIX=~/'.wine/Jagex Launcher' wine ~/'.wine/Jagex Launcher/drive_c/Program Files/Jagex Launcher/JagexLauncher.exe' | |
| |
<code>--disable-gpu --disable-software-rasterizer</code> | |
| |
===== File Manager ===== | |
| |
==== Jagex Launcher ==== | |
| |
**** | |
| |
gio open ~/'.wine/Jagex Launcher/drive_c/Program Files/Jagex Launcher/' | |
| |
==== Old School RuneScape ==== | |
| |
=== Java === | |
| |
**** | |
| |
gio open ~/'.wine/Jagex Launcher/drive_c/Program Files/Jagex Launcher/Games/Old School RuneScape/linux/' | |
| |
=== RuneLite === | |
| |
**** | |
| |
gio open ~/'.runelite/' | |
| |
==== RuneScape ==== | |
| |
**** | |
| |
gio open ~/'Jagex/' | |
| |