Author Topic: How to convert wav to acm audio files without getting the truncated error ?  (Read 12324 times)

Offline NarrowMinded

  • To survive we must technofy and save the biosphere
Notes :I saw the post of Lexx on NMA saying that the best thing that worked for him was the infinity sound converter. But when I tried to install it I noticed that it's not a converter by itself and that it is still using the snd2acm converter made by ABel in the TeamX. ( correct me if I am wrong)

7 years ago I used this software and I did not need to do anything, it just worked properly.

But now everytime I try to convert a wav file to acm I get this truncated error.

I lowered the sample rate by using audacity to fit into -32768 and 32767. I've put it to 22050 HZ as recommended and also exported the file in 16bits wav format and it's still not working.

I highly suspected the snd2acm converters programs to be corrupted, that's why I tried with different versions : 2000-2001 and 2001-2003.

I don't know how to solve this problem by myself...I need your help

I managed to not get any errors by playing with audacity and trying a lot of combinations, but my files are still slower than the original files
« Last Edit: September 01, 2018, 02:50:09 pm by NarrowMinded »
Go ahead, make my day.

Offline Ghosthack

  • Rotator
  • Bytecruncher
Re: How to convert wav to acm audio files without getting the truncated error ?
« Reply #1 on: September 01, 2018, 06:36:45 pm »
Lexx said he didn't know/remember. My advice is to ask here http://nma-fallout.com/forums/fallout-general-modding.18/ those guys are a lot more familiar with those old tools. Maybe you can search the forum and find some old info too.

Re: How to convert wav to acm audio files without getting the truncated error ?
« Reply #2 on: September 02, 2018, 12:27:48 pm »
First question here is:
Why you want to convert it. FOnline engine supports also wav and ogg sound file formats.

Offline NarrowMinded

  • To survive we must technofy and save the biosphere
Re: How to convert wav to acm audio files without getting the truncated error ?
« Reply #3 on: September 03, 2018, 02:16:16 am »
I managed to do it. For those who are interested, you need to increase the speed rate of your sound files by 2 using a software like audacity before you try to convert them to ACM since the problem was that my audio files were played two times slower; and ignore the warning concerning the truncated error since it's not doing anything.

I think the problem was related to the ACM player which is known to have an incredibly high reading speed of 705 kb/s.

I tried what you wrote remake but it's not working at all since I wanted to use my musics on servers created by other people !!
And I guess the names and type of files associated with the different game locations is server sided.
By converting the files like I am doing I can play servers like Requiem, Reloaded or FOnline 2 and put my own songs everywhere I want. I hope I answered your "first" question :D

Thanks Ghosthack and thanks remake.

« Last Edit: September 03, 2018, 02:18:42 am by NarrowMinded »
Go ahead, make my day.

Offline Lexx

  • Rotator
  • Mexican Apple Thief
Re: How to convert wav to acm audio files without getting the truncated error ?
« Reply #4 on: September 04, 2018, 05:11:27 pm »
I'm pretty sure the audio speed issue is from you saving the file with the wrong Hz frequency. I haven't done this stuff in years, and even then only needed it for two or three files, so I don't remember the correct sample rate and shit.

Maradon

  • Guest
Very good knowledge, very good.

Experience lightning-fast reading speeds of up to 705 kb/s with the renowned ACM player. However, it appears that this may have caused the issue at hand.