Tpf2 FBX Model Converter
Beschreibung
Transport Fever 2 FBX Model Converter
Functions:
1. Convert from an .fbx file into .mdl files
2. Convert from an .mdl file into an .fbx file (limited support)
3. Convert from an .msh file into an .fbx file
* Convert from an .fbx file into an .mdl files
- Each object at root level will be converted as an independent .mdl file, you can specify the relavtive path by renaming the root object name
- For example,
This object tree will generate these files:
example_fbx\models\model\dir1\obj1.mdl
example_fbx\models\model\dir2\obj2.mdl
example_fbx\models\mesh\dir1\mesh1.msh
example_fbx\models\mesh\dir1\mesh1.msh.blob
example_fbx\models\mesh\dir1\mesh2.msh
example_fbx\models\mesh\dir1\mesh2.msh.blob
example_fbx\models\mesh\dir2\mesh3.msh
example_fbx\models\mesh\dir2\mesh3.msh.blob
- This converter supports animation, skelton and animated skelton, please use File->Export->Game Exporter to split different actions.
- All animations will be converted into .ani files, material files will be created if not exists
- The path of material is specified by the material name, dir1/material1 or dir1/material1.mtl will generate an .mtl file at example_fbx\models\material\dir1\material1.mtl
- The converter supports Transport Fever 2 Model Editior naming instruction #, but #ignore is not supported
- You can add the following instructions after the name of object:
%ignore : ignore this object
%bbox_only : ignore this object, but take account of its size for bounding box calculate
%reweight : recalculate the vertex in linear way if a skin is create on this object and the skin is bind to bones.
- Create a void containter with naming of @path will led the converter take this folder as the export folder, e.g. @C:\Program Files (x86)\Steam\userdata\1234567\1066780\local\staging_area\mod_name\res
- Create void containers starting in the format of %LOD_N, VISIBLE_FROM, VISIBLE_TO and export with this container will help the converter to identify the LOD level of the models. e.g "%0,0,50" means all mesh in this fbx should be considered as LOD0
Create multiple FBX files with different LOD mark and convert them from LOD 0 will finally build the whole model up LOD by LOD.
FBX Exporting parameter:
1. Use Z-Up system
2. Unit: 1 = 1 meter
3. Check Geometry/Tangents and Binormals
4. Check Geometry/Triangulate
5. Do not check Animation/Bake Animation/Back Animation
- The author and the software are not responsible for any damage caused by convert.
Kommentare 22
Neu erstellte Kommentare unterliegen der Moderation und werden erst sichtbar, wenn sie durch einen Moderator geprüft und freigeschaltet wurden.
Neu erstellte Kommentare unterliegen der Moderation und werden erst sichtbar, wenn sie durch einen Moderator geprüft und freigeschaltet wurden.
aura
how to swithc to mdl to fbx
Robbonabbo
excuse me, how can i switch from mdl to fbx? the tool isnt very clear...
MrDerek
wonderful utility. Are you planning to update the version? Or just add a log. To understand where/reason the crash occurs.
Herobrine Gamer
When i try to convert the MDL File of the BR423, the converter crashes. But with other MDLs it works. What could be the problem here?
(i hope i will get an answer)
Chipriddle93
doesnt work
scotchbob
Thanks for this really useful tool. I think that the UV maps are being flipped. I have taken a base game model msh, created a fbx, imported into Blender, edited and exported as fbx. When importing back into Model Editor and using the same base game textures of the original model the textures seem upside down. Is this a bug in the program?
HaNNoveraNer
I converted a .mdl model to .fbx
But only the LOD0 meshes where used.
How can I tell the converter to create .fbx with the other LOD meshes p.e. LOD1, LOD2 ?
thanx thomas
berndthebread
i'm trying to convert a mesh to an fbx so I may change it in blender. However, when I drag/drop it into the window it just says conversion completed but nothing else seems to have happened. Where should I find the converted fbx file?
Frowny13
I've just had the same problem. Could use some help with this.
CRT
TpF2MC 无法运行
feuerumternhintern
Hello
I try to do this : 2. Convert from an .mdl file into an .fbx file
But no result.
If i try : 1. Convert from an .fbx file into .mdl files
This works, i get a directory labeld like the filename and the new files in it.
Whats going wrong in the other direction ??
Greetings
LukasObermeister
sometimes its because the requires (imports) in the lua file (mdl, msh etc...) that are present that are causing issues
when it doesn't work then i try to open the mdl file (using notepad or notepad++ or any text editor) and look in to "lods = { { node = { children = {"
and then look at what meshes it uses and try to convert the meshes (.msh not .msh.blob) in the res/models/mesh folder and sticking the pieces together
in whatever software you use like blender or unity
anoe9966
Hello,
Here is the software used:
Transport Fever 2
3DS Max 2019 (x64)
tpf2fbx
The model is exported from 3DS Max to the .fbx format (with the specified parameters)
Drop in tpf2fbx
Conversion completed
The .fbx file and tpf2fbx are in the same directory.
My question: where is the result (converted file)?
Thank you
Enzojz
normally the output file are listed in the console output, but I have just upload a new version, where you can specify the output by yourself.
Alpenheuler
Hello, I have the same problem. I get the message that the conversion is finished, but I can't find the files anywhere? Which folder is there by default from you?
melectro
Hello, I have the same question as Alpenheuler.
I have also tested to write a specific output folder, but there is no result. I have also updated the tpf2fbx.lua, where my game res is on i:\.. (not C:\..)
MaikC
I tested it with a model but the model editor crashes:
https://i.imgur.com/5HkVOfG.png
Enzojz
this happens on skin model with mesh material or inverse, normally it should be correctly generated but maybe a bug here, could you check it?
MaikC
You are right the material is wrong, but how can i say blender to export the fbx with skin material?
Enzojz
you can send me the fbx file you export, since blender may not respect 3dsmax's rule, so I need to enrich it.
the current rule is if it contains bones it should be a skin, if not it's a mesh
MaikC
Ahh thx for explanantion i will test it again and give you feedback. The file has skintextures but no bones yet.
Schubi10
Danke dir dass würd vieles vereinfachen 🙋