WinBolo Source Code
The following libraries are required to compile
- Windows 95,98,NT4 (SP5+) ,Windows 2000, Windows ME, Windows XP, Vista, Windows 2003
- DirectX 5+
- Windows MM libraries (included in windows)
- Winsock 2 (included from Windows 98 onwards, downloadable for Windows 95)
- Linux x86
- Linux 2.2+
- X Server (XFree 3.3.6+) capable of 16 bit colour
- 8Mb RAM
- Glibc 2.0 (2.1+ recommended)
- GTK 1.2*
- SDL 1.1 and 1.2**
- SDL_Mixer 1.1 ***
- SDL_TTF 1.2 ***
Server code only requires SDL
Compiling in Windows
A project file is not yet included in the source code distribution.
The client requires all files excluding linux and log viewer directories. It should be built as an application. Sticks has placed a working Microsoft C++ Visual Studio 6.0 project online. Unzip this folder to the root directory containing the other folders. So in addition to folders like brains, jbolo, and sounds, you should also have a folder called projects. Within that projects folder there should be another directory called client windows. The idea here is that all project files should have a directory within the parent projects directory: one for the server, the logviewer, etc.
The server requires everything excluding the linux, gui and logviewer directories. It should be built as a console application.
The log viewer application requires the src/logviewer and src/zlib directories. It should be built as an appliction.
Remember to add the required libraries (above) to your project.
TODO: Someone make some better compiling instructions.
Visual Studio 2005
Apparently there is a small issue between Visual Studio 2005 and WinBolo. UNICODE is enabled by default rather than ASCII (ANSI/MBCS). One reason they changed project generation to Unicode by default is to "encourage" the usage of Unicode in applications. But having an ANSI app is perfectly fine and will work for all operating systems in the future as well as current. Please see the post on BokeBB for details. To change the project settings to use ANSI rather than UNICODE, do the following.
- Project Properties > Configuration Properties > General
- For Character Set choose Use Multi-Byte character set instead of Use Unicode character set. This setting will make all necessary preprocessor and linker changes for you.
- Project Properties > Configuration Properties > C/C++ > Command Line
- Add these additional options /wd4996 /D"_USE_32BIT_TIME_T" /D "_CRT_SECURE_NO_WARNINGS" - They suppress warnings on Microsoft depricated POSIX functions (e.g. atoi() is now _atoi() and strcpy() is unsafe) and force the use of 32bit time functions.
Compiling in Linux
To build the server type 'make' in the src/server directory. To build the client type 'make' in the src/gui/linux directory.
Note the linux client currently does not build. It was last updated for version 1.13. Technically it should work once compiling again, but without Skin File support.
Some information on the applications Design is available.