February 28, 2017

Crashes With tModLoader and RomTerraria

I've been getting several reports of crashes when people take tModLoader and apply RomTerraria on top of it.

While the latest version of RomTerraria includes updates to handle the base cases, I'm still trying to figure out the cause of a race condition with rendering that appears to be affected by certain mods.

If you are experiencing crashes with a modded Terraria with RomTerraria applied, please reply to this post with the list of mods that you are adding.

Update 3/26/2017 4:23pm: Fix coming shortly.

Update 4/3/2017 7:04pm: I'm still working on a global fix. The major cause of most of these problems (and crashes with non-retro lighting) appears to be assumptions about the state of the SpriteBatch object. If a mod works in retro mode, but not in other lighting modes, it's a bug in the mod. I'm working on a deeper fix, but it's going to take a bit more time.


Unknown said...

Hi Michael,

I have tested Installing Tmod version: v0.9.2.1
And Then ran RTRewriter, enabled Cooperative fullscreen, and then updated, to create the new Terraria Executable in:
C:\Users\#USER#\Documents\My Games\Terraria

After this, i renamed the Terraria.exe in :
to: Terraria.Original.exe

and then copied:
Terraria.exe, Terraria.exe.config, and RTHooks.dll - into the Terraria Main directory.
Tried to launch Terraria via steam, and got error :

Terraria has stopped working

A problem caused the program to stop working correctly. Windows will close the program and notify you if a solution is available

Any ideas on the causes of this? or is RomTerraria still unstable when working allongside Tmod Loader? I tested this with an older version of Romterraria: and this seemed to launch but the mods didnt seem to work, just thought i would advise

Unknown said...

Ignore this mate, Fixed it :). Still getting the bug with tmod not loading sprites while in colour mode, if you remain in Retro it works as long as you dont Alt + Tab out - if you Alt - Tab out of terraria it then starts de loading the sprites