Skip to content

Refactored Java client code, including a functional TeaVM webclient (transpiled Java to JavaScript)

Notifications You must be signed in to change notification settings

2004Scape/Client

Repository files navigation

2004Scape Client - May 18, 2004

Website | Discord | Rune-Server

status: completely refactored

The client code was decompiled, deobfuscated, and refactored by us.
Jagex has never had any source code leaks.

Project Structure

client - Decompiled client source code.

runetek3 - Decompiled client engine source code. Some class names are original.

deob-annotations - OpenRS2 dedobfuscator annotations library. Useful for making the namings of everything reusable if starting again from scratch or comparing to the original bytecode.

loader - Decompiled loader source code. Class names are all original.

mapview - Decompiled mapview source code.

tools - Tooling specific to the client or loader.

Sources

Thanks to these individuals' projects for shedding light on some things - this would've taken a lot longer to complete without their efforts.

Running

Because there are multiple entry points, instead of gradle run you have to execute gradle client:run or gradle mapview:run else it will launch both sequentially.

Mapview Applet

  1. Copy worldmap.jag to the root folder.
  2. Run gradle mapSig --args="worldmap.jag"
  3. Run gradle mapview:run