• Please make sure you are familiar with the forum rules. You can find them here: https://forums.tripwireinteractive.com/index.php?threads/forum-rules.2334636/

Server Installing KF 2 Server on Linux with WINE

without those DLLs default installation on Ubuntu is missing those (or was, since I did not reinstall new last version of OS and last WINE version, whats OS and version are you talking about?) I tried on dedicated server and on virtual machines on my computer, without those DLLs server just fails to start with error message from WINE. Some were bundled and able to install with WINETRICKS but those fake DLLs were just not working.

and of course you can remove or add thing in the command line (see wiki), regarding your needs, but letting people know they can change those settings from the command line is always good.
 
Last edited:
Upvote 0
Check what I used in the tutorial it is different, and as said I did two installations, both needed those dlls, so now if you don't happy for you :) maybe newer versions of Wine don't need it, or maybe Wine versions are different depending on the OS. Anyway, with the OS and Wine version I tested, what I described in the tutorial is needed. Now if you use other OS or Wine version, things may be different.
 
Upvote 0
If it does not work with the update "VERSUS SURVIVAL" try to copy the file I join to this message to your WINE Prefix Windows\SysWOW64\ folder. I made lot of modifications (changing WINE version, things like that), but I think only that can make it work again. Try at your own risk, report if it worked or not for you.

View attachment msvcr110_clr0400.zip


EDIT: it seems that only updating to Wine 1.9.7 fixes it. waiting for more feedbacks to confirm in first post.
 
Last edited:
Upvote 0
No luck. Copied over the file you attached as well. Here's my output:

