https://www.mediafire.com/file/xolpmlv9 ... S.zip/file
The Forum is up for sale: XeNTaX Forum looking for new owner
Long 3D meshes
-
moonpaladin
- ultra-veteran

- Posts: 398
- Joined: Tue Mar 05, 2019 6:24 am
- Has thanked: 286 times
- Been thanked: 18 times
Long 3D meshes
Hello, I were checking the files after extraction of this game and trying to get a relation between meshes and textures, there are around 5k-6K textures, so is a hard task, another thing is the meshes some that still seeying compressed, others seems like an objects, and others have skel info, so should be any kind of characters or monster, I'm gonna attach some samples hope someone can get any kind pattern to be able to make a script, because if I try to get every mesh with a hex2obj gonna take much more time, besides I need to find the right texture
. Thank you so much in advance!
https://www.mediafire.com/file/xolpmlv9 ... S.zip/file
https://www.mediafire.com/file/xolpmlv9 ... S.zip/file
- shakotay2
- MEGAVETERAN

- Posts: 4231
- Joined: Fri Apr 20, 2012 9:24 am
- Location: Nexus, searching for Jim Kirk
- Has thanked: 1139 times
- Been thanked: 2222 times
Re: Long 3D meshes
mesh format appears to be simple, so why not try to create a script on your own?moonpaladin wrote: ↑Wed Jan 26, 2022 7:03 pmhope someone can get any kind pattern to be able to make a script, because...
. At 0x10960 sizeOfUvsBlock = 2206x8 +6
You do not have the required permissions to view the files attached to this post.
Tuts: a) Bigchillghost, viewtopic.php?f=29&t=17889
b) Extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
"Quoting the whole thing. Would u ever stop this nonsense?"
b) Extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
"Quoting the whole thing. Would u ever stop this nonsense?"
-
moonpaladin
- ultra-veteran

- Posts: 398
- Joined: Tue Mar 05, 2019 6:24 am
- Has thanked: 286 times
- Been thanked: 18 times
Re: Long 3D meshes
Thanks shakotay2! Gonna review the values, I were checking the 0000004d.dat and to be honest doesn't seems that it contain a mesh
- Durik256
- ultra-veteran

- Posts: 425
- Joined: Wed Nov 21, 2018 7:26 pm
- Has thanked: 45 times
- Been thanked: 411 times
Re: Long 3D meshes
Ogre?
files that have :"[MeshSerializer_v1.40]"

do you want to RIP all the games that exist? Why do you need this?
Last edited by Durik256 on Thu Jan 27, 2022 2:42 pm, edited 1 time in total.
-
moonpaladin
- ultra-veteran

- Posts: 398
- Joined: Tue Mar 05, 2019 6:24 am
- Has thanked: 286 times
- Been thanked: 18 times
Re: Long 3D meshes
Thanks Durik!not all the games! xD, is just that sometimes I see a very cool creature or so, and when I download the game it have around 20k models, so like this case I'm gonna search that one in the ocean of models lol. Thanks again
-
moonpaladin
- ultra-veteran

- Posts: 398
- Joined: Tue Mar 05, 2019 6:24 am
- Has thanked: 286 times
- Been thanked: 18 times
Re: Long 3D meshes
Durik! one question, how about the 0000005e.dat and 0000007b.dat, them doesn't have the '[MeshSerializer_v1.40]' but seems that are meshes too, or I'm wrong?
edit*: btw how can I add another data.find value, in case I found meshes with the value of meshv2, or meshserializer_v3.0?
https://www.mediafire.com/file/kjy555od ... s.zip/file
- Durik256
- ultra-veteran

- Posts: 425
- Joined: Wed Nov 21, 2018 7:26 pm
- Has thanked: 45 times
- Been thanked: 411 times
Re: Long 3D meshes
replace [MeshSerializer_v1.40] >> [meshserializer_v3.0].
functionality is not guaranteed. because the file structure may differ
i will check.
you can also use this script to rename all files that have a head "[MeshSerializer_v1.40]".
for example, in (.rip_mesh).
in the plugin, change .dat >> .rip_mesh too.
Code: Select all
import os
#your path (subdirectories too)
path = "C:\\SAMPLES\\"
def find_header(file):
with open(file, "rb") as f:
data = f.read()
header = data.find('[MeshSerializer_v1.40]'.encode())
if header != -1:
return 1
else:
return 0
for root, dirs, files in os.walk(path):
for file in files:
without_ext, ext = os.path.splitext(file)
file_path = os.path.join(root,file)
if ext == ".dat":
if find_header(file_path):
os.rename(file_path, os.path.join(root,without_ext+".rip_mesh"))#your ext-
moonpaladin
- ultra-veteran

