Oolite Bulletins

For information and discussion about Oolite.
It is currently Thu Dec 14, 2017 9:58 am

All times are UTC




Post new topic  Reply to topic  [ 11 posts ] 
Author Message
 Post subject: Music in flight ?
PostPosted: Sat Sep 23, 2017 5:15 pm 
Offline
Average
Average

Joined: Tue Sep 19, 2017 9:27 am
Posts: 11
Hi, is there any other way to turn on some music in Oolite, except for HyperRadio ?
I don't mind using this OXP and even purchase licenses every "month" :D , but what is annoying, is that it turns off after each red alert, hyperjumps, docking etc. And i need to prime it and turn it on again.


Top
   
 Post subject: Re: Music in flight ?
PostPosted: Sat Sep 23, 2017 5:33 pm 
Offline
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral

Joined: Wed Feb 28, 2007 7:54 am
Posts: 5023
Are you running the 1.85 nightly builds? If so, we got you covered. Take a look at this thread and download the Orchestral Demo OXP (it requires Library.oxp as well). Not only do you get music during flight, but it is also situation aware (changes with alert level or when arriving at station etc) and you can also replace the OXP's ogg files with your own ones if you want.


Top
   
 Post subject: Re: Music in flight ?
PostPosted: Sat Sep 23, 2017 5:55 pm 
Offline
Average
Average

Joined: Tue Sep 19, 2017 9:27 am
Posts: 11
running 1.84
thank you, will explore it


Top
   
 Post subject: Re: Music in flight ?
PostPosted: Sat Sep 23, 2017 10:16 pm 
Offline
---- E L I T E ----
---- E L I T E ----
User avatar

Joined: Sun Jul 19, 2015 1:09 pm
Posts: 441
Just play this on your browser while playing and prepare yourself for the most epic sci-fi soundtrack ever :D


Top
   
 Post subject: Re: Music in flight ?
PostPosted: Sun Sep 24, 2017 12:21 pm 
Offline
---- E L I T E ----
---- E L I T E ----