Code:
wine /root/steamgames/kf2server/Binaries/Win64/KFServer KF-lotd-downtown?port=7777 -queryport=27015 -nohomedir -ConfigSubDir=7777 -WebAdminPort=8080
fixme:heap:RtlSetHeapInformation 0xea0000 0 0x60fc70 4 stub
fixme:heap:RtlSetHeapInformation 0x10c0000 0 0x60fcf0 4 stub
fixme:heap:RtlSetHeapInformation 0x11d0000 0 0x60fcf0 4 stub
fixme:heap:RtlSetHeapInformation 0x12e0000 0 0x60fcf0 4 stub
fixme:heap:RtlSetHeapInformation 0x13f0000 0 0x60fbf0 4 stub
err:xrandr:xrandr12_init_modes Failed to get primary CRTC info.
err:xrandr:xrandr12_init_modes Failed to get primary CRTC info.
fixme:ole:RemUnknown_QueryInterface No interface for iid {00000019-0000-0000-c000-000000000046}
fixme:ole:RemUnknown_QueryInterface No interface for iid {00000019-0000-0000-c000-000000000046}
err:xrandr:xrandr12_init_modes Failed to get primary CRTC info.
err:xrandr:xrandr12_init_modes Failed to get primary CRTC info.
fixme:advapi:EventRegister {47a9201e-73b0-42ce-9821-7e134361bc6f}, 0x3f006d00, 0x3f04c480, 0x3f04c478
fixme:advapi:EventRegister {58a9201e-73b0-42ce-9821-7e134361bc70}, 0x3f006d00, 0x3f04c4b8, 0x3f04c4b0
fixme:advapi:EventRegister {3fa9201e-73b0-43fe-9821-7e145359bc6f}, 0x3f006d00, 0x3f04c448, 0x3f04c440
fixme:advapi:EventRegister {1432afee-73b0-42ce-9821-7e134361b433}, 0x3f006d00, 0x3f04c4f0, 0x3f04c4e8
fixme:advapi:EventRegister {4372afee-73b0-42ce-9821-7e134361b519}, 0x3f006d00, 0x3f04c528, 0x3f04c520
err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.
fixme:ver:GetCurrentPackageId (0x5e60d0 (nil)): stub
Setting breakpad minidump AppID = 232090
Warning, Unknown language extension . Defaulting to INT
fixme:wbemprox:wbem_locator_ConnectServer unsupported flags
fixme:wbemprox:client_security_SetBlanket 0x7f97b2e35fa0, 0x5cc1800, 10, 0, (null), 3, 3, (nil), 0x00000000
fixme:wbemprox:client_security_Release 0x7f97b2e35fa0
fixme:wbemprox:wbem_locator_ConnectServer unsupported flags
fixme:wbemprox:client_security_SetBlanket 0x7f97b2e35fa0, 0xe1300, 10, 0, (null), 3, 3, (nil), 0x00000000
fixme:wbemprox:client_security_Release 0x7f97b2e35fa0
fixme:mountmgr:harddisk_ioctl The DISK_PARTITION_INFO and DISK_DETECTION_INFO structures will not be filled
fixme:wbemprox:enum_class_object_Next timeout not supported
fixme:mountmgr:harddisk_ioctl The DISK_PARTITION_INFO and DISK_DETECTION_INFO structures will not be filled
fixme:wbemprox:enum_class_object_Next timeout not supported
fixme:wbemprox:enum_class_object_Next timeout not supported
fixme:wbemprox:enum_class_object_Next timeout not supported
fixme:wbemprox:enum_class_object_Next timeout not supported
fixme:gameux:GameExplorerImpl_VerifyAccess (0xf4010, L"Z:\\root\\steamgames\\kf2server\\Binaries\\Win64\\KFServer.exe", 0x6070a0)
fixme:seh:__CxxFrameHandler 0x606dc0 606fc0 0x605da0 0x605c70: not implemented
fixme:dbghelp:elf_search_auxv can't find symbol in module
Xlib:  extension "MIT-SHM" missing on display "localhost:10.0".
fixme:event:wait_for_withdrawn_state window 0x20044/1000001 wait timed out
fixme:faultrep:ReportFault 0x605ac0 0x0 stub
fixme:seh:__CxxFrameHandler 0x606dc0 606fc0 0x605da0 0x6053b0: not implemented
fixme:seh:__CxxFrameHandler 0x606dc0 6070f0 0x605da0 0x6053b0: not implemented
fixme:seh:__CxxFrameHandler 0x606dc0 607170 0x605da0 0x6053b0: not implemented
fixme:seh:__CxxFrameHandler 0x606dc0 607620 0x605da0 0x6053b0: not implemented
fixme:seh:__CxxFrameHandler 0x606dc0 6076f0 0x605da0 0x6053b0: not implemented
fixme:seh:__CxxFrameHandler 0x606dc0 607770 0x605da0 0x6053b0: not implemented
fixme:seh:__CxxFrameHandler 0x606dc0 607c60 0x605da0 0x6053b0: not implemented
fixme:system:SystemParametersInfoW Unimplemented action: 59 (SPI_SETSTICKYKEYS)
fixme:system:SystemParametersInfoW Unimplemented action: 53 (SPI_SETTOGGLEKEYS)
fixme:system:SystemParametersInfoW Unimplemented action: 51 (SPI_SETFILTERKEYS)
fixme:msvcrt:MSVCRT__set_abort_behavior _WRITE_CALL_REPORTFAULT unhandled
fixme:advapi:EventUnregister deadbeef: stub
fixme:advapi:EventUnregister deadbeef: stub
fixme:advapi:EventUnregister deadbeef: stub
fixme:advapi:EventUnregister deadbeef: stub
fixme:advapi:EventUnregister deadbeef: stub
 
Upvote 0
I'm not sure what made my wine install work because I have done multiple things so I'm sorry I can not help more for this update.

Things I have done: updated my wine version to 1.9.7, execute the reinstall of vcrun2010 in winetrick, executed the vcredist_x64 install from the server files, copied the dll I joined to previous message, and installed other various redistribuable, and maybe some other things.

The problem I had at one point was my start command line was messed up so it crashed the server, and so I installed and tried lot of things before I noticed the start command line problems, and could run the server.
 
Upvote 0
works nice! only had to update to 1.9.7.
didnt copied the dll.

If your Webadmin not enabled:
After update i had to renable "bEnabled=true" in KFWeb.ini and reset "AdminPassword=pww" in PCServer-KFGame.ini

(when starting server with the new wine version, wine downloaded 3 additional packages via gui, not ssh, maybe try this)
 
Last edited:
Upvote 0
I have now 1.9.7 with the DDL copied and it works.

