But i'm really new to it and i'm stuck at reading the binary file's vertices and faces i have an error message saying that the "vertex position list is empty" i tried looking at already existing scripts for other games assets but it's a bit confusing.
I mainly use Hex2obj and ModelResearcher to extract some meshes but having a script for doing it is faster and could help me for learning purposes...
Here is my script for now (i've made it with the exemple sample provided in Neosis) :
- http://www.mediafire.com/file/zh3diy5aj ... -Script.py
And this is the error message :
Theses are the samples i'm using for making the script :
- http://www.mediafire.com/file/bddsn7szq ... %u53F0.rgm (STAGE file)
- http://www.mediafire.com/file/hiuk6edvh ... ancer1.rgm (AVATAR file)
- http://www.mediafire.com/file/nym1t18lt ... ove_01.rgm (ANIMATION file)
Note that my goal is mainly being able to read / import Avatars and Stages RGMs on Noesis (Animations aren't for me at all it's too difficult)
I've studied the format for a while now and i have collected many infos about it, i still have trouble saying what data types i'm seeing but i guess it will comes with time...
But after looking at many RGM samples i can give these informations (with help of other skilled peoples) :
Code: Select all
File structure :
- little endian
- byte = 8 bit int
- short = 16 bit int
- long = 32 bit int
- float = 32 bit float
also it's a "dynamic file format" i don't know yet what it exactly means but i don't think it's really important for now...
Anyway thanks for reading, if someone can guide me with Noesis scripting i will really appreciate it.
I know that their is a tutorial made by "Chroxx" somewhere on xentax but it's missing the pictures (because links are dead) and it's still a bit confusing.
As usual sorry for my english.
Oh and Happy new year