Open-source multiplayer game server compatible with the RuneScape client
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
Graham a3593e9326 Rename master_index_entries to master_index_archives 4 years ago
.idea Replace Paths.get() with Path.of() 4 years ago
all Add combined command for running both deobfuscators and the decompiler 4 years ago
archive Rename master_index_entries to master_index_archives 4 years ago
asm Add InsnList.clone() extension function 4 years ago
buffer Make the nioBufferCount() > 1 case in crc32 more concise 4 years ago
buildSrc Update dependencies 4 years ago
cache Add DiskStoreZipWriter 4 years ago
cli Reintroduce Clitk extensions module 4 years ago
compress Move Kotlin files from src/{main,test}/java to src/{main,test}/kotlin 4 years ago
compress-cli Remove use of deprecated mainClassName property where possible 4 years ago
conf Replace Paths.get() with Path.of() 4 years ago
crc32 Remove use of deprecated mainClassName property where possible 4 years ago
crypto Use upper case hex digits in golden ratio constant 4 years ago
db Replace assertThrows with assertFailsWith 4 years ago
decompiler Add combined command for running both deobfuscators and the decompiler 4 years ago
deob Replace Paths.get() with Path.of() 4 years ago
deob-annotations Rename dev.openrs2 package to org.openrs2 4 years ago
deob-ast Replace Paths.get() with Path.of() 4 years ago
deob-bytecode Replace Paths.get() with Path.of() 4 years ago
deob-processor Replace Paths.get() with Path.of() 4 years ago
deob-util Replace Paths.get() with Path.of() 4 years ago
etc Replace openrs2.dev with openrs2.org 4 years ago
game Remove use of deprecated mainClassName property where possible 4 years ago
gradle/wrapper Update Gradle 4 years ago
json Fix warning about deprecated SNAKE_CASE constant 4 years ago
net Rename suspend to awaitSuspend 4 years ago
patcher Add AArch64 macOS support 4 years ago
protocol Make Js5Response extend DefaultByteBufHolder 4 years ago
share Update loader.yaml to account for the removed @Pc annotation 4 years ago
util Replace assertThrows with assertFailsWith 4 years ago
yaml Fix warning about deprecated SNAKE_CASE constant 4 years ago
.drone.yml Replace openrs2.dev with openrs2.org 4 years ago
.editorconfig Wrap .md files at 80 characters 4 years ago
.gitignore Switch from Jenkins to Drone 5 years ago
.mailmap Map old Git author emails to openrs2.org 4 years ago
CONTRIBUTING.md Re-wrap markdown files 4 years ago
DCO Move DCO to a separate file 5 years ago
LICENSE Switch to the ISC license 5 years ago
README.md Move original client back to nonfree/lib 4 years ago
build.gradle.kts Move repositories to new dependencyResolutionManagement block 4 years ago
gradle.properties Update Dokka to 1.4.0-rc 4 years ago
gradlew Update to Gradle 6.6 4 years ago
gradlew.bat Update to Gradle 6.6 4 years ago
settings.gradle.kts Move repositories to new dependencyResolutionManagement block 4 years ago

README.md

OpenRS2

Drone Discord ISC license

Introduction

OpenRS2 is an open-source multiplayer game server and suite of associated tools. It is compatible with build 550 of the RuneScape client, which was released in late 2009.

Prerequisites

OpenRS2 requires version 11 or later of the Java Development Kit.

The JDK is required even if a pre-built copy of OpenRS2 is used, as it depends on JDK-only tools, such as jarsigner, at runtime.

Non-free components

OpenRS2 requires the original RuneScape client code, data and location file encryption keys, which we cannot legally distribute.

These files must be manually placed in the nonfree directory (directly beneath the root of the repository), in the following structure:

nonfree
└── lib
    ├── jaggl.pack200
    ├── loader_gl.jar
    ├── loader.jar
    ├── runescape_gl.pack200
    ├── runescape.jar
    └── unpackclass.pack

The CRC-32 checksums and SHA-256 digests of the correct files are:

CRC-32 checksum SHA-256 digest File
-1418094567 d39578f4a88a376bcb2571f05da1939a14a80d8c4ed89a4eb172d9e525795fe2 jaggl.pack200
-2129469231 31182683ba04dc0ad45859161c13f66424b10deb0b2df10aa58b48bba57402db loader_gl.jar
-1516355035 ccdfaa86be07452ddd69f869ade86ea900dbb916fd853db16602edf2eb54211b loader.jar
-132784534 4a5032ea8079d2154617ae1f21dfcc46a10e023c8ba23a4827d5e25e75c73045 runescape_gl.pack200
1692522675 0ab28a95e7c5993860ff439ebb331c0df02ad40aa1f544777ed91b46d30d3d24 runescape.jar
-1911426584 7c090e07f8d754d09804ff6e9733ef3ba227893b6b639436db90977b39122590 unpackclass.pack

The .gitignore file includes the nonfree directory to prevent any non-free material from being accidentally included in the repository.

Building

Run ./gradlew to download the dependencies, build the code, run the unit tests and package it.

IDEA 2020.3's built-in build system breaks with a cryptic java: java.lang.IllegalArgumentException error message when compiling modules that use the deob-annotations processor. A workaround is to add -Djps.track.ap.dependencies=false to the 'Shared build process VM options' in File -> Settings -> Build, Execution and Deployment -> Compiler. See IDEA-256707 for more information.

License

OpenRS2 is available under the terms of the ISC license, which is similar to the 2-clause BSD license. The full copyright notice and terms are available in the LICENSE file.