Getting "invalid material type: x" crashes

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


  • I know this forum is German, so I'll provide a google translation.

    Hey,

    I've been trying to port over Zukfs' SD70 mods from Transport Fever 1 into 2. I'm pretty sure I did everything right, but when I've been loading games with the new mods I've been getting "invalid material type" crashes, for example "invalid material type: TRANSPARENT", and many other materials. I don't know if this form deals with porting, but can anyone spread some knowledge? Did I do something wrong, or are there just some models you can't port over? Is this fixable?

    Example of issue is provided.

    Thanks!

    Code
    Ich weiß, dass dieses Forum deutsch ist, daher werde ich eine Google-Übersetzung bereitstellen.
    
    Hallo,
    
    Ich habe versucht, Zukfs 'SD70-Mods von Transport Fever 1 auf 2 zu portieren. Ich bin mir ziemlich sicher, dass ich alles richtig gemacht habe, aber als ich Spiele mit den neuen Mods geladen habe, habe ich "ungültigen Materialtyp" bekommen "stürzt ab, zum Beispiel" ungültiger Materialtyp: TRANSPARENT "und viele andere Materialien. Ich weiß nicht, ob sich dieses Formular mit Portierung befasst, aber kann jemand etwas Wissen verbreiten? Habe ich etwas falsch gemacht oder gibt es nur einige Modelle, über die Sie nicht portieren können? Ist das reparabel?
    
    Beispiel wird bereitgestellt.
    
    Danke!




    Bilder

  • Some materialtypes can't be used in TPF2, this includes all materials with "Alpha"


    Here is a list with working Materials

    Materialtypen die in TPF2 verwendbar sind (Liste)

    Grüße MaikC


    116494-emd-dda40x-nc-up-png116503-mc-br442-2-png

    Fehler- und Crashreports ausschließlich unter: MaikC - Fahrzeuge und anderes für TPF2 / 2471 TPF2 Modelle and counting.

    Meine Modelle auf Sketchfab anschauen.

  • Some materialtypes can't be used in TPF2, this includes all materials with "Alpha"


    Here is a list with working Materials

    Materialtypen die in TPF2 verwendbar sind (Liste)

    Thanks, Maik. In this case, am I going to be unable to port these models over? Or, am I able to physically go in and replace the materials? If so, how?


    Thanks for the help!

  • Dieses Forum ist deutsch und ich bin englisch, also benutze ich einen Übersetzer. Entschuldigung für das schlechte Deutsch.

    Ich versuche, amerikanische Lokomotiven von Transport Fever 1 aus zu portieren, und mir ist bekannt, dass einige ungültige Materialien enthalten, die in Transport Fever 2 nicht verwendet werden können.

    Ist es möglich, die Materialien in diesen Dateien so zu ändern, dass sie mit Transport Fever 2 funktionieren? Wenn das so ist, wie?

    Jede Hilfe ist willkommen, danke.


    I am attempting to port over American locomotives from Transport Fever 1, and I am aware that some contain invalid materials which cannot be used in Transport Fever 2.


    Is it possible to change the materials in these files so that they work with Transport Fever 2? If so, how?


    Any help is welcome, thank you.

    Bilder

  • You might change them by manually editing them.

    As an alternative you may try to use the converter that you can find in the webdisk.


    For a list of supported materials in TF2, have a look at the wiki:

    https://www.transportfever2.co…modding:resourcetypes:mtl

    Privat nicht mehr aktiv.

    Gefällt mir 1
  • Thanks for the reply. If I were to manually edit them, may I just replace TRANSPARENT with PHYS_Transparent in the mtl file and have it work just fine? And the same for other materials?


    If that doesn't work, where may I find the converter on the "webdisk" (I'm unaware if you mean the one on this website or one that comes with the game.)

  • Jede Hilfe ist willkommen, danke.

    Nimm das "ALPHA" raus


    Ergo: PHYSICAL_NRML_MAP


    map_color_reflect = {

    in

    map_albedo = {

    MfG elektronikfreak


    MB MSI MPG Z790 Edge WIFI - i7-14700K - Nvidia GeForce RTX 4080 Founders Edition 16GB - 192 Gb DDR5 Ram - 5x 2TB M.2 - Win11/64 - WsK - 60TB Ext. - TPF2 35924 und TPF3 40418

    (Meine Screenshots dürfen weiter verwendet werden) - (Fixiert auf Berliner Mod's)