Author Topic: Problems running the Steam Version  (Read 2191 times)

Woah, been a while since I was last here.

That being said, I seem to be unable to launch the Steam version of Blockland, even with all the new Redist stuff installed.

Last thing logged by the game during startup before crashing is
'Video Init:
   Accelerated OpenGL display device detected.
Activating the OpenGL display device...'

After this, it crashes.
For what I know, I'm not the only one with this issue. Any ideas on what the culprit is and what the fix might be? Everything ran just fine a few days ago.

Not sure if you know or not, but everything going on at the moment - Badspot had to update the game quite promptly. A few users are reporting issues.

Keep an eye out on the forums for users reporting the same issues, also keep an eye on the latest development threads - if a lot of the user base are having the same issue, I'm sure Badspot will come up with a resolution in the near future, but priority 1 right now I can imagine is to figure out how these keys have been obtained

[...] priority 1 right now I can imagine is to figure out how these keys have been obtained

i believe that is already known to be an RCE buffer overflow exploit

i believe that is already known to be an RCE buffer overflow exploit
Yep - however there could be more to it. Just keep an eye out for further updates is my best advice here  :cookie:

Edit: Somehow submitted the post early - boomer mistake  :cookieMonster:

More and more people are now reporting being unable to launch the game. This is a serious problem. Badspot pls fix.

Bump. I've managed to get no solutions so far.
« Last Edit: May 05, 2020, 10:27:47 AM by theblocker »

A lot of people are unable to play rn -- like me

still cant after update

Since this seems to be getting nowhere I'll throw in some specs and additional information.

console.log:
Quote
//-------------------------- 5/6/2020 -- 13:58:15 -----
Processor Init:
   Intel Core, ~4.15 Ghz
     (timed at roughly 4.15 Ghz)
   FPU detected
   MMX detected
   SSE detected
 
Math Init:
   Installing Standard C extensions
   Installing Assembly extensions
   Installing FPU extensions
   Installing MMX extensions
   Installing SSE extensions
 
Input Init:
   DirectInput enabled.

Syntax error in input.
Blockland v21 build 2009
Module Directory: C:/Program Files (x86)/Steam/steamapps/common/Blockland
Profile Path: C:/Program Files (x86)/Steam/steamapps/common/Blockland
Total Ram: 32699 MB
OS:  (build 9200), 64-bit

--------- Parsing Arguments ---------
argc = 4
argv[2] = -noconsole
argv[3] = -steam
Parsing command line arguments: -noconsole -steam
--------- Loading Common ---------
Loading compiled script base/main.cs.
Loading compiled script base/client/defaults.cs.
Loading compiled script base/server/defaults.cs.
Executing config/client/prefs.cs.
Executing config/server/prefs.cs.
Executing config/server/ADD_ON_LIST.cs.
Loading compiled script base/server/defaultMusicList.cs.
--------- Loading MODS ---------
Executing config/main.cs.


--------- Initializing Base ---------
Loading compiled script base/client/init.cs.
Loading compiled script base/server/init.cs.
Loading compiled script base/client/canvas.cs.
Loading compiled script base/client/audio.cs.

--------- Initializing Base: Server ---------------------
Initializing steamAPI...
  SteamAPI initialization successful, allocating steam objects
Steam initialized...
Steam unlock successful, will use Steam authentication
Loading compiled script base/server/mainServer.cs.
Loading compiled script base/server/scripts/game.cs.

--------- Initializing Base: Client ---------------------
Loading compiled script base/client/message.cs.
Loading compiled script base/client/mission.cs.
Loading compiled script base/client/missionDownload.cs.
Loading compiled script base/client/actionMap.cs.
Video Init:
   Accelerated OpenGL display device detected.
Activating the OpenGL display device...

My specs are as follows:
Quote
Windows 10
Intel i7 7700k
MSI 1060GTX 6GB ARMOR OC
ASUS PRIME Z270-P
4x8GB RAM - Corsair Vengeance LPX

Installed VCRedist packages:


This is with a fresh install of Blockland. No mods.

cant play on windows, but i can play on linux :)


jokes aside, i legit cant get it working on windows, but i can in linux. i have no idea whats going on. hosting idk but i can join servers no problem and chat and do everything

OP ran the game in a debugger and gave me a stack trace of the crash. It is related to CFG and GLEW.

This is glewContextInit(), called by OpenGLDevice::activate(...):



It crashes at the last __guard_check_icall_fptr right before calling glGetString with the error STACK_BUFFER_OVERRUN. This is the error you get when CFG fails to find a valid indirect call entry in the function table. I am not sure why glGetString() would not be in this table, maybe it has something to do with how GLEW resolves OpenGL functions through its own loader.

We found a way to make the game work by disabling CFG for the exe. NOTE: CFG is an important security protection and shouldn't be disabled, but since the recent exploit has been patched, you should be safe to temporarily disable it.

Open Blockland.exe in a hex editor (I use HxD) and find these two bytes:



Change "C1" to "81" and save. The game should work now.

We found a way to make the game work by disabling CFG for the exe. NOTE: CFG is an important security protection and shouldn't be disabled, but since the recent exploit has been patched, you should be safe to temporarily disable it.

Open Blockland.exe in a hex editor (I use HxD) and find these two bytes:

insert image here

Change "C1" to "81" and save. The game should work now.

It did work!! I'm currently hosting a server!

As of r2026, Blockland has been compiled without CFG. This issue is closed