Installation question Linux Mint 14

Just downloaded Vega Strike and need help? Have a question but don't know where to start? Ask here.
Post Reply
dustbiter
Just a tourist with a frag'd nav console
Just a tourist with a frag'd nav console
Posts: 3
Joined: Sun Feb 03, 2013 11:55 pm

Installation question Linux Mint 14

Post 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
loki1950
The Shepherd
Posts: 5841
Joined: Fri May 13, 2005 8:37 pm
Location: Ottawa
Contact:

Re: Installation question Linux Mint 14

Post 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 :)
my box::HP Envy i5-6400 @2Q70GHzx4 8 Gb ram/1 Tb(Win10 64)/3 Tb Mint 19.2/GTX745 4Gb acer S243HL K222HQL
Q8200/Asus P5QDLX/8 Gb ram/WD 2Tb 2-500 G HD/GF GT640 2Gb Mint 17.3 64 bit Win 10 32 bit acer and Lenovo ideapad 320-15ARB Win 10/Mint 19.2
klauss
Elite
Elite
Posts: 7243
Joined: Mon Apr 18, 2005 2:40 pm
Location: LS87, Buenos Aires, República Argentina

Re: Installation question Linux Mint 14

Post 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.
Oíd mortales, el grito sagrado...
Call me "Menes, lord of Cats"
Wing Commander Universe
dustbiter
Just a tourist with a frag'd nav console
Just a tourist with a frag'd nav console
Posts: 3
Joined: Sun Feb 03, 2013 11:55 pm

Re: Installation question Linux Mint 14

Post 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
klauss
Elite
Elite
Posts: 7243
Joined: Mon Apr 18, 2005 2:40 pm
Location: LS87, Buenos Aires, República Argentina

Re: Installation question Linux Mint 14

Post 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?
Oíd mortales, el grito sagrado...
Call me "Menes, lord of Cats"
Wing Commander Universe
dustbiter
Just a tourist with a frag'd nav console
Just a tourist with a frag'd nav console
Posts: 3
Joined: Sun Feb 03, 2013 11:55 pm

Re: Installation question Linux Mint 14

Post 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
loki1950
The Shepherd
Posts: 5841
Joined: Fri May 13, 2005 8:37 pm
Location: Ottawa
Contact:

Re: Installation question Linux Mint 14

Post 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 :)
my box::HP Envy i5-6400 @2Q70GHzx4 8 Gb ram/1 Tb(Win10 64)/3 Tb Mint 19.2/GTX745 4Gb acer S243HL K222HQL
Q8200/Asus P5QDLX/8 Gb ram/WD 2Tb 2-500 G HD/GF GT640 2Gb Mint 17.3 64 bit Win 10 32 bit acer and Lenovo ideapad 320-15ARB Win 10/Mint 19.2
klauss
Elite
Elite
Posts: 7243
Joined: Mon Apr 18, 2005 2:40 pm
Location: LS87, Buenos Aires, República Argentina

Re: Installation question Linux Mint 14

Post 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
Oíd mortales, el grito sagrado...
Call me "Menes, lord of Cats"
Wing Commander Universe
Post Reply