tModLoader / tModLoader

A mod to make and play Terraria mods. Supports Terraria 1.4 (and earlier) installations
https://www.tmodloader.net/
MIT License
4.11k stars 1.85k forks source link

[1.4 Alpha] Cannot launch game. #2131

Closed TeddyJi closed 2 years ago

TeddyJi commented 2 years ago

Version

Latest public-1.4-alpha

OS

Windows

Platform

Steam

This bug affects

Gameplay as a Player

Description

Only this machine had the problem. Other machines including virtual machines can launch the game properly.

Log File

client.log

Steps to reproduce

  1. Install Terraria and launch Terraria.
  2. Compile/Install tModLoader 1.4.
  3. Launch game.

Expected Behavior

Launch the game properly.

Actual Behavior

After the cmd.exe-like window, this pops out. 1

Reproduction frequency

Always

Additional Information

Reinstalled Steam, Terraria, tModLoader, dotnet. No use. Other PCs work fine, only this couldn't.

direwolf420 commented 2 years ago

The issue seems to be caused by another existing SDL2 existing on PATH. If you want to fix this yourself, try visiting this for more info, and try removing the SDL2 path from it, or changing it to the tml one.

As referenced here: https://github.com/tModLoader/tModLoader/issues/2110#issuecomment-1024967471

TeddyJi commented 2 years ago

Thanks for the help. The issue was fixed after deleting the QEMU path. Btw, another "Stack overflow" with repeating logs should be fixed by using "dotnet tmodloader.dll" in source folder. :)