Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception in thread "LWJGL Application" com.badlogic.gdx.utils.GdxRuntimeException: OpenGL is not supported by the video driver. #50

Closed
Shadowh8ter opened this issue Jun 30, 2018 · 8 comments

Comments

@Shadowh8ter
Copy link

Managed to run everything on my PC just fine, however I can't seem to make it run on my mothers PC.

Her video drivers are up to date so I don't think it's that. I saw the top response from this link https://stackoverflow.com/questions/15572908/opengl-is-not-supported-by-the-video-driver

And was going to attempt that but have no idea what file in the source code I should edit to do so. Any help/suggestions?

@kiooeht
Copy link
Owner

kiooeht commented Jun 30, 2018

This is a weird one.
Is it just playing modded that causes the problem? Does running Slay the Spire normally still work?
What about running it through ModTheSpire but without any mods?

@Shadowh8ter
Copy link
Author

Yeah I should have mentioned that. I tried running mod the spire without any mods on and still got the same error code. Running Slay the Spire normally works on the PC just fine, she has 200 of my 245 hours on that PC.

The graphics card is a basic integrated intel graphics card so I assume that's why this problem is arising. I can post a pastebin of the full text I get, maybe that'd help you know where it breaks down?

https://pastebin.com/TZ9DqAdf

@JeSuisUnCaillou
Copy link

JeSuisUnCaillou commented Oct 20, 2018

Yeah I should have mentioned that. I tried running mod the spire without any mods on and still got the same error code. Running Slay the Spire normally works on the PC just fine, she has 200 of my 245 hours on that PC.

The graphics card is a basic integrated intel graphics card so I assume that's why this problem is arising. I can post a pastebin of the full text I get, maybe that'd help you know where it breaks down?

https://pastebin.com/TZ9DqAdf

I have the exact same problem, and I was about to paste the exact same logs. +1
I also am with an integrated graphic card btw, if that helps.

@kiooeht
Copy link
Owner

kiooeht commented Nov 15, 2018

Finally figured out a solution for this.
The problem comes from an interaction with old Intel integrated graphics drivers, Windows 10, and newer versions of Java.
The solutions involve either not using Windows 10, patching your graphics drivers, or using an older version of Java. The latter being a lot easier that the other two.

First, download this version of Java:
https://files.multimc.org/downloads/jre-8u51-windows-x64.zip
Extract it into your Slay the Spire folder. It should look like this:
explorer_2018-11-15_15-48-23

Then, download MTS_8u51.cmd and put it into your Slay the Spire folder.
If you got both right, running MTS_8u51.cmd will open ModTheSpire and you'll be able to use mods without this crash.

@kiooeht kiooeht closed this as completed Nov 15, 2018
@duduelo
Copy link

duduelo commented Apr 22, 2019

but the last download thing just opens a website

@luismuchaki
Copy link

@duduelo the link contains a .cmd file, you can right click > save as....
You may need to update the location of ModTheSpire.jar inside the cmd file. Example of my updated cmd file:
start .\jre1.8.0_51\bin\javaw.exe -jar D:\SteamLibrary\SteamApps\workshop\content\646570\1605060445\ModTheSpire.jar

@Xaralabos23
Copy link

Xaralabos23 commented Nov 4, 2023

i was having a little trouble with the .cmd and in the end i ended up with a "Unable to find 'desktop-1.0.jar' " error
then i realized the cmd isnt even needed, just do step 1 (download the java version and place it on the folder) and start moded StS from steam
if the vanila version crashes on start, open the SlayTheSpire.exe from the folder

@Vihanga101
Copy link

thank you, it worked <3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants