Page 1 of 1

Can't seem to get the music to play...

Posted: Sun Jul 05, 2015 12:35 am
by Maxaxle
OS: Lubuntu 14.04 LTS AMD64
CPU: Intel i3-4160
RAM: 16GB DDR3
GFX: Secondhand GTX 560 Ti
Game install method: Play-Deb (via APTURL)

The long and short of my problem is that all ship sounds work as intended, but I can't get the background music to work at the main menu/on planets/in stations/in flight. And yes, I tried skipping through the music. I also tried copying all the music to ./vegastrike/music just incase the problem was permissions-related, but that didn't seem to change anything.

Launched the game from a terminal emulator, here's the output:

Code: Select all

Registering codec ogg.
 In path /usr/games
Vega Strike  
See http://www.gnu.org/copyleft/gpl.html for license details.

GOT SUBDIR ARG = 
Found data in /usr/share/games/vegastrike
Using /usr/share/games/vegastrike as data directory
Using .vegastrike as the home directory
Found MODDIR = /usr/share/games/vegastrike/mods
USING HOMEDIR : /home/maxaxle/.vegastrike As the home directory 
CONFIGFILE - Found a config file in home directory, using : /home/maxaxle/.vegastrike/vegastrike.config
DATADIR - No datadir specified in config file, using ; /usr/share/games/vegastrike
SIMULATION_ATOM: 0.05
MISSION_NAME is empty using : main_menu.mission
Attempt to call ReadFull on a bad file units.csv -1 /usr/share/games/vegastrike/units/units.csv
running import sys
print sys.path
sys.path = [r"/usr/share/games/vegastrike/modules/builtin",r"/usr/share/games/vegastrike/modules/quests",r"/usr/share/games/vegastrike/modules/missions",r"/usr/share/games/vegastrike/modules/ai",r"/usr/share/games/vegastrike/modules",r"/usr/share/games/vegastrike/bases"] + sys.path
['/usr/lib/python2.7/', '/usr/lib/python2.7/plat-x86_64-linux-gnu', '/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload']
testing VS randomrunning import sys
print sys.path
['/usr/share/games/vegastrike/modules/builtin', '/usr/share/games/vegastrike/modules/quests', '/usr/share/games/vegastrike/modules/missions', '/usr/share/games/vegastrike/modules/ai', '/usr/share/games/vegastrike/modules', '/usr/share/games/vegastrike/bases', '/usr/lib/python2.7/', '/usr/lib/python2.7/plat-x86_64-linux-gnu', '/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload']
Creating scene manager...
Creating template manager...
  Initializing renderer...
axes: 3 buttons: 15 hats: 0
axes: 3 buttons: 15 hats: 0
FactionXML:LoadXML factions.xml
using NV_CUBE_MAP
Compiling python module modules/dj.py
Min (0.000000, 0.000000, 0.000000) Max(0.000000, 0.000000, 0.000000) MinLumin 1.000000, MaxLumin 1.000000Read In Star Count 0 used: 2000
Min (0.000000, 0.000000, 0.000000) Max(0.000000, 0.000000, 0.000000) MinLumin 1.000000, MaxLumin 1.000000Read In Star Count 0 used: 38
Loading a starsystem
Loading Star System Special/Empty
No such special key: keypad-enter
No such special key: keypad-minus
No such special key: keypad-plus
No such special key: keypad-divide
No such special key: keypad-multiply
No such special key: keypad-8
No such special key: keypad-2
No such special key: keypad-5
No such special key: keypad-4
No such special key: keypad-6
No such special key: pause
No such special key: keypad-3
No such special key: keypad-9
No such special key: keypad-7
No such special key: keypad-1
FOUND MODIFICATION = player FOR PLAYER #0
CREATING A LOCAL SHIP : dumbfire
Hi helper play 0
HereInitializing optimizer
Compilation of technique fixed successful
Compilation of technique 5_ps3.0/default successful
Compilation of technique 5_ps3.0/default_simple successful
pox 119990000000.000000 -9000000.000000 -109990000000.000000
CreateVideoTexture could not find preintro.ogv
INFO: Missing video stream preintro.ogv
CreateVideoTexture could not find intro.ogv
INFO: Missing video stream intro.ogv
Force feedback support disabled when compiled
Loading completed, now network init
Loading active missions True
  IS NOW AT  Special/Empty

Launching bases for Special/Empty
Adding news
AL lib: ReleaseALC: 1 device not closed

Re: Can't seem to get the music to play...

