Page 1 of 1

No AI bots found in your Spring installation openSUSE 12.2

Posted: 25 Dec 2012, 15:29
by quasar
No AI bots found in your Spring installation:
Image

This is the message what I become when I start the game. The game is running but without Bot´s this is boring :wink:

My System is:
Distributor ID: SUSE LINUX
Description: openSUSE 12.2 (x86_64)
Release: 12.2
Codename: Mantis
Installation-source repository is:

Code: Select all

Loading repository data...
Reading installed packages...

S | Name                                     | Type       | Version    | Arch   | Repository                    
--+------------------------------------------+------------+------------+--------+-------------------------------
  | springlobby                              | srcpackage | 0.146-1.2  | noarch | openSUSE BuildService - Spiele
i | springlobby                              | package    | 0.146-1.2  | x86_64 | openSUSE BuildService - Spiele
v | springlobby                              | package    | 0.146-1.2  | i586   | openSUSE BuildService - Spiele
  | springlobby-debuginfo                    | package    | 0.146-1.2  | x86_64 | openSUSE BuildService - Spiele
  | springlobby-debuginfo                    | package    | 0.146-1.2  | i586   | openSUSE BuildService - Spiele
  | springlobby-debugsource                  | package    | 0.146-1.2  | x86_64 | openSUSE BuildService - Spiele
  | springlobby-debugsource                  | package    | 0.146-1.2  | i586   | openSUSE BuildService - Spiele
  | springrts                                | srcpackage | 0.91.0-4.2 | noarch | openSUSE BuildService - Spiele
i | springrts                                | package    | 0.91.0-4.2 | x86_64 | openSUSE BuildService - Spiele
v | springrts                                | package    | 0.91.0-4.2 | i586   | openSUSE BuildService - Spiele
  | springrts-doc                            | package    | 0.91.0-4.2 | x86_64 | openSUSE BuildService - Spiele
  | springrts-doc                            | package    | 0.91.0-4.2 | i586   | openSUSE BuildService - Spiele                  
i | springrts-engine                         | package    | 0.91.0-4.2 | x86_64 | openSUSE BuildService - Spiele                  
v | springrts-engine                         | package    | 0.91.0-4.2 | i586   | openSUSE BuildService - Spiele                  
  | springrts-engine-dedicated               | package    | 0.91.0-4.2 | x86_64 | openSUSE BuildService - Spiele
  | springrts-engine-dedicated               | package    | 0.91.0-4.2 | i586   | openSUSE BuildService - Spiele
  | springrts-engine-dedicated-debuginfo     | package    | 0.91.0-4.2 | x86_64 | openSUSE BuildService - Spiele
  | springrts-engine-dedicated-debuginfo     | package    | 0.91.0-4.2 | i586   | openSUSE BuildService - Spiele
i | springrts-engine-default                 | package    | 0.91.0-4.2 | x86_64 | openSUSE BuildService - Spiele
v | springrts-engine-default                 | package    | 0.91.0-4.2 | i586   | openSUSE BuildService - Spiele
  | springrts-engine-default-debuginfo       | package    | 0.91.0-4.2 | x86_64 | openSUSE BuildService - Spiele
  | springrts-engine-default-debuginfo       | package    | 0.91.0-4.2 | i586   | openSUSE BuildService - Spiele
  | springrts-engine-headless                | package    | 0.91.0-4.2 | x86_64 | openSUSE BuildService - Spiele
  | springrts-engine-headless                | package    | 0.91.0-4.2 | i586   | openSUSE BuildService - Spiele
  | springrts-engine-headless-debuginfo      | package    | 0.91.0-4.2 | x86_64 | openSUSE BuildService - Spiele
  | springrts-engine-headless-debuginfo      | package    | 0.91.0-4.2 | i586   | openSUSE BuildService - Spiele
i | springrts-engine-multithreaded           | package    | 0.91.0-4.2 | x86_64 | openSUSE BuildService - Spiele
v | springrts-engine-multithreaded           | package    | 0.91.0-4.2 | i586   | openSUSE BuildService - Spiele
  | springrts-engine-multithreaded-debuginfo | package    | 0.91.0-4.2 | x86_64 | openSUSE BuildService - Spiele
  | springrts-engine-multithreaded-debuginfo | package    | 0.91.0-4.2 | i586   | openSUSE BuildService - Spiele
i | springrts-gamedata                       | package    | 0.91.0-4.2 | x86_64 | openSUSE BuildService - Spiele
v | springrts-gamedata                       | package    | 0.91.0-4.2 | i586   | openSUSE BuildService - Spiele
I like this game I want play this game :-) On my second operating system Ubuntu 12.04 LTS the game is running with AI´s.

Thanks and good day´s
quasar

Re: No AI bots found in your Spring installation openSUSE 12

Posted: 28 Dec 2012, 09:58
by abma
it seems like the opensuse packages contains no ais because compilation failed.
which game do you want to play? you can't play "spring" as it is an engine.
zero-k itself includes an ai, BA chicken defense should work, too.

