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

[WIP] oldschool-runescape: init package #54985

Closed
wants to merge 2 commits into from
Closed

Conversation

MP2E
Copy link

@MP2E MP2E commented Jan 31, 2019

This packages one of Jagex's massive online multiplayer games, Old School RuneScape. I have tested this package for a few hours and found no problems. Audio may cut out after some time without the alsaLib updates in staging/staging-next, but will be solved when those are merged to master.

I have made this package depend on openjdk11, because JDK 8 doesn't support UI scaling from the command line, and RuneScape's User Interface is absurdly small without it.

Upstream has not provided any version numbering for this client, however it does not seem as though it is updated often at all, as it automatically downloads any Old School RuneScape updates on launch to the user's home directory

  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested execution of all binary files (usually in ./result/bin/)
  • Fits CONTRIBUTING.md.

@MP2E
Copy link
Author

MP2E commented Jan 31, 2019

force pushed a grammar fix :)

@arianvp
Copy link
Member

arianvp commented Jan 31, 2019

I'm not sure if we're allowed to repack that executable. I remember that jagex used to have an open source launcher (which we would be able to unpack, and thus ship in NixOS)

@arianvp
Copy link
Member

arianvp commented Jan 31, 2019

Also, iirc the RuneScape launcher used to self-update. Does this work in NixOS or do we need to keep the launcher up to date often? If it's the latter, it would be nice to have a nice script that detects new releases and generates the nix derivation.

@MP2E
Copy link
Author

MP2E commented Jan 31, 2019

Hmm, yeah I think I should find some clarification on what is and isn't good to redistribute. I think I came across their open source client before, would this be it?

https://github.com/rsu-client/rsu-client

I actually have a nix script that packages it and it mostly works, but the issue I was having is that I couldn't get RS3 to work and felt a bit weird about pushing something that only worked with 1 of the 2 games offered.

From what I understand, Old School Runescape is autoupdated by the appletviewer on launch and the appletviewer we're packaging here isn't updated too much itself, but one of the features I'm seeing of rsu-client here is that it has a script to automatically update to the newest appletviewer, in case Jagex chooses to update that as well. This makes me think that there's a decent possibility this could happen in the future, so I'll look into this a bit more..

@MP2E MP2E changed the title oldschool-runescape: init package WIP: oldschool-runescape: init package Jan 31, 2019
@MP2E MP2E changed the title WIP: oldschool-runescape: init package [WIP] oldschool-runescape: init package Jan 31, 2019
@arianvp
Copy link
Member

arianvp commented Jan 31, 2019

Here is the GPL licensed source code: http://www.runescape.com/downloads/jagexlauncher-src.tar.bz2 but i think it's of RS3. Maybe there's one for OSRS too

Edit: sources tell me they use the same launcher.

@aanderse
Copy link
Member

aanderse commented Aug 5, 2019

@MP2E are you motivated to continue with this PR?

@MP2E
Copy link
Author

MP2E commented Aug 5, 2019

I tend to use the 3rd party RuneLite client now which I'm not sure on how to properly package. I didnt get too far repackaging the official gpl launcher, though I just pushed a few tweaks I made to this launcher in the meantime.

Since it's unclear whether this can be distributed with NixOS and I'm probably just going to stick with RuneLite, I'll go ahead and close this PR.

@MP2E MP2E closed this Aug 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants