thpsX

- => Questions & Tutorials => Topic started by: ewzzy on July 23, 2018, 07:25:32 pm

Title: Custom Soundtrack Help
Post by: ewzzy on July 23, 2018, 07:25:32 pm
I've been trying to port the soundtrack from Activision Anthology. I've followed the tutorial on the main page here on THPSX, but it just doesn't show up. Can anyone take a look at my files and see if there's something obvious I've screwed up?

https://drive.google.com/file/d/1BuTh-UO35YQQ3uRlp7U5y-FzYuI_wA2G/view?usp=sharing

I started with .m4a files, converted those to .wav, and then to .bik which seems to be the right procedure. I'm stumped.
Title: Re: Custom Soundtrack Help
Post by: thedodeman on July 23, 2018, 07:36:50 pm
You're missing commas after each track outside of the curly braces.
Code: [Select]
{
      "band": "Naked Eyes",
      "title": "Always Something There to Remind Me",
      "filename": "AlwaysSomething.bik",
      "genre": 0
    }   
Should have a comma at the end outside of the curly bracket:
Code: [Select]
{
      "band": "Naked Eyes",
      "title": "Always Something There to Remind Me",
      "filename": "AlwaysSomething.bik",
      "genre": 0
    },
Do this for ALL tracks except for the very last one:
Code: [Select]
{
      "band": "Kool Moe Dee",
      "title": "Wild Wild West",
      "filename": "WildWildWest.bik",
      "genre": 0
    } 
That doesn't need the comma.
See if that helps!
Title: Re: Custom Soundtrack Help
Post by: ewzzy on July 23, 2018, 08:54:08 pm
Thank you! That did help. The soundtrack is now selectable in the menus, but I've run into other problems. Now, the audio doesn't play and if I tell it to show playlist it crashes the game.
Title: Re: Custom Soundtrack Help
Post by: thedodeman on July 24, 2018, 12:45:39 pm
Do other soundtracks play OK ala the default THUG2 soundtrack?
Title: Re: Custom Soundtrack Help
Post by: ThAEm on July 27, 2018, 10:00:28 pm
You're not supposed to put the .bik extension in the "filename" field.
It should be "AlwaysSomething" not "AlwaysSomething.bik"
Title: Re: Custom Soundtrack Help
Post by: ewzzy on August 05, 2018, 10:57:55 pm
Thanks ThAEm! That was exactly what I was doing wrong.
Title: Re: Custom Soundtrack Help
Post by: ThAEm on August 05, 2018, 11:00:21 pm
Glad to Help!  :D