Join also our Discord channel! Click here.

Extracting simple models

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

Re: Extracting simple models

Post by shakotay2 » Fri Nov 22, 2019 9:37 pm

Your vertex block 32x16220 exceeds the file size. Lowering the FVFsize to 6 doesn't give a proper mesh, though.

You're better of to search for some point clouds at first.
.
MG_son00_0_gpu.png
You do not have the required permissions to view the files attached to this post.
Bigchillghost, Reverse Engineering a Game Model: viewtopic.php?f=29&t=17889
extracting simple models: viewtopic.php?f=29&t=10894
Make_H2O-ForzaHor3-jm9.zip
"You quoted the whole thing, what a mess."

ajspeed11
n00b
Posts: 11
Joined: Sat May 07, 2011 10:22 pm
Has thanked: 3 times

Re: Extracting simple models

Post by ajspeed11 » Sat Dec 14, 2019 2:14 am

Hey can anyone help with this one please.
test.png
I've found Face indices at thiee addresses

3328
3394
3432
36BC

I think these are the addresses of the vertices
3780
37B0
37E0
36BC

I'm not quite sure what i should use for step 2

Any help would be appreciated thanks

https://drive.google.com/open?id=1sHIs9 ... ZkGTSx6QrO
You do not have the required permissions to view the files attached to this post.

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

Re: Extracting simple models

Post by shakotay2 » Sat Dec 14, 2019 9:51 am

ajspeed11 wrote:
Sat Dec 14, 2019 2:14 am
I think these are the addresses of the vertices
3780
37B0
37E0
36BC
well, no, that doesn't make any sense to me. Did you have a look at the hex bytes at file offset 0x3780? 192 only and lots of zeroes.
There's many floats in the file (at 0x150C for example) which you don't seem to have recognized.
.
truck_LOD5-tmd.png
(one submesh only)

calculating the face indices count:
0x3370 - 0x3328 = 72 dec. = 36 x 2 -> 36 indices
You do not have the required permissions to view the files attached to this post.
Bigchillghost, Reverse Engineering a Game Model: viewtopic.php?f=29&t=17889
extracting simple models: viewtopic.php?f=29&t=10894
Make_H2O-ForzaHor3-jm9.zip
"You quoted the whole thing, what a mess."

ajspeed11
n00b
Posts: 11
Joined: Sat May 07, 2011 10:22 pm
Has thanked: 3 times

Re: Extracting simple models

Post by ajspeed11 » Sat Dec 14, 2019 5:53 pm

Hey shakotay2,

I'm still trying to gain an understanding of this process. I thought I'd found vertices at those addresses as there appeared to be a pattern to me at least XD

Thanks for the help. I'll do some more investigating and see if i can progress now you've guided me in the right direction.

Thanks for you help.

ajspeed11
n00b
Posts: 11
Joined: Sat May 07, 2011 10:22 pm
Has thanked: 3 times

Re: Extracting simple models

Post by ajspeed11 » Mon Dec 16, 2019 10:51 pm

Hey shakotay2,

After following your advice I managed to get the meshes from LODs 5,4 and 2

I found that the vertices start after this sequence '010000010000000000000000'
So I did a search for this in the LOD3 and got 695 hits.

I tried the first one which produced this mess, however it does appear to have similar shapes to those from LOD 2.
test.png
I also Looked over LOD 1 and that had 754 hits for the sequence above =/

Any suggestions how I could progress?

Thanks

https://drive.google.com/open?id=1CNzSM ... OrnyYH-zGC
You do not have the required permissions to view the files attached to this post.

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

Re: Extracting simple models

Post by shakotay2 » Tue Dec 17, 2019 9:23 pm

ajspeed11 wrote:
Mon Dec 16, 2019 10:51 pm
Any suggestions how I could progress?
Sooner or later you need to code some lines (see my Make_Obj project)
shakotay2 wrote:
Mon Mar 06, 2017 11:01 am
Or use Noesis (python) for example.
Meanwhile you could search/care for the bigger vertex blocks.

(Offsets between the start offsets of the 010000010000000000000000 sequences vary, it's 0x80, 0x100 or greater.)
.
rtruck_LOD1-ea3.png
.
For LOD3 you could search for 000001000200, there's 45 findings. Get end address and max FI count of each FI block, then try to find suiting vertex blocks. (FI = face indices)
You do not have the required permissions to view the files attached to this post.
Bigchillghost, Reverse Engineering a Game Model: viewtopic.php?f=29&t=17889
extracting simple models: viewtopic.php?f=29&t=10894
Make_H2O-ForzaHor3-jm9.zip
"You quoted the whole thing, what a mess."

ajspeed11
n00b
Posts: 11
Joined: Sat May 07, 2011 10:22 pm
Has thanked: 3 times

Re: Extracting simple models

Post by ajspeed11 » Wed Dec 18, 2019 1:32 pm

Hey shakotay2,

Thanks for the fast response and for taken the time to look over these files again.

User avatar
Hell Inspector
ultra-n00b
Posts: 1
Joined: Tue Jan 07, 2020 9:57 pm
Contact:

Re: Extracting simple models

Post by Hell Inspector » Tue Jan 07, 2020 10:07 pm

I was just wondering if you could possibly help me with this model from Wallace & Gromit TCOW cause I don't know anything about hex stuff and maybe you can like teach me certain stuff about it. https://cdn.discordapp.com/attachments/ ... tor_US.ovl

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

Re: Extracting simple models

Post by shakotay2 » Wed Jan 08, 2020 9:39 am

Hell Inspector wrote:
Tue Jan 07, 2020 10:07 pm
I was just wondering if you could possibly help me with this model from Wallace & Gromit TCOW cause I don't know anything about hex stuff and maybe you can like teach me certain stuff about it.
well, I'm very busy with my own projects. I wrote a tutorial (click tut button in hex2obj) to help people help themselves.
(From a quick glance I'd say this .ovl contains animation data.)
Bigchillghost, Reverse Engineering a Game Model: viewtopic.php?f=29&t=17889
extracting simple models: viewtopic.php?f=29&t=10894
Make_H2O-ForzaHor3-jm9.zip
"You quoted the whole thing, what a mess."

Post Reply