Trine 3 *.fbm

Skeletons, animations, shaders, texturing, converting, fixing and anything else related to read game models
ItsMeLenny
Posts: 3
Joined: Sat Jun 04, 2016 3:33 am

Trine 3 *.fbm

Post by ItsMeLenny »

Over on the XeNTaX forums somebody had created what they claimed is a Trine 1, 2 & 3 importer for models via maxscript (which ever program uses this).
I've been converting this to python for blender. The importer does Trine 1 as .s3d, and then Trine 2 and up as .fbm different versions, those versions being 4, 7, 11, 16, & 18. 4 and 7 I think are Trine 2, 16 is some extra added format which is possibly from a Trine 3 beta, and I'm assuming Trine 3 is 18.
The problem is all the Trine 3 models I've uncompressed from their "LZ4" start with a random large number, some of them the same as others, but a lot of different numbers.
I am unsure if these files themselves are compressed or encrypted. The textures for the models in Trine 3 are allegedly compressed with LZ4 compression.
I had a model of a version 16 file working fine, it was a tree man from Trine 3, however I am unsure where this file came from, it's not one I have and I don't know where to find any Trine 3 beta.

Related topics is this: viewtopic.php?f=9&t=1065&p=14018#p14018
Relating to how to uncompress the compressed folders.

And this: http://forum.xentax.com/viewtopic.php?t=13269
Relating to the import using maxscript. (Please remove the link if it's against policy to post links to other forums).

Here are links to 2 Trine 3 models:
thief.fbm https://drive.google.com/file/d/0B_kjh0 ... sp=sharing
thief_01.fbm https://drive.google.com/file/d/0B_kjh0 ... sp=sharing
I don't actually know what these will be, they relate to the thief character, however following the naming patterns of Trine 1 & 2, the second link (thief_01) I would assume is the model used in game. Maybe the first is for cut scenes.

I'm hoping someone can help me figure out what's going on with these models. Thanks for your help.
ItsMeLenny
Posts: 3
Joined: Sat Jun 04, 2016 3:33 am

Re: Trine 3 *.fbm

Post by ItsMeLenny »

It turns out all along the python file I was using to extract the models was corrupting them in some way.
I had updated a python LZ2 trine script to do LZ4 trine files and it was only half doing them.
I ended up using quickbms and a script through Wine on Linux.