thpsX

- => Questions & Tutorials => Topic started by: DarksunMaster on April 24, 2020, 05:45:38 pm

Title: Help with the THUGPRO custom soundtrack!!!!!
Post by: DarksunMaster on April 24, 2020, 05:45:38 pm
Hi I'm new to THUGPRO, I made a custom soundtrack by following the instructions in THPSX tutorial: http: //thpsx.com/thugpro-0-6-0-6-custom-level-support/

follow the instructions on the page for the custom soundtrack, converting the files from mp3 to wav to bik, after modifying the .sound.json file from the example to add my music, following the instructions, when you finish modifying the file. sound.json, check it with the tutorial page: https: //jsonformatter.curiousconcept.com/

The page verified that my .sound.json was fine, I proceeded to place it in the THUGPRO directory and test it, when I enter the game I am going to search for my soundtrack, it does not appear in the THUGPRO soundtrack list, I think it is a problem of .sound.json and I check it again, the page verified that my .sound.json was fine again, couldn't find a solution

After searching the forum I found the following thread: http: //thpsx.com/forums/index.php? topic = 1081.0
in that thread I read the following: "The soundtrack usually doesn't show up if the folder name in the JSON doesn't match the actual folder.
Another common problem involves naming the JSON.After reading this I went to correct the names of my .sound.json, in case you want to know what my .sound.json is like and it goes:
Make sure it follows this naming convention: SoundtrackName.sound.json
Otherwise, the soundtrack won't generate "

After reading this, I went to correct my .sound.json names, in case you want to know what my .sound.json is like to help me out and have: https: //www.mediafire.com/file/ymozg32niuhbt5e/Crash_FM_Soundtrack . sound.json / file

so I went to rename the sound.json to match the music folder, then I went to try THUGPRO again and
My custom soundtrack did not appear, again I went to the forum I found the
following thread: http: //thpsx.com/forums/index.php? topic = 1115.0

in this thread I found that the names are too long, again modify my sound.json, then I went to try it, the unthinkable happened, now the game stopped working
after almost erasing the sound.json remove it and, by magic the THUGPRO


HELP




Title: Re: Help with the THUGPRO custom soundtrack!!!!!
Post by: ThAEm on April 28, 2020, 10:15:03 pm
Okay...

About the game crashing upon startup, that happens when the value in the "num_tracks" field exceeds the actual number of tracks in the JSON. Your file said it had 35 tracks when it really had 33. This should fix the crashing.

Also, some of these file names are way too long.
This is not good: "GTA 4 - Radio Broker - The Pistolas - Take It with a Kiss"
I recommend shortening it down to the artist or song name: "TakeItWithAKiss" or "ThePistolas"

Also, the song "Alone" by Alan Walker repeats twice. Be sure to watch out for repeaters. I think those can cause crashing, too.

Lastly, this doesn't have to do with the soundtrack, but you don't have to space out your links. It isn't like you're gonna get penalized for posting hyperlinks on this forum.