Important information: this site is currently scheduled to go offline indefinitely by December 1st 2023.
If you wish to donate to attempt the preservation of tools and software somewhere else before it goes down, check the GoFundMe

Modding the NFS Most Wanted 2012 PC soundtrack...

Get help on any and all audio formats, or chip in and help others!
Post Reply
SolidSonicTH
ultra-n00b
Posts: 4
Joined: Sun Apr 10, 2016 11:34 pm

Modding the NFS Most Wanted 2012 PC soundtrack...

Post 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?
daemon1
MEGAVETERAN
MEGAVETERAN
Posts: 2649
Joined: Tue Mar 24, 2015 8:12 pm
Has thanked: 65 times
Been thanked: 4445 times

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

Post by daemon1 »

Can you upload .SPS example? They are probably 6-channel, and I don't think ealayer3 is capable of encoding such files.
SolidSonicTH
ultra-n00b
Posts: 4
Joined: Sun Apr 10, 2016 11:34 pm

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

Post by SolidSonicTH »

Sure. Thanks for replying.

I'll try to do it when I get home (at the office right now).
SolidSonicTH
ultra-n00b
Posts: 4
Joined: Sun Apr 10, 2016 11:34 pm

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

Post by SolidSonicTH »

Here, this is a sample .SPS song file from the game. Hope it can be useful.
daemon1
MEGAVETERAN
MEGAVETERAN
Posts: 2649
Joined: Tue Mar 24, 2015 8:12 pm
Has thanked: 65 times
Been thanked: 4445 times

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

Post by daemon1 »

Well, thats normal stereo track in header-b format. Let me see what I can do here.
daemon1
MEGAVETERAN
MEGAVETERAN
Posts: 2649
Joined: Tue Mar 24, 2015 8:12 pm
Has thanked: 65 times
Been thanked: 4445 times

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

Post 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.
SolidSonicTH
ultra-n00b
Posts: 4
Joined: Sun Apr 10, 2016 11:34 pm

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

Post by SolidSonicTH »

Fair enough. It's a more complete explanation for the failure than I had seen up to now.
Post Reply