I have been asking people with more knowledge about this, and since I was able to extract all the meshes that the .elu model contains, now what would be missing is to be able to extract them with their corresponding uv's, but according to I have asked the uv's are tied to the triangles .Therefore, it is not possible to extract them with hex2obj, AMR or MR, it only remains to extract it with a script.
There is already a script to open these models, but it does not work for the .elu that I want to extract, but by checking the script for blender 2.49b, I have been able to realize some things, such as:
Code: Select all
for x in xrange(vertex_position_count):
px, py, pz = struct.unpack('<3f', file_object.read(12))
position = Blender.Mathutils.Vector(px, pz, py)
mesh.verts.extend(position)
Another thing I have been able to notice is that before the block begins there is a part in text that says the name of the mesh that will come next, example "eq_chest ..", so if you search for "eq_" in the editor, you will find in almost most of cases 5 sections, which are the 5 meshes that make up the complete model.
Well, until this part I have been able to achieve it, I am just learning a little more how to quickly identify the blocks and be able to extract the models, but to be honest with respect to the values of the uv's I know very little, someone who knows more can take a look at the blender script, and thus be able to modify it, since I have realized that it does not vary much with the normal model that the script can open, only that the position of the blocks and the value of the header have changed a bit, well no I'm sure it's just that, but it's something I've identified after looking at the model and script.
Well, the other alternative that I have tried is to change the format of the custom .elu so that it has the same order as the normal .elu, which can be opened with the script, since I have previously modified that way for other games and has had result, but in this one still not, but at least I was able to load the vertices, I already know that it is not the best way, but I still do not understand the script much and I feel that it is easier to modify some values in the hex editor (at least for my).
I'll add the script that works in blender 2.49b, and a model that can be opened with the script, and then the other custom model. By the way the script opens mesh (with their uv's), loads the textures, and the bones with their respective weights. I only want the mesh section and its respective UV's, as I mentioned I have already been able to extract the meshes (with AMR and MR), I still lack the UV's. Hope someone can give me a hand with this, and thanks for your time reading this.

Script: https://www.mediafire.com/file/1snjgoz7 ... rt.py/file
Custom .elu model: https://www.mediafire.com/file/wteabqzp ... el.7z/file
Normal .elu model: https://www.mediafire.com/file/6ye4o2vm ... el.7z/file
To the left, meshes extracted (with AMR and MR), at the right when I edited a bit the custom .elu model to suit the normal .elu and it can be opened by the script, well it fails.
A special thanks to shakotay2, DKDave and Bigchillghost, what little I know I have learned with their help.
