Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Vega Strike
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
Bullet Dodger
Apprentice
Apprentice


Joined: 16 Jul 2005
Posts: 230

PostPosted: Sat Dec 01, 2007 2:03 am    Post subject: Vega Strike Reply with quote

Hi,

I recently found the game Vega Strike which i like the sound of.

After finding out it's not in portage i did a bit of web hunting.
I found an overlay called roslin.

I don't know if this overlay is popular - i'm new to linux gaming (except for tremulous)
but when i tried to emerge vegastrie it got the following error:
Code:

>>> Install vegastrike-9999 into /var/tmp/portage/games-action/vegastrike-9999/image/ category games-action
cp: cannot stat `vegastrike/soundserver': No such file or directory
 *
 * ERROR: games-action/vegastrike-9999 failed.
 * Call stack:
 *               ebuild.sh, line 1735:  Called dyn_install
 *               ebuild.sh, line  966:  Called qa_call 'src_install'
 *               ebuild.sh, line   35:  Called src_install
 *             environment, line 2651:  Called die
 * The specific snippet of code:
 *       cp -rf vegastrike/soundserver data4.x/bin/ || diefunc "$FUNCNAME" "$LINENO" "$?" "cp failed";
 *  The die message:
 *   cp failed
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/games-action/vegastrike-9999/temp/build.log'.
 * This ebuild is from an overlay: '/usr/local/portage/layman/roslin/'


Can anyone help me out wid this?
I don't know why it failed.

cp: cannot stat `vegastrike/soundserver': No such file or directory

humm - why not?

Cheers
Back to top
View user's profile Send private message
bunder
Bodhisattva
Bodhisattva


Joined: 10 Apr 2004
Posts: 5213

PostPosted: Sat Dec 01, 2007 2:05 am    Post subject: Reply with quote

uses an overlay, moving to U.S. :wink:

Moved from Gamers & Players to Unsupported Software.
_________________
goodbye fgo. it was nice knowing you.
Back to top
View user's profile Send private message
IncredibleMrT
Tux's lil' helper
Tux's lil' helper


Joined: 07 Mar 2008
Posts: 86
Location: Rotherham, UK

PostPosted: Wed Mar 12, 2008 9:12 am    Post subject: Reply with quote

I am not able to find the url for the roslin overlay. Can you provide it please. I've tried the vegastrike-9999.ebuild from http://bugs.gentoo.org/show_bug.cgi?id=65084 but it keeps failing with -

...
strike'
>>> Source compiled.
>>> Test phase [not enabled]: games-rpg/vegastrike-9999

>>> Install vegastrike-9999 into /var/tmp/portage/games-rpg/vegastrike-9999/image/ category games-rpg
!!! dobin: vegastrike/vslauncher does not exist
*
* ERROR: games-rpg/vegastrike-9999 failed.
* Call stack:
* ebuild.sh, line 49: Called src_install
* environment, line 2696: Called die
* The specific snippet of code:
* dogamesbin vegastrike/vslauncher || die "Creation of vslauncher failed";
* The die message:
* Creation of vslauncher failed
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/log/portage/games-rpg:vegastrike-9999:20080312-090507.log'.
* The ebuild environment file is located at '/var/tmp/portage/games-rpg/vegastrike-9999/temp/environment'.
* This ebuild is from an overlay: '/usr/local/portage/'
*

Thanks buddy.
Back to top
View user's profile Send private message
dmvianna
l33t
l33t


Joined: 22 Mar 2004
Posts: 742
Location: Down Underland

PostPosted: Sat Jul 19, 2008 1:43 am    Post subject: Reply with quote

IncredibleMrT wrote:
I've tried the vegastrike-9999.ebuild from http://bugs.gentoo.org/show_bug.cgi?id=65084 but it keeps failing with -

...
strike'
>>> Source compiled.
>>> Test phase [not enabled]: games-rpg/vegastrike-9999

>>> Install vegastrike-9999 into /var/tmp/portage/games-rpg/vegastrike-9999/image/ category games-rpg
!!! dobin: vegastrike/vslauncher does not exist


I've solved that problem with a new ebuild you can find in that bug. Unfortunately, I've ran into an access violation issue:

