🤑 Indie game store🙌 Free games😂 Fun games😨 Horror games
👷 Game development🎨 Assets📚 Comics
🎉 Sales🎁 Bundles


Planet exploration and survival game with base building. · By Cairn4

Changing Resolution Crash

A topic by Brentnor created Feb 28, 2017 Views: 334 Replies: 7
Viewing posts 1 to 6

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:

  1. Create a shortcut to MewnBase.exe (doesn't matter where)
  2. Right click shortcut -> Properties
  3. add "-c --console" to the end of the Target field so that it reads
    MewnBase.exe -c --console
  4. Run the game via the shortcut, it'll open up a little console window behind the main game.
  5. Try changing the resolutions again as you described - if it crashes, it should still print out some errors at the bottom of the console window, paste some of that here if you could.


Hi Cairn4,

I'm not able to follow your instructions since it keeps telling me the Target is not valid.



Hey, to clarify, the Target field in the shortcut properties should be the full path to the exe...

Example: c:\Users\Steve\folders\MewnBase\MewnBase.exe -c --console

My target has the full path, but it has quotes around it. I'm using Windows 7 Home 64 edition.

Any advice how I can get the console to work?

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

Developer (Edited 2 times)

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


at com.badlogic.gdx.graphics.glutils.ShaderProgram.loadShader(ShaderProg


at com.badlogic.gdx.graphics.glutils.ShaderProgram.compileShaders(Shader


at com.badlogic.gdx.graphics.glutils.ShaderProgram.<init>(ShaderProgram.


at com.badlogic.gdx.graphics.g2d.SpriteBatch.createDefaultShader(SpriteB


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


at com.cairn4.moonbase.ui.ResolutionPopup$1.clicked(ResolutionPopup.java


at com.badlogic.gdx.scenes.scene2d.utils.ClickListener.touchUp(ClickList


at com.badlogic.gdx.scenes.scene2d.InputListener.handle(InputListener.ja


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


at com.badlogic.gdx.backends.lwjgl.LwjglApplication.mainLoop(LwjglApplic


at com.badlogic.gdx.backends.lwjgl.LwjglApplication$1.run(LwjglApplicati


Destroyed Java VM ...

Press ENTER key to exit.^A^A