I tried running the Armored Brigade II game on my M1 MacBook Air but get an error message when launching the game, then it freezes.
Origen : "I know you were in the forum thread as well, but I don't think we'll have any luck with running in Wine without code changes.
ERROR: Unable to compile shader program data/graphics/3d/shared/map_vertex.glsl: ERROR: 0.1: ": version '400' is not supported
ERROR 0.1: ": syntax error: #version
I suspect there are missing or incorrect
glfwWindowHint(GLFW_CONTEXT_VERSION_MAJOR, 4);
glfwWindowHint(GLFW_CONTEXT_VERSION_MINOR, 1);
Which causes MacOS to give a lower version OpenGL context (through wine) to the game. Which then in turn doesn't support the #version hint.
I don't think this is a wine problem (though it would be good to report it if not already) - since other games using OpenGL 4+ do work.
Windows OpenGL drivers likely default to a higher context (3+ I think may have added #version) so even an incorrect declaration would hide this error.
Of course depending on the OpenGL library being used the version/context may be set differently in code."