Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow client arguments or add an option to dump authentication tokens #20

Closed
furfy opened this issue Feb 5, 2024 · 3 comments
Closed

Comments

@furfy
Copy link

furfy commented Feb 5, 2024

An important feature for the plugin development.
Currently there is no way to pass the --insecure-write-credentials argument to the client, which makes not possible to dump the credentials.properties file required for login without the Jagex Launcher.

Or at least I do not know how to do it right now.

Adamcake added a commit that referenced this issue Feb 5, 2024
addresses #19 and #20
@Adamcake
Copy link
Owner

Adamcake commented Feb 5, 2024

I'm in the process of publishing a version which will allow you to use RuneLite's --configure option for options like that. Or you could also find the JX variables by launching the game via Bolt, finding the process with ps, then parsing /proc/<pid>/environ. In theory you only need JX_SESSION_ID and JX_CHARACTER_ID to be able to start a game session without a launcher.

@furfy
Copy link
Author

furfy commented Feb 7, 2024

Works really well, thank you!

@furfy furfy closed this as completed Feb 7, 2024
@dginovker
Copy link

Fwiw the format of credentials.properties is

JX_SESSION_ID=xyz
JX_CHARACTER_ID=123
X_DISPLAY_NAME=Lemmy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants