Willkommen in der Transport Fever Community

Wir begrüßen euch in der Fan-Community zu den Spielen Transport Fever und Train Fever, den Wirtschaftssimulatoren von Urban Games. Die Community steht euch kostenlos zur Verfügung damit ihr euch über das Spiel austauschen und informieren könnt. Wir pflegen hier einen freundlichen und sachlichen Umgang untereinander und unser Team steht euch in allen Fragen gerne beiseite.

 

Die Registrierung und Nutzung ist selbstverständlich kostenlos.

 

Wir wünschen euch viel Spaß und hoffen auf rege Beteiligung.

Das Team der Transport-Fever Community


Zur Download-Übersicht

Tpf2 FBX Model Converter

Von Enzojz · Erstellt · Bearbeitet
Kein Vorschaubild vorhanden

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,

Code
example.fbx
|- dir1/obj1
|  |-mesh1
|  |-mesh2
|- dir2/obj2
|  |-mesh3

This object tree will generate these files:

Code
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.

Installation

Manuelle Installation
Copyright 2020 Enzojz

This software contains Autodesk® FBX® code developed by Autodesk, Inc. Copyright 2019 Autodesk, Inc. All rights, reserved. Such code is provided \"as is\" and Autodesk, Inc. disclaims any and all warranties, whether express or implied, including without limitation the implied warranties of merchantability, fitness for a particular purpose or non-infringement of third party rights. In no event shall Autodesk, Inc. be liable for any direct, indirect, incidental, special, exemplary, or consequential damages (including, but not limited to, procurement of substitute goods or services; loss of use, data, or profits; or business interruption) however caused and on any theory of liability, whether in contract, strict liability, or tort (including negligence or otherwise) arising in any way out of such code.

Weitere Mods von Enzojz

Kommentare 22

  • how to swithc to mdl to fbx

  • excuse me, how can i switch from mdl to fbx? the tool isnt very clear...

  • wonderful utility. Are you planning to update the version? Or just add a log. To understand where/reason the crash occurs.

  • 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)

  • doesnt work

  • 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?

  • 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

  • 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?

    • I've just had the same problem. Could use some help with this.

  • TpF2MC 无法运行

  • 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

    • 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

  • 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

    • 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.

    • 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?

    • 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:\..)


      Code
      Please drop an fbx file and press enter...
      example.fbx @i:\tpf2fbx
      Convert finished. Press space to start a new convert, R to repeat, other keys to quit.
  • I tested it with a model but the model editor crashes:

    https://i.imgur.com/5HkVOfG.png

    • 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?

    • You are right the material is wrong, but how can i say blender to export the fbx with skin material?

    • 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

    • Ahh thx for explanantion i will test it again and give you feedback. The file has skintextures but no bones yet.

  • Danke dir dass würd vieles vereinfachen 🙋