StavsEditor - Cache/Config Editor (yet another)

Oct 20, 2014
192
7
0
Learning about the various 317 cache formats atm.

So i'm creating a tool to edit the cache archive.
It currently only works with config files and it can't extract the files from the archive itself yet (so you have to supply it with the config files (obj.dat, obj.idx, etc) yourself).

I know there are a ton of cache editors out there right now and this is nothing special but i'm mainly just making it for myself to learn.

Its written in c++ and the src code is available on github if anyone wants to take a look.

Don't really have anything to show yet, i'm mainly making this thread to force myself not to quit the project.

But heres a gif of the editor reading items from the cache before i started refactoring the code:
giphy.gif




Updates:
Spoiler for Updates:

Update 1: I finished the OpHandlers reading functionality as well as reimplemented Item opcodes.
imageedit_3_7612891770.png


Update 2: Just a quick update to let people know i haven't quit the project just yet (even though my github repo might suggest otherwise). I've been very busy with exams lately. unfortunately i still dont have much to show as im in the process of rewriting most of the code yet again to be more threadsafe so that i can utilize multithreading to speed things up (after i realized that the application would need to be alot faster if i want to allow multiple people to edit their cache at the same time) )

development wise i've made a tiny bit of progress:
I implemented the writing functionality
as well as finished the Item, NPC, and Floor OpHandlers.



I'll be posting more media & updates soon.

Thanks for reading
 
gl 317 format is so simple not much to it

Yeah ik, the main problem im having with it right now is really just finding proper documentation for the formats.

I know i can look at deobfuscated clients and try to reverse the process, but i just find it so hard to decipher what is happening sometimes.

But yeah in the future, once i've documented most of the 317 formats, im planning on doing something with other revisions as well ;)

Best of luck with this m8 ^^

Thx :D
 
Yeah ik, the main problem im having with it right now is really just finding proper documentation for the formats.

I know i can look at deobfuscated clients and try to reverse the process, but i just find it so hard to decipher what is happening sometimes.

But yeah in the future, once i've documented most of the 317 formats, im planning on doing something with other revisions as well ;)

Thx :D

Yeah ik, the main problem im having with it right now is really just finding proper documentation for the formats.

I know i can look at deobfuscated clients and try to reverse the process, but i just find it so hard to decipher what is happening sometimes.

You don't need to look at deobfusticated 317 clients. There are fully refactored clients out there. E.g Majors fully refactored client

There isn't anything to document for them tbh, if you're referencing the right client you can look at the code and tell what it does.

There's also quite a few libraries out there to read/modify 317 cache. E.g https://github.com/nshusa/rsam, https://github.com/Major-/Vicis so you can look at those as well for a reference.
 
You don't need to look at deobfusticated 317 clients. There are fully refactored clients out there. E.g Majors fully refactored client

There isn't anything to document for them tbh, if you're referencing the right client you can look at the code and tell what it does.

There's also quite a few libraries out there to read/modify 317 cache. E.g https://github.com/nshusa/rsam, https://github.com/Major-/Vicis so you can look at those as well for a reference.



Oh i see.
I will definitely check them out
Thanks a lot
 

Users who are viewing this thread (total: 1, members: 0, guests: 1)

Who read this thread (total members: 5)