Fractal Softworks Forum

Please login or register.

Login with username, password and session length

Author Topic: Tutorial - Adding any song from Youtube to your mods. *legal? probably not!*  (Read 3747 times)

Vandala

  • Admiral
  • *****
  • Posts: 1841
  • We need ponies, ponies in spaceships!
    • View Profile

This is fantastic! ... now is it legal?

It's not legal unless you get permission to use the music.

There's plenty of copyrighted music on YouTube - in fact, the vast majority of the music on there is. Just because the rights holder is ok with it being on YouTube doesn't mean they've released it into the public domain.

The original topic. Use at your own risk?
Spoiler
To add any song from Youtube to your Starfarer mods your going to need a few tools, these are:

Firefox: As your internet browser you'll need to install firefox.
DownloadHelper: The extension/add-on for firefox that you need for downloading the videos from Youtube. (search for Video DownloadHelper or just DownloadHelper)
http://audio.online-convert.com/convert-to-ogg: this website allows you to convert any file you've downloaded with DownloadHelper to be converted to .ogg files, which you need for Starfarer. (file limit of 100 MB)

What you do is simple, search for music on youtube, download with DownloadHelper and convert with that website.
DownloadHelper automatically detects any music or video files being shown by firefox and allows you to download them.
It doesn't matter if the video has a picture in it, the conversion website filters that out. (I haven't tried with full video files but those might be to big anyway.)



Adding music to Starfarer:

Create a folder for your own mod under the "./mods" folder in your Starfarer installation.
Steal a "mod_info.json" file from another mod and edit it to your liking. Copy/Paste it into your mod's folder.
Create a "data" folder in your mod's folder and a "config" folder in that.
Copy/Paste the "sounds.json" file from "./data/config" from your Starfarer installation into your mod's "./data/config" folder.
Edit your "sounds.json" file to look like this:
Code
{
"music":{
# "source" can also be a directory
"music_campaign":[
{"file":"StianStark-Starfarer-Exploration_Alpha.ogg","source":"sounds/music/music.bin"}
],
"music_title":[
{"file":"StianStark-Starfarer-Exploration_Alpha.ogg","source":"sounds/music/music.bin"}
],
"music_combat":[
# does not work for now
#{"file":"sf_vict01.ogg","source":"sounds/music"}
],
},
}
Create a "sounds" folder in your mod's folder and a "music" folder in that.
Copy the ".ogg" files you got from the conversion website and paste them into your mod's "./sounds/music" folder.
Edit your "sounds.json" file again and replace "StianStark-Starfarer-Exploration_Alpha.ogg" with your own music file. (Perhaps a good idea not to use any spaces in the name, capital letters have to be the same as the file.)

That's all there is to it, start Starfarer, remember to check your mod to activate it and enjoy.



Or you can take this download as an base template. All you have to do is unpack, add your own two music files, and edit the two text files included in the zip file.
http://www.sendspace.com/file/qcvnef (VERY small download)




Is this a clear enough explanation?

EDIT: Just tried converting a 5-hour long music file of 3.7 GB, didn't work.  ::)
[close]
« Last Edit: May 03, 2012, 10:43:54 AM by Vandala »
Logged

Vandala

  • Admiral
  • *****
  • Posts: 1841
  • We need ponies, ponies in spaceships!
    • View Profile
Re: Tutorial - Adding any song from Youtube to your Starfarer mods.
« Reply #1 on: May 03, 2012, 06:49:38 AM »

Base Template File added for download.

Emailformygames

  • Commander
  • ***
  • Posts: 103
    • View Profile

This is fantastic! ... now is it legal?
Logged

Vandala

  • Admiral
  • *****
  • Posts: 1841
  • We need ponies, ponies in spaceships!
    • View Profile

This is fantastic! ... now is it legal?
I have no idea.  ???

Youtube does its best to keep illegal material off it site but that doesn't mean it doesn't exist.

As for the VideoDownloader... I have no idea.

Alex

  • Administrator
  • Admiral
  • *****
  • Posts: 24113
    • View Profile

This is fantastic! ... now is it legal?

It's not legal unless you get permission to use the music.

There's plenty of copyrighted music on YouTube - in fact, the vast majority of the music on there is. Just because the rights holder is ok with it being on YouTube doesn't mean they've released it into the public domain.
Logged