How to get the music files?

Buzz Aldrin's Space Program Manager (SPM) Road to the Moon is the ultimate game of space exploration.

Moderators: Nacho84, N_Molson

Post Reply
flamerboy67664
Lance Corporal - Panzer IA
Lance Corporal - Panzer IA
Posts: 11
Joined: Sat Nov 08, 2014 12:29 pm

How to get the music files?

Post by flamerboy67664 »

I like the music and would like to extract them. How?
Jenny90
Private First Class - Wehrmacht Inf
Private First Class - Wehrmacht Inf
Posts: 5
Joined: Sat Nov 08, 2014 2:55 am

Re: How to get the music files?

Post by Jenny90 »

I love the music too but I am afraid that we can't. Because I once tried to approach it, but hard to find it. Maybe music files are installed and hidden in the system files. If someone knows how to do it, please show us. I would highly appreciate it.
Last edited by Jenny90 on Sun Nov 16, 2014 10:44 am, edited 1 time in total.
nico7550
SPM Contributor
SPM Contributor
Posts: 66
Joined: Mon Nov 11, 2013 8:23 am

Re: How to get the music files?

Post by nico7550 »

Hi, it's possible.

1. I copy all the files from SPM-Windows_Data\AssetBundles\Music in one folder
2. I move all the unity 3D files in the same folder.
3. Using Disunity with the extract-raw option, I extract all the data in raw format (it cannot extract the ogg file in direct due to a disunity problem).
4. I open each .bin file with notepad, and remove some part of the file header, then I save the file using the .ogg extension).

Cheers
flamerboy67664
Lance Corporal - Panzer IA
Lance Corporal - Panzer IA
Posts: 11
Joined: Sat Nov 08, 2014 12:29 pm

Re: How to get the music files?

Post by flamerboy67664 »

Nico, I can not understand it, can you distribute the .ogg files for me in a .zip?
nico7550
SPM Contributor
SPM Contributor
Posts: 66
Joined: Mon Nov 11, 2013 8:23 am

Re: How to get the music files?

Post by nico7550 »

Hi,

Sorry noone have right to upload the music files without permission.

So you should do it yourself...

Here is a detailled help to extract a sound, let's start:

1. go to https://github.com/ata4/disunity/releases to download Disunity
2. unzip disunity
3. go to SPM-Windows_Data\AssetBundles\Music
4. select the files you need (extension is ".unity3d") and copy them to the folder where you unzip disunity
5. open a command line interpreter
6. navigate to the disunity folder
7. type "disunity.bat extract-raw <NAME_OF_THE_FILE_YOU_HAVE_COPIED>.unity3d" then press return, as it support "*.unity3d", it can uncompress all the file in one time
8. in the disunity folder, you will see some new folder, one by unity3d files you have
9. go in one of them, and continue until you find a folder named audioclip, you will find a .bin file in it
10. open notepad, drag and drop the .bin file in it, in the first line, notice, that the real name of the file is at the beginning.
11. still in the first line, find the word OGG, delete everything before (keep OGG...)
12. save the file with the real name (point 10) and OGG extension.
13. earn the file :-)

I'm here if you still have trouble...

Cheers
flamerboy67664
Lance Corporal - Panzer IA
Lance Corporal - Panzer IA
Posts: 11
Joined: Sat Nov 08, 2014 12:29 pm

Re: How to get the music files?

Post by flamerboy67664 »

Image

Where?

Cheers, flameroby67664
nico7550
SPM Contributor
SPM Contributor
Posts: 66
Joined: Mon Nov 11, 2013 8:23 am

Re: How to get the music files?

Post by nico7550 »

Hi,

You are almost done it's great...

See the first line, at the beginning, you see "mission_theme_new_soviet", that the real name of the ogg file, as used by the engine.
Still in the first line, you can see twice the word "ogg", delete everything before the first ogg and save the file as "mission_theme_new_soviet.ogg"

Cheers
flamerboy67664
Lance Corporal - Panzer IA
Lance Corporal - Panzer IA
Posts: 11
Joined: Sat Nov 08, 2014 12:29 pm

Re: How to get the music files?

Post by flamerboy67664 »

https://www.dropbox.com/s/qrj82jg1iizaq ... t.ogg?dl=0

the music won't play :(

Cheers, flamerboy67664
nico7550
SPM Contributor
SPM Contributor
Posts: 66
Joined: Mon Nov 11, 2013 8:23 am

Re: How to get the music files?

Post by nico7550 »

Because you don't do what I say...

If I open the file you upload using notepad, I still see all the data before the first word OGG... and you also did something else with the lines, there is carrier return everywhere now !

Restart from the 000002 file...
flamerboy67664
Lance Corporal - Panzer IA
Lance Corporal - Panzer IA
Posts: 11
Joined: Sat Nov 08, 2014 12:29 pm

Re: How to get the music files?

Post by flamerboy67664 »

So hard. So I erased the thing before OGG, but after saving, when I open the OGG file, it still did not erase it.
So I have made a discovery, Download Audacity (http://audacity.sourceforge.net/download/), open the original .bin file. then boom!
Save the file (export) then there you have it in any format.

Cheers, flamerboy67664
flamerboy67664
Lance Corporal - Panzer IA
Lance Corporal - Panzer IA
Posts: 11
Joined: Sat Nov 08, 2014 12:29 pm

Re: How to get the music files?

Post by flamerboy67664 »

So here is a detailed version:

1. download Disunity
2. use extract-raw to get bin file
3. go to /musicfolder/AudioClip/
4. find the .bin file
5. Download Audacity: http://audacity.sourceforge.net/download/
6. Open the .bin file in Audacity
7. export it in any format you wish.

Cheers, flamerboy67664
Post Reply

Return to “Buzz Aldrin's Space Program Manager”