Re: No AI bots found in your Spring installation openSUSE 12

Posted: 30 Dec 2012, 00:38
by quasar
Hi,

Yes thats right in zero-k I have chicken :roll: but I like KAIK, RAI, AAI and other AI´s that build Bases 8)

I have downloaded BA V7.72 and BA V7.65 from http://springfiles.com but here is nothing, not even chicken ?

I found 2 commandos:
  • spring --list-skirmish-ais
    spring --list-ai-interfaces

Code: Select all

neutron@thor:~> spring --list-ai-interfaces
Using configuration source: "/home/neutron/.springrc"
Available log sections: KeyBindings, CSMFGroundTextures, RoamMeshDrawer, BumpWater, DynWater, SkyBox, FarTextureHandler, Model, Piece, ModelDrawer, OBJParser, WorldObjectModelRenderer, Texture, Font, CollisionVolume, GroundMoveType, Path, UnitScript, AutohostInterface, ArchiveScanner, VFS, Sound, LuaSocket
Enabled log sections: Sound(LOG_LEVEL_INFO)
Enable or disable log sections using the LogSections configuration key
  or the SPRING_LOG_SECTIONS environment variable (both comma separated).
  Use "none" to disable the default log sections.
LogOutput initialized.
Spring 91.0 (OMP)
Build date/time: Dec  9 2012 20:18:57
Build environment: boost-104900, GNU libstdc++ version 20120723
Compiler: gcc-4.7.1 20120723 [gcc-4_7-branch revision 189773]
Using read-write data directory: /home/neutron/.spring/
Using read-only data directory: /usr/share/games/spring/
#
# Available Spring Skirmish AIs
# -----------------------------
# [Name]               [Version]
#
neutron@thor:~> spring --list-skirmish-ais
Using configuration source: "/home/neutron/.springrc"
Available log sections: KeyBindings, CSMFGroundTextures, RoamMeshDrawer, BumpWater, DynWater, SkyBox, FarTextureHandler, Model, Piece, ModelDrawer, OBJParser, WorldObjectModelRenderer, Texture, Font, CollisionVolume, GroundMoveType, Path, UnitScript, AutohostInterface, ArchiveScanner, VFS, Sound, LuaSocket
Enabled log sections: Sound(LOG_LEVEL_INFO)
Enable or disable log sections using the LogSections configuration key
  or the SPRING_LOG_SECTIONS environment variable (both comma separated).
  Use "none" to disable the default log sections.
LogOutput initialized.
Spring 91.0 (OMP)
Build date/time: Dec  9 2012 20:18:57
Build environment: boost-104900, GNU libstdc++ version 20120723
Compiler: gcc-4.7.1 20120723 [gcc-4_7-branch revision 189773]
Using read-write data directory: /home/neutron/.spring/
Using read-only data directory: /usr/share/games/spring/
#
# Available Spring Skirmish AIs
# -----------------------------
# [Name]               [Version]            [Interface-name]     [Interface-version]
#
I can download Maps and Games, it is possible to download AI´s ? Or another easy way for a beginner ?

Re: No AI bots found in your Spring installation openSUSE 12

Posted: 30 Dec 2012, 00:55
by abma
if you are on a 64 bit os and you only want to play singleplayer you can try this:
(this won't work multiplayer!)

either:

Code: Select all

pr-downloader --download-engine 91.0.1-645-gb4316bb
~/.spring/engine/91.0.1-645-gb4316bb/spring
or if this doesn't work this:

Code: Select all

mkdir ~/.spring/engine/91.0.1-645-gb4316bb
cd ~/.spring/engine/91.0.1-645-gb4316bb
wget "http://springrts.com/dl/buildbot/default/develop/91.0.1-645-gb4316bb/spring_%7bdevelop%7d91.0.1-645-gb4316bb_minimal-portable-linux-static.7z"
7z x spring_%7bdevelop%7d91.0.1-645-gb4316bb_minimal-portable-linux-static.7z
./spring
but this won't work multiplayer, too!

Re: No AI bots found in your Spring installation openSUSE 12

Posted: 01 Jan 2013, 14:04
by quasar
thx abma,

will accept this solution :-)

Re: No AI bots found in your Spring installation openSUSE 12

Posted: 03 Jan 2013, 15:12
by abma
i guess i found the cause why it doesn't list ais:

Code: Select all

Using read-only data directory: /usr/share/games/spring/
but ai's are installed in /usr/lib64/spring/
to check just type

Code: Select all

find /usr/lib64/spring/
and there should be some files listed like libSkirmishAI.so and libAIInterface.so.

to fix you can try to edit /etc/spring/datadir and add "/usr/lib64/spring/", so it looks like:

Code: Select all

$HOME/.spring:/usr/lib64/spring/
sorry i expected that the package maintainer just didn't package the ai's, but it seems like they are just installed in the wrong path / spring searches in the wrong path for it.

if this fixed the bug for you, can you please report create a bugreport at http://bugs.opensuse.org/?