RAI

Skirmish AI for spring rts

1
1
1
C++
public

RAI - Skirmish AI for the Spring Game Engine
Author: Reth / Michael Vadovszki


Forum Link:
https://springrts.com/phpbb/viewtopic.php?t=7924

Compiling:

  • as of v0.76b1, the mingwlibs dependency is needed to compile an AI.

  • while compiling,

    • the RAI source folder was located in {spring source}/AI/Skirmish/
    • the mingwlibs folder was in the same directory as the
      {spring source} directory
  • CodeBlocks - I barely used this one but it should be able to compile
    a working dll.

  • Visual Studios 2005 - The dlls that it compiles will not work with
    spring at this point, I now only use it as a writing aid.

    • The project configuration starts on debug, switch it to release.
  • DevC - the last few RAIs were compiled using this project
    (DevC v4.9.9.2 with WinPorts GCC for Windows v4.1.1 incorporated
    into it)

    • website: http://www.bloodshed.net/devcpp.html
    • updating GCC to 4.1.1 isn’t a necessary step
    • I had DevC installed on the default C directory, a dll in the
      DevC directory was included in the project file.
      (the following issues might have been fixed in recent windows patches)
      • The .o files in the DevC project directory were copied directly
        from the DevC directories to resolve a Vista/DevC bug.
      • (Windows Vista): Compiler Options > Directories > Libraries:
        Add “{DevC directory}\lib\gcc\mingw32{version#}”
v0.3.3[beta]