But the WebAdminPanel doesn't work. Here is my start log:
Code:
kf2@coopy:~$ ./start.sh
fixme:winediag:start_process Wine Staging 1.9.7 is a testing version containing experimental patches.
fixme:winediag:start_process Please mention your exact version when filing bug reports on winehq.org.
fixme:heap:RtlSetHeapInformation 0xea0000 0 0x60fc70 4 stub
fixme:heap:RtlSetHeapInformation 0xfb0000 0 0x60fcf0 4 stub
fixme:heap:RtlSetHeapInformation 0x10c0000 0 0x60fcf0 4 stub
fixme:heap:RtlSetHeapInformation 0x11d0000 0 0x60fcf0 4 stub
fixme:heap:RtlSetHeapInformation 0x12e0000 0 0x60fbc0 4 stub
fixme:ntdll:EtwEventRegister {47a9201e-73b0-42ce-9821-7e134361bc6f}, 0x3f006d00, 0x3f04c480, 0x3f04c478
fixme:ntdll:EtwEventRegister {58a9201e-73b0-42ce-9821-7e134361bc70}, 0x3f006d00, 0x3f04c4b8, 0x3f04c4b0
fixme:ntdll:EtwEventRegister {3fa9201e-73b0-43fe-9821-7e145359bc6f}, 0x3f006d00, 0x3f04c448, 0x3f04c440
fixme:ntdll:EtwEventRegister {1432afee-73b0-42ce-9821-7e134361b433}, 0x3f006d00, 0x3f04c4f0, 0x3f04c4e8
fixme:ntdll:EtwEventRegister {4372afee-73b0-42ce-9821-7e134361b519}, 0x3f006d00, 0x3f04c528, 0x3f04c520
err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.
fixme:ver:GetCurrentPackageId (0x5e6080 (nil)): stub
Setting breakpad minidump AppID = 232090
fixme:wbemprox:wbem_locator_ConnectServer unsupported flags
fixme:wbemprox:client_security_SetBlanket 0x7fa42c275030, 0xb05b0, 10, 0, (null), 3, 3, (nil), 0x00000000
fixme:wbemprox:client_security_Release 0x7fa42c275030
fixme:wbemprox:wbem_locator_ConnectServer unsupported flags
fixme:wbemprox:client_security_SetBlanket 0x7fa42c275030, 0xb05e0, 10, 0, (null), 3, 3, (nil), 0x00000000
fixme:wbemprox:client_security_Release 0x7fa42c275030
fixme:mountmgr:harddisk_ioctl The DISK_PARTITION_INFO and DISK_DETECTION_INFO structures will not be filled
fixme:wbemprox:enum_class_object_Next timeout not supported
fixme:mountmgr:harddisk_ioctl The DISK_PARTITION_INFO and DISK_DETECTION_INFO structures will not be filled
Warning, Unknown language extension . Defaulting to INT
fixme:gameux:GameExplorerImpl_VerifyAccess (0xe2ab0, L"Z:\\home\\kf2\\server\\kf2server\\Binaries\\Win64\\KFServer.exe", 0x607070)
Warning, Failed to load 'Texture2D FX_GORE_TEX.FX_Gore_Blend_All_D': Failed to find object 'Texture2D FX_GORE_TEX.FX_Gore_Blend_All_D'
Warning, The Outer object (Package ENG_EngineResources_TEX.Dither) for 'ENG_EngineResources_TEX.Dither.dither_pattern' couldn't be loaded [while loading package ENG_EngineResources_TEX]: Invalid linker index [couldn't load Package ENG_EngineResources_TEX.Dither]?
Warning, Failed to load 'Texture2D ENG_EngineResources_TEX.Dither.dither_pattern': Failed to find object 'Texture2D ENG_EngineResources_TEX.Dither.dither_pattern'
Warning, Failed to load 'Class IpDrv.TWOnlineEventsInterface': Failed to find object 'Class IpDrv.TWOnlineEventsInterface'
Warning, Failed to find object 'Class IpDrv.TWOnlineEventsInterface'

If the server works (you can join it) but you have no access to webadmin, simply enable it in the KFWeb.ini

Also give your Launch.log not the wine output.
 
Last edited:
Upvote 0