WinBolo Source Code

From WinBolo

Revision as of 17:35, 4 January 2009 by Sticks (Talk | contribs)
Jump to: navigation, search

The WinBolo source code is released under the GNU GPL version 2 and available to download via Google code.

Contents

Requirements

The following libraries are required to compile

Windows

  • 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

  • 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.

  1. Project Properties > Configuration Properties > General
  2. 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.

<@Elvis> success

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.

Design

Some information on the applications Design is available.

Personal tools