THPS HD - Community Project: Let's make the game GOOD!

THPS HD discussions can go here, about modding, or what ever you want
%.gone.
Global Moderator
Posts: 373
Joined: Sun Mar 07, 2010 5:12 pm

Re: THPS HD - Community Project: Let's make the game GOOD!

Postby %.gone. » Tue Sep 25, 2012 4:11 pm

Nice work coolsnake glad you got it all figured out.

User avatar
Demo
VIP
Posts: 279
Joined: Thu Aug 25, 2011 5:54 am
Contact:

Re: THPS HD - Community Project: Let's make the game GOOD!

Postby Demo » Tue Sep 25, 2012 4:19 pm

does anyone know the codec which can play thpshd wav files known as wems?

%.gone.
Global Moderator
Posts: 373
Joined: Sun Mar 07, 2010 5:12 pm

Re: THPS HD - Community Project: Let's make the game GOOD!

Postby %.gone. » Tue Sep 25, 2012 4:23 pm

Demo wrote:does anyone know the codec which can play thpshd wav files known as wems?

I've yet to find a codec that can play them successfully.

Anteara
VIP
Posts: 27
Joined: Wed Oct 13, 2010 3:32 pm

Re: THPS HD - Community Project: Let's make the game GOOD!

Postby Anteara » Wed Sep 26, 2012 4:45 am

I've noticed something else, not sure if it's just me; but is it really hard to manual? Like, your first manual... easy... second manual... fine... then third manual and onward its like the equivalent of manualing 50 times in one combo in THUG2. It's just hard to keep balance.

Barti
Posts: 8
Joined: Wed Sep 26, 2012 7:17 am

Re: THPS HD - Community Project: Let's make the game GOOD!

Postby Barti » Wed Sep 26, 2012 7:26 am

Demo wrote:does anyone know the codec which can play thpshd wav files known as wems?

I don't know a codec which can directly play them, but here's how to convert them to wav:

1. Open the file in a hex editor
2. Go to offset 14 in hex (or 20 in decimal)
3. Change FEFF to 0100
4. Save as WAV
5. Enjoy

You can also put your own tracks in the game by opening your WAV file, changing the two bytes from 0100 to FEFF and inserting the 14 bytes beginning with JUNK from a wem file before the "data" string in your file. (if you don't put the JUNK data in the file, the game will just attempt to play it and crash)
Last edited by Barti on Wed Sep 26, 2012 11:23 am, edited 1 time in total.

coolsnake
VIP
Posts: 54
Joined: Mon Dec 12, 2011 11:36 am

Re: THPS HD - Community Project: Let's make the game GOOD!

Postby coolsnake » Wed Sep 26, 2012 9:34 am

Demo wrote:does anyone know the codec which can play thpshd wav files known as wems?

Check this thread out.
http://forum.xentax.com/viewtopic.php?f ... 2&start=15

It only converts about a third of the wems in CookedPCConsole folder but It converts nearly all of those in the bnk container format.
My converterted THUG2 PS2 parks to PC
Thanks to THPSX twitter account for converting. Contains tons of parks from Evil God, A couple from me (Beryllium, Belgian Prison), KSK Rooftops 2 and 3, Vex-Middle East, Verty Hollow from Mike, Ruin Cap etc...

User avatar
Demo
VIP
Posts: 279
Joined: Thu Aug 25, 2011 5:54 am
Contact:

Re: THPS HD - Community Project: Let's make the game GOOD!

Postby Demo » Wed Sep 26, 2012 10:28 am

Barti wrote:3. Change FEFF to 0100

*facepalm*
i thought it's smth different than plain PCM.
yet offset is 14 and not 20d.
great way, just invert 0100 lol
0100
FEFF
thanks barti

Net_Bastard
Posts: 7
Joined: Sat Sep 22, 2012 4:28 pm

Re: THPS HD - Community Project: Let's make the game GOOD!

Postby Net_Bastard » Wed Sep 26, 2012 12:15 pm

Anteara wrote:I've noticed something else, not sure if it's just me; but is it really hard to manual? Like, your first manual... easy... second manual... fine... then third manual and onward its like the equivalent of manualing 50 times in one combo in THUG2. It's just hard to keep balance.



I noticed that as well. I have maxed manual stats and I still get that.

ndaoud540
Posts: 3
Joined: Wed Sep 26, 2012 9:33 pm

Re: THPS HD - Community Project: Let's make the game GOOD!

Postby ndaoud540 » Thu Sep 27, 2012 12:49 pm

Barti wrote:
Demo wrote:does anyone know the codec which can play thpshd wav files known as wems?

I don't know a codec which can directly play them, but here's how to convert them to wav:

1. Open the file in a hex editor
2. Go to offset 14 in hex (or 20 in decimal)
3. Change FEFF to 0100
4. Save as WAV
5. Enjoy

You can also put your own tracks in the game by opening your WAV file, changing the two bytes from 0100 to FEFF and inserting the 14 bytes beginning with JUNK from a wem file before the "data" string in your file. (if you don't put the JUNK data in the file, the game will just attempt to play it and crash)


Can you add more songs or just replace the current songs with yours?

Barti
Posts: 8
Joined: Wed Sep 26, 2012 7:17 am

Re: THPS HD - Community Project: Let's make the game GOOD!

Postby Barti » Fri Sep 28, 2012 5:25 am

ndaoud540 wrote:Can you add more songs or just replace the current songs with yours?

I've only tried replacing the current songs, adding more songs would probably involve changing the .upk files but I had a quick look at them with UE Explorer and couldn't find any reference to the filenames.
On a sidenote, you also have to include the extra data from the wem's fmt chunk because without it the song is much quieter and the pitch is very low for stereo songs. After including the fmt extra data and the JUNK data, the byte at offset 28 in hex has to be set to 04 for mono songs and 03 for stereo songs, otherwise the pitch will be still wrong.


Return to “THPS HD”

Who is online

Users browsing this forum: No registered users and 1 guest