Hey.
I am trying to run CS:GO Dedicated server on OS X.
I have copied CS:GO from Steam, then copied packages, attached to the first post, copied dedicated.dylib from Windows copy downloaded using wine + steamcmd, then tried launching:
Code:
./srcds_run -game csgo -console -usercon +game_type 0 +game_mode 1 +mapgroup mg_active +map de_dust2 -debug
It is crashing with following error:
Code:
Failed to find symbols for engine.dylib
I've looked into source code and found that it is checking for
symbol. Using nm tool I didn't find it, but using Hopper I could see it in engine.dylib.
I've tried disabling this check, recompiling and running again. Then it crashes when trying to override reference:
https://github.com/TheDS/srcds_osx/b...hacks.cpp#L713.
If I comment out that line then the crash happens much later with this call stack:
Code:
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000000
Thread 0 Crashed:: MainThrd Dispatch queue: com.apple.main-thread
0 engine.dylib 0x07c67e26 CGame::GetMainWindowAddress() + 22
1 engine.dylib 0x07c6259e CEngine::Load(bool, char const*) + 62
2 engine.dylib 0x07c6055c CModAppSystemGroup::Main() + 60
3 engine.dylib 0x07d30660 CAppSystemGroup::Run() + 48
4 engine.dylib 0x07c60d49 CDedicatedServerAPI::ModInit(ModInfo_t&) + 985
5 dedicated.dylib 0x02030406 CDedicatedAppSystemGroup::Main() + 198
6 dedicated.dylib 0x020425e0 CAppSystemGroup::Run() + 48
7 dedicated.dylib 0x020437eb CSteamApplication::Main() + 43
8 dedicated.dylib 0x020425e0 CAppSystemGroup::Run() + 48
9 dedicated.dylib 0x0203076c main + 380
10 srcds_osx 0x00001d7c main + 460
11 srcds_osx 0x00001b65 start + 53
Any ideas what is wrong and how I could fix it?
Thanks