Comments (13)
In the same vein as @Yannjoel 's solution, you can try editing the registry value manually which should be more straightforward, in theory. Hightlight the jagex launcher then select Wine registry in the window shown
Then, make sure this InstallLocation registry value exists as shown with the following value. If the entry doesn't exist, then create it.
from jagex-launcher-linux.
No need to apologize, thank you for reporting the issue. I'll make a PR to make the fixes above once I confirm it still works in my test boxes.
from jagex-launcher-linux.
Hello. The RuneLite launcher should be installed automatically as part of the process. I will test this later today to be sure it's still working. In the meantime, here are a couple things you can check:
- Make sure the installation is done to an empty directory. Lutris doesn't block you from installing to a non-empty one, and it'll break the install.
- Lutris is supposed to default to the latest Proton-GE runner. There is a bug in the latest version causing it not to do that unless it is already installed. Make sure in your runners tab, you check the versions next to the Wine section and install the latest Proton-GE version. Once that is done, try re-running the installer in a fresh directory.
from jagex-launcher-linux.
For what it's worth, I tested on a fresh system and confirmed RuneLite is still installing properly on my end. Please try the above and, if it doesn't work, we'll likely need your OS information and some logs.
from jagex-launcher-linux.
I'm having the same problem on Ubuntu 22.04.2:
As far as I can tell, the runelite files are correctly installed at "~/Games/jagex-launcher/drive_c/Program Files (x86)/Jagex Launcher/Games/RuneLite"
The file and their permissions in the directory are :
drwxrwxr-x 2 myuser myuser 4096 Jul 19 13:04 .
drwxrwxr-x 4 myuser myuser 4096 Jul 19 13:04 ..
-rwxrw-r-- 1 myuser myuser 46253248 Jul 19 13:04 RuneLite.AppImage
lrwxrwxrwx 1 myuser myuser 105 Jul 19 13:04 RuneLite.exe -> '/home/myuser/Games/jagex-launcher/drive_c/Program Files (x86)/Jagex Launcher/Games/RuneLite/runelite.sh'
-rwxrw-r-- 1 myuser myuser 79 Jul 19 13:04 runelite.sh
Nevertheless, the RuneLite-Launcher isn't detected inside the Jagex launcher. The install button just links to runelite.net:
Installing the normal Launcher from within the jagex Launcher installs it to "C:\Program Files (x86)\Jagex Launcher\Games\Old School RuneScape" - The game successfully launches with the official launcher
from jagex-launcher-linux.
A workaround, that solved it for me, was to install the windows RunLite-Launcher with
env WINEPREFIX=/home/myuser/Games/jagex-launcher /home/myuser/.local/share/lutris/runners/wine/lutris-GE-Proton8-10-x86_64/bin/wine RuneLiteSetup.exe
This installed the windows runlite launcher to "/home/myuser/Games/jagex-launcher/drive_c/users/myuser/AppData/Local"
I then replaced the windows RuneLite.exe with the simlink to "/home/myuser/Games/jagex-launcher/drive_c/Program Files (x86)/Jagex Launcher/Games/RuneLite/runelite.sh"
Now the jagex-launcher shows me the option to start runelite and launches the linux version.
As far is I can tell from the log, the jagex launcher is getting the path to the runelite.exe from the registry entry "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Uninstall\RuneLite Launcher_is1"
07/19/2023 13:52:13 DEBUG - Workflow.94891498 - Task.b50fb723.stateInstallCheck-win - Checking if registry key exists user\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\RuneLite Launcher_is1 (32)
[...]
07/19/2023 13:52:13 DEBUG - Workflow.6ac27248 - Task.a11aca07.checkInstallLocation - Checking if file exists (C:\Program Files (x86)\Jagex Launcher\Games\RuneScape\RuneScape.exe)
This key is normally already set to the correct path (where the simlink is placed by the default installation) by the lutris installation script. I am therefor not sure, why it didn't directly work with the lutris installation script.
from jagex-launcher-linux.
Your sleuthing is correct. The lutris script is supposed to have set that registry path for you to the existing installation. Thank you for sharing your workaround.
We are getting several reports of this and aren't sure why it's failing in some cases. If anyone is able to reproduce by running lutris -i <.yml file>
or flatpak run net.lutris.Lutris -i <.yml file>
for flatpak and share the logs, we may be able to find something in there.
from jagex-launcher-linux.
I was able to reproduce it: Here is the snippet of the installation log:
DEBUG 2023-07-19 18:56:03,337 [command.on_stop:195]:Process 157407 has terminated with code 0
DEBUG 2023-07-19 18:56:04,194 [commands._monitor_task:444]:Return code: 0
DEBUG 2023-07-19 18:56:04,194 [interpreter._iter_commands:361]:Installer command: {'task': {'name': 'set_regedit', 'path': 'HKEY_CURRENT_USER\\Software\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\RuneLite Launcher_is1', 'key': 'InstallLocation', 'value': 'C:\\\\Program Files (x86)\\\\Jagex Launcher\\\\Games\\\\RuneLite'}}
DEBUG 2023-07-19 18:56:04,195 [wine.set_regedit:48]:Setting [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Uninstall\RuneLite Launcher_is1]:InstallLocation="C:\\Program Files (x86)\\Jagex Launcher\\Games\\RuneLite"
DEBUG 2023-07-19 18:56:04,216 [wine.use_lutris_runtime:123]:/home/myuser/.local/share/lutris/runners/wine/lutris-GE-Proton8-10-x86_64/bin/wine64 is provided by Lutris, using runtime
DEBUG 2023-07-19 18:56:04,287 [system.execute:74]:Executing /home/myuser/.local/share/lutris/runners/wine/lutris-GE-Proton8-10-x86_64/bin/wine64 regedit /S /home/myuser/.cache/lutris/winekeys.reg
DEBUG 2023-07-19 18:56:04,287 [system.execute:80]:__GL_SHADER_DISK_CACHE=1 __GL_SHADER_DISK_CACHE_PATH=/home/myuser/.cache/lutris/shaders/wine PULSE_LATENCY_MSEC=60 LD_LIBRARY_PATH=/home/myuser/.local/share/lutris/runners/wine/lutris-GE-Proton8-10-x86_64/lib:/home/myuser/.local/share/lutris/runners/wine/lutris-GE-Proton8-10-x86_64/lib64:/lib/x86_64-linux-gnu:/lib/i386-linux-gnu:/lib:/lib32:/lib/i386-linux-gnu/sse2:/usr/lib/x86_64-linux-gnu/libfakeroot:/lib64:/lib64:/usr/lib:/usr/lib64:/usr/lib32:/usr/lib64:/usr/lib/i386-linux-gnu:/usr/lib/x86_64-linux-gnu:/home/myuser/.local/share/lutris/runtime/Ubuntu-18.04-i686:/home/myuser/.local/share/lutris/runtime/steam/i386/lib/i386-linux-gnu:/home/myuser/.local/share/lutris/runtime/steam/i386/lib:/home/myuser/.local/share/lutris/runtime/steam/i386/usr/lib/i386-linux-gnu:/home/myuser/.local/share/lutris/runtime/steam/i386/usr/lib:/home/myuser/.local/share/lutris/runtime/Ubuntu-18.04-x86_64:/home/myuser/.local/share/lutris/runtime/steam/amd64/lib/x86_64-linux-gnu:/home/myuser/.local/share/lutris/runtime/steam/amd64/lib:/home/myuser/.local/share/lutris/runtime/steam/amd64/usr/lib/x86_64-linux-gnu:/home/myuser/.local/share/lutris/runtime/steam/amd64/usr/lib WINEDEBUG=-all DXVK_LOG_LEVEL=none WINEARCH=win64 WINE=/home/myuser/.local/share/lutris/runners/wine/lutris-GE-Proton8-10-x86_64/bin/wine64 WINE_MONO_CACHE_DIR=/home/myuser/.local/share/lutris/runners/wine/lutris-GE-Proton8-10-x86_64/mono WINE_GECKO_CACHE_DIR=/home/myuser/.local/share/lutris/runners/wine/lutris-GE-Proton8-10-x86_64/gecko GST_PLUGIN_SYSTEM_PATH_1_0=/home/myuser/.local/share/lutris/runners/wine/lutris-GE-Proton8-10-x86_64/lib64/gstreamer-1.0/:/home/myuser/.local/share/lutris/runners/wine/lutris-GE-Proton8-10-x86_64/lib/gstreamer-1.0/ WINEPREFIX=/home/myuser/Games/jagex-launcher WINEESYNC=0 WINEFSYNC=0 WINE_FULLSCREEN_FSR=1 DXVK_NVAPIHACK=0 DXVK_ENABLE_NVAPI=1 PROTON_BATTLEYE_RUNTIME=/home/myuser/.local/share/lutris/runtime/battleye_runtime PROTON_EAC_RUNTIME=/home/myuser/.local/share/lutris/runtime/eac_runtime WINEDLLOVERRIDES=d3d10core,d3d11,d3d12,d3d12core,d3d9,d3dcompiler_33,d3dcompiler_34,d3dcompiler_35,d3dcompiler_36,d3dcompiler_37,d3dcompiler_38,d3dcompiler_39,d3dcompiler_40,d3dcompiler_41,d3dcompiler_42,d3dcompiler_43,d3dcompiler_46,d3dcompiler_47,d3dx10,d3dx10_33,d3dx10_34,d3dx10_35,d3dx10_36,d3dx10_37,d3dx10_38,d3dx10_39,d3dx10_40,d3dx10_41,d3dx10_42,d3dx10_43,d3dx11_42,d3dx11_43,d3dx9_24,d3dx9_25,d3dx9_26,d3dx9_27,d3dx9_28,d3dx9_29,d3dx9_30,d3dx9_31,d3dx9_32,d3dx9_33,d3dx9_34,d3dx9_35,d3dx9_36,d3dx9_37,d3dx9_38,d3dx9_39,d3dx9_40,d3dx9_41,d3dx9_42,d3dx9_43,dxgi,nvapi,nvapi64,nvml=n;winemenubuilder= STEAM_COMPAT_CLIENT_INSTALL_PATH=/home/myuser/.steam/debian-installation/ STEAM_COMPAT_DATA_PATH=/home/myuser/Games/jagex-launcher STEAM_COMPAT_APP_ID=0 SteamAppId=0 SteamGameId=lutris-game
DEBUG 2023-07-19 18:56:04,857 [interpreter._iter_commands:361]:Installer command: {'task': {'name': 'set_regedit', 'path': 'HKEY_LOCAL_MACHINE\\Software\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\RuneScape Launcher_is1', 'key': 'InstallLocation', 'value': 'C:\\\\Program Files (x86)\\\\Jagex Launcher\\\\Games\\\\RuneScape'}}
DEBUG 2023-07-19 18:56:04,858 [wine.set_regedit:48]:Setting [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall\RuneScape Launcher_is1]:InstallLocation="C:\\Program Files (x86)\\Jagex Launcher\\Games\\RuneScape"
DEBUG 2023-07-19 18:56:04,879 [wine.use_lutris_runtime:123]:/home/myuser/.local/share/lutris/runners/wine/lutris-GE-Proton8-10-x86_64/bin/wine64 is provided by Lutris, using runtime
DEBUG 2023-07-19 18:56:04,941 [system.execute:74]:Executing /home/myuser/.local/share/lutris/runners/wine/lutris-GE-Proton8-10-x86_64/bin/wine64 regedit /S /home/myuser/.cache/lutris/winekeys.reg
DEBUG 2023-07-19 18:56:04,942 [system.execute:80]:__GL_SHADER_DISK_CACHE=1 __GL_SHADER_DISK_CACHE_PATH=/home/myuser/.cache/lutris/shaders/wine PULSE_LATENCY_MSEC=60 LD_LIBRARY_PATH=/home/myuser/.local/share/lutris/runners/wine/lutris-GE-Proton8-10-x86_64/lib:/home/myuser/.local/share/lutris/runners/wine/lutris-GE-Proton8-10-x86_64/lib64:/lib/x86_64-linux-gnu:/lib/i386-linux-gnu:/lib:/lib32:/lib/i386-linux-gnu/sse2:/usr/lib/x86_64-linux-gnu/libfakeroot:/lib64:/lib64:/usr/lib:/usr/lib64:/usr/lib32:/usr/lib64:/usr/lib/i386-linux-gnu:/usr/lib/x86_64-linux-gnu:/home/myuser/.local/share/lutris/runtime/Ubuntu-18.04-i686:/home/myuser/.local/share/lutris/runtime/steam/i386/lib/i386-linux-gnu:/home/myuser/.local/share/lutris/runtime/steam/i386/lib:/home/myuser/.local/share/lutris/runtime/steam/i386/usr/lib/i386-linux-gnu:/home/myuser/.local/share/lutris/runtime/steam/i386/usr/lib:/home/myuser/.local/share/lutris/runtime/Ubuntu-18.04-x86_64:/home/myuser/.local/share/lutris/runtime/steam/amd64/lib/x86_64-linux-gnu:/home/myuser/.local/share/lutris/runtime/steam/amd64/lib:/home/myuser/.local/share/lutris/runtime/steam/amd64/usr/lib/x86_64-linux-gnu:/home/myuser/.local/share/lutris/runtime/steam/amd64/usr/lib WINEDEBUG=-all DXVK_LOG_LEVEL=none WINEARCH=win64 WINE=/home/myuser/.local/share/lutris/runners/wine/lutris-GE-Proton8-10-x86_64/bin/wine64 WINE_MONO_CACHE_DIR=/home/myuser/.local/share/lutris/runners/wine/lutris-GE-Proton8-10-x86_64/mono WINE_GECKO_CACHE_DIR=/home/myuser/.local/share/lutris/runners/wine/lutris-GE-Proton8-10-x86_64/gecko GST_PLUGIN_SYSTEM_PATH_1_0=/home/myuser/.local/share/lutris/runners/wine/lutris-GE-Proton8-10-x86_64/lib64/gstreamer-1.0/:/home/myuser/.local/share/lutris/runners/wine/lutris-GE-Proton8-10-x86_64/lib/gstreamer-1.0/ WINEPREFIX=/home/myuser/Games/jagex-launcher WINEESYNC=0 WINEFSYNC=0 WINE_FULLSCREEN_FSR=1 DXVK_NVAPIHACK=0 DXVK_ENABLE_NVAPI=1 PROTON_BATTLEYE_RUNTIME=/home/myuser/.local/share/lutris/runtime/battleye_runtime PROTON_EAC_RUNTIME=/home/myuser/.local/share/lutris/runtime/eac_runtime WINEDLLOVERRIDES=d3d10core,d3d11,d3d12,d3d12core,d3d9,d3dcompiler_33,d3dcompiler_34,d3dcompiler_35,d3dcompiler_36,d3dcompiler_37,d3dcompiler_38,d3dcompiler_39,d3dcompiler_40,d3dcompiler_41,d3dcompiler_42,d3dcompiler_43,d3dcompiler_46,d3dcompiler_47,d3dx10,d3dx10_33,d3dx10_34,d3dx10_35,d3dx10_36,d3dx10_37,d3dx10_38,d3dx10_39,d3dx10_40,d3dx10_41,d3dx10_42,d3dx10_43,d3dx11_42,d3dx11_43,d3dx9_24,d3dx9_25,d3dx9_26,d3dx9_27,d3dx9_28,d3dx9_29,d3dx9_30,d3dx9_31,d3dx9_32,d3dx9_33,d3dx9_34,d3dx9_35,d3dx9_36,d3dx9_37,d3dx9_38,d3dx9_39,d3dx9_40,d3dx9_41,d3dx9_42,d3dx9_43,dxgi,nvapi,nvapi64,nvml=n;winemenubuilder= STEAM_COMPAT_CLIENT_INSTALL_PATH=/home/myuser/.steam/debian-installation/ STEAM_COMPAT_DATA_PATH=/home/myuser/Games/jagex-launcher STEAM_COMPAT_APP_ID=0 SteamAppId=0 SteamGameId=lutris-game
DEBUG 2023-07-19 18:56:05,495 [interpreter._iter_commands:379]:Commands 15 out of 15 completed
DEBUG 2023-07-19 18:56:05,495 [config.write_game_config:22]:Writing game config to jagex-launcher-installer-1689785765
DEBUG 2023-07-19 18:56:05,511 [http._request:88]:GET https://lutris.net/api/games/jagex-launcher
DEBUG 2023-07-19 18:56:05,963 [game.save:423]:Saving Jagex Launcher (wine) with config ID jagex-launcher-installer-1689785765
DEBUG 2023-07-19 18:56:05,963 [config.save:229]:Saving LutrisConfig(level=game, game_config_id=jagex-launcher-installer-1689785765, runner=wine) config to /home/myuser/.config/lutris/games/jagex-launcher-installer-1689785765.yml
DEBUG 2023-07-19 18:56:06,011 [lutris.add_to_path_cache:158]:Adding Jagex Launcher (wine) to path cache
DEBUG 2023-07-19 18:56:09,868 [system.remove_folder:321]:Removing folder /home/myuser/.cache/lutris/installer/jagex-launcher
DEBUG 2023-07-19 18:56:09,876 [application.on_app_window_destroyed:357]:Removed window InstallerWindowjagex-launcher
And just in case also the full installation log:
lutris-debug-log-install-jagexlauncher-ubuntu.txt
After the installation, the key is missing in the registry:
Could it be, that it is installing the key to the wrong wine prefix?
Early in the log it mentions another prefix location:
INFO 2023-07-19 18:54:27,936 [wine.create_prefix:98]:Creating a win64 prefix in /home/myuser/Games/jagex-launcher
from jagex-launcher-linux.
Thank you! I had a hunch it had something to do with placing the reg key in the wrong prefix, so that's a promising lead.
I have a working installation log on my home PC I can compare this to once I'm home later. Hopefully that'll shed some light on what about our setups are different that would cause this.
If you are able, could you please try this version of the script and see if it fixes it? https://github.com/nmlynch94/jagex-launcher-linux/blob/patch-13/resources/jagexlauncher.yml. I added the prefix explicitly on those steps. Still unsure why it would use the correct prefix by default on some machines but not others, but hopefully this can smooth that over.
from jagex-launcher-linux.
It worked for me, after changing the order of the tasks - I'm not quite sure why this has an effect.
I found nothing, that explained why the order of the task should have a different outcome on some systems.
The following installation skript worked for me:
jagexlauncher-patch13_modified.yml.txt
from jagex-launcher-linux.
That's very strange. Appreciate you doing that testing. @jullian-chavez would you be willing to try the above script to see if it works for you as well?
from jagex-launcher-linux.
@nmlynch94 That worked perfectly! Sorry I couldnt contribute more. I use linux as my main work OS every day, but I'm not a linux expert by any means. Took me forever to just get wine working and get this installed. I appreciate the help! I'm glad others were able to reproduce. I couldnt tell if I was doing something wrong. Thanks again!
from jagex-launcher-linux.
Fixed with #50
from jagex-launcher-linux.
Related Issues (20)
- Runelite flatpak issue HOT 7
- This script uses unnecessary or undocumented RuneLite settings HOT 2
- Unable to launch HDOS or RuneLite from Jages launcher HOT 4
- Jagex Launcher not found HOT 5
- Failure to launch Jagex Luncher HOT 3
- Is there a way to make it run the snap version? HOT 8
- Python command in install script points to the wrong version of python HOT 3
- Command exited with code 1024 when installing Jagex launcher HOT 3
- External links aren't opening properly when using the Jagex Launcher HOT 7
- add info about disabling system libraries to troubleshoot wiki HOT 1
- Mouse Freezes then Disappears HOT 1
- Jagex Launcher insists I install runelite HOT 1
- Installing via Lutris. HOT 1
- Runelite OSRS doesn't launch HOT 7
- Unable to sign-in when jagex launcher open HOT 2
- Install issue HOT 5
- Install script not working HOT 2
- Metafile isn't always a JWT HOT 4
- Consider adding a license HOT 1
- The wine configuration in .../jagex-launcher is being updated, please wait... HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jagex-launcher-linux.