AI and Spring on Linux

AI and Spring on Linux

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

Moderator: Moderators

Post Reply
Sertse
Posts: 65
Joined: 23 Mar 2008, 23:57

AI and Spring on Linux

Post 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
User avatar
clericvash
Posts: 1394
Joined: 05 Oct 2004, 01:05

Re: AI and Spring on Linux

Post 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
User avatar
LordMatt
Posts: 3393
Joined: 15 May 2005, 04:26

Re: AI and Spring on Linux

Post by LordMatt »

AIs are considered libs, and hence stored in a different location.
User avatar
Vadi
Posts: 446
Joined: 03 Jan 2008, 14:51

Re: AI and Spring on Linux

Post 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.
Auswaschbar
Spring Developer
Posts: 1254
Joined: 24 Jun 2007, 08:34

Re: AI and Spring on Linux

Post 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.
User avatar
clericvash
Posts: 1394
Joined: 05 Oct 2004, 01:05

Re: AI and Spring on Linux

Post by clericvash »

Well the ubuntu debs already give you quite a few AI's to start off with anyway remember.
Sertse
Posts: 65
Joined: 23 Mar 2008, 23:57

Re: AI and Spring on Linux

Post 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.
Auswaschbar
Spring Developer
Posts: 1254
Joined: 24 Jun 2007, 08:34

Re: AI and Spring on Linux

Post 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.
Nemoder
Posts: 73
Joined: 23 Nov 2007, 08:59

Re: AI and Spring on Linux

Post 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.
User avatar
clericvash
Posts: 1394
Joined: 05 Oct 2004, 01:05

Re: AI and Spring on Linux

Post 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.
Kloot
Spring Developer
Posts: 1867
Joined: 08 Oct 2006, 16:58

Re: AI and Spring on Linux

Post 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).
Radtoo
Posts: 50
Joined: 12 May 2006, 14:21

Re: AI and Spring on Linux

Post 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:
User avatar
Vadi
Posts: 446
Joined: 03 Jan 2008, 14:51

Re: AI and Spring on Linux

Post by Vadi »

You can get the 64bit RAI here:

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

Works on my Ubuntu 64bit.
User avatar
Vadi
Posts: 446
Joined: 03 Jan 2008, 14:51

Re: AI and Spring on Linux

Post 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.
YokoZar
Posts: 883
Joined: 15 Jul 2007, 22:02

Re: AI and Spring on Linux

Post 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 :)
gorgofdoom
Posts: 2
Joined: 12 May 2008, 04:22

Re: AI and Spring on Linux

Post 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...)
imbaczek
Posts: 3629
Joined: 22 Aug 2006, 16:19

Re: AI and Spring on Linux

Post 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.
User avatar
mark487
Posts: 2
Joined: 12 May 2008, 16:41

Re: AI and Spring on Linux

Post 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/
User avatar
Vadi
Posts: 446
Joined: 03 Jan 2008, 14:51

Re: AI and Spring on Linux

Post 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?
User avatar
mark487
Posts: 2
Joined: 12 May 2008, 16:41

Re: AI and Spring on Linux

Post 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.
Post Reply

Return to “Linux”