Here's a hands-on guide suitable for people with little to no knowledge on the different RS cache formats:
First off you need a cache library that supports both caches (the one you're trying to pack FROM, and the cache you're trying to pack TO). This is easily found by downloading 500+ revision servers. They mostly support the same revisions (450~ to 650~) and they pretty much all depend on a cache library to read data.
In this cache library, you're going to be looking for methods used to read data from the cache. Usually looks something like this:
Before you go nuts using the cache library, I highly suggest you read through the cache library to see what is actually going on. This way, you'll learn how to support whatever revision of cache & data you want. Compare, compare & compare. Reference data is ALWAYS available in the client.
Here's some information about the different cache formats:
Spoiler for OSRS cache information (credits to All3n):
Spoiler for RS2 cache information (credits to Mr Pro Pop):
Skeletons 0
Skins 1
Config 2
Interfaces 3
Sound effects 4
Landscapes 5
Music 6
Models 7
Sprites 8
Textures 9
Huffman encoding 10
Music2 11
Interface scripts 12
Fonts 13
Sound effects2 14
Sound effects3 15
Objects 16
Clientscript mask 17
Npcs 18
Items 19
Animations 20
Graphics 21
Script configs 22
World map 23
Quick chat messages 24
Quick chat menus 25
Materials 26
Configuration particles 27
DEFAULTS 28
Configuration billboard 29
Native libraries 30
Graphic shaders 31
P11 Fonts/Images 32
Game tips 33
P11 Fonts2/Images 34
Theora 35
Vorbis 36
Maps however are a different monster. Now that you know how to read and write data in the client, time to learn xteas. You can [Only registered and activated users can see links. ]
[Only registered and activated users can see links. ]
Here's a hands-on guide suitable for people with little to no knowledge on the different RS cache formats:
First off you need a cache library that supports both caches (the one you're trying to pack FROM, and the cache you're trying to pack TO). This is easily found by downloading 500+ revision servers. They mostly support the same revisions (450~ to 650~) and they pretty much all depend on a cache library to read data.
In this cache library, you're going to be looking for methods used to read data from the cache. Usually looks something like this:
Before you go nuts using the cache library, I highly suggest you read through the cache library to see what is actually going on. This way, you'll learn how to support whatever revision of cache & data you want. Compare, compare & compare. Reference data is ALWAYS available in the client.
Here's some information about the different cache formats:
Spoiler for OSRS cache information (credits to All3n):
Spoiler for RS2 cache information (credits to Mr Pro Pop):
Skeletons 0
Skins 1
Config 2
Interfaces 3
Sound effects 4
Landscapes 5
Music 6
Models 7
Sprites 8
Textures 9
Huffman encoding 10
Music2 11
Interface scripts 12
Fonts 13
Sound effects2 14
Sound effects3 15
Objects 16
Clientscript mask 17
Npcs 18
Items 19
Animations 20
Graphics 21
Script configs 22
World map 23
Quick chat messages 24
Quick chat menus 25
Materials 26
Configuration particles 27
DEFAULTS 28
Configuration billboard 29
Native libraries 30
Graphic shaders 31
P11 Fonts/Images 32
Game tips 33
P11 Fonts2/Images 34
Theora 35
Vorbis 36
Maps however are a different monster. Now that you know how to read and write data in the client, time to learn xteas. You can [Only registered and activated users can see links. ]
It is not as simple as that. You need to decode the data, then encode in a new format, update the reference to all assets etc..