Troll and i smd models

Post questions about game models here, or help out others!
Post Reply
Roman
advanced
Posts: 56
Joined: Wed Aug 19, 2015 7:54 am
Has thanked: 10 times
Been thanked: 3 times

Troll and i smd models

Post by Roman » Fri Apr 07, 2017 3:32 pm

I have Win 7 and game Troll and I not launch on Win 7 !
:(

But i found smd models in this game ! :)

This game for 2017 year.

I try smd importer(2011) for 3d max 2009 , but model was not loaded.
FOREST_01_DIRT_HILL_01.rar
You do not have the required permissions to view the files attached to this post.

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

Re: Troll and i smd models

Post by shakotay2 » Mon Apr 17, 2017 8:17 am

have a look at the smd in a hexeditor to see that it's binary data
Forest_Dirt_Hill.JPG
(no normals)

It starts with this submesh (FVFsize= 60, has normals):
0x12600 1218
Vb1
60 28
0x888 1218
020000
0x0 255
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."

Roman
advanced
Posts: 56
Joined: Wed Aug 19, 2015 7:54 am
Has thanked: 10 times
Been thanked: 3 times

Re: Troll and i smd models

Post by Roman » Sun Apr 23, 2017 7:32 am

Hm...

shakotay2 do you use PRIMITIVE_TOPOLOGY_TRIANGLELIST ?

My mesh not look like on your picture !

And i find Box.smd mesh.
BOXORIGIN.rar
I render correct this box.smd (vertices offset 24 decimal value not hex) PRIMITIVE_TOPOLOGY_TRIANGLELIST and 36 indexes and 24 vertices.
Vertex begin at 0x0888 and Index begin at 0x0AC8
You do not have the required permissions to view the files attached to this post.

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

Re: Troll and i smd models

Post by shakotay2 » Sun Apr 23, 2017 8:36 am

Roman wrote:shakotay2 do you use PRIMITIVE_TOPOLOGY_TRIANGLELIST ?
guess, no. (There's many other names, for example D3DPT_TRIANGLELIST or GL_TRIANGLES.)

I just use the face indices from the model to create triangles, one after the other.
You could open the test.obj which hex2obj creates with a text editor and compare the faces to the ones your app produces:
f 1/1 2/2 3/3
f 4/4 5/5 6/6

For the Forest_Dirt_Hill sample you could even use the face autocreation feature (button noPtC -> Fake).
(Be aware that there's a naming bug, it says "autocreated tristripped", but it's normal triangles only. )
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."

Roman
advanced
Posts: 56
Joined: Wed Aug 19, 2015 7:54 am
Has thanked: 10 times
Been thanked: 3 times

Re: Troll and i smd models

Post by Roman » Sun Apr 23, 2017 11:59 am

Aha !
I found 'VERT' and i use this data for vertices !

Now i understood and now work all fine :)

Thanks !

Karpati
ultra-veteran
ultra-veteran
Posts: 375
Joined: Thu Dec 07, 2006 11:25 pm
Has thanked: 7 times
Been thanked: 73 times

Re: Troll and i smd models

Post by Karpati » Sat May 13, 2017 11:32 am

Roman wrote:Aha !
I found 'VERT' and i use this data for vertices !

Now i understood and now work all fine :)

Thanks !
Did you find the UV datas for the character model (48 bytes vertex size)?

Post Reply