Reign of Kings 64-bit server crash

Questions about Wine on Linux
Locked
dnice
Newbie
Newbie
Posts: 1
Joined: Fri Mar 13, 2015 11:45 am

Reign of Kings 64-bit server crash

Post by dnice »

Trying to run this game, which only comes in a 64-bit executable, preferably looking to get the server portion of it working, but also tried to run the game to see what errors it gives. OS is Ubuntu 14.10 server.

Running server through .bat in wine cmd

Code: Select all

Z:\home\kings\server>rok.bat

Z:\home\kings\server>echo off 
Starting ROK with parameters  -batchmode -nographics  !
ROK.EXE 0 0 -batchmode -nographics
fixme:exec:SHELL_execute flags ignored: 0x00000100
kings@ns501717:~/server$ fixme:system:SetProcessDPIAware stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x112f260,0x00000000), stub!
fixme:win:EnumDisplayDevicesW (L"\\\\.\\DISPLAY1",0,0x112f260,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),1,0x112f260,0x00000000), stub!
fixme:dbghelp:EnumerateLoadedModulesW64 If this happens, bump the number in mod
At this point, a pop-up comes up, which is an internal error handler from the game makers, asking for the crashlog to be submitted to them...

simply running the application with wine, gives the following

Code: Select all

kings@linux:~/server$ wine ROK.exe
fixme:system:SetProcessDPIAware stub!
Mono path[0] = 'Z:/home/kings/server/ROK_Data/Managed'
Mono path[1] = 'Z:/home/kings/server/ROK_Data/Mono'
Mono config path = 'Z:/home/kings/server/ROK_Data/Mono/etc'
fixme:win:EnumDisplayDevicesW ((null),0,0x111f260,0x00000000), stub!
fixme:win:EnumDisplayDevicesW (L"\\\\.\\DISPLAY1",0,0x111f260,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),1,0x111f260,0x00000000), stub!
fixme:imm:ImmReleaseContext (0x10004e, 0x3ca90): stub
err:wgl:X11DRV_WineGL_InitOpenglInfo  couldn't initialize OpenGL, expect problems
fixme:d3d11:D3D11CreateDevice adapter (nil), driver_type D3D_DRIVER_TYPE_HARDWARE, swrast (nil), flags 0x1, feature_levels 0x1487ed0, levels 0x3, sdk_version 7, device 0xe2a590, feature_level 0x111f940, context 0xe2a518 stub!
Error Dialog at end pops up:

Code: Select all

"Error

Failed to initialize player

Details:
GL: failed to choose pixel format for dc 190036
GLContext warn: failed to setup offscreen pixel format: Success.

GLContext: failed to create offscreen context: Success.

Failed to initialize Direct3D 9.

Make sure you have DirectX 9.0c installed, have drivers for you graphics card and have not disabled 3D acceleration in display settings
InitializeGraphicsFailed"

Then, trying to run it in server mode, using Wine:

Code: Select all

kings@linux:~/server$ wine ROK.exe -batchmode -nographics
fixme:system:SetProcessDPIAware stub!
Mono path[0] = 'Z:/home/kings/server/ROK_Data/Managed'
Mono path[1] = 'Z:/home/kings/server/ROK_Data/Mono'
Mono config path = 'Z:/home/kings/server/ROK_Data/Mono/etc'
fixme:win:EnumDisplayDevicesW ((null),0,0x111f260,0x00000000), stub!
fixme:win:EnumDisplayDevicesW (L"\\\\.\\DISPLAY1",0,0x111f260,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),1,0x111f260,0x00000000), stub!
wine: Unhandled exception 0x80000003 in thread 2c at address 0x746c984cae45 (thread 002c), starting debugger...
Following 2 pop ups show up then

"Fatal error in gc
GetThreadContext failed"

"Wine program crash
Internal errors - invalid parameters received"

Running latest development release of Wine, 1.7.38
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Reign of Kings 64-bit server crash

Post by dimesio »

Code: Select all

err:wgl:X11DRV_WineGL_InitOpenglInfo  couldn't initialize OpenGL, expect problems
That's one problem you need to fix.
Locked