T
tModLoader8mo ago
wise-white

Had "Main Engine" crash in FontLoader. After verifying, runs for 5secs and silently exits.

I'm having trouble starting tModLoader. About an hour ago, I tried to start it for the first time in several months. On startup, it had a "main engine crash", something to do with an "illegal rectangle" or "region" in the FontLoader mod. I then tried verifying my files, which updated one file. Since then, whenever I try to start tModLoader, it runs for about five seconds, then simply stops without any obvious error. The logs are not updated at all. I have tried renaming my config.json file to configORIG.json but it makes no difference. Anyone have any idea what might be happening? Or what steps I could take? Thanks in advance for any help offred.
3 Replies
tModLoader
tModLoader8mo ago
Welcome to #support-forum. Before someone helps you, please first consult the information in #TML Troubleshooting Guide and try all the suggestions that might fit your particular issue, especially in the linked FAQ page. If the information in the pinned thread does not solve your issue, please post all log files by dragging and dropping them into this chat. In Steam right click on tModLoader in the library, then hover over Manage and click on Browse local files. In the folder that appears find tModLoader-Logs and open that folder. Inside that folder are the logs files. Select them all except the Old folder and drag them into this chat. If you need a visual guide to this process watch this: https://github.com/tModLoader/tModLoader/assets/4522492/3f4efa43-753f-4733-b630-ba85e711340c
Rijam
Rijam8mo ago
Hold left shift while the game is opening to skip loading mods.
wise-white
wise-whiteOP8mo ago
Thanks for that information, Rijam, I'll remember that for the future. Unfortunately it doesn't seem to help with my current problem. Even holding down left shift, I can't get Tml to load. I press "Play", Steam tells me that my saves are synced to the cloud, but then Tml fails to start and the Steam button changes back from the blue "Stop" to the green "Play". Ok, I have found the problem. One of the Tml startup scripts (start-tModLoader.bat) has a pathname containing a slash instead of a backslash. CMD doesn't seem to care, but I'm using an enhanced command-line interpreter called "Take Command LE" (tcc.exe) by JP Software Inc. and this objects to the incorrect separator, and so the startup script fails. Evidently I had corrected the script a long time ago when I first installed tModLoader, but I had forgotten about it. When I verified my files in Steam, it reinstalled the original script with the path error, so my old problem returned. I have now re-edited the script, and tModLoader is starting. However, there definitely seems to be a bug in the "FontLoader" mod, as it crashes all the time. I used the left-shift key to start without mods, and I have disabled FontLoader. Terraria is now running. Would it be a good idea to update the tModLoader startup scripts to ensure that they're fully compatible with Windows, using "\" as the path separator instead of "/"?

Did you find this page helpful?