You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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!
The text was updated successfully, but these errors were encountered:
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!
The text was updated successfully, but these errors were encountered: