Music in flight ?
Moderators: winston, another_commander
-
- Average
- Posts: 11
- Joined: Tue Sep 19, 2017 9:27 am
Music in flight ?
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" , 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.
I don't mind using this OXP and even purchase licenses every "month" , 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.
-
- Quite Grand Sub-Admiral
- Posts: 6682
- Joined: Wed Feb 28, 2007 7:54 am
Re: Music in flight ?
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.
-
- Average
- Posts: 11
- Joined: Tue Sep 19, 2017 9:27 am
Re: Music in flight ?
running 1.84
thank you, will explore it
thank you, will explore it
- gsagostinho
- ---- E L I T E ----
- Posts: 573
- Joined: Sun Jul 19, 2015 1:09 pm
Re: Music in flight ?
Just play this on your browser while playing and prepare yourself for the most epic sci-fi soundtrack ever
Re: Music in flight ?
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?
-
- Quite Grand Sub-Admiral
- Posts: 6682
- Joined: Wed Feb 28, 2007 7:54 am
Re: Music in flight ?
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.
Re: Music in flight ?
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).
-
- Average
- Posts: 8
- Joined: Fri Sep 15, 2017 7:03 am
- Contact:
Re: Music in flight ?
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.)
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/
Re: Music in flight ?
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.
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.
-
- Average
- Posts: 8
- Joined: Fri Sep 15, 2017 7:03 am
- Contact:
Re: Music in flight ?
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...
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/
- Cody
- Sharp Shooter Spam Assassin
- Posts: 16081
- Joined: Sat Jul 04, 2009 9:31 pm
- Location: The Lizard's Claw
- Contact:
Re: Music in flight ?
How about a game of 3D Asteroids?WebsitesbyMark wrote: ↑Tue Oct 10, 2017 5:51 pmNow if only the space station had a pacman machine I can waste a few credits on, I would be stoked.
I would advise stilts for the quagmires, and camels for the snowy hills
And any survivors, their debts I will certainly pay. There's always a way!
And any survivors, their debts I will certainly pay. There's always a way!
Re: Music in flight ?
Naming conventions? So you are back to manually specified volumes and (a lot) string handling...Astrobe wrote: ↑Mon Sep 25, 2017 11:07 pmSo 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).
Edit: VLC playlists do already contain durations... Hmmm....
Re: Music in flight ?
Would Spotify an alternative for this HyperRadio. I think I saw some Oolite music there, but I didn't download them. You can have a look then.
Re: Music in flight ?
It all boils down to personal preferences. But I'd think an ingame solution is what we are after.-)Happyman wrote:Would Spotify an alternative for this HyperRadio. I think I saw some Oolite music there, but I didn't download them. You can have a look then.
Re: Music in flight ?
I created a play list of sci-fi music for iTunes. Works great. Benefits of a Mac.
Creativity is a gift, use it well.