Skip to content

Simple C# program to help read the RuneScape NXT client cache files

Notifications You must be signed in to change notification settings

altherat/NXTCacheReader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 

Repository files navigation

NXTCacheReader

A simple C# program to help read the RuneScape NXT client cache files

Usage

  1. Download, install and run the RuneScape NXT client from the official website.
  2. Let the client download the cache. By default, the location of the cache will be in C:\ProgramData\Jagex\Runescape.
  3. Create the CacheReader object with the cache's path:
CacheReader cacheReader = new CacheReader(@"C:\ProgramData\Jagex\RuneScape");

Examples

Read a single item definition from the cache and print the name
Definition.Item itemDefinition = cacheReader.LoadDefinition<Definition.Item>(1042);
Console.WriteLine(itemDefinition.Name);

Output:

Blue partyhat
Load several item definitions
Dictionary<int, Definition.Item> itemDefinitions = cacheReader.LoadDefinitions<Definition.Item>(1038, 1040, 1042, 1044, 1046, 1048);
Load all item definitions
Dictionary<int, Definition.Item> itemDefinitions = cacheReader.LoadDefinitions<Definition.Item>();

CacheReader implements its own caching system to make subsequent definition retrieval faster.

Support

Currently only some of the cache is recognized and supported.

Items
  • Actions
  • Armour bonus
  • Attack speed
  • Augmented item ID
  • Bank actions
  • Consumption life points quantity
  • Cosmetic item ID
  • Cosmetic template ID
  • Creation experience quantities
  • Creation required item IDs
  • Creation required item quantities
  • Creation required skill IDs
  • Creation required tool item IDs
  • Destroy text
  • Degredation item ID
  • Diango replacement cost
  • Drop sound ID
  • Equip actions
  • Equip magic ratio
  • Equip melee ratio
  • Equip ranged ratio
  • Equip requirement skill ID
  • Equip requirement skill level
  • Equip slot ID
  • Equip sound ID
  • Grand Exchange category ID
  • Ground actions
  • Is alchable
  • Is bankable
  • Is cosmetic
  • Is degradable
  • Is dungeoneering item
  • Is lent
  • Is magic armour
  • Is magic weapon
  • Is melee armour
  • Is melee weapon
  • Is members
  • Is noted
  • Is ranged armour
  • Is raned weapon
  • Is stackable
  • Is tradable
  • Lent item ID
  • Lent template ID
  • Life point bonus
  • Magic accuracy
  • Magic damage
  • Max charges
  • Melee accuracy
  • Melee damage
  • Model ID
  • Model zoom
  • Name
  • Non-augmented item ID
  • Note item ID
  • Note template ID
  • Prayer bonus
  • Ranged accuracy
  • Ranged damage
  • Repair cost
  • Tier
  • Treasure Hunter cash out value
  • Treasure Hunter text
  • Use required skill ID
  • Use required skill level
Npcs
  • Actions
  • Armour
  • Attack speed
  • Combat level
  • Combat style ID
  • Is clickable
  • Is visible
  • Magic accuracy
  • Magic damage
  • Melee accuracy
  • Melee damage
  • Name
  • Ranged accuracy
  • Ranged damage
  • Weakness ID
Objects
  • Actions
  • Height
  • Is walkable
  • Name
  • Width
Interface Components
  • Actions
  • Animation ID
  • Base height
  • Base position X
  • Base position Y
  • Base width
  • Content type
  • ID as child
  • Is hidden
  • Is hover disabled
  • Parent ID
  • Scroll width
  • Scroll height
  • Sprite pitch
  • Sprite roll
  • Sprite scale
  • Sprite yaw
  • Text
  • Textcolor
  • Type
  • Widget ID
Quests
  • Awarded quest points
  • Difficulty ID
  • Is members
  • Journal combat text
  • Journal name
  • Journal required items text
  • Journal rewards text
  • Journal sprite ID
  • Journal starting point text
  • Name
  • Required quest IDs
  • Required quest points
  • Required skill IDs
  • Required skill levels
Quick Chat
  • Is menu
  • Sub-menu IDs
  • Sub-option IDs
  • Text
World Map
  • Location text

About

Simple C# program to help read the RuneScape NXT client cache files

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages