Page 1 of 1

Modding the NFS Most Wanted 2012 PC soundtrack...

Posted: Sun Apr 10, 2016 11:58 pm
by SolidSonicTH
So I found this ealayer3 tool that was created here and it did a great job decoding the NFS MW 2012 .SPS files but now I want to replace those with my own music.

When I tried to encode the music, it encodes it as an ".EALAYER3" file and trying to change it into a .SPS format file to replace an existing song on the soundtrack just crashes the game.

I tried encoding with both options (--single-block and --header-b) but neither one produces a usable file. Decoding a file using the -v option shows that it looks like the game's music is encoded with the header B flag but that doesn't change anything when I try to encode it back as such.

Am I missing something here? I found a GameFAQs post from back in the day that led me here but I don't feel like they went deep enough with the issue, just leaving it at "that's how it is". Is the song I'm using encoded improperly to turn it into a compatible .SPS file?

Re: Modding the NFS Most Wanted 2012 PC soundtrack...

Posted: Mon Apr 11, 2016 7:14 am
by daemon1
Can you upload .SPS example? They are probably 6-channel, and I don't think ealayer3 is capable of encoding such files.

Re: Modding the NFS Most Wanted 2012 PC soundtrack...

Posted: Mon Apr 11, 2016 8:12 pm
by SolidSonicTH
Sure. Thanks for replying.

I'll try to do it when I get home (at the office right now).

Re: Modding the NFS Most Wanted 2012 PC soundtrack...

Posted: Tue Apr 12, 2016 1:53 am
by SolidSonicTH
Here, this is a sample .SPS song file from the game. Hope it can be useful.

Re: Modding the NFS Most Wanted 2012 PC soundtrack...

Posted: Tue Apr 12, 2016 7:58 am
by daemon1
Well, thats normal stereo track in header-b format. Let me see what I can do here.

Re: Modding the NFS Most Wanted 2012 PC soundtrack...

Posted: Tue Apr 12, 2016 11:11 am
by daemon1
Looks like the file encoded by ealayer3 tool is somehow different from what is expected by the game. I see at least one value that it doesn't put there. However, I've set it, and it still doesn't work. So it must be more complex problem. I don't have a solution for this now.

Re: Modding the NFS Most Wanted 2012 PC soundtrack...

Posted: Tue Apr 12, 2016 1:23 pm
by SolidSonicTH
Fair enough. It's a more complete explanation for the failure than I had seen up to now.