Page 1 of 1

AI and Spring on Linux

Posted: 29 Apr 2008, 01:42
by Sertse
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

Re: AI and Spring on Linux

Posted: 29 Apr 2008, 01:58
by clericvash
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

Re: AI and Spring on Linux

Posted: 29 Apr 2008, 04:07
by LordMatt
AIs are considered libs, and hence stored in a different location.

Re: AI and Spring on Linux

Posted: 29 Apr 2008, 05:12
by Vadi
... 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

Posted: 29 Apr 2008, 09:33
by Auswaschbar
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.
Its /usr/local/lib/spring or /usr/lib/spring, depending on how you installed spring.

Re: AI and Spring on Linux

Posted: 29 Apr 2008, 10:56
by clericvash
Well the ubuntu debs already give you quite a few AI's to start off with anyway remember.

Re: AI and Spring on Linux

Posted: 29 Apr 2008, 14:46
by Sertse
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.

Re: AI and Spring on Linux

Posted: 29 Apr 2008, 16:13
by Auswaschbar
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.
KAIK works fine in linux. It only needs some time to initialise stuff at the beginning of a game.

Re: AI and Spring on Linux

Posted: 29 Apr 2008, 19:17
by Nemoder
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.

Re: AI and Spring on Linux

Posted: 30 Apr 2008, 01:03
by clericvash
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

Posted: 30 Apr 2008, 03:01
by Kloot
Sertse wrote:I'm on 64 bit Ubuntu
Nemoder wrote:my 64bit machine
There is a bug in the 76b1 KAIK source that renders it
inoperable on all 64-bit operating systems, SVN builds
do work (fixed it a while back).

Re: AI and Spring on Linux

Posted: 30 Apr 2008, 07:53
by Radtoo
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. :lol:

Re: AI and Spring on Linux

Posted: 01 May 2008, 03:34
by Vadi
You can get the 64bit RAI here:

http://spring.cn20070661.p-client.net/s ... php?id=949

Works on my Ubuntu 64bit.

Re: AI and Spring on Linux

Posted: 01 May 2008, 03:39
by Vadi
Auswaschbar wrote:
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.
Its /usr/local/lib/spring or /usr/lib/spring, depending on how you installed spring.
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.

Re: AI and Spring on Linux

Posted: 02 May 2008, 09:39
by YokoZar
Kloot wrote:
Sertse wrote:I'm on 64 bit Ubuntu
Nemoder wrote:my 64bit machine
There is a bug in the 76b1 KAIK source that renders it
inoperable on all 64-bit operating systems, SVN builds
do work (fixed it a while back).
These fixes aren't in imbaczek's next git repo...get them in there and tell me so we can play :)

Re: AI and Spring on Linux

Posted: 12 May 2008, 04:33
by gorgofdoom
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

Posted: 12 May 2008, 14:19
by imbaczek
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

Posted: 12 May 2008, 17:01
by mark487
Vadi wrote:You can get the 64bit RAI here:

http://spring.cn20070661.p-client.net/s ... php?id=949

Works on my Ubuntu 64bit.
Thank you. I installed this file to:

/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

Posted: 13 May 2008, 02:37
by Vadi
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...)
Where did you put RAI into?

Re: AI and Spring on Linux

Posted: 19 May 2008, 15:08
by mark487
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.