If you try to change the video resolution from the menu instead of inside the game, it crashes every time.
Hey Brentnor,
But it works if you change the resolution in-game? Weeeeird. Are you running the latest version? (at least v0.33), on Windows I'm assuming?
Try this out if you can:
MewnBase.exe -c --console
Thanks!
Okay, I pasted the console after the quotes and got it to work. I could not find a way to copy and paste it so I took a snapshot and uploaded it here: http://oi67.tinypic.com/33escn6.jpg
Ah! so close :D
Unfortunately the actual cause is a few lines above that probably (before all the "at ..." lines) - should be a line that says what type of Exception occurred - probably starts with something like "Exception in thread..."
Thanks for your patience with me here, I do really wanna figure out why it's crashing here for you so I can get it fixed.
The following is everything:
Loading JVM runtime library ...
Passing VM options ...
# -Xmx1G
Creating Java VM ...
Passing command line arguments ...
Loading JAR file ...
Invoking static com.cairn4.moonbase.desktop.DesktopLauncher.main() function ...
MewnBase: SettingsLoader: validating settings file
Compiling shaders...
MewnBase: Audio: setting volumes to 1.0, 1.0
MewnBase: UpdateCheck: Game is up to date!
MewnBase: System Language: en_US
MewnBase: Setting language to: en
menuStack: 1
menuStack: 2
Exception in thread "LWJGL Application" java.lang.RuntimeException: No OpenGL co
ntext found in the current thread.
at org.lwjgl.opengl.GLContext.getCapabilities(GLContext.java:124)
at org.lwjgl.opengl.GL20.glCreateShader(GL20.java:219)
at com.badlogic.gdx.backends.lwjgl.LwjglGL20.glCreateShader(LwjglGL20.ja
va:201)
at com.badlogic.gdx.graphics.glutils.ShaderProgram.loadShader(ShaderProg
ram.java:207)
at com.badlogic.gdx.graphics.glutils.ShaderProgram.compileShaders(Shader
Program.java:186)
at com.badlogic.gdx.graphics.glutils.ShaderProgram.<init>(ShaderProgram.
java:169)
at com.badlogic.gdx.graphics.g2d.SpriteBatch.createDefaultShader(SpriteB
atch.java:160)
at com.badlogic.gdx.graphics.g2d.SpriteBatch.<init>(SpriteBatch.java:124
)
at com.badlogic.gdx.graphics.g2d.SpriteBatch.<init>(SpriteBatch.java:78)
at com.badlogic.gdx.scenes.scene2d.Stage.<init>(Stage.java:100)
at com.cairn4.moonbase.ui.Menu.<init>(Menu.java:63)
at com.cairn4.moonbase.ui.Popup.<init>(Popup.java:35)
at com.cairn4.moonbase.ui.ConfirmSettingsPopup.<init>(ConfirmSettingsPop
up.java:28)
at com.cairn4.moonbase.ui.ResolutionPopup$1.clicked(ResolutionPopup.java
:140)
at com.badlogic.gdx.scenes.scene2d.utils.ClickListener.touchUp(ClickList
ener.java:89)
at com.badlogic.gdx.scenes.scene2d.InputListener.handle(InputListener.ja
va:58)
at com.badlogic.gdx.scenes.scene2d.Stage.touchUp(Stage.java:353)
at com.badlogic.gdx.InputMultiplexer.touchUp(InputMultiplexer.java:96)
at com.badlogic.gdx.backends.lwjgl.LwjglInput.processEvents(LwjglInput.j
ava:332)
at com.badlogic.gdx.backends.lwjgl.LwjglApplication.mainLoop(LwjglApplic
ation.java:217)
at com.badlogic.gdx.backends.lwjgl.LwjglApplication$1.run(LwjglApplicati
on.java:126)
Destroyed Java VM ...
Press ENTER key to exit.^A^A