Raised This Month: $51 Target: $400
 12% 

Solved Is anybody capable of compiling this server.dll to server.so?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Ethorbit
Member
Join Date: Sep 2016
Location: Oregon
Old 04-27-2017 , 02:05   Is anybody capable of compiling this server.dll to server.so?
Reply With Quote #1

I've been trying for the last few weeks reading
https://developer.valvesoftware.com/...ng_under_Linux
http://www.forceflow.be/2009/01/24/c...k-under-linux/

I have linux abuntu running and this is the server.dll/game mod I'm trying to compile:
https://github.com/Ethorbit/HL2DM-Zo...nia-SDK-Latest

Any help is greatly appreciated.
Will donate to anyone who does this.

Last edited by Ethorbit; 04-27-2017 at 16:04.
Ethorbit is offline
psychonic

BAFFLED
Join Date: May 2008
Old 04-27-2017 , 08:37   Re: Is anybody capable of compiling this server.dll to server.so?
Reply With Quote #2

Code:
cd
git clone https://github.com/ValveSoftware/steam-runtime.git

cd steam-runtime
./setup_chroot.sh --i386

cd
git clone https://github.com/Ethorbit/HL2DM-ZombiesatPhoneburnia-SDK-Latest.git

cd HL2DM-ZombiesatPhoneburnia-SDK-Latest/source-sdk-2013-master/mp/src
chmod +x devtools/bin/vpc
chmod +x devtools/bin/vpc_linux
chmod +x devtools/bin/linux/ccache
devtools/bin/vpc /hl2mp +everything /mksln everything
cd game/server
STEAM_RUNTIME_PATH="/usr" schroot -p --chroot steamrt_scout_i386 -- make -f server_linux32_hl2mp.mak
Edit: updated for only building server.so

Last edited by psychonic; 04-27-2017 at 08:57.
psychonic is offline
Ethorbit
Member
Join Date: Sep 2016
Location: Oregon
Old 04-27-2017 , 15:53   Re: Is anybody capable of compiling this server.dll to server.so?
Reply With Quote #3

---- LINKING obj_server_hl2mp_linux32/release/server.so [release] ----
true -signvalve ./obj_server_hl2mp_linux32/release/server.so;
chmod: cannot access `../../../game/mod_hl2mp/bin/server.so': No such file or directory
---- COPYING TO ../../../game/mod_hl2mp/bin/server.so [release] ----
chmod: cannot access `../../../game/mod_hl2mp/bin/server.so': No such file or directory
chmod: cannot access `../../../game/mod_hl2mp/bin/server.so.dbg': No such file or directory
/bin/sh: 1: ../../devtools/gendbg.sh: Permission denied
make: *** [../../../game/mod_hl2mp/bin/server.so] Error 126

Is this a bad error? I still managed to find a server.so in the bin folder, although this looks serious.

Last edited by Ethorbit; 04-27-2017 at 15:58.
Ethorbit is offline
psychonic

BAFFLED
Join Date: May 2008
Old 04-27-2017 , 16:04   Re: Is anybody capable of compiling this server.dll to server.so?
Reply With Quote #4

The binary may be larger than it would otherwise be, but it should still function fine.

This, from the "HL2DM-ZombiesatPhoneburnia-SDK-Latest/source-sdk-2013-master/mp/src" directory should fix the gendbg error.
Code:
chmod +x devtools/gendbg.sh
psychonic is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 19:27.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode