Custom Music

Post your ideas and suggestions how to improve the game.

Moderator: ickputzdirwech

Post Reply
SziserTrue
Manual Inserter
Manual Inserter
Posts: 2
Joined: Fri Mar 02, 2018 10:19 pm
Contact:

Custom Music

Post by SziserTrue »

My Idea is simple : to make folder which can contain your custom mp3's. I was playing your game a lot and I love it ,but after all this time I would like to add some of my custom space music :)

Jap2.0
Smart Inserter
Smart Inserter
Posts: 2339
Joined: Tue Jun 20, 2017 12:02 am
Contact:

Re: Custom Music

Post by Jap2.0 »

Would it work if you added your own custom music to (Steam/SteamApps/common/)Factorio/data/base/sound/ambient? Note that it uses the .ogg file format, so you'd have to convert to that first.
There are 10 types of people: those who get this joke and those who don't.

User avatar
eradicator
Smart Inserter
Smart Inserter
Posts: 5206
Joined: Tue Jul 12, 2016 9:03 am
Contact:

Re: Custom Music

Post by eradicator »

Jap2.0 wrote:Would it work if you added your own custom music to (Steam/SteamApps/common/)Factorio/data/base/sound/ambient? Note that it uses the .ogg file format, so you'd have to convert to that first.
As everything else music has to be defined as a type = "ambient-sound" prototype to work in the game.

@OP:
I never understood why people want built-in audio players in games. Why don't you just turn the game music off and use a proper media player? (I use foobar, so i have no idea what the current trend in media players is. Maybe winamp is still alive?)

User avatar
BlueTemplar
Smart Inserter
Smart Inserter
Posts: 2420
Joined: Fri Jun 08, 2018 2:16 pm
Contact:

Re: Custom Music

Post by BlueTemplar »

Ease of use? Paste in the folder and forget?
Also, matters when the music is tied to in-game events - like I think it actually is in Factorio?
BobDiggity (mod-scenario-pack)

User avatar
eradicator
Smart Inserter
Smart Inserter
Posts: 5206
Joined: Tue Jul 12, 2016 9:03 am
Contact:

Re: Custom Music

Post by eradicator »

BlueTemplar wrote:Ease of use? Paste in the folder and forget?
How is that easier than just pressing play on an already configured playlist in my player?
BlueTemplar wrote:Also, matters when the music is tied to in-game events - like I think it actually is in Factorio?
If you want event-awareness, "paste and forget" doesn't work anyway. The game can't magically know what music you'd want for which event.

User avatar
BlueTemplar
Smart Inserter
Smart Inserter
Posts: 2420
Joined: Fri Jun 08, 2018 2:16 pm
Contact:

Re: Custom Music

Post by BlueTemplar »

Because you don't have to launch a separate program?

I should have made clearer that this was meant as an "either", rather than an "or".

But it kind of can, if they are organized in sub-folders, for instance music/battle/ and music/peaceful/ (or just music/) ...
(This is not as easy as just pasting a big list of course, as it requires the player to pick and choose...)
BobDiggity (mod-scenario-pack)

User avatar
eradicator
Smart Inserter
Smart Inserter
Posts: 5206
Joined: Tue Jul 12, 2016 9:03 am
Contact:

Re: Custom Music

Post by eradicator »

BlueTemplar wrote:Because you don't have to launch a separate program?
Do people manually start/end their music player all the time? Mine starts when i start the system and and stops when i shut it down. And is controlled by the media keys on my keyboard.
BlueTemplar wrote:But it kind of can, if they are organized in sub-folders, for instance music/battle/ and music/peaceful/ (or just music/) ...
(This is not as easy as just pasting a big list of course, as it requires the player to pick and choose...)
Sure. That might work if there's few enough subfolders. People would still have to convert their stuff to ogg vorbis though because of licensing Edit: ok, not licensing. But there'd still need to be effort put into integrating mp3 decoding just for this.

Koub
Global Moderator
Global Moderator
Posts: 7199
Joined: Fri May 30, 2014 8:54 am
Contact:

Re: Custom Music

Post by Koub »

eradicator wrote:Do people manually start/end their music player all the time?
Totally :). But on the other way, I always listen to the game OST and sounds when I play, at the exceptions of some MMOs, if I need to group, and the sounds are too loud for me to hear my team mates in dungeons/raids.
Koub - Please consider English is not my native language.

User avatar
BlueTemplar
Smart Inserter
Smart Inserter
Posts: 2420
Joined: Fri Jun 08, 2018 2:16 pm
Contact:

Re: Custom Music

Post by BlueTemplar »

Well, mp3's are a bonus, but not as necessary as a "paste and forget" system: there are a lot of programs to convert between the various audio formats... I think even Windows Media Player can do that out of the box?

I actually had older games music in mind, which is generally in .wav format.
(When it doesn't use a custom, hard to reproduce, on-the-fly music generation, I'm looking at you Alpha Centauri !)

----

P.S.:
Does anyone else find that Factorio's music is oddly similar to Dungeon Keeper's ? (also, the color palette...)
Compare :
https://www.youtube.com/watch?v=ASEb6ilob48&t=4m07s

And :
https://www.youtube.com/watch?v=CA6hoW-qoK8
BobDiggity (mod-scenario-pack)

User avatar
bobingabout
Smart Inserter
Smart Inserter
Posts: 7352
Joined: Fri May 09, 2014 1:01 pm
Contact:

Re: Custom Music

Post by bobingabout »

what was the audio format of files before they switched to OGG? I thought it was MP3, but it could be WAV... either way, it was changed a back in version 0.10 I think.
Creator of Bob's mods. Expanding your gameplay since version 0.9.8.
I also have a Patreon.

User avatar
eradicator
Smart Inserter
Smart Inserter
Posts: 5206
Joined: Tue Jul 12, 2016 9:03 am
Contact:

Re: Custom Music

Post by eradicator »

Koub wrote:
eradicator wrote:Do people manually start/end their music player all the time?
Totally :). But on the other way, I always listen to the game OST and sounds when I play, at the exceptions of some MMOs, if I need to group, and the sounds are too loud for me to hear my team mates in dungeons/raids.
If it gets too loud or i've had enough i just press the play/pause hotkey on my keyboard. If i closed the actual player every time i'd have to manually restart it, what a hassle :p. (foobar2000 is pretty awesome both for functionality and customizability once you get used to it.)
bobingabout wrote:what was the audio format of files before they switched to OGG? I thought it was MP3, but it could be WAV... either way, it was changed a back in version 0.10 I think.
I bow before your seniority. I think i joined in 0.11, and started modding in 0.13? I found one old mod on my disk that has some mp3 files, but i can't find any reference to them in the lua files.
BlueTemplar wrote:Well, mp3's are a bonus, but not as necessary as a "paste and forget" system: there are a lot of programs to convert between the various audio formats... I think even Windows Media Player can do that out of the box?
I have very low expectations when it comes to codec knowledge amongst common users. I'd expect them to just change the file extension via explorer rename. WMP doesn't even play ogg according to this list, let alone encode (the list doesn't distinguish). ITunes which also seems reasonably popular apparently has "limited support for ogg" whatever that means, probably play but nothing else.
And even if the conversion software was no problem at all, you still face two major problems:
1) Converting one lossy format to another is a shitty idea and can easily destroy audio quality.
2) Converting large amounts of songs takes correspondingly large amounts of time.

Jap2.0
Smart Inserter
Smart Inserter
Posts: 2339
Joined: Tue Jun 20, 2017 12:02 am
Contact:

Re: Custom Music

Post by Jap2.0 »

I'm guessing VLC can convert to ogg.
There are 10 types of people: those who get this joke and those who don't.

Post Reply

Return to “Ideas and Suggestions”