Both sides previous revisionPrevious revisionNext revision | Previous revision |
games:wine:jagex_launcher [2023/06/27 15:15] – [Launch Script] Sean Rhone | games:wine:jagex_launcher [2023/07/31 17:04] (current) – [Information] Sean Rhone |
---|
| |
* Jagex Launcher ((https://www.jagex.com/en-GB/launcher)) | * Jagex Launcher ((https://www.jagex.com/en-GB/launcher)) |
* 32-bit ((the launcher is seemingly 32-bit but games are native arch)) | * 32-bit ((the launcher is 32-bit but games are native arch)) |
* :!: 20230607: Notes are good to go for OSRS official (Java), RuneLite (AppImage), and RS3 (native Linux NXT) | |
| * 2023/07/31: These notes provide native Linux OSRS RuneLite and NXT RuneScape (RS3) game clients |
| * If looking to **only** play OSRS and use the C++ client, see [[games:wine:old_school_runescape_jagex_launcher_c|C++ notes]] |
| |
===== Prerequisites ===== | ===== Prerequisites ===== |
| |
====== Install ====== | ====== Install ====== |
| |
===== Clean-up ===== | |
| |
**** | |
| |
cd ~ && rm -Rf ~/'.wine/Jagex Launcher' && sync | |
| |
===== Jagex Launcher ===== | ===== Jagex Launcher ===== |
| |
* :!: This needs installed on a Windows machine and then transferred over to Linux | * This needs installed on a Windows machine first, and then the ''Jagex Launcher'' folder in ''Program Files'' can be copied as-is to the Wine prefix |
| * [[https://drive.google.com/file/d/1e8QmSuo5OzcUGFiIUcr9tKX3gq83BlVb/view?usp=sharing|Google Drive]] link to a clean ''Jagex Launcher'' folder |
| |
mkdir -p ~/'.wine' && WINEPREFIX=~/'.wine/Jagex Launcher' WINEARCH='win32' wineboot && sync | mkdir -p ~/'.wine' && WINEPREFIX=~/'.wine/Jagex Launcher' WINEARCH='win32' wineboot && sync |
gio open ~/'.wine/Jagex Launcher/drive_c/Program Files' | gio open ~/'.wine/Jagex Launcher/drive_c/Program Files' |
| |
==== Jagex Launcher ==== | ==== Official Installer ==== |
| |
* 2023/06/12: The launcher nor any GUI appeared even with a virtual desktop | * 2023/06/12: The launcher nor any GUI appeared even with a virtual desktop |
| * If the installer ever works, the above ''Jagex Launcher'' folder copy stuff above can be ignored |
| |
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' | 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 ====== | ====== 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'120'.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 ===== | ===== RuneLite ===== |
| |
* Useful for GPU plugin | |
| |
==== AppImage ==== | ==== AppImage ==== |
| |
* Expects ''RuneLite.AppImage'' in ''~/Downloads'' | * Expects ''RuneLite.AppImage'' in ''~/Downloads'' |
| |
mkdir -p ~/'.wine/Jagex Launcher/drive_c/users/'$USER'/AppData/Local/RuneLite' | |
| |
gio open 'https://runelite.net/' | gio open 'https://runelite.net/' |
| |
<code> | <code> |
#!/bin/sh | #!/bin/bash |
cd "${0%/*}" | cd "${0%/*}" |
| |
# Environment Variables | |
# Modern Open/Mesa Graphics | |
export MESA_SHADER_CACHE_DIR=~/'.runelite' | 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> | ./RuneLite.AppImage --disable-telemetry --J=-XX:+UseConcMarkSweepGC |
| |
| # End</code> |
| |
==== Install ==== | ==== Install ==== |
==== Launch ==== | ==== Launch ==== |
| |
* TODO: Desktop launcher and notes | |
* Update launcher if prompted, log-in, select OSRS -> RuneLite -> Play | * 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' | 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' --disable-gpu --disable-software-rasterizer |
| |
<code>--disable-gpu --disable-software-rasterizer</code> | |
| |
====== RuneScape ====== | ====== RuneScape ====== |
| |
* See [[games:runescape_native]] | * See [[games:runescape_native]] |
| |
| ===== Jagex Launcher ===== |
| |
| * Update launcher if prompted, log-in, select RuneScape -> Install |
| |
| 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' --disable-gpu --disable-software-rasterizer |
| |
===== Launch Script ===== | ===== 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> | <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 ====== | ====== Desktop Launcher ====== |
| |
* :!: TODO | mkdir -p ~/'.local/share/applications/wine/Programs/Jagex' && nano ~/'.local/share/applications/wine/Programs/Jagex/Jagex Launcher.desktop' && sed -i 's/'CHANGEME'/'$USER'/g' ~/'.local/share/applications/wine/Programs/Jagex/Jagex Launcher.desktop' |
| |
===== 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> | <code> |
[Desktop Entry] | [Desktop Entry] |
Name=World of Warcraft Classic | Name=Jagex Launcher |
Comment=Classic-era World of Warcraft | Comment=The Jagex Launcher allows you to access Jagex games seamlessly and securely, all in one place and with the safety and convenience of a single login. |
Categories=Game | 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' | Exec=env WINEPREFIX='/home/CHANGEME/.wine/Jagex Launcher' wine '/home/CHANGEME/.wine/Jagex Launcher/drive_c/Program Files/Jagex Launcher/JagexLauncher.exe' --disable-gpu --disable-software-rasterizer |
| #Exec=env WINEPREFIX='/home/CHANGEME/.wine/Jagex Launcher' wine explorer /desktop='Jagex-Launcher','1440x900' '/home/CHANGEME/.wine/Jagex Launcher/drive_c/Program Files/Jagex Launcher/JagexLauncher.exe' --disable-gpu --disable-software-rasterizer |
Type=Application | Type=Application |
StartupNotify=true | StartupNotify=true |
Path=/home/CHANGEME/.wine/World of Warcraft Classic/drive_c/Program Files (x86)/World of Warcraft | Path=/home/CHANGEME/.wine/Jagex Launcher/drive_c/Program Files/Jagex Launcher |
Icon=5298_World of Warcraft Launcher.0 | Icon=TODO.0 |
Actions=Kill; | Actions=Kill; |
| |
[Desktop Action Kill] | [Desktop Action Kill] |
Exec=env WINEPREFIX='/home/CHANGEME/.wine/World of Warcraft Classic' wineserver -k | Exec=env WINEPREFIX='/home/CHANGEME/.wine/Jagex Launcher' wineserver --kill |
Name=Force-close</code> | 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 ====== | ====== Quick Commands ====== |
| |
<code>--disable-gpu --disable-software-rasterizer</code> | <code>--disable-gpu --disable-software-rasterizer</code> |
| |
| <code>--single-process</code> |
| |
===== File Manager ===== | ===== File Manager ===== |