- Posts: 398
- Joined: Tue Mar 05, 2019 6:24 am
- Has thanked: 286 times
- Been thanked: 18 times
-
moonpaladin
- ultra-veteran

- Posts: 398
- Joined: Tue Mar 05, 2019 6:24 am
- Has thanked: 286 times
- Been thanked: 18 times
Re: Long 3D meshes
as if I was guessing, there is this type of meshes v1.30 , and they load incorrectly with the script
https://www.mediafire.com/file/go58bex8 ... 0.zip/file
https://www.mediafire.com/file/go58bex8 ... 0.zip/file
-
moonpaladin
- ultra-veteran

- Posts: 398
- Joined: Tue Mar 05, 2019 6:24 am
- Has thanked: 286 times
- Been thanked: 18 times
Re: Long 3D meshes
Durik I checked around 2.3k models! sorry for the spam! but here are some models that doesn't load all the submeshes and others that load but doesn't look good
https://www.mediafire.com/file/gl8xahrk ... 2.zip/file
edit*: still checking the models
https://www.mediafire.com/file/6o8l5yjt ... 3.zip/file
- shakotay2
- MEGAVETERAN

- Posts: 4231
- Joined: Fri Apr 20, 2012 9:24 am
- Location: Nexus, searching for Jim Kirk
- Has thanked: 1139 times
- Been thanked: 2222 times
Re: Long 3D meshes
Understand.moonpaladin wrote: ↑Thu Jan 27, 2022 12:33 amxD, is just that sometimes I see a very cool creature or so, and when I download the game it have around 20k models, so like this case I'm gonna search that one in the ocean of models lol.
Tuts: a) Bigchillghost, viewtopic.php?f=29&t=17889
b) Extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
"Quoting the whole thing. Would u ever stop this nonsense?"
b) Extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
"Quoting the whole thing. Would u ever stop this nonsense?"
- Durik256
- ultra-veteran

- Posts: 425
- Joined: Wed Nov 21, 2018 7:26 pm
- Has thanked: 45 times
- Been thanked: 411 times
Re: Long 3D meshes
replace ([MeshSerializer_v1.40] >> [MeshSerializer) in script to open all versions

this code is scaring me
edit: ...samples 3\looks blank (dont work)
Last edited by Durik256 on Thu Jan 27, 2022 2:42 pm, edited 1 time in total.
- shakotay2
- MEGAVETERAN

- Posts: 4231
- Joined: Fri Apr 20, 2012 9:24 am
- Location: Nexus, searching for Jim Kirk
- Has thanked: 1139 times
- Been thanked: 2222 times
Re: Long 3D meshes
Creating general scripts is harder (see "patch" below) than using hex2obj for individual models, that's why I prefer the later:
. btw: this is the line with the "suspicious" value (patched for above sample):
bs.seek(62+16, NOESEEK_REL)
. btw: this is the line with the "suspicious" value (patched for above sample):
bs.seek(62+16, NOESEEK_REL)
You do not have the required permissions to view the files attached to this post.
Tuts: a) Bigchillghost, viewtopic.php?f=29&t=17889
b) Extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
"Quoting the whole thing. Would u ever stop this nonsense?"
b) Extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
"Quoting the whole thing. Would u ever stop this nonsense?"
- Durik256
- ultra-veteran

- Posts: 425
- Joined: Wed Nov 21, 2018 7:26 pm
- Has thanked: 45 times
- Been thanked: 411 times
Re: Long 3D meshes
I didn't want to do this.
ok, I took a closer look. completely new plugin.
opens all your problematic models.

Oops. Not the right archive.. now i think everything
You do not have the required permissions to view the files attached to this post.
-
moonpaladin
- ultra-veteran

- Posts: 398
- Joined: Tue Mar 05, 2019 6:24 am
- Has thanked: 286 times
- Been thanked: 18 times
