Map Database  •  FAQ  •  RSS  •  Login

WAV sounds

<<

The Dark Lord

User avatar

King Karolus Servant

Posts: 2154

Joined: 29 Aug 2007, 22:00

KaM Skill Level: Veteran

Location: In his dark thunderstormy castle

Post 08 Oct 2015, 14:35

WAV sounds

Hi,
I want to use original KaM sounds (a pikeman saying 'troop halt'), but these have .snd extensions. Usually I use some online convertor to get them to this dreadful .wav format, but .snd is not recognized by any online convertor and I'd rather not download a program to do this...
Any tips?
<<

Esthlos

User avatar

Knight

Posts: 676

Joined: 23 Jun 2013, 16:02

KaM Skill Level: Beginner

Post 08 Oct 2015, 16:00

Re: WAV sounds

Why can't you use KaM Remake's files? They're .wav files already...
Just when you think you know something, you have to look at it in another way, even though it may seem silly or wrong. You must try! - John Keating, "Dead Poets Society"
<<

Krom

User avatar

Knights Province Developer

Posts: 3280

Joined: 09 May 2006, 22:00

KaM Skill Level: Fair

Location: Russia

Post 08 Oct 2015, 16:52

Re: WAV sounds

Open them in hex editor and see if they are WAV in disguise (RIFF header) , if so - rename.
Knights Province at: http://www.knightsprovince.com
KaM Remake at: http://www.kamremake.com
Original MBWR/WR2/AFC/FVR tools at: http://krom.reveur.de
<<

The Dark Lord

User avatar

King Karolus Servant

Posts: 2154

Joined: 29 Aug 2007, 22:00

KaM Skill Level: Veteran

Location: In his dark thunderstormy castle

Post 08 Oct 2015, 16:53

Re: WAV sounds

Hmm, I checked the 'Sounds' folder, I figured that would be a logic place to stash sound files. :rolleyes:
I assumed KaM Remake just used the original TPR files but now I found them in data\sfx\. Thanks.

@Krom: I tried the renaming, but that makes the Remake crash :D
<<

Krom

User avatar

Knights Province Developer

Posts: 3280

Joined: 09 May 2006, 22:00

KaM Skill Level: Fair

Location: Russia

Post 08 Oct 2015, 17:06

Re: WAV sounds

Try renaming them to mp2.
IIRC snd music files were mp2 in some KaM versions.
Knights Province at: http://www.knightsprovince.com
KaM Remake at: http://www.kamremake.com
Original MBWR/WR2/AFC/FVR tools at: http://krom.reveur.de
<<

thibmo

User avatar

Council Member

Posts: 124

Joined: 03 Aug 2015, 09:12

KaM Skill Level: Skilled

Website: https://kp-wiki.org/

Location: the Netherlands

Post 10 Dec 2015, 10:28

Re: WAV sounds

Indeed they are .mp2 files.
And for the audiophiles/data geeks I exported a little bit of data on one of the files (Thanks Steve Daulton for this plugin).
It's of the word "serfs". :P

http://kp-wiki.org/OtherStuff/sample-data.html

All .mp2 files seem to all have the following start bytes: 0xFF 0xFD 0x20 0xC4 (start offset: 0)
Some fileformats have a small bit of text in the file header to identify them, these seem to not have that, yet these 4 seem to be the same on all the sound files I randomly picked from the sfx folder and it's sub-folders.
Could be to identify?
I think so as for MPEG that is: 0x00 0x00 0x01 0xB.. (start offset: 0)
~~ The magic wizard of PascalScriptus. ~~

KP-Wiki :
  • Information about Knights Province scripting ( unofficial )
  • Information about several hosting/server maintenance basics
  • Other random stuff

Return to “Dynamic Scripting”

Who is online

Users browsing this forum: No registered users and 11 guests