Ein Hallo an alle Transport Fever Fans, und vor allem an jene, die sich auch mit dem Modding auskennen. Bisher habe ich noch so gut wie keine Kenntnisse über das Modden in Transport Fever. Lese aber fleissig die hier vorhandenen Tutorials. Habe auch schon nach Lösungen hier in der Modding Sektion gesucht, bin aber nicht fündig geworden. Sollte es auf mein Problem hin einen Thread geben, der eine eindeutige Lösung beinhaltet, so bitte ich, mich darauf aufmerksam zu machen und darüber hinweg zu sehen, dass ich es selbst nicht gefunden habe.
Die Idee: Ich möchte gerne dem Mesh ''crane_old'' eine neue Textur verpassen, die auch eine Normal-Map beinhaltet. Jedoch zunächst einmal ohne eigenes UV-Mapping, sondern durch Anpassen der vorhandenen Textur ''crane_old.tga''.
Vorgehensweise: Nach dem Anpassen der Textur habe ich eine vorher nicht vorhandene Normalmap mit Gimp erzeugt. Und auch den dafür notwendigen Eintrag (map_normal) in die entsprechende MTL-Datei hinzugefügt, sowie auch den ''type'' am Ende der MTL-Datei von REFLECTIVE auf REFLECTIVE_NRML_MAP geändert.
Problem: Es lässt sich ohne Weiteres eine neue Textur aus einem Backup der Originaldatei erzeugen. Doch das Spiel stürzt ab, sobald der Kran ''alt'' geladen wird, und als ''type'' in der MTL-Datei auf REFLECTIVE_NRML_MAP eingetragen ist.
Lösungsversuche und Erkentnisse: Wird der ''type'' in der MTL-Datei wieder auf REFLECTIVE gestellt, wird der betreffende Kran mit der neuen Textur geladen. Aber eben ohne die Normal-Datei. Beim Import in Blender erscheint der Turm mit 3D Effekt, sobald in der MTL-Datei zusätzlich zu REFLECTIVE_NRML_MAP im Parameter ''two_sided'' der Eintrag ''flipNormal = false'' eingetragen steht, während es im Spiel einen Crash erzeugt.
Die Dateipfade in der MTL-Datei sind korrekt geschrieben (also kein type-o), und weisen auf den korrekten Pfad hin.
Fragestellung: Was erzeugt den Crash, während es in Blender geladen und gerendert werden kann? Habe ich einen wichtigen Schritt nicht erkannt?
Es würde mich sehr freuen, wenn ihr mir in irgendeiner Form weiterhelfen könntet.
Hello to every Transport Fever fans and especially to those, who have some experiences with modding in Transport Fever. Actually, I have no decent knowledge about modding in Transport Fever. But I am alerady busy reading the tutorials, which came along these forum. But i did not find a solution so far. If there is already written down a solution, I will please you to point me to this thread. But do not be angry with me, if I should have been failed to find it by myself.
The idea: I like to create an altered texture including a normal map, for the mesh ''crane_old''. However without uv-mapping, but altering the existing texture by creating a copy of ''crane_old.tga''
Method: After altering the texture, I generated a normal map with Gimp. And put the appropriate entries for the normal_map file, into the MTL file (''map_normal''). Last but not least, I changed the ''type'' entry at the very bottom of the MTL file from 'REFLECTIVE'' to ''REFLECTIVE_NRML_MAP''.
Problem: As soon as the crane_old loads ingame, it crashes immediately. While without any normal map and its entries at MTL file, the crane will be loaded into the game with its altered texture.
Attempted solutions and findings: With ''type'' entry set on REFLECTIVE the game loads the crane without the normal map. Importing it into Blender the texture works with normal map, when ''type'' at MTL file is written with ''REFLECTIVE_NRML_MAP'' and ''flipNormal=false'' at the ''two_sided'' entry above. But even crashing ingame.
Question: What triggeres the crash ingame, while rendering it in Blender works fine? Do I have overlooked a very important step?
I would be very glad, if you can helkp me with this issue. ... Appendix: Solution is written down here: REFLECTIVE_NRML_MAP causes crashes/Führt zu Abstürzen
STDOUT-Datei/File:
PreventSetUnhandledExceptionFilter: 1
locale name: * (de_DE.utf8)
========================================
Startup at Tue Nov 14 15:40:12 2017
========================================
seed: 1510670412
double buffering: 1
sample buffers: 1
samples: 4 (4)
swap interval: 1
video memory: 6144 MB
============================================================
OpenGL version: 3.2.0 NVIDIA 388.00
Renderer (vendor): GeForce GTX 980 Ti/PCIe/SSE2 (NVIDIA Corporation)
Shading language version: 1.50 NVIDIA via Cg compiler
============================================================
opened device OpenAL Soft
sampling rate: 192000 Hz
seedText: MKF65mVtPjWV
res/config/tips.lua not in file cache!
res/config/tips_steam.lua not in file cache!
active mods:
config dict:
vehicles: default
terrain: default
nameList: default
trees: default
buildings: default
streets: default
environment: default
scenario: default
new game: seed=3410743282, startYear=1850, numTilesX=44, numTilesY=88, hillyness=0
init version: 91
added 256035 trees
texturizer: 2788.97 ms
begin adding 25 locations..
added 25 locations. took 0.334063 s.
begin adding 102 locations..
added 102 locations. took 4.22145 s.
CreateTown: 2337.04 ms
CreateTown: 234.829 ms
CreateTown: 233.371 ms
CreateTown: 249.766 ms
CreateTown: 259.767 ms
CreateTown: 281.931 ms
CreateTown: 275.296 ms
CreateTown: 255.329 ms
CreateTown: 370.49 ms
CreateTown: 205.851 ms
CreateTown: 314.774 ms
CreateTown: 276.316 ms
CreateTown: 432.396 ms
CreateTown: 337.091 ms
CreateTown: 264.555 ms
CreateTown: 248.571 ms
CreateTown: 261.33 ms
CreateTown: 257.022 ms
CreateTown: 639.869 ms
CreateTown: 207.283 ms
CreateTown: 235.889 ms
CreateTown: 267.487 ms
CreateTown: 346.584 ms
CreateTown: 253.564 ms
CreateTown: 311.989 ms
InitGame: 38283.9 ms
res/textures/ui/models/station/airport/asset/signal_taxi_old.tga not in file cache!
res/textures/ui/models/station/airport/asset/signal_taxi_modern.tga not in file cache!
res/textures/ui/models/station/airport/asset/signal_runway_modern.tga not in file cache!
res/textures/ui/models/station/airport/asset/signal_runway_old.tga not in file cache!
c:\build\transport_fever\steam\transport_fever_release\src\lib\renderer\model\vaomanager.cpp:82: unsigned int __cdecl VaoManager::Get(const class ITechnique *,int,int): Assertion `m_meshes->Get(meshId)->va2vertexAttr[va].numComp == size * arrSize' failed.
MinidumpCallback: dumpPath "E:/Programme/Steam/userdata/46975315/446800/local/crash_dump/", minidumpId "60b04b53-b658-4d81-ae5e-5b8e660b4545", succeeded 1
local time is Tue Nov 14 15:42:25 2017
Alles anzeigen