.:: Bots United ::.

.:: Bots United ::. (http://forums.bots-united.com/index.php)
-   The RealBot 'Source' (http://forums.bots-united.com/forumdisplay.php?f=52)
-   -   Creating a workspace... (http://forums.bots-united.com/showthread.php?t=1827)

dstruct2k 01-06-2004 00:06

Creating a workspace...
 
Alright, I'm looking for directions on creating the workspace required in MS Visual C++ to be able to compile the Realbot DLL.

I'm also wondering what other packages are required to compile, and where everything must be in order for C++ to compile properly. (HL SDK, MetaMod source.... etc)

Anything else you can think of that would make the source code usable in C++ (and most of all, compilable so the small changes I make can be tested) would be helpful! Thanks! :)

stefanhendriks 01-06-2004 15:26

Re: Creating a workspace...
 
Hmm, i use a metamod source that is changed so you can't just download that version and i can't steer you into several sites and make a handy tutorial.. hmm

Well, lets make it easy then, i will create a simple downloadable source-files-package. You should unzip it, then you also have a RB workspace (you just need to grab the source files via CVS) and you should be on your way.

This is for MSVC though, i don't know about Linux as i had Pierre and Onno working on that issue. You'll see a source download asap in the filebase.

stefanhendriks 01-06-2004 15:43

Re: Creating a workspace...
 
File you need

- Changed HL SDK. You can download this at the RealBot filebase. Its a big download (1.25 Megs). Note this is not the complete HLSDK, it ONLY contains Multiplayer Source...

- Metamod source, You can download this at the RealBot filebase. keep in mind this is not the complete metamod package. It is a stripped version, for a complete version get the metamod zip file from the metamod site and then overwrite that package with this package on the realbot filebase.

THIS IS ALL IN ONE FILE NOW, GETSTARTED.ZIP!

How to set it up

Create a directory, ie like "RealBot"

then into that directory unzip GETSTARTED.ZIP , it will create a sub-dir 'hlsdk' and 'metamod-1.17'. So you have now:

RealBot
|-Hlsdk
|-Metamod
|-realbot_plugin

in realbot_plugin, you should set CVS so you GET the files into there. In that directory you also find realbot_mm.** files, there you have your workspace to open with MSVC and such.

Note, if you cannot grab the source with CVS yet, visit: http://forums.bots-united.com/showthread.php?t=1816

Set your paths
In order to compile this, you need to set the paths to several directories in your HLSDK and metamod., i will use the example directory to give you an idea:

RealBot\Metamod-1.17
RealBot\hlsdk\Multiplayer source\engine
RealBot\hlsdk\Multiplayer source\
RealBot\hlsdk\Multiplayer source\dlls
RealBot\hlsdk\Multiplayer source\common
RealBot\hlsdk\Multiplayer source\pm_shared

minorgod 07-06-2004 03:40

Re: Creating a workspace...
 
I know you said it's coming, but where should I look for help on compiling this on Linux? I'm running Mandrake Linux version 2.4.22-28mdk. Also, I've noticed the CVS was updated and I got a message that a couple of files are missing. Are they deprecated?

stefanhendriks 07-06-2004 07:49

Re: Creating a workspace...
 
the missing files could be of workspace files (dws file). There are no new source files, so you should be able to download/update the files and compile them. I have no clue about Linux though!

evy 07-06-2004 08:50

Re: Creating a workspace...
 
Quote:

Originally Posted by minorgod
I know you said it's coming, but where should I look for help on compiling this on Linux? I'm running Mandrake Linux version 2.4.22-28mdk. Also, I've noticed the CVS was updated and I got a message that a couple of files are missing. Are they deprecated?

For your info, Stefan just changed the CVS repository to contain 'Linux compatible' source code. This compiles under Mandrake 9.0. Please be sure of course to use a compatible CVS (the default one does not support sserver).

My directory structure is:
/HSDK (from Stefan's zip file)
...../multiplayer (I had to rename the directory from Multiplayer Source)
/metamod-1.17 (from Stefan's zip file)
/realbot (contains the CVS repository)

Then, modify the Makefile as:
Code:


#this is gcc 3.2
CPP = gcc
# CPP must be g++ on Linux
CPP = g++
ARCHFLAG = i586
METAMOD_SRCDIR = ../metamod-1.17/metamod
HLSDK_BASEDIR = ../HLSDK

Last step, make ;-)

Hope it helps

-eric

dstruct2k 08-06-2004 05:20

Re: Creating a workspace...
 
By "set your paths", do you mean go into command prompt and type "SET PATH=x" or whatever?

Or is there a part of MSVC++ where you can enter paths?

stefanhendriks 08-06-2004 09:05

Re: Creating a workspace...
 
i use MSVC, so you set the paths in there. I thought via TOOLS->OPTIONS -> (TAB): Directories

dstruct2k 08-06-2004 15:10

Re: Creating a workspace...
 
Found it, thank you. :)

minorgod 09-06-2004 21:57

Re: Creating a workspace...
 
Quote:

Originally Posted by evy
My directory structure is:
/HSDK (from Stefan's zip file)
...../multiplayer (I had to rename the directory from Multiplayer Source)
/metamod-1.17 (from Stefan's zip file)
/realbot (contains the CVS repository)
........

Is that directory structure nested in your steam directory? I've got my server installed at /usr/steam/hlds_l

Should I put the HSDK folder etc. in my steam folder or in my hlds_l folder?


All times are GMT +2. The time now is 13:44.

Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.