Every now and then a post [question] is received about how to modify the audio navigation. I did it today on my 2.4 after a lot of misses. I ran a simulated trip using my modification and all was well. Here's how I did it.
1. I created a new folder on my computer called "voice".
2. I copied/pasted the voice I was using from content\voice to that new folder.
3. Inside the unzipped voice from content\voice is a folder called "config".
4. Opened up config folder and found config_transform_tables.lua
5. Copied/pasted that file to the new voice folder.
6. Opened up that file using Notepad. But Notepad wouldn't let me make the changes and update the file.
7. Years ago, I made verbal changes to iGO8 that were made using "Textpad" because Notepad didn't work. Thus the link to version 5 of Textpad. FYI, it's shareware.
[Only registered and activated users can see links. ]
8. Using Textpad, I made the necessary modifications. Save the file.
9. In the new voice folder, I unzipped the voice from content\voice to config_transform_tables.lua and deleted that file.
10. Copied\pasted the modified config_transform_tables.lua file back to the zipped voice from content\voice.
11. Went back to the program and deleted the voice from content\voice.
12. Copied/pasted the modified voice from the new voice folder to content\voice.
WORD OF ADVICE! MAKE A BACKUP OF THE VOICE YOU'RE CHANGING FIRST - JUST IN CASE. Here's a copy of the config_transform_table.lua that I modified. The first 13 are what I modified. Notice that they are at the beginning of the file. It seems that any other place breaks the format and no more TTS.
[Only registered and activated users can see links. ]
Last edited by chas521; 26th November 2015 at 04:52 PM.
I made a few changes in post #1 config file. Suggest you download the new file.
A few notes about things I recently found out about Primo voices:
1. You can use Loquendo 6 *and* Loquendo 7 voices with newer versions of 2.4 (confirmed with 351648 and 405512). To use Loquendo 6 voices, just comment out the "tts_engine=" line in the info.ini file in the voice - and it will work fine with Loquendo 7 TTS drivers. This is somewhat significant because the Loquendo 6 voices are a lot easier to customize. So Loquendo 7 works with both version 6 and version 7 voice files!
2. When I modify anything in a voice file, I don't extract or re-archive anything. I simply open the voice file in WinRAR 5.01 and then open the file I want to edit with Wordpad (by double-clicking the file in WinRAR). I can then edit the file all that I want and save it in Wordpad when done. WinRAR will ask if you want to update the archive - just say yes and everything will work as expected. The only "gotcha" here is that if the file you want to edit has an extension and Wordpad is not the default app for the file type you want to edit, there is no way to tell WinRAR to open the file in Wordpad. So, I just set Wordpad as the default app (at least temporarily) and then all is well. Makes it VERY easy to edit voice files.
Just a few tips to add on to what was mentioned in the OP...
Sent from my HP SlateBook 10 x2 PC using Tapatalk
A trick to open any file without .rar extension via WinRAR is to first double click on a .rar file then navigate to parent directory (double click on ..) and double click on a file you want to open. If the file is in the format readable by WinRAR, it will open it.
I did not know that WinRAR 5.01 will not corrupt iGO .zip file, I've been safely using 3.93 forever and it works perfectly every time.
Notepad++ works great for me.
`Dictionary.lang` (found in language files) and most of files found in TTS voice zip files are UTF-16 LE (Unicode Transformation Format - 16-bit Little Endian) encoded. Before you edit this files you should check that your editor preserves that.
Another thing that editor should preserve is BOM section of file (BOM - byte order mark).
O good editor choice is `PSPad` editor ( freeware ).
Using this tool:
- open file that you want to edit and after that verify in "Format" menu that UTF-16 LE option is checked.
- then goto `Settings -> Program Settings -> select `Program (part2)` option on left side -> verify `Ident bytes in UTF-8 encoding` option on right side of dialog box - it should be checked.
Now you can save edited file without corrupting it.
Last edited by Titanos; 27th February 2016 at 05:55 AM.
Bookmarks