How to add new voice to Freelancer?
-
You cannot just define the message, it must exist in the voice files. (DATA\AUDIO\xxx.utf)
So you must record a new message and add it into the voice files for each character which will speak it…
Here’s a couple of tutorials…
1. http://forums.seriouszone.com/showthread.php?t=55735
2. http://forums.seriouszone.com/showthread.php?t=55152Note - you must add a hyphen ‘-’ after the name in the definition, so your example should be gcs_refer_system_Li07-
And you must add the definition to every voice section in the ini files which will use it. The duration is how long it will take for the message to be spoken, if it’s too short then the next message will start early and cut it off, if it’s too long there will be a pause before the next message.To keep things simple for myself I made just 2 new messages from bits of existing ones (many voices - males, females & robot), gcs_refer_system_New_System- for all my new systems, which says “New Systems” and gcs_refer_base_New_Base- for all my new bases, which says “Border Patrol”. When a ship is going to one of my new systems, it will say “We’re going to the New Systems”, and when any of my new bases challenge approaching ships they say “This is Border Patrol, identify yourself” etc.
Make up your own, have fun, it takes hours! Get some friends round to record their voices! Have a party while you’re at it, its a real girl-puller! ;D
-
You cannot just define the message, it must exist in the voice files. (DATA\AUDIO\xxx.utf)
So you must record a new message and add it into the voice files for each character which will speak it…
Here’s a couple of tutorials…
1. http://forums.seriouszone.com/showthread.php?t=55735
2. http://forums.seriouszone.com/showthread.php?t=55152Note - you must add a hyphen ‘-’ after the name in the definition, so your example should be gcs_refer_system_Li07-
And you must add the definition to every voice section in the ini files which will use it. The duration is how long it will take for the message to be spoken, if it’s too short then the next message will start early and cut it off, if it’s too long there will be a pause before the next message.To keep things simple for myself I made just 2 new messages from bits of existing ones (many voices - males, females & robot), gcs_refer_system_New_System- for all my new systems, which says “New Systems” and gcs_refer_base_New_Base- for all my new bases, which says “Border Patrol”. When a ship is going to one of my new systems, it will say “We’re going to the New Systems”, and when any of my new bases challenge approaching ships they say “This is Border Patrol, identify yourself” etc.
Make up your own, have fun, it takes hours! Get some friends round to record their voices! Have a party while you’re at it, its a real girl-puller! ;D
Hi StarTrader, Thanks a lot. I remember i have read that tutorial some where, but i lost all url in my favorites ;D.
And, i already add all voice to utf file(a new utf file, created with UTF Editor), and hash node name, like ‘gcs_refer_system_Li07’(0xBB906D03) and ‘gcs_refer_system_Li07-’(0xB0757F8F), but npc still NoWords.
Sorry for my poor english.
-
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.