Posted: Sun Jul 05, 2015 3:47 am
by loki1950
Hi Maxxale long time no see I have not had any problem with the music stream in ages(since 5.0) I see that you installed through Play-Deb on most distros they split the music into a separate package that as it weights in at about 165 MB so do you see a music folder(with lots of .ogg files) in /usr/share/games/vegastrike if not let me know and we will go from there and if it is there some details on your sound devices as a GTX only does video ;)

Enjoy the Choice :)

Re: Can't seem to get the music to play...

Posted: Sun Jul 05, 2015 4:20 am
by Maxaxle
1. All of the music is indeed where it should be, and I've already listened to some of it to ensure that nothing's corrupt.
2. I'm just using the onboard audio hardware of my motherboard (an MSI "H97 PC Mate"). I haven't had any problems with said motherboard at all, so far.

Re: Can't seem to get the music to play...

Posted: Sun Jul 05, 2015 11:49 pm
by loki1950
Dumb question do you have "All Sound" selected in the setup app because all that I can see as being sound related is "AL lib: ReleaseALC: 1 device not closed" at the end of the output but that is an artefact off how the app was terminated you should be hearing music from the moment that the viewpoint opens right though loading phases.

Enjoy the Choice :)

Re: Can't seem to get the music to play...

Posted: Mon Jul 06, 2015 4:06 am
by Maxaxle
I just now tested "All Sound" and "All Linux Sound", neither of them provide music.

Re: Can't seem to get the music to play...

Posted: Tue Jul 07, 2015 6:10 pm
by ezee
There is a release of VS ( for windows ) that has a music bug .
It is possible that you use the same source files that were not fixed .
I have the fix somewhere , i'll make a search , it is 4 lines to edit in a source file .
I'll report later that fix when i will have found it .
:wink:

Edit : got it , look to my old github project :
https://github.com/Ezeer/VegaStrike_win ... diff=split

If your music.cpp at line 448 looks like the left side of the previous git page ,
just copy and paste the right side of the git page ( you can also dowload the single music.cpp and replace yours).

Re: Can't seem to get the music to play...

Posted: Tue Jul 07, 2015 6:31 pm
by loki1950
He is not compiling VS ezee he is using a packaged version for Linux so compiling solutions are not for him :wink: though compiling on Linux is quite simple been doing it for years myself :D

Enjoy the Choice :)

Re: Can't seem to get the music to play...

Posted: Tue Jul 07, 2015 6:40 pm
by ezee
hey loki , as you are here , where is your 3d character , man ?
I'm still waiting man , give me something !
:wink:

Back to the subject , perhaps the release he is using has the mucic bug too ?
So perhaps your help to compile a fine versionof VS is the solution to his problem ?
Okay , to maxaxle as it is not a bot , but a friend .
:wink:

Re: Can't seem to get the music to play...

Posted: Wed Jul 08, 2015 7:30 am
by Maxaxle
Thanks for the support, but I can't seem to find "music.cpp" anywhere in the vegastrike directory (under /user/share/games).

Re: Can't seem to get the music to play...

Posted: Wed Jul 08, 2015 8:45 am
by ezee
Hi .
It's because like Loki said you are using a precompiled package of vegastrike.
To have the music.cpp file , you must checkout the sources files in the svn
and build the program . ( music.cpp is compiled and linked in Vegastrike.exe already )
As i'm not using Linux but windows ,i can't guide you for the build steps .
But Loki certainly would .
What is the vegastrike release you are actually using ? ( where you downloaded it ? )

Re: Can't seem to get the music to play...

Posted: Thu Jul 09, 2015 6:02 am
by Maxaxle
ezee wrote: What is the vegastrike release you are actually using ? ( where you downloaded it ? )
I'm using the version available from Play-Deb:
http://www.playdeb.net/game/Vega%20Strike

Re: Can't seem to get the music to play...

Posted: Thu Jul 09, 2015 2:13 pm
by ezee
Ok .
There is a thread with links to download VS and instructions ( sometimes...) for Linux:
http://forums.vega-strike.org/viewtopic.php?f=0&t=18088

May be you'll find a package that could work on your operating system , they should be
"official releases . "

Re: Can't seem to get the music to play...

Posted: Fri Jul 10, 2015 4:38 am
by Maxaxle
ezee wrote: May be you'll find a package that could work on your operating system , they should be
"official releases . "
Almost. I have Lubuntu 14.04 64-bit, the latest Lubuntu version available is 13.04.