Code:
ACCESS DENIED  open_wr:   /usr/games/bin/vsinstall
cp: cannot create regular file `/usr/games/bin/vsinstall': Permission denied


Anyone knows how to handle game installations on Gentoo?

[EDIT] Commenting the line in the ebuild where /usr/games/bin/vsinstall is mentioned makes it install cleanly, but the program can't find the data directory (which is installed correctly in /usr/share/games/vegastrike/data). Someone will need to patch this one... :P
_________________
Proprietary is theft. Pierre-Joseph Proudhon, if he had a chance
Powered by a MacBook Pro
Back to top
View user's profile Send private message
szatox
Guru
Guru


Joined: 27 Aug 2013
Posts: 443

PostPosted: Mon Oct 06, 2014 8:17 pm    Post subject: Reply with quote

Time for bump. Anyone has working ebuild for 0.5.1-r1?
Prefferably the gentoo way, from source :D
Back to top
View user's profile Send private message
tw04l124
Veteran
Veteran


Joined: 03 Oct 2006
Posts: 1656
Location: A t z e l, lower austria

PostPosted: Mon Oct 06, 2014 8:51 pm    Post subject: Re: Vega Strike Reply with quote

Bullet Dodger wrote:
Hi,

I don't know if this overlay is popular - i'm new to linux gaming (except for tremulous)
but when i tried to emerge vegastrie it got the following error:
[


you may install unvanquished from hasufells overlay. check this forum for unvanquished.

it is the successor of tremulous, still in alpha but playable when you have decent hardware.
Back to top
View user's profile Send private message
tw04l124
Veteran
Veteran


Joined: 03 Oct 2006
Posts: 1656
Location: A t z e l, lower austria

PostPosted: Tue Oct 07, 2014 5:36 pm    Post subject: Reply with quote

seems old bug => https://bugs.gentoo.org/show_bug.cgi?id=219559

but game homepage claims version 5.1 http://vegastrike.sourceforge.net/getfiles/

http://sourceforge.net/projects/vegastrike/files/vegastrike/0.5.1/

Juding on the date it is kinda outdated: VS Setup 0.5.1 r1.exe 2012-04-02 613.0 MB

even when you downlaod hte rpm you will run into problems. and such old software is mostly wont fix, upstream dead probably.

http://sourceforge.net/projects/vegastrike/files/vegastrike/

it seems it is kinda dead.
Back to top
View user's profile Send private message
Budoka
Guru
Guru


Joined: 03 Jun 2012
Posts: 388
Location: Tokyo, Japan

PostPosted: Thu Oct 09, 2014 2:29 am    Post subject: Reply with quote

I have never been able to get it to run so gave up. Following this thread closely to see if you have any success.
Back to top
View user's profile Send private message
tw04l124
Veteran
Veteran


Joined: 03 Oct 2006
Posts: 1656
Location: A t z e l, lower austria

PostPosted: Thu Oct 09, 2014 8:28 am    Post subject: Reply with quote

Budoka wrote:
I have never been able to get it to run so gave up. Following this thread closely to see if you have any success.


best chances when you run in a vm a 5 years old gnu linux. i doubt it runs well, you will run into many bugs issues with a recent box.
Back to top
View user's profile Send private message
Yamakuzure
Veteran
Veteran


Joined: 21 Jun 2006
Posts: 1467
Location: Bardowick, Germany

PostPosted: Thu Oct 09, 2014 11:06 am    Post subject: Reply with quote

tw04l124 wrote:
it seems it is kinda dead.
Look into the SVN repo. There are commits from august this year, so it is not dead at all.
_________________
systemd - The biggest fallacies
Back to top
View user's profile Send private message
szatox
Guru
Guru


Joined: 27 Aug 2013
Posts: 443

PostPosted: Mon Dec 08, 2014 10:36 pm    Post subject: Reply with quote

Another bump.

I tried to compile vegastrike from SVN and here is where I got:
http://wiki.vega-strike.org/HowTo:Compile_from_SVN_on_Linux <-- wiki
wiki says there are 2 ways to compile it. Unfortunately I can't see files required by autotools in vegastrike repo (no configure, no stuff needed for creating configure, no bootstrap script suggested at wiki). Autotools was deprecated anyway, so it seems it has been abandoned and wiki is outdated there.

Second way is going with cmake. That one appears to work fine at the begining, but cmake eventualy freaks out on ffmpeg_init.cpp file

Code:
$ make
[ 60%] Built target OPcollide
[ 60%] Built target engine_com
[ 60%] Built target netgeneric
[ 60%] Built target netlowlevel
[ 60%] Built target mesh_tool
[ 60%] Built target boost_python
[ 60%] Built target vssetup
[ 60%] Built target vegaserver
[ 60%] Building CXX object CMakeFiles/vegastrike.dir/src/ffmpeg_init.cpp.o
Assembler messages:
Fatal error: can't create CMakeFiles/vegastrike.dir/src/ffmpeg_init.cpp.o: Permission denied
/mnt/games/vegastrike/vegastrike/src/ffmpeg_init.cpp:39:27: warning: '_url_open' initialized and declared 'extern' [enabled by default]
 extern "C" int _url_open( URLContext *h, const char *filename, int flags )
                           ^
/mnt/games/vegastrike/vegastrike/src/ffmpeg_init.cpp:39:27: error: 'URLContext' was not declared in this scope
/mnt/games/vegastrike/vegastrike/src/ffmpeg_init.cpp:39:39: error: 'h' was not declared in this scope
 extern "C" int _url_open( URLContext *h, const char *filename, int flags )
                                       ^
/mnt/games/vegastrike/vegastrike/src/ffmpeg_init.cpp:39:42: error: expected primary-expression before 'const'
 extern "C" int _url_open( URLContext *h, const char *filename, int flags )
                                          ^
/mnt/games/vegastrike/vegastrike/src/ffmpeg_init.cpp:39:64: error: expected primary-expression before 'int'
 extern "C" int _url_open( URLContext *h, const char *filename, int flags )
                                                                ^
/mnt/games/vegastrike/vegastrike/src/ffmpeg_init.cpp:39:74: error: expression list treated as compound expression in initializer [-fpermissive]
 extern "C" int _url_open( URLContext *h, const char *filename, int flags )
                                                                          ^
/mnt/games/vegastrike/vegastrike/src/ffmpeg_init.cpp:40:1: error: expected ',' or ';' before '{' token
 {
 ^
CMakeFiles/vegastrike.dir/build.make:2449: recipe for target 'CMakeFiles/vegastrike.dir/src/ffmpeg_init.cpp.o' failed
make[2]: *** [CMakeFiles/vegastrike.dir/src/ffmpeg_init.cpp.o] Error 2
CMakeFiles/Makefile2:248: recipe for target 'CMakeFiles/vegastrike.dir/all' failed
make[1]: *** [CMakeFiles/vegastrike.dir/all] Error 2
Makefile:75: recipe for target 'all' failed
make: *** [all] Error 2

Error messages suggest syntax error, but I have a feeling it would be too easy.
Snippet of code looks like this:
Code:
//
//C++ Implementation: vid_file
//

#include "vsfilesystem.h"
#include "config.h"
#include "ffmpeg_init.h"

#include <string.h>
#include <utility>

//define a 128k buffer for video streamers
#define BUFFER_SIZE 128*(1<<10)

#ifndef ENOENT
#define ENOENT 2
#endif

/*
 * FOLLOWING CODE IS ONLY INCLUDED IF YOU HAVE FFMPEG
 * ********************************************
 */
#ifdef HAVE_FFMPEG
//#ifdef _WIN32
//#define offset_t xoffset_t
//#endif

#ifndef offset_t
    #if (LIBAVCODEC_VERSION_MAJOR >= 52) || (LIBAVCODEC_VERSION_INT >= ( ( 51<<16)+(49<<8)+0 ) ) || defined (__amd64__) \
    || defined (_M_AMD64) || defined (__x86_64) || defined (__x86_64__)
typedef int64_t offset_t;
    #else
typedef int     offset_t;
    #endif
#endif

using namespace VSFileSystem;

[b]extern "C" int _url_open( URLContext *h, const char *filename, int flags ) // line 39, above errors refer here
{[/b]
    if (strncmp( filename, "vsfile:", 7 ) != 0)
        return AVERROR( ENOENT );

    const char *type   = strchr( filename+7, '|' );
    std::string path( filename+7, type ? type-filename-7 : strlen( filename+7 ) );
    VSFileType  vstype = ( (type && *type) ? (VSFileType) atoi( type+1 ) : VideoFile);

    VSFile     *f = new VSFile();
    if (f->OpenReadOnly( path, vstype ) > Ok) {
        delete f;
        return AVERROR( ENOENT );
    } else {
        h->priv_data = f;
        return 0;
    }
}

Any ideas what can cause such a behaviour? I'm gonna try to cheat it a bit, but maybe someone experienced with C would spot the problem
Back to top
View user's profile Send private message
keet
Guru
Guru


Joined: 09 Sep 2008
Posts: 417

PostPosted: Mon Dec 08, 2014 11:31 pm    Post subject: Reply with quote

I don't know, either, but I would like very much to play an updated version of Privateer. I have even been playing the original in DOSBox.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum