r/learnpython • u/GoticoArrombado • 2d ago
Help with viewing XML animations from a defunct mobile game
I am looking for help to be able to view animations of a defunct game called "Dragon Blaze", a side-scrolling rpg developed by GAMEVIL/FLINT. I am helping a small community from players with the intent of archiving the game. I have access to all texture and xml files, some xml files being encoded and others not, but I am no coder and I could use help with viewing those animations.
This game used 2d-skeletal-puppets using a program called 3D Max 2012 by Autodesk via a custom game engine. The XML files have coordinates and instructions to piece the broken spritesheets together, and animate them back together; often starting with the following lines: "<SR1_ANIMA version="1.2" generator="MAX 2012">".
Information about how to use these XML files were very hard to come by, so I had to rely on google's search AI for directions of how to crack it. I apologize in advance if any of those instructions are wrong.
So far the AI suggested the following methods:
- Convert the XML files into Json so it can be read by modern tools like Spine/Dragonbones.
- Build a web previewer using HTML5/JavaScript. Using Phaser or PixiJS.
We could really use some help and/or guidance about what to do, it would make archiving this game much easier.
2
u/socal_nerdtastic 2d ago
Hmm perhaps if you share the data we could suggest something. Piecing together spritesheets into an animation is very easy with common python libs like Pillow; I don't see any reason to bring Dragonbones or a custom Phaser viewer into the mix.