Jump to content

Recommended Posts

Posted

Hey everyone! I wanted to return back to this game after not playing for a few years but whenever I launch the game I seem to be getting this error.  I understand it's related to my window size so I changed my computers resolution down from 1920x1080 to 1440x900 and it launched! However, when I try to change my resolution back to 1920x1080 and maximize the game it literally will freeze the moment I'm in game. I use an amd card if that makes any difference but I'm not sure why it would. I originally thought it was because I had set my text to be at 125% on windows, but changing that seems to have no effect. I recorded a loom to show off what I mean. If anyone could help I'd really appreciate it, having to change the resolution down just to launch the games a bit of a pain.

 

https://www.loom.com/share/2d9b8e041d03492996f2cdd86ee5a8c5?sid=5520d7de-c3e3-42df-b068-5856440dd729

Running on 64 bit Windows 10.0.17763.0 with 16328 MB RAM
Game Version: v1.19.8 (Stable)
1/4/2025 8:08:42 AM: Critical error occurred
Loaded Mods: 
OpenTK.Windowing.GraphicsLibraryFramework.GLFWException: WGL: Failed to make context current: The handle is invalid. 
   at OpenTK.Windowing.Desktop.GLFWProvider.DefaultErrorCallback(ErrorCode errorCode, String description)
   at OpenTK.Windowing.GraphicsLibraryFramework.GLFWNative.glfwCreateWindow(Int32 width, Int32 height, Byte* title, Monitor* monitor, Window* share)
   at OpenTK.Windowing.GraphicsLibraryFramework.GLFW.CreateWindow(Int32 width, Int32 height, String title, Monitor* monitor, Window* share)
   at OpenTK.Windowing.Desktop.NativeWindow..ctor(NativeWindowSettings settings)
   at OpenTK.Windowing.Desktop.GameWindow..ctor(GameWindowSettings gameWindowSettings, NativeWindowSettings nativeWindowSettings)
   at Vintagestory.Client.NoObf.GameWindowNative..ctor(GameWindowSettings gameWindowSettings, NativeWindowSettings nativeWindowSettings) in VintagestoryLib\Client\ClientPlatform\GameWindowNative.cs:line 14
   at Vintagestory.Client.ClientProgram.Start(ClientProgramArgs args, String[] rawArgs) in VintagestoryLib\Client\ClientProgram.cs:line 281
   at Vintagestory.Client.ClientProgram.<>c__DisplayClass9_0.<.ctor>b__1() in VintagestoryLib\Client\ClientProgram.cs:line 128
   at Vintagestory.ClientNative.CrashReporter.Start(ThreadStart start) in VintagestoryLib\Client\ClientPlatform\ClientNative\CrashReporter.cs:line 93

Posted (edited)

Welcome to the forum, bladymir.

I am not going to insult you with the "upgrade, downgrade, reinstall graphics driver" spiel.

Delete clientsettings.json in %appdata%\VintagestoryData and start the game. This will regenerate the clientsettings. Hopefully that's enough.

If you made extensive changes to your settings (keybindings, etc. pp) make a backup of the file beforehand.

If that doesn't solve the problem, I'd actually try to reinstall/update the graphics driver.

If that doesn't help, this problem will be over my head. (Don't bother with github, you'll be fobbed off with the aforementioned copypasta comment about your drivers. Potentially you would get better responses on the Discord server.)

Edited by Brady_The
Posted
4 hours ago, Brady_The said:

Welcome to the forum, bladymir.

I am not going to insult you with the "upgrade, downgrade, reinstall graphics driver" spiel.

Delete clientsettings.json in %appdata%\VintagestoryData and start the game. This will regenerate the clientsettings. Hopefully that's enough.

If you made extensive changes to your settings (keybindings, etc. pp) make a backup of the file beforehand.

If that doesn't solve the problem, I'd actually try to reinstall/update the graphics driver.

If that doesn't help, this problem will be over my head. (Don't bother with github, you'll be fobbed off with the aforementioned copypasta comment about your drivers. Potentially you would get better responses on the Discord server.)

Haha, thanks a bunch and thanks for the welcome! I'll try out the clientsettings.json file and if that doesn't work, I'll try messing around with drivers. Worst case scenario I can just mess with resolutions but I'll definitely update the thread with whatever works (if anything) in case someone else runs into this :)

  • Like 1
Posted
On 1/12/2025 at 11:45 AM, MiraGGe said:

Hello, have you managed to solve your problem because I'm currently having the same problem, I've tried everything and I'm starting to despair. Thanks

Hey! So I uninstalled my driver's, reinstalled them, followed the previous posters instructions but nothing really worked. The only way I got it to work was I lowered my computer resolution down to 1600x900 which keeps the same aspect ratio but the game doesn't crash. Another thing you can try is once the game is launched you can make it windowed and adjust from there but sadly no real fix.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.