Re: Can't seem to get the music to play...

Posted: Mon Jul 13, 2015 6:16 pm
by Maxaxle
Still not sure if the 13.04 version is identical (or close enough to) the 14.04 version; any ideas?

Re: Can't seem to get the music to play...

Posted: Mon Jul 13, 2015 9:25 pm
by loki1950
IIRC there was update of gcc(complier) so it will need a new build I run Mint 17.2 which is based on Trusty Tahr 14.02 LTS and building was a doodle and I do have music :wink: so instead of checking out the svn repo just get the source and data tarbals if you decide to roll your own just start a thread Compiling Problems sub forum when you need help(you will :shock: ) I usually run the game in userland(I don't sudo install).

Enjoy the Choice :)

Re: Can't seem to get the music to play...

Posted: Sun Jul 19, 2015 7:53 am
by Maxaxle
Late reply, I know, but installing the standard way (i.e. add repo, install packages via "sudo apt-get" commands) didn't seem to help, and I can't find (L)Ubuntu-specific source packages. Any ideas?

Re: Can't seem to get the music to play...

Posted: Sun Jul 19, 2015 3:22 pm
by loki1950
Looks like getting the source code bz file since you all ready have all the data :wink: Unfortunately our Sourceforge site seems to be under maintenance when I checked just now so when its back up download the code from the svn page that the home page points you to.There is a good set of build instructions on the wiki http://wiki.vega-strike.org/HowTo:Compi ... N_on_Linux when your ready just post I should be home most of the day.

Enjoy the Choice :)

Re: Can't seem to get the music to play...

Posted: Mon Jul 20, 2015 3:23 am
by Maxaxle
Just now tried to grab the data package using the svn command, got this message:
svn: E000111: Unable to connect to a repository at URL 'https://svn.code.sf.net/p/vegastrike/code/trunk/data'
svn: E000111: Error running context: Connection refused
I know you mentioned the VS main page, but that seems to be down.

Re: Can't seem to get the music to play...

Posted: Mon Jul 20, 2015 4:17 am
by loki1950
Yeah is seems that sourceforge our svn host was down for maintenance should be back online Monday considering there are several thousand hosted projects your not the only one waiting :twisted: you don't have to do a svn check out just get the compressed source code much a lighter download.

Enjoy the Choice :)

Re: Can't seem to get the music to play...

Posted: Mon Jul 27, 2015 11:54 pm
by Maxaxle
Excellent news and bad news! Excellent news is that, following the wiki instructions to the letter, I installed the current SVN version of Vegastrike (music works!). The bad news is that I couldn't "make install" it, and running the game from the build folder is kinda weird.

Terminal ouput:

Code: Select all

maxaxle@SlickBlackRig:~/VegaStrike/build$ ./vegastrike
Registering codec ogg.
 In path /home/maxaxle/VegaStrike/build
Vega Strike  
See http://www.gnu.org/copyleft/gpl.html for license details.

GOT SUBDIR ARG = 
Found data in /home/maxaxle/VegaStrike/build/../data
Using /home/maxaxle/VegaStrike/data as data directory
Using .vegastrike as the home directory
Found MODDIR = /home/maxaxle/VegaStrike/data/mods
USING HOMEDIR : /home/maxaxle/.vegastrike As the home directory 
CONFIGFILE - Found a config file in home directory, using : /home/maxaxle/.vegastrike/vegastrike.config
DATADIR - No datadir specified in config file, using ; /home/maxaxle/VegaStrike/data
SIMULATION_ATOM: 0.01
MISSION_NAME is empty using : main_menu.mission
running import sys
print(sys.path)
sys.path = ["",r"/home/maxaxle/VegaStrike/data/modules/builtin",r"/home/maxaxle/VegaStrike/data/modules/quests",r"/home/maxaxle/VegaStrike/data/modules/missions",r"/home/maxaxle/VegaStrike/data/modules/ai",r"/home/maxaxle/VegaStrike/data/modules",r"/home/maxaxle/VegaStrike/data/bases"] + sys.path
['/usr/lib/python2.7/', '/usr/lib/python2.7/plat-x86_64-linux-gnu', '/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload']
testing VS randomrunning import sys
print(sys.path)
['', '/home/maxaxle/VegaStrike/data/modules/builtin', '/home/maxaxle/VegaStrike/data/modules/quests', '/home/maxaxle/VegaStrike/data/modules/missions', '/home/maxaxle/VegaStrike/data/modules/ai', '/home/maxaxle/VegaStrike/data/modules', '/home/maxaxle/VegaStrike/data/bases', '/usr/lib/python2.7/', '/usr/lib/python2.7/plat-x86_64-linux-gnu', '/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload']
Creating scene manager...
Creating template manager...
  Initializing renderer...
0 joysticks were found.

The names of the joysticks are:
FactionXML:LoadXML factions.xml
using NV_CUBE_MAP
Min (0.000000, 0.000000, 0.000000) Max(0.000000, 0.000000, 0.000000) MinLumin 1.000000, MaxLumin 1.000000Read In Star Count 0 used: 2000
Min (0.000000, 0.000000, 0.000000) Max(0.000000, 0.000000, 0.000000) MinLumin 1.000000, MaxLumin 1.000000Read In Star Count 0 used: 38
Loading a starsystem
Loading Star System Special/Empty
FOUND MODIFICATION = player FOR PLAYER #0
CREATING A LOCAL SHIP : dumbfire
Hi helper play 0
HereInitializing optimizer
Compilation of technique fixed successful
Compilation of technique 5_ps3.0/default successful
Compilation of technique 5_ps3.0/default_simple successful
pox 119990000000.000000 -9000000.000000 -109990000000.000000
CreateVideoTexture could not find preintro.ogv
INFO: Missing video stream preintro.ogv
CreateVideoTexture could not find intro.ogv
INFO: Missing video stream intro.ogv
Force feedback support disabled when compiled
Unit file contraband not found
Unit file contraband not found
Unit file contraband not found
Unit file contraband not found
Unit file contraband not found
Unit file contraband not found
Unit file contraband not found
Unit file contraband not found
Unit file contraband not found
Unit file contraband not found
Unit file contraband not found
Unit file contraband not found
Unit file contraband not found
Unit file contraband not found
Unit file contraband not found
Unit file contraband not found
Unit file contraband not found
Unit file contraband not found
Unit file contraband not found
Unit file contraband not found
Unit file contraband not found
Unit file contraband not found
Unit file contraband not found
Unit file contraband not found
Unit file contraband not found
Unit file contraband not found
Unit file contraband not found
Unit file contraband not found
Unit file contraband not found
Unit file contraband not found
Unit file contraband not found
Unit file contraband not found
Unit file contraband not found
Unit file contraband not found
Unit file contraband not found
Unit file contraband not found
Unit file contraband not found
Unit file contraband not found
Unit file contraband not found
Loading completed, now network init
Loading active missions True
('', ' IS NOW AT ', 'Special/Empty')

Launching bases for Special/Empty
Adding news
conditioning
conditioning
conditioning
conditioning
Shutting down renderer...
Thank you for playing!
Writing Save Game Autosave-main_menuHi helper play 0
Here


Re: Can't seem to get the music to play...

Posted: Tue Jul 28, 2015 2:17 am
by loki1950
Glad you got it running with the music :D as for running it in userland don't worry I've been doing that for years with no issues :mrgreen: what was the error message you go when you issued the make install command if it was a permissions thing remember that only root can install.

Enjoy the Choice :)

Re: Can't seem to get the music to play...

Posted: Fri Jul 31, 2015 1:10 am
by Maxaxle
loki1950 wrote:what was the error message you go when you issued the make install command

Code: Select all

maxaxle@SlickBlackRig:~/VegaStrike/build$ make install
make: *** No rule to make target `install'.  Stop.
maxaxle@SlickBlackRig:~/VegaStrike/build$ make install vegastrike
make: *** No rule to make target `install'.  Stop.

Re: Can't seem to get the music to play...

Posted: Fri Jul 29, 2016 3:30 pm
by CrisiusXIII
What if the music was played by a plugin-type from eg VLC or Mediaplayer?
Would that be easier?
You then can choose from directries, game or private, AND some mediaplayers can play internet-radio/podcasts, which is a nice feature if you are lonesomely waiting for that planet to be in reach ;-)

Re: Can't seem to get the music to play...

Posted: Mon Dec 02, 2019 4:02 am
by OldDag
CrisiusXIII wrote:What if the music was played by a plugin-type from eg VLC or Mediaplayer?
Would that be easier?
You then can choose from directries, game or private, AND some mediaplayers can play internet-radio/podcasts, which is a nice feature if you are lonesomely waiting for that planet to be in reach ;-)
just my question.
could a playlist contain a web site ? would it be possible to have a hidden browser? just for the music? after hearing it 1000x its a bit 'over'