AAI doesn't work either

AAI doesn't work either

Discuss everything related to running Spring on your chosen distribution of Linux.

Moderator: Moderators

Post Reply
Gari
Posts: 10
Joined: 07 Aug 2006, 22:52

AAI doesn't work either

Post by Gari »

Hi again :p

OK now that taspring works, I am trying to make AAI work too. I downloaded AAI from the website (AAI_0_70rc.7z), unzipped it and put the aai directory and aai.so file in the aidll/globalai directory.

When launching the game, after the map has loaded and juste before my commander arrives (xtape && Mars, for example), the game crashes. There is just one line in the console :

Code: Select all

Warning: Incorrect Global AI dll version
  ./aidll/globalai/aai.so
As it is a warning, I don't know if it is relevant...

Let's notice that the AI built with svn don't work either (well, I guess I just cannot make them work). When the game starts, the following message appears in the console (I selected jcai of course, but the message is similar with the other AI, including AAI built with svn):

Code: Select all

GlobalAI1: Error: Unable to read configuration file aidll/globalai/jcai/settings.cfg. Aborting global AI.
In the aidll/globalai directory, there is only the *.so files, and no other directory. So, that's perfectly logical that no jcai/settings.cfg is found...

Sorry again for my bad understanding of how all this works :s
hollowsoul
Posts: 665
Joined: 06 Jun 2006, 19:49

Post by hollowsoul »

Hmm think i got time to update wiki for linux.
Anyway here is how u get it to work.


If u are using
http://svn.berlios.de/svnroot/repos/tas ... ing_0.72b1
or
https://taspring.clan-sy.com/svn/spring ... ing_0.72b1
  • Grab the precompiled version from forums
    Copy the aai.so to globalai/aidll/aai.so
    Copy the AAI folder to globalai/aidll/aii (notice u need to change it to lowercaser)
    Then aidll/globalai/aai/cfg/mod/XTAPE.cfg change to xtape.cfg
If u are using latest svn / trunk i.e
http://svn.berlios.de/svnroot/repos/tas ... tags/trunk
or
https://taspring.clan-sy.com/svn/spring/trunk
  • Copy the AAI folder to globalai/aidll/aii (notice u need to change it to lowercaser)
    Then aidll/globalai/aai/cfg/mod/XTAPE.cfg change to xtape.cfg

    U DONT COPY THE aai.so. U will have one built from svn when u make spring
As for JCAI i believe its dead in water atm, until some kind soul decides to fix it for latest svn. But it works with tagged release. Just copy the configs from svn i.e game/globalai/jcai/*.cfg -> aidll/globalai/jcai (make the folder jcai first)
Gari
Posts: 10
Joined: 07 Aug 2006, 22:52

Post by Gari »

Well of course, I tried the aai.so (from the precompiled aai) and aai/ directory together, and the AAI.so (from svn) alone... I didn't try to mix both the methods :)

Well this now works perfectly well, thanks a lot :)
Post Reply

Return to “Linux”