Open gabrielhicks opened 2 years ago
Decided to start troubleshooting the dump issue and found a resolution in PR #6 will keep working as I play with the codebase(s)
Started playing with encoding the sprites and archiving, but I keep ending up with empty .pngs when I deserialized what Ive archived 😂
Currently able to serialize the entity sprites into a JagArchive that is the same size as the original (109 with the different a and f suffixes from hasA and hasF animation info), however when loading the archive, it is returning 0 sprite objects. Previously it was returning 3, longbow, crossbow, and sheep (the only three with a limited number of frames ~15 IIRC)
Hello!
I am currently attempting to serialize some custom sprites to add into the rsc-server. Ive tried walking through the code and for whatever reason I have been unsuccessful in dumping the sprites from the entity .jag to determine what format I need to arrange the new assets in to serialize.
Effectively I want to replace the main character chest, legs, and head1 to play with implementing a new character design.
I have been able to identify that I likely need to replace the head1.dat file etc inside of the .jag, which I believe the .dat to be a file that contains the array of canvas objects for the animation, but I'm not sure if there is a way to serialize the images together in a cohesive way to create that .dat.
Ive been an RSC player since 2000 and continued playing private servers into 2014.
If I can figure the process out, I'd love to add to the docs for future developers who might stumble upon the repos!
TIA!