How to add new voice to Freelancer?
-
OK, i got it, here is error message
E:\FL\Scratch\Source\Client\Space\HUD_Comm.cpp(792) : *** WARNING: invalid MSG id (2646968651) for voice profile (0xb94b2a0d)
E:\FL\Scratch\Source\Client\Space\HUD_Comm.cpp(792) : *** WARNING: invalid MSG id (2788290508) for voice profile (0xb94b2a0d)
E:\FL\Scratch\Source\Client\Space\HUD_Comm.cpp(792) : *** WARNING: invalid MSG id (3196792583) for voice profile (0xb94b2a0d)
E:\FL\Scratch\Source\Client\Space\HUD_Comm.cpp(792) : *** WARNING: invalid MSG id (3045999552) for voice profile (0xb94b2a0d)
C:\work\builds\dalibs\dalibs-build\build\Src\WavLib\wavlib.cpp(32) : ERROR:General:StreamingSound: missing MP3 codec?
C:\work\builds\dalibs\dalibs-build\build\Src\WavLib\wavlib.cpp(32) : ERROR:General:StreamingSound: missing MP3 codec?
C:\work\builds\dalibs\dalibs-build\build\Src\WavLib\wavlib.cpp(32) : ERROR:General:StreamingSound: missing MP3 codec?i encode with lame mp3 im my vista system, but looks Freelancer cannot support lame mp3 or i make some mistake?
-
2646968651 = gcs_patrol_idhome_p_01+
2788290508 not found in vanilla FL nor in my mod
3196792583 = gcs_fidget_patrolsimple_01-
3045999552 not found in vanilla FL nor in my mod
0xb94b2a0d voice not found in  vanilla FL nor in my modHave you made a new voice file (voice, like pilot_c_ill_f01.utf etc, not the recordings) and it is not defined in voices_space_male.ini or voices_space_female.ini ??
2646968651 = gcs_patrol_idhome_p_01+ and
3196792583 = gcs_fidget_patrolsimple_01- are both used by many voices listed in voices_space_male.ini and voices_space_female.iniYour voice with hex hashcode 0xb94b2a0d is not recognised, it may be a spelling mistake if you did not make a new voice utf file?
-
PS - I believe your voice recordings must be .wavs, you can open mp3s exported from the utf files in Audacity, but you must then save them as .wavs before you import them into the utf file or FL can’t play them even though you can play them in UTF Edit.
As with music files, they can also be compressed easily by opening the .wavs in Sound Recorder then compressing them: - File… Properties… Convert Now… select MPEG Layer-3, 56kBit/s 24,000 Hz Stereo and save it again as .wav
But I am not sure if FL can play compressed sounds in utf file. It certainly can with music files.
-
first we need:
BINI or a other .ini editor
a .utf editor
a Crc-Tool
a recording programm
a .wav konverteri think the first 3 programms are available at the-starport
for the 2 last i have used the windows audio recorderSo… we want that new station say its name
so we need the following files:
DATA/Audio/voices_space_male.ini - here you can link sounds with stations
DATA/Audio/atc_leg_m01.utf - in this file are the sounds saved
DATA/Universe/Systems/st04/st04.ini - in tihs file are all objects of a system, here you can find the name of the objectso
First we look for the code of the station, by me st04_01_base
then we open the voices_space_male.ini to add the sound entryit looks like:
[Sound] msg = gcs_refer_base_ST04_01_base- <-- only edit the base name duration = 1.976304 <-- the duration of the sequence attenuation = -6 <--volume of the sound, in this way -6 then normal (?) Priority = -6 <-- priority of the sound, means which sound will be played first (?)
the duration should be so long like the song
Now to recording the sound
(windows audio recorder)
open the recorder and record
click to file –> attributes
thers is something with format
just choose “convert now” and edit the atributes like this in the code box22050kHz; 16-Bit; Mono 43kb/s ```Maybe it works with other atributes but i havn´t test it. ;) Now save it. Now we must only edit the .utf file. For this you must open the .utf file with the UTF editor. You can see a lot of numbers, but only use "add node" then you must search the node (usualy on the ground). Then rename the node, the new name is the code from the CRC-tool. Now import the recorded sound in the node. Save it and try it out. If i/you do everything right the station should be say its name. By problems oder questions… i´m here ;) I hope you can understand my english^^ sources: i belive all my sources are offline...
finish
-
@JONG
Sure, actually, i cant found a way to convert my wave to mp3 inside ACM wave on vista, thats why i download and install Lame ACM. ;D@Startrader
I think i done that. im copyed the code from pilot_f_leg_f01 when add my new one, like this:[Voice]
nickname = pilot_f_leg_newvoice
script = SC_FMHEAD_MOTION_WALLA_CASL_000LV_XA_%
script = SC_FMBODY_CHRB_IDLE_SMALL_000LV_XA_05[Sound]
msg = gcs_refer_base_decw01_01_base // now i know this is incorrect, thanks Startrader
duration = 1.587755
attenuation = -6
Priority = -6[Sound]
msg = gcs_refer_base_decw01_01_base- //add for test
duration = 1.587755
attenuation = -6
Priority = -6OK, now, when i delete “gcs_refer_base_decw01_01_base-”, NPC say “This is Alpha XX, im from”.
then i undo delete, NPC say “This is alpha XXX,” halt and a dialogue flash up and close. im not sure what mean of this.@Syd
Thanks for your tutorial, i will reconvert my new voice and encode with that code.The number of my voice total about 500/per people, so that must be a hard and long work, specially import and outport voice from utf file. i want a tool to batch process, now i have Cool Edit to help me creat the effcet and encode file, and now i need a tool to help me batch import file to utf file, but UTF edit but support batch, so have any else tool can help me to do that?
-
If your new voice is really pilot_f_leg_newvoice then the hashcode should be 2717666886 and 0xA1FC4E46
The hashcode of the error is 0xb94b2a0d so this error is not for the newvoice.
What other voices did you make?
Put them in CRC Tool and get their hashcodes to find which voice is giving the error messages.
Then it should be easy to fix by adding these 2 known messages to that voice’s utf file.
The two unknown messages must be new ones you made.
The message gcs_refer_base_decw01_01_base- gives hashcode 2580532107 (0x99CFCB8B) so this is not one of the unknown messages.
Sorry I can’t help more, but you now should be able to find the hashcodes yourself. Good luck.
-
If your new voice is really pilot_f_leg_newvoice then the hashcode should be 2717666886 and 0xA1FC4E46
The hashcode of the error is 0xb94b2a0d so this error is not for the newvoice.
What other voices did you make?
Put them in CRC Tool and get their hashcodes to find which voice is giving the error messages.
Then it should be easy to fix by adding these 2 known messages to that voice’s utf file.
Hi, StarTrader, pilot_f_leg_newvoice is the voice file for test, sorry but never mind about that.
im planing and working on make all the new voice for coalition, so that is a large project to us, we have 2-5 player want to join the team to help us recording new voice.
here is a test video, and the voice not english, sorry about this.
http://www.youtube.com/v/M4p_cK3x1ws
unfortunately i dont known how to decode utf file, im a program newbie, so looks i need take some time for this, thanks for your help.