View Single Post
Re: How to install RealBot? Here is a guide!
Old
  (#2)
Krillin
Member
 
Krillin's Avatar
 
Status: Offline
Posts: 38
Join Date: Aug 2007
Location: In a home
Angry Re: How to install RealBot? Here is a guide! - 30-06-2008

Linux Please?

Thought by downloading the 3068 version the source code would be in there to work with. To our surprise, it wasn't!? You gonna leave us Linux guys out of this or what?

We finally figured out how to compile this in Linux, but now we needed the new code for 3068 so we can run the newest version.

There is what the problem was.
Code:
Makefile's first line reads:
CPP = g++-linux

Needs to read
CPP = g++
In this directory, just run 'make' in a terminal window and the file was created and made the Release directory and moved the .so file into it. Release/realbot_mm_i386.so.

Code:
[gameuser@babby source]$ make
g++ -Dstricmp=strcasecmp -D_strnicmp=strncasecmp -Dstrnicmp=strncasecmp -march=i386 -O2 -w -I"./hlsdk" -I"./hlsdk/common" -I"./hlsdk/dlls" -I"./hlsdk/engine" -I"./hlsdk/pm_shared" -I"./metamod" -c NodeMachine.cpp -o NodeMachine.o
g++ -Dstricmp=strcasecmp -D_strnicmp=strncasecmp -Dstrnicmp=strncasecmp -march=i386 -O2 -w -I"./hlsdk" -I"./hlsdk/common" -I"./hlsdk/dlls" -I"./hlsdk/engine" -I"./hlsdk/pm_shared" -I"./metamod" -c bot.cpp -o bot.o
g++ -Dstricmp=strcasecmp -D_strnicmp=strncasecmp -Dstrnicmp=strncasecmp -march=i386 -O2 -w -I"./hlsdk" -I"./hlsdk/common" -I"./hlsdk/dlls" -I"./hlsdk/engine" -I"./hlsdk/pm_shared" -I"./metamod" -c bot_buycode.cpp -o bot_buycode.o
g++ -Dstricmp=strcasecmp -D_strnicmp=strncasecmp -Dstrnicmp=strncasecmp -march=i386 -O2 -w -I"./hlsdk" -I"./hlsdk/common" -I"./hlsdk/dlls" -I"./hlsdk/engine" -I"./hlsdk/pm_shared" -I"./metamod" -c bot_client.cpp -o bot_client.o
g++ -Dstricmp=strcasecmp -D_strnicmp=strncasecmp -Dstrnicmp=strncasecmp -march=i386 -O2 -w -I"./hlsdk" -I"./hlsdk/common" -I"./hlsdk/dlls" -I"./hlsdk/engine" -I"./hlsdk/pm_shared" -I"./metamod" -c bot_func.cpp -o bot_func.o
g++ -Dstricmp=strcasecmp -D_strnicmp=strncasecmp -Dstrnicmp=strncasecmp -march=i386 -O2 -w -I"./hlsdk" -I"./hlsdk/common" -I"./hlsdk/dlls" -I"./hlsdk/engine" -I"./hlsdk/pm_shared" -I"./metamod" -c bot_navigate.cpp -o bot_navigate.o
g++ -Dstricmp=strcasecmp -D_strnicmp=strncasecmp -Dstrnicmp=strncasecmp -march=i386 -O2 -w -I"./hlsdk" -I"./hlsdk/common" -I"./hlsdk/dlls" -I"./hlsdk/engine" -I"./hlsdk/pm_shared" -I"./metamod" -c build.cpp -o build.o
g++ -Dstricmp=strcasecmp -D_strnicmp=strncasecmp -Dstrnicmp=strncasecmp -march=i386 -O2 -w -I"./hlsdk" -I"./hlsdk/common" -I"./hlsdk/dlls" -I"./hlsdk/engine" -I"./hlsdk/pm_shared" -I"./metamod" -c dll.cpp -o dll.o
g++ -Dstricmp=strcasecmp -D_strnicmp=strncasecmp -Dstrnicmp=strncasecmp -march=i386 -O2 -w -I"./hlsdk" -I"./hlsdk/common" -I"./hlsdk/dlls" -I"./hlsdk/engine" -I"./hlsdk/pm_shared" -I"./metamod" -c engine.cpp -o engine.o
g++ -Dstricmp=strcasecmp -D_strnicmp=strncasecmp -Dstrnicmp=strncasecmp -march=i386 -O2 -w -I"./hlsdk" -I"./hlsdk/common" -I"./hlsdk/dlls" -I"./hlsdk/engine" -I"./hlsdk/pm_shared" -I"./metamod" -c game.cpp -o game.o
g++ -Dstricmp=strcasecmp -D_strnicmp=strncasecmp -Dstrnicmp=strncasecmp -march=i386 -O2 -w -I"./hlsdk" -I"./hlsdk/common" -I"./hlsdk/dlls" -I"./hlsdk/engine" -I"./hlsdk/pm_shared" -I"./metamod" -c util.cpp -o util.o
g++ -Dstricmp=strcasecmp -D_strnicmp=strncasecmp -Dstrnicmp=strncasecmp -march=i386 -O2 -w -I"./hlsdk" -I"./hlsdk/common" -I"./hlsdk/dlls" -I"./hlsdk/engine" -I"./hlsdk/pm_shared" -I"./metamod" -c ChatEngine.cpp -o ChatEngine.o
g++ -Dstricmp=strcasecmp -D_strnicmp=strncasecmp -Dstrnicmp=strncasecmp -march=i386 -O2 -w -I"./hlsdk" -I"./hlsdk/common" -I"./hlsdk/dlls" -I"./hlsdk/engine" -I"./hlsdk/pm_shared" -I"./metamod" -c IniParser.cpp -o IniParser.o
g++ -fPIC -shared -o realbot_mm_i386.so NodeMachine.o bot.o bot_buycode.o bot_client.o bot_func.o bot_navigate.o build.o dll.o engine.o game.o util.o ChatEngine.o IniParser.o -ldl
mkdir -p Release
mv *.so Release
Now if we only had the new source code for 3068, we could rock and roll! Thus far 80 MB of learned files on 60 maps.

Thanks,
Krillin


Serving Players Since 1997


www.KRILLINSWORLD.com

Last edited by Krillin; 30-06-2008 at 02:03.. Reason: Request code for compiling for Linux
  
Reply With Quote