fodev.net
FOnline Development => Questions and Answers => Topic started by: Zinthos on April 23, 2015, 06:40:34 pm
-
hi there
i want to convert a .wav file to .acm, but in the game, the quality is lowered and it seem to be 2x slower when played.
i tried everything, many converter programs but it still not working properly. if anyone could help me out it would be much appreciated.
thanks
the file i want to convert: http://www.solidfiles.com/d/6715b16c72/hitmarker.wav
name of acm: IACCUXX1.acm
-
Why, though? The engine should handle wav, mp3, etc without problems.
-
Probably client mod
-
yes, i want it as a client mod. i tried in wav and ogg format too, but it doesnt work. im gonna try with mp3 soon.
perhaps its been fixed for now but i want to use it for FO Reloaded, which using ancient revision.
-
yes, i want it as a client mod. i tried in wav and ogg format too, but it doesnt work. im gonna try with mp3 soon.
perhaps its been fixed for now but i want to use it for FO Reloaded, which using ancient revision.
It won't work because the whole filename must be the same so it has to be IACCUXX1.acm not IACCUXX1.ogg.
Maybe try to rename ogg to acm in theory it could work if engine detects the format by file header not extension.
No idea if that's the case.
-
I dont think there's a way around it and I dont know if newer revisions handle it differently, but it seems that the game simply plays acm files at a very low samplerate so you have to account for that when making the file. I don't remember the specifics anymore but trying to play .acm files with a winamp plugin always plays it in a higher samplerate than fonline does so you have to fix that with audacity or a similar program.
-
If I remember correct, then there should be an acm tool for the game planescape torment. That one always worked for me. Could also have been some infinity engine thing... But I am really not sure. Last time I used it must have been like 10 or so years ago.
-
so how can i make it work then?
-
http://www.fonline-aop.net/nigerianprince/SND2ACM.EXE (http://www.fonline-aop.net/nigerianprince/SND2ACM.EXE)
Open Command Prompt
Navigate to exe
SND2ACM.EXE -WAV 1milliondollar.wav depositbank.acm
-
http://www.fonline-aop.net/nigerianprince/SND2ACM.EXE (http://www.fonline-aop.net/nigerianprince/SND2ACM.EXE)
Open Command Prompt
Navigate to exe
SND2ACM.EXE -WAV 1milliondollar.wav depositbank.acm
yeah, this is the tool i used first and the problem still occurs
-
Have you tried with different parameters? Check your source files bitrate.
Sound to ACM converter v1.0 beta (c) 2000-2001 ABel [TeamX]
Usage: snd2acm [-snd_type] snd_file_name acm_file_name [-q0 | -q percents]
snd_type can be used to specify the sound file format:
-8 8-bit raw PCM sound
-16 16-bit raw PCM file
-ACM ACM file
-WAV WAV file
Options:
-q percents limits the output file length by this percent of input
length, sould be between 1 and 100 (default is 50%).
-q0 unconstrained output file length.
-
I have been using the infinity sound converter which works, but has the samplerate issue so you just gotta make sure you have the right samplerate in the source file.