SkillAgentSearch skills...

Rscel

A lightweight RuneScape cache editing library.

Install / Use

/learn @Bubletan/Rscel
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

RSCEL

RSCEL is a lightweight RuneScape cache editing library for the revision 317. It aims for providing an easy-to-use API to access and edit the files in the cache directly.

Examples

Accessing a cache:

String dir = System.getProperty("user.home") + ".myCache/";
Cache cache = new Cache(dir);

Using a file store:

FileStore fs = cache.getFileStore(Cache.MODEL_FILE_STORE);
byte[] data = fs.readFile(123);
fs.writeFile(123, data);

Using a file system:

FileSystem fs = cache.getFileSystem(Cache.CONFIG_FILE_SYSTEM);
byte[] data = fs.readFile("flo.dat");
fs.writeFile("flo.dat", data);

Using background IO with file stores:

fs.readFileInBackground(123, data -> {
    // do something with data
});
fs.writeFileInBackground(123, data);

Downloads

View on GitHub
GitHub Stars4
CategoryDevelopment
Updated2y ago
Forks2

Languages

Java

Security Score

55/100

Audited on Oct 3, 2023

No findings