-
Notifications
You must be signed in to change notification settings - Fork 314
Truecraft crashes when launcher tries to start a single player game #251
Comments
Check the eventvwr.exe for the exact error. There will be at least two entries from the crash. |
First error: .NET Runtime
Second error: Application Error
|
In the .NET Runtime there should be a stack trace with the information of the exception that caused the crash. |
Where do I look for this? There is a memory dump in the first post of this issue, is that it? |
I don't really know how to read a memdump, but the stack trace info should be in the details in the event viewer (see https://www.youtube.com/watch?v=TK768PB0BGc) |
Application: TrueCraft.Client.exe Exception Info: Microsoft.Xna.Framework.Audio.NoAudioHardwareException |
Similar issues to the audio start issue above: Tried to start it many times, then finally it started only to crash again with: Application: TrueCraft.Client.exe |
I have the same issue with no audio device and found an issue MonoGame/MonoGame#1654 describing it. They've fixed it apparently, and it should work if you build MonoGame from source. I haven't had time to test it yet, though. |
I was building from source and had the same issue, I'll rebuild it. Just tried the precompiled version and it has the same issue. Do I need to update Mono or somekind of framework package to get the fix onto my code, the rebuild? How? |
I cloned mono/MonoGame, built MonoGame.Framework.Windows/GL but neither seems to work for me.But you should give it a try. After building I simply copied them into the bin/Release of TrueCraft.Client. Note: The default MonoGame NuGet package that comes with TrueCraft works for me on Win7 |
Can you guys see if this branch works at all? You may need the native libs from here: |
@flibitijibibo if we can produce reliable builds for all 3 platforms from our Jenkins box, I'll definitely switch to FNA just to get these Windows kids off my back |
Just updated to FNA 16.07, should build out of the box. The native libs can be pulled straight from the download URL however's easiest, and the Xiph libs (ogg/vorbis/vorbisfile/theora/theoraplay) can all be skipped when packaging. As a bonus, you can also skip the jpeg lib as well. |
@flibitijibibo I got DLLNotFoundException at first because I forgot about the native libs.
Then I got the libs and copied MojoShader.dll, SDL2*.dll, soft_oal.dll, zlib1.dll into the program directory. Now I got NullRefferenceException
Turns out I also needed libjpg_.dll and libpng_.dll Ok, so the client runs, but the Launcher has issues
|
Hello,
On a clean Windows 7 VM, installed Visual Studio Community, Git.
I open the .sln and Build. No errors.
I open the launcher, then try to create a new Single Player world. When I try to open it Truecraft crashes.
Windows then opens the Crash reporter with these files.
Temp.zip
The text was updated successfully, but these errors were encountered: