Important information: this site is currently scheduled to go offline indefinitely by end of the year.

Extracting simple models

Read or post any tutorial related to file format analysis for modding purposes.
User avatar
shakotay2
MEGAVETERAN
MEGAVETERAN
Posts: 4285
Joined: Fri Apr 20, 2012 9:24 am
Location: Nexus, searching for Jim Kirk
Has thanked: 1147 times
Been thanked: 2242 times

Re: Extracting simple models

Post by shakotay2 »

1.bin starts with "P3D". From 0x3E0 it's compressed or encrypted, dunno.
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?"
User avatar
3drussiangrabber
beginner
Posts: 30
Joined: Sun Jan 26, 2020 5:12 pm
Has thanked: 4 times
Been thanked: 4 times

Re: Extracting simple models

Post by 3drussiangrabber »

please help,how unpack?
I want to find the model files,meshes
*.xmesh

https://anonfiles.com/X8I0e6M7xe/file000_data2
https://anonfiles.com/t4I6e2M1xd/file_tbl2
User avatar
shakotay2
MEGAVETERAN
MEGAVETERAN
Posts: 4285
Joined: Fri Apr 20, 2012 9:24 am
Location: Nexus, searching for Jim Kirk
Has thanked: 1147 times
Been thanked: 2242 times

Re: Extracting simple models

Post by shakotay2 »

file000-data2.png
Read the tutorials, please. View links in my sig.
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?"
terraKote
ultra-n00b
Posts: 1
Joined: Tue Feb 08, 2022 10:21 pm

Re: Extracting simple models

Post by terraKote »

I've been reading through the messages, somewhere getting the idea, somewhere don't. Can anyone explain me, how does hex2obj calculates the indices? I mean I've read the indicies from the binary file and got this sequence https://pastebin.com/AU30FCnV. How do I get such indices like on the image? https://ibb.co/q1LHB1m thanks!
User avatar
shakotay2
MEGAVETERAN
MEGAVETERAN
Posts: 4285
Joined: Fri Apr 20, 2012 9:24 am
Location: Nexus, searching for Jim Kirk
Has thanked: 1147 times
Been thanked: 2242 times

Re: Extracting simple models

Post by shakotay2 »

Add 1 to each index. That's what wavefront obj format requires.
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?"
Greg
advanced
Posts: 49
Joined: Tue Dec 15, 2015 5:47 am
Has thanked: 8 times
Been thanked: 41 times

Re: Extracting simple models

Post by Greg »

Never mind.
SpongeBotTronPants
ultra-n00b
Posts: 8
Joined: Sat Jan 07, 2023 5:59 pm
Has thanked: 2 times

Re: Extracting simple models

Post by SpongeBotTronPants »

Hello. I'm here to get some files to be extracted along with it's UV. Can I get help?
https://drive.google.com/file/d/1F3nTyX ... sz0Xa/view

Also, can I get the Hex2OBJ latest update in a zip file, without errors? Because I used the wrong version and it gave me "wordpad.exe is missing."
User avatar
shakotay2
MEGAVETERAN
MEGAVETERAN
Posts: 4285
Joined: Fri Apr 20, 2012 9:24 am
Location: Nexus, searching for Jim Kirk
Has thanked: 1147 times
Been thanked: 2242 times

Re: Extracting simple models

Post by shakotay2 »

SpongeBotTronPants wrote: Sat Jan 07, 2023 6:38 pmAlso, can I get the Hex2OBJ latest update in a zip file, without errors? Because I used the wrong version and it gave me "wordpad.exe is missing."
It clearly reads: "Just unpack the three zips (part 2 and three see following posts)..."
shakotay2 wrote: Sun Mar 07, 2021 3:29 pm
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?"
SpongeBotTronPants
ultra-n00b
Posts: 8
Joined: Sat Jan 07, 2023 5:59 pm
Has thanked: 2 times

Re: Extracting simple models

Post by SpongeBotTronPants »

Thanks for reminding me, I will download it in the future or on Friday.
SchnelleMeyer
beginner
Posts: 27
Joined: Sun Feb 26, 2017 10:28 pm
Has thanked: 9 times
Been thanked: 4 times

Re: Extracting simple models

Post by SchnelleMeyer »

Its a long time since I used H2O so I have forgotten much. I have a file with submeshes that have to be extracted one by one. I am struggling to find the correct start adress for the vertices for the sub-meshes. I dont really understand how to do the math. Can someone please help me along?
You do not have the required permissions to view the files attached to this post.
SchnelleMeyer
beginner
Posts: 27
Joined: Sun Feb 26, 2017 10:28 pm
Has thanked: 9 times
Been thanked: 4 times

Re: Extracting simple models

Post by SchnelleMeyer »

Pointcloud
You do not have the required permissions to view the files attached to this post.
SchnelleMeyer
beginner
Posts: 27
Joined: Sun Feb 26, 2017 10:28 pm
Has thanked: 9 times
Been thanked: 4 times

Re: Extracting simple models

Post by SchnelleMeyer »

User avatar
shakotay2
MEGAVETERAN
MEGAVETERAN
Posts: 4285
Joined: Fri Apr 20, 2012 9:24 am
Location: Nexus, searching for Jim Kirk
Has thanked: 1147 times
Been thanked: 2242 times

Re: Extracting simple models

Post by shakotay2 »

SchnelleMeyer wrote: Mon Feb 06, 2023 8:18 pm Its a long time since I used H2O so I have forgotten much.
Yeah. You've forgotten to switch to never versions. :D
Using unsigned shorts:
.
Character1_unsigned_shorts.png
(The face indices are another hurdle; I used faked FIs to get a fast result.)
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?"
User avatar
shakotay2
MEGAVETERAN
MEGAVETERAN
Posts: 4285
Joined: Fri Apr 20, 2012 9:24 am
Location: Nexus, searching for Jim Kirk
Has thanked: 1147 times
Been thanked: 2242 times

Re: Extracting simple models

Post by shakotay2 »

The whole guy looks like so:
.
character1_all.png
(Faces need another go.)
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?"
User avatar
shakotay2
MEGAVETERAN
MEGAVETERAN
Posts: 4285
Joined: Fri Apr 20, 2012 9:24 am
Location: Nexus, searching for Jim Kirk
Has thanked: 1147 times
Been thanked: 2242 times

Re: Extracting simple models

Post by shakotay2 »

Using this H2O parameter file

0xFDD98 4500
Vb1
48 24
0xB8 972
020400
0x0 255

you'll get such:
.
funny-.png
(Maybe some grouping required for the FIs, I have no idea.)
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?"
Post Reply