Extracting audio files from .assets

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
bartlomiej69
Posts: 3
Joined: Thu Jun 30, 2016 12:28 am

Extracting audio files from .assets

Post by bartlomiej69 »

Hi I am new here, I am just regular internet user who's trying to get audio files from game called Layers Of Fear, can find them in .assets files but can't export by any software I tried, errors and stuff, can someone help me here? There is sample: http://www89.zippyshare.com/v/YuRQaADz/file.html
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Extracting audio files from .assets

Post by aluigi »

bartlomiej69
Posts: 3
Joined: Thu Jun 30, 2016 12:28 am

Re: Extracting audio files from .assets

Post by bartlomiej69 »


Have tried Unity Assets Explorer and I've got "stream read error" all the time when trying export audio files. I doing something wrong? Do you know another method? Or there is no way to do that.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Extracting audio files from .assets

Post by aluigi »

The script solution (linked in the first post I gave you) can extract everything but it's in the original "raw" format.
I don't know how the audio data is stored in Unity but it's worth to try.
Remember to get the latest versions of scripts and software, maybe you were just using an old version.
bartlomiej69
Posts: 3
Joined: Thu Jun 30, 2016 12:28 am

Re: Extracting audio files from .assets

Post by bartlomiej69 »

aluigi wrote:The script solution (linked in the first post I gave you) can extract everything but it's in the original "raw" format.
I don't know how the audio data is stored in Unity but it's worth to try.
Remember to get the latest versions of scripts and software, maybe you were just using an old version.

Thanks, got it, but still have a problem cause those files are in .snd and every each one is like 80kb, there is no any sound after converting to wav. Have you got some recipe for that?
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Extracting audio files from .assets

Post by aluigi »

It's simple, there is no audio data in the archive you provided so it's in the other assets.
VitoGeek
Posts: 3
Joined: Sun Mar 19, 2017 5:09 pm

Re: Extracting audio files from .assets

Post by VitoGeek »

Hi aluigi! :P

I'm having trouble extracting a song from a game of the unity engine, it's from Android, "Balls And Holes", the game is no big deal but I can not find the song that plays it in a loop anywhere (the game Has only one song), the only way I think it's feasible is to extract the song from the game itself, I have no other way to extract it if not by the .apk of the application, because if I'm record the song it will come out with the audio of the Wind that plays in the background.

I have already extracted the .apk data, but when I extract the .assets files with QuickBMS, I can only get a bunch of .script, .tex, .mat, and .bin files, though I'm not sure if The music is even in the .assets.

I've tried using Haoose's UAE, but then I've gotten a bunch of .115, .115_2 and .150 files, that is, unsuccessful in acquiring an audio file.

Not to mention Disunity, in which the version of Unity Engine used in the game (that is 5), and that ata4 removed the function of extracting media in its latest version (compatible with Unity 5), ends up generating me 12 .block files, which I do not know what to do with them.

I do not feel like learning the method of extracting them, since I do not want to do it again. But if you help me by extracting the music for me, it would be a lot of help. If you are willing to make me this souvenir I would be very grateful.

I'm waiting for an answer. ;-)
Savage
Posts: 176
Joined: Thu Oct 02, 2014 4:58 pm

Re: Extracting audio files from .assets

Post by Savage »

You can found the audios in the files ".resource" (88 files and some files have multiples FSB5), they are compressed using ogg vorbis

I think you only can modify the .resource using the extraction and method injection
Savage
Posts: 176
Joined: Thu Oct 02, 2014 4:58 pm

Re: Extracting audio files from .assets

Post by Savage »

Ok, i extracted some fsb's, but i CAN'T convert to wav, are they encrypted? all the programs i have are crashing with this files, even the Fmod Studio

1 Sample, 1,30 Mb's

http://www41.zippyshare.com/v/2qIK1Y39/file.html
VitoGeek
Posts: 3
Joined: Sun Mar 19, 2017 5:09 pm

Re: Extracting audio files from .assets

Post by VitoGeek »

Any solution? :V
VitoGeek
Posts: 3
Joined: Sun Mar 19, 2017 5:09 pm

Re: Extracting audio files from .assets

Post by VitoGeek »

Hello fellas da pulta! 8-)

I come here to inform those who came after the same path I was looking for. Due to the lack of support when trying to get the song I realized that I needed to put my head to think, then:

The first thing I thought would solve my problem was extracting the music from .apk, I did not succeed and not a help with the staff of this forum. Useless. :roll:

Well, I then tried to talk to the creators of the game: Planet of the Apps, and see if they would tell me the source of the song, or whether they themselves created such a masterpiece.
But I managed to be ignored successfully! (I do not even know why I tried to do this :lol:)

The days have passed ... :cry:

And I then realized that I needed to appeal, and that the year would not go by without me putting my hand on such an audio file! :idea:

Ta Daa! SHAZAM KARAI! :mrgreen:

I, as I usually get the day-to-day songs with the "Shazam" app, I did not realize that the song would be registered in the app database, so I gave it a try. And ... #BaDumTss.

The song is called "Celtic Sunrise" and was composed by Gary Wolk, who also produces several other styles of music, and sells them with license and everything! Perfect for me to use in my game project! :P

Stay tunned! Soon you will know about it. ;)