AI and Spring on Linux
Moderator: Moderators
AI and Spring on Linux
I just recently converted to Linux and just wondering AI works with linux as it does on windows, and also where the AI's folder would be located. Seeing it doesn't show up in .spring compared having a /spring/AI on windows.
I'm on the latest ubuntu btw
I'm on the latest ubuntu btw
- clericvash
- Posts: 1394
- Joined: 05 Oct 2004, 01:05
Re: AI and Spring on Linux
I think you need to make an AI folder in your /spring/ folder like you do for maps and mods.
Although with the recent update it gives you quite a few AI's to start off with anyway, KAIK has kicked my ass many times on PURE so it's deffinately good stuff :D
Although with the recent update it gives you quite a few AI's to start off with anyway, KAIK has kicked my ass many times on PURE so it's deffinately good stuff :D
Re: AI and Spring on Linux
AIs are considered libs, and hence stored in a different location.
Re: AI and Spring on Linux
... and that location is .spring/AI/Bot-libs. The folder doesn't exist at first, create it, and then place any AI .so's (instead of .dlls like in windows) in there.
-
- Spring Developer
- Posts: 1254
- Joined: 24 Jun 2007, 08:34
Re: AI and Spring on Linux
Its /usr/local/lib/spring or /usr/lib/spring, depending on how you installed spring.Vadi wrote:... and that location is .spring/AI/Bot-libs. The folder doesn't exist at first, create it, and then place any AI .so's (instead of .dlls like in windows) in there.
- clericvash
- Posts: 1394
- Joined: 05 Oct 2004, 01:05
Re: AI and Spring on Linux
Well the ubuntu debs already give you quite a few AI's to start off with anyway remember.
Re: AI and Spring on Linux
Ok, simpler question. Is AAI the only AI that works on Linux Spring? Well apart from RAI, but the instruction to getting that seem complicated for now... /offtopic
The standard package includes quite a few obvious non workable AIs, (KAI, JCAI etc), and I couldn't get Kaik to work either; it countdowns to 0 and when freezes when the game is meant to start.
For the record, I followed this http://spring.clan-sy.com/wiki/Ubuntu_install wexactly, downloading the stuff those instructions asked (No idea what it means but heh..but that would be my version if someone wanted to kno)
This was done this morning. (If it matters, mainly for or me to show I'm basing this on very recent events).
I'm on 64 bit Ubuntu Hardy, Intel Core 2 Duo btw.
The standard package includes quite a few obvious non workable AIs, (KAI, JCAI etc), and I couldn't get Kaik to work either; it countdowns to 0 and when freezes when the game is meant to start.
For the record, I followed this http://spring.clan-sy.com/wiki/Ubuntu_install wexactly, downloading the stuff those instructions asked (No idea what it means but heh..but that would be my version if someone wanted to kno)
This was done this morning. (If it matters, mainly for or me to show I'm basing this on very recent events).
I'm on 64 bit Ubuntu Hardy, Intel Core 2 Duo btw.
-
- Spring Developer
- Posts: 1254
- Joined: 24 Jun 2007, 08:34
Re: AI and Spring on Linux
KAIK works fine in linux. It only needs some time to initialise stuff at the beginning of a game.Sertse wrote:The standard package includes quite a few obvious non workable AIs, (KAI, JCAI etc), and I couldn't get Kaik to work either; it countdowns to 0 and when freezes when the game is meant to start.
Re: AI and Spring on Linux
I am not able to use KAIK either on my 64bit machine (it worked fine in 32bit). Now it just freezes eating up all 4gig of my ram. This is with the KAIK that ships with .76b1 though, perhaps the SVN version works better but I've not tried it yet.
- clericvash
- Posts: 1394
- Joined: 05 Oct 2004, 01:05
Re: AI and Spring on Linux
The KAIK works perfectly fine for me, it's the only AI that i actually use out of them all, gives you a good game on PURE.
Re: AI and Spring on Linux
Sertse wrote:I'm on 64 bit Ubuntu
There is a bug in the 76b1 KAIK source that renders itNemoder wrote:my 64bit machine
inoperable on all 64-bit operating systems, SVN builds
do work (fixed it a while back).
Re: AI and Spring on Linux
Yep, kaik is working great on SVN, and also most (all?) other AI are fixed / include configs now. There's also RAI now.
Basically, get SVN.
Basically, get SVN.

Re: AI and Spring on Linux
You can get the 64bit RAI here:
http://spring.cn20070661.p-client.net/s ... php?id=949
Works on my Ubuntu 64bit.
http://spring.cn20070661.p-client.net/s ... php?id=949
Works on my Ubuntu 64bit.
Re: AI and Spring on Linux
Probably, but doing "gksudo nautilus" and then getting the nautilus without your settings is such a pain. Much easier to save stuff in your home folder.Auswaschbar wrote:Its /usr/local/lib/spring or /usr/lib/spring, depending on how you installed spring.Vadi wrote:... and that location is .spring/AI/Bot-libs. The folder doesn't exist at first, create it, and then place any AI .so's (instead of .dlls like in windows) in there.
Re: AI and Spring on Linux
These fixes aren't in imbaczek's next git repo...get them in there and tell me so we can play :)Kloot wrote:Sertse wrote:I'm on 64 bit UbuntuThere is a bug in the 76b1 KAIK source that renders itNemoder wrote:my 64bit machine
inoperable on all 64-bit operating systems, SVN builds
do work (fixed it a while back).
-
- Posts: 2
- Joined: 12 May 2008, 04:22
Re: AI and Spring on Linux
When i first installed Spring on my 32-bit linux/ Ubuntu, i followed the (http://spring.clan-sy.com/wiki/Ubuntu_install) wiki and installed RAI along with the other AIs, but spring seems to not recognize it, has anyone else had this problem? (and if you could help...)
Re: AI and Spring on Linux
Yoko: fixes should be there, also some more crashes got fixed (one today, hopefully.) I personally don't have any 64-bit box, so can't test them personally, but basically whole KAIK got backported.
Re: AI and Spring on Linux
Thank you. I installed this file to:Vadi wrote:You can get the 64bit RAI here:
http://spring.cn20070661.p-client.net/s ... php?id=949
Works on my Ubuntu 64bit.
/usr/lib64/spring/AI/Bot-libs/RAI.so
and it works just fine. I'm using 64 bit Ubuntu Hardy Heron. This is a really fun game and it looks spectacular on my wide screen.
- mark
http://www.flickr.com/photos/m487396/
Re: AI and Spring on Linux
Where did you put RAI into?gorgofdoom wrote:When i first installed Spring on my 32-bit linux/ Ubuntu, i followed the (http://spring.clan-sy.com/wiki/Ubuntu_install) wiki and installed RAI along with the other AIs, but spring seems to not recognize it, has anyone else had this problem? (and if you could help...)
Re: AI and Spring on Linux
Well, I've been playing the RAI AI with the brilliant <a href="http://spring.clan-sy.com/wiki/Complete ... ">Complete Annihilation</a> mod for a week now on a couple of maps. It seems that to get a good game from the AI you need to turn off the "game ends when commander dies" option. The AI seems to send it's commander out like any other unit without special protection and it's not difficult to pick it off and end the game.