Joined: Sun Jul 21, 2013 12:26 pm
Posts: 563
Hmmm... Both Hyperradio and the Orchestral Demo (that's just a demo though) don't make it easy to build your own playlist. Plus, Oolite only accepts Vorbis/ogg so one often has to convert the files to that format in the first place. I might be wrong, but it seems to me that the technical difficulty is that there's apparently no way to enumerate files in a particular folder (or category) from a script?


Top
   
 Post subject: Re: Music in flight ?
PostPosted: Sun Sep 24, 2017 1:22 pm 
Offline
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral

Joined: Wed Feb 28, 2007 7:54 am
Posts: 5023
Quote:
Hmmm... Both Hyperradio and the Orchestral Demo (that's just a demo though) don't make it easy to build your own playlist.
I don't know about Hyperradio, but I can tell you that you you are wrong about Orchestral Demo. I have already built playlists in it for fight and cruising modes. Check its script.js, there is a place there reserved specifically for building such playlists. Granted that it requires file editing to work, but it is most certainly doable.


Top
   
 Post subject: Re: Music in flight ?
PostPosted: Mon Sep 25, 2017 11:07 pm 
Offline
---- E L I T E ----
---- E L I T E ----

Joined: Sun Jul 21, 2013 12:26 pm
Posts: 563
Quote:
Quote:
Granted that it requires file editing to work, but it is most certainly doable.
Even for me who is used to that stuff, editing the file, check the logs for typos or syntax errors, purge the cache, etc. is a bit of a chore. And before that, downloading or moving the tracks around, and also maybe convert them to ogg/vorbis format.

I was thinking about our fellow spacers who don't have that kind of skill. They are basically stuck with the pre-packed music those who have the know-how provide; but if there's one thing that varies a lot, it's music tastes.

So I'm looking for ways to make this customization more accessible. If there were a way for an OXP to scan the content of a specific folder (for instance, oolite-saves/Local), with some naming conventions (for instance <duration>-<volume>-<event>-<title>.ogg) the OXP could build a playlist and it would require relatively basic skills from users (converting to vorbis format and renaming files).


Top
   
 Post subject: Re: Music in flight ?
PostPosted: Tue Oct 10, 2017 11:05 am 
Offline
Average
Average

Joined: Fri Sep 15, 2017 7:03 am
Posts: 8
I did get excited when I saw the hyperadio, but I feel I don't mind it costing money, but to have to keep buying a licence is just wrong.

My solution was to run winamp in the background and just listen to an radio stream...

In someways it works almost a little too good and when the stations come into range, the chatter over the top really add something.

I think if someone codes a 'non-licence' Hyper radio, I might use it, otherwise there is something cool to getting Absolute 80's in the deepest regions of space. (Sort of think that's what Lister would be listening to while flipping off Rimmer.)

_________________
I also do Websites https://www.websitesbymark.co.uk/


Top
   
 Post subject: Re: Music in flight ?
PostPosted: Tue Oct 10, 2017 5:17 pm 
Offline
---- E L I T E ----
---- E L I T E ----

Joined: Sun Jul 21, 2013 12:26 pm
Posts: 563
I believe the licensing fees are there just to help wealthy players to spend their credits.

Since you do Websites, it shouldn't be difficult for you to hack it. OXZ files are actually zipped archives, so you can open then with something like 7zip. All files are text, but make sure you open them with Wordpad or a decent editor that understands the unix text file format (*), because Notepad does not (but maybe they fixed that with Windows 10? Microsoft seems in love with Linux these days). Then, you can either modify the price tag of the license (Config/equipment.plist), or modify the script hyperradio.js. There's a function named "CheckHyperradioLicence" that could always return "true".

Or, perhaps more in line with what we are doing, you could make the "pirate license" more pirate-y (look for EQ_HYPER_RADIO_PIRATE, two spots to "fix").

(*) if it does not, you'll see everything on one line; that's because unix uses LF as end-of-line character instead of CR+LF.


Top
   
 Post subject: Re: Music in flight ?
PostPosted: Tue Oct 10, 2017 5:51 pm 
Offline
Average
Average

Joined: Fri Sep 15, 2017 7:03 am
Posts: 8
Sure it would be easy enough to hack someone else's work, but morally its not something I like doing.

Potentially I might be more inclined to code my own radio exp, but as winamp is working really well and I don't have much free time, might just be lazy until something is done 'properly'.

The 80s music im listening to at the moment, sort of takes me back to the original Elite and sort of puts me in a place which for me is cool.

You have just hypered into some rough pirate controlled space and 'Five miles out' comes on. You know its going to be a rough ride to deliver that stash of computers, but you can do it.

Arrive to hear the stations comm's while chilling to Dire Straits, is just as good as it gets..

Now if only the space station had a pacman machine I can waste a few credits on, I would be stoked.. (While downing a pan galactic gargle blaster)

For me I think I quite like the idea of getting a few ships from fiction in the game might be a better priority...

But that aside, the other issue with hacking a exp is that if the author ever does an update, you have lost your changes.. Also your change might screw other things up...

_________________
I also do Websites https://www.websitesbymark.co.uk/


Top
   
 Post subject: Re: Music in flight ?
PostPosted: Tue Oct 10, 2017 6:05 pm 
Offline
Sharp Shooter Spam Assassin
Sharp Shooter Spam Assassin
User avatar

Joined: Sat Jul 04, 2009 9:31 pm
Posts: 12961
Location: Corke's Drift
Quote:
Now if only the space station had a pacman machine I can waste a few credits on, I would be stoked.
How about a game of 3D Asteroids?

_________________
The only good fnord is a dead fnord!


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 11 posts ] 

All times are UTC


Who is online

Users browsing this forum: Google [Bot] and 18 guests


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

Search for:
cron
Powered by phpBB® Forum Software © phpBB Limited