No description
Find a file
2022-04-27 11:35:48 -04:00
client Extend varp array to support cases where a server has >2500 2022-04-27 11:35:48 -04:00
deob-annotations New gradle scripts to modularize the build process 2022-04-20 21:50:21 -04:00
gradle/wrapper Switched build system to gradle 2022-04-20 19:26:30 -04:00
lib Upgrade to JOGL 2.4.0 2022-04-20 14:21:52 -04:00
playground Fixed playground dependencies 2022-04-27 11:19:51 -04:00
signlink Moved source to rt4 package so external code can depend on it 2022-04-25 05:31:58 -04:00
.gitignore Export frame buffer to PNG, allow transparency 2022-04-25 18:42:32 -04:00
build.gradle New gradle scripts to modularize the build process 2022-04-20 21:50:21 -04:00
gradlew Switched build system to gradle 2022-04-20 19:26:30 -04:00
gradlew.bat Switched build system to gradle 2022-04-20 19:26:30 -04:00
README.md Update README.md 2022-04-24 20:37:22 -04:00
settings.gradle Ignore playground on default gradle run 2022-04-27 03:52:06 -04:00

Goals

  • Identify all classes
    • Create new static classes by grouping related members
  • Identify all methods
  • Identify all fields
  • Identify all local variables
  • Remove any remaining obfuscation (possibly none left)
  • Fix poor decompiler behavior (fernflower)
  • Replace magic numbers and bitmasks with named final fields
  • Refactor code to improve behavior/readability
  • Modernize code/libraries (High DPI support, modern refresh rates, ...)
  • Support existing servers via global config flags that adjust packet behaviors
  • Organize classes into packages

OpenRS2 annotations are left in the source to build a deob map from, in case some of my changes aren't desirable.
That mapping can be used to generate a new deob with everything renamed for you.

Instructions

Build requirements:

  • Java 8+

Runtime requirements:

  • SD: Java 8+
  • HD on Windows, use Java 15 or lower. There is a JOGL issue on 16+ related to how they grab the WGL context from the window.
  • HD on Linux: Java 8+
  • HD on macOS: Not possible yet on latest macOS. Might work for earlier OS versions.
git clone https://github.com/Pazaz/RT4-Client.git
cd RT4-Client
./gradlew run

You will be connected to a test server automatically.
This server is provided by 2009scape for their own internal developments.