Page 1 of 1

Installation question Linux Mint 14

Posted: Mon Feb 04, 2013 12:20 am
by dustbiter
Hello,

I am trying to install Vegastrike on Linux Mint 14.
Managed to install by getting the Ubuntu 12.10 .deb package on http://software.opensuse.org/package/vegastrike.
Installs without a problem, but when I launch the game, I get the following error:

thomas@hobbe:~$ vegastrike
Registering codec ogg.
In path /usr/games
Vega Strike
See http://www.gnu.org/copyleft/gpl.html for license details.

GOT SUBDIR ARG =
Found MODDIR = /mods
USING HOMEDIR : /home/thomas/.vegastrike As the home directory
CONFIGFILE - No config found in home : /home/thomas/.vegastrike/vegastrike.config
CONFIGFILE - No config found in data dir : /vegastrike.config
CONFIG FILE NOT FOUND !!!
Panic exit - no configuration


Googled and found out that you need to run the "vssetup" binary to create the "vegastrike.config" file.
Tried to run this tool, but end up with the following error:

thomas@hobbe:~$ vssetup
Error: Failed to find Version.txt anywhere.


Searched for this file, but could not find it anywhere on my system.
Figured that perhaps I need the repository, so added this in my sources.list and reinstalled the vegastrike package.
Still the same error.

Has anyone seen this behaviour? I guess Mint is based on Ubuntu so I took a chance that the Ubuntu package should work...
Any ideas how to get it to run?

Kind Regards,

Thomas & sons

PS. For what it's worth, a list of files and directories that was installed from the vergastrike package:

thomas@hobbe:~$ dpkg -L vegastrike
/.
/usr
/usr/share
/usr/share/doc
/usr/share/doc/vegastrike
/usr/share/doc/vegastrike/changelog.Debian.gz
/usr/objconv
/usr/objconv/obj2xml
/usr/objconv/wcp2xml
/usr/objconv/3ds2xml
/usr/games
/usr/games/base_maker
/usr/games/vegaserver
/usr/games/vegastrike
/usr/games/tempgen
/usr/games/vsrextract
/usr/games/replace
/usr/games/vssetup
/usr/games/trisort
/usr/games/asteroidgen
/usr/games/mesh_xml
/usr/games/mesher
/usr/games/vsrmake

Re: Installation question Linux Mint 14

Posted: Mon Feb 04, 2013 1:26 am
by loki1950
Welcome aboard dustbiter looks like it is not creating a copy of vegastrike.conf try coping it from the usr/games/vegastrike and pasting into .vegastrike in your $home dir it's a hidden dir so you may have to toggle show hidden files in your file manager of choice.

Edit: BTW the version file should also be in usr/games/vegastrike and it's contents are .vegastrike yaeh all that trouble for 13 bytes info :wink:

Enjoy the Choice :)

Re: Installation question Linux Mint 14

Posted: Mon Feb 04, 2013 5:24 am
by klauss
What do you get with "type vegastrike"? It ought to point to a wrapper shell script that sets the binary up to find the data folder. It seems it isn't finding it.

Re: Installation question Linux Mint 14

Posted: Fri Feb 08, 2013 9:06 am
by dustbiter
Hi, sorry for late update from my side, It's been a rough week.

Loki1350: On my Linux machine /usr/games/vegastrike is a binary. I cannot copy vegastrike.conf from "/usr/games/vegastrike" or the parent directory
"/usr/games" if that is what you meant?

thomas@hobbe:/usr/games$ file /usr/games/vegastrike
vegastrike: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.24, BuildID[sha1]=0x556f7a2731773ce9c5f98f0ea99470093fb8541f, stripped


So couldt it be that "/usr/games/vegastrike" should be a directory with contents like the binaries and config files?
In my install, there is no "vegastrike" directory created in "/usr/games", just the binaries.
The contents of /usr/games looks like this:

xhpthoo@sniff:/usr/games$ ls -al
total 13912
drwxr-xr-x 2 root root 4096 Feb 3 21:46 .
drwxr-xr-x 11 root root 4096 Feb 3 21:04 ..
-rwxr-xr-x 1 root root 31112 Feb 1 03:41 asteroidgen
-rwxr-xr-x 1 root root 142760 Feb 1 03:41 base_maker
-rwxr-xr-x 1 root root 4421 May 28 2012 cowsay
lrwxrwxrwx 1 root root 6 Jan 26 16:35 cowthink -> cowsay
-rwxr-xr-x 1 root root 1563 Oct 8 14:49 espdiff
-rwxr-xr-x 1 root root 23056 Jul 28 2012 fortune
-rwxr-xr-x 1 root root 338896 Feb 1 03:41 mesher
-rwxr-xr-x 1 root root 129848 Feb 1 03:41 mesh_xml
-rwxr-xr-x 1 root root 10424 Feb 1 03:41 replace
-rwxr-xr-x 1 root root 129848 Feb 1 03:41 tempgen
-rwxr-xr-x 1 root root 30960 Feb 1 03:41 trisort
-rwxr-xr-x 1 root root 4826504 Feb 1 03:41 vegaserver
-rwxr-xr-x 1 root root 8463768 Feb 1 03:41 vegastrike
-rwxr-xr-x 1 root root 14760 Feb 1 03:41 vsrextract
-rwxr-xr-x 1 root root 23056 Feb 1 03:41 vsrmake
-rwxr-xr-x 1 root root 39840 Feb 1 03:41 vssetup



Klauss: This is what I get from "type vegastrike":

thomas@hobbe:~$ type vegastrike
vegastrike is hashed (/usr/games/vegastrike)


As you can see in the "file" output above, this is not a shellscrip as far as I can understand.

Looks like my install was not really successfull?!
Question is if this is because of packaging or just some weirdness in my Linux machine?

I will make an attempt to install from source and see if that solves the problem.
Perhaps an alternative could be to copy the missing file/files from the source tarball and retry..

Thanks for your help guys!

Kind Regards,

Thomas & sons

Re: Installation question Linux Mint 14

Posted: Fri Feb 08, 2013 5:52 pm
by klauss
Ok, quick fix, is to manually go into VS's data folder:

cd /usr/share/games/vegastrike ; vegastrike

However, it shouldn't be necessary.

Dumb question. Have you installed vegastrike-data?

Re: Installation question Linux Mint 14

Posted: Mon Feb 11, 2013 11:09 pm
by dustbiter
Hi Klauss,

Your question about vegastrike-data got me on the right track....
I must have read the install instructions badly.

When I list the added repository I found a bunch of other vegastrike packages.
Among them "vegastrike-data".

I installed all of them, and after this I can launch the game without any problems.

Thanks alot for your help!
Now, we have a whole universe to explore.... :-)

Kind Regards,

Thomas & sons

Re: Installation question Linux Mint 14

Posted: Mon Feb 11, 2013 11:50 pm
by loki1950
We have had to split the app to fit various distros packaging policies on some the music and sound are also a separate package.

Enjoy the Choice :)

Re: Installation question Linux Mint 14

Posted: Tue Feb 12, 2013 12:19 am
by klauss
loki1950 wrote:We have had to split the app to fit various distros packaging policies on some the music and sound are also a separate package.

Enjoy the Choice :)
Not only that, by having the binary as a separate package:
  • Data packages are noarch
  • Some time in the future we might even make them nodistro (I've already proposed such a thing to OBS, to be able to share the packages among all distros)
  • If we get around to packaging the various mods, they can share the binary