Skip to content
This repository has been archived by the owner on Nov 14, 2019. It is now read-only.

Latest commit

 

History

History
68 lines (43 loc) · 1.7 KB

README.md

File metadata and controls

68 lines (43 loc) · 1.7 KB

The new repository (along with the collection of gamepacks) now resides here.

OSRS Gamepack Downloader

Simple OldSchool RuneScape gamepack downloader written in Kotlin.

What does this program do?

  • Downloads and parses the official OldSchool jav_config.ws to get the gamepack URL.
  • Downloads the gamepack from the parsed URL (codebase + initial_jar)
  • Analyzes the gamepack's bytecode to determine the actual revision.
  • Writes the gamepack to the provided (or current) directory.

Prerequisites

  • Java SE 8 or higher, available here.

Building

Use the included gradlew (Linux/OSX) or gradlew.bat (Windows) files to let gradle build the file.

./gradlew build

The executable will be located at build/libs/osrs-gamepack-downloader.jar.

Usage

Double clicking the osrs-gamepack-downloader.jar file will download the latest gamepack to the same directory and name it accordingly.

Command line:

java -jar osrs-gamepack-downloader.jar [OPTIONS]
[OPTIONS]

    -r. --revision  
        prints out the current gamepack revision to the console

    -d, --directory
        the EXACT output directory to save the gamepack. [default = "./"]

    -f, --file-name     
        the format for the gamepack's name. [default = "osrs-${revision}.jar"]

    -p, --properties
        prints the contents of the jav_config.ws file to stdout

Examples

To just print out the current gamepack revision:

java -jar osrs-gamepack-downloader -r

Contact

Discord: Matthew#0001