Search Archive

A little fun..........

By N-S-E-W · Dec 04, 2008in Hacks/Mods💬 29 posts👁️ 7,097 views
Page 1 of 2
Posted Dec 04, 2008 · 03:31 UTC#1

Excuse me if something like this has been posted.

 

I was searching through the voice files and came across the info.ini file in Voice_TTS-nua-eng-us-f1.zip folder.

 

Within the file the following line appears:

testsound="Have a nice trip, drive carefully."

Just for kicks I changed it read:

testsound="Yo big mama, have a nice trip, and remember to always drive carefully and expect the unexpected."

It worked!! The much hated Samatha read the line perfectly. Didn't try to add any swear words but thought it was cool nonetheless.

Posted Dec 04, 2008 · 03:35 UTC#2

Hahaha, that's awesome. You know, that could possibly be used for a hack...

 

Is it possible to write a script to work upon start up? It'd be pretty cool to manipulate that code and make it give a Welcome message. "Welcome Mr. Doe"

Posted Dec 04, 2008 · 03:44 UTC#3

It would be cool if someone were able to. Unfortunately I have no programming skills nor work in the computer industry. The little things I've done to my unit was from reading this forum and going over the parts that interest my over and over until I felt comfortable to play around. The changes I made I applied a little at a time so I would be able to easily reverse what caused problems.

 

I did copy my flash disk as a fall back, but haven't had to resort to it.

 

The real heroes in this forum are the programmers who have aided in helping out so very many people.

Posted Nov 20, 2009 · 22:47 UTC#4
It would be cool if someone were able to. Unfortunately I have no programming skills nor work in the computer industry. The little things I've done to my unit was from reading this forum and going over the parts that interest my over and over until I felt comfortable to play around. The changes I made I applied a little at a time so I would be able to easily reverse what caused problems.

 

I did copy my flash disk as a fall back, but haven't had to resort to it.

 

The real heroes in this forum are the programmers who have aided in helping out so very many people.

 

I'm bringing this thread back from the dead.

 

I've been working on this the last few days and so far what I figured out is we need to have a valid setting in sys.txt to be able to add a welcome message.

 

Here's a start that did not work

In sys.txt

[sound.announcer]

gps_signal_connected=1

 

In the ttx file

gps_signal_connected="Welcome Mister Jim Shoe"

 

If someone has the ability ro decompile the ezrider maybe they can find a valid command regarding a connected gps signal..

Posted Nov 21, 2009 · 00:14 UTC#5
I'm bringing this thread back from the dead.

 

I've been working on this the last few days and so far what I figured out is we need to have a valid setting in sys.txt to be able to add a welcome message.

 

Here's a start that did not work

In sys.txt

[sound.announcer]

gps_signal_connected=1

 

In the ttx file

gps_signal_connected="Welcome Mister Jim Shoe"

 

If someone has the ability ro decompile the ezrider maybe they can find a valid command regarding a connected gps signal..

 

I'm not sure if there's an announceable event on specifically acquiring the signal (since this is assumed to be the normal operating condition.

http://forum.ppcwarez.org/viewtopic.php?f=277&t=54015 only lists gps_disconnected=1 and gps_signal_lost=1.

 

Although... you probably could use a watch on gps status in one of UI files (probably start.ui or something like that that is always loaded) to do PLAYSOUND command on gps status change...

Posted Nov 21, 2009 · 00:27 UTC#6
I'm bringing this thread back from the dead.

 

I've been working on this the last few days and so far what I figured out is we need to have a valid setting in sys.txt to be able to add a welcome message.

 

Here's a start that did not work

In sys.txt

[sound.announcer]

gps_signal_connected=1

 

In the ttx file

gps_signal_connected="Welcome Mister Jim Shoe"

 

If someone has the ability ro decompile the ezrider maybe they can find a valid command regarding a connected gps signal..

 

I'm not sure if there's an announceable event on specifically acquiring the signal (since this is assumed to be the normal operating condition.

http://forum.ppcwarez.org/viewtopic.php?f=277&t=54015 only lists gps_disconnected=1 and gps_signal_lost=1.

 

Although... you probably could use a watch on gps status in one of UI files (probably start.ui or something like that that is always loaded) to do PLAYSOUND command on gps status change...

 

how about adding a script in the start .ui, something like

runif gps.valid "playsound"

just make sure that it would only execute once once

Posted Nov 21, 2009 · 00:52 UTC#7

Thanks for the ideas Boris & IDT. We might be able to tie a script to a .oog file to have some crazy homer simpson saying or anything else. It'll need to be somewhat generic since it can be publicly distributed in data.zips.

 

BTW - My head is spinning from looking at all those entries in the link for sys.txt settings. WOW

Posted Dec 06, 2009 · 20:25 UTC#8

Finally got around to this today.

 

In the start.ui file in the section, I added playsound "welcome"

I also added an oog file of a couple of Homer Simpson sayings in the audio folder. The oog file plays immediately after the startup message goes away. Be sure that the file name without extension is the same that's in quotation marks after playsound.

 

EDIT****12/8 to show in script form how it's formatted in my file. The playsound is added after the tag

 


Posted Dec 06, 2009 · 21:54 UTC#9
Finally got around to this today.

 

In the start.ui file in the section, I added playsound "welcome"

I also added an oog file of a couple of Homer Simpson sayings in the audio folder. The oog file plays immediately after the startup message goes away. Be sure that the file name without extension is the same that's in quotation marks after playsound.

 

good job,

Posted Dec 06, 2009 · 22:21 UTC#10
Finally got around to this today.

 

In the start.ui file in the section, I added playsound "welcome"

I also added an oog file of a couple of Homer Simpson sayings in the audio folder. The oog file plays immediately after the startup message goes away. Be sure that the file name without extension is the same that's in quotation marks after playsound.

 

good job,

 

Thanks, IDT.

 

It's actually pretty funny. Here's the oog file I merged together for the message. As the title says........a little fun.

welcome message.zip

Posted Dec 06, 2009 · 22:29 UTC#11

Thanks, IDT.

 

It's actually pretty funny. Here's the oog file I merged together for the message. As the title says........a little fun.

 

here's a suggestion, how about having an on/off setting for it?

Posted Dec 06, 2009 · 22:34 UTC#12

Thanks, IDT.

 

It's actually pretty funny. Here's the oog file I merged together for the message. As the title says........a little fun.

 

here's a suggestion, how about having an on/off setting for it?

 

Good suggestion, but I'm okay with it as is for now. It only comes on at initial boot up. With the 500, I use standby a lot, so it does not need to boot up every time I go somewhere..

Posted Dec 06, 2009 · 22:49 UTC#13

 

Good suggestion, but I'm okay with it as is for now. It only comes on at initial boot up. With the 500, I use standby a lot, so it does not need to boot up every time I go somewhere..

 

i think i'll include this on skin 3 with a setting to select different welcome greetings

Posted Dec 06, 2009 · 22:59 UTC#14

 

Good suggestion, but I'm okay with it as is for now. It only comes on at initial boot up. With the 500, I use standby a lot, so it does not need to boot up every time I go somewhere..

 

i think i'll include this on skin 3 with a setting to select different welcome greetings

 

Go for it. What did you think of the oog I put in? I did edit out my last name before posting. Didn't want everyone to hear Mr. Smith so I took Smith out.

Posted Dec 06, 2009 · 23:00 UTC#15

 

Go for it. What did you think of the oog I put in? I did edit out my last name before posting. Didn't want everyone to hear Mr. Smith so I took Smith out.

 

was not able to download it as internet connection here at work is very limited, i'll check it out when i get home

Posted Dec 06, 2009 · 23:02 UTC#16

 

Go for it. What did you think of the oog I put in? I did edit out my last name before posting. Didn't want everyone to hear Mr. Smith so I took Smith out.

 

was not able to download it as internet connection here at work is very limited, i'll check it out when i get home

 

Did you get your unit?

Posted Dec 06, 2009 · 23:50 UTC#17

 

Did you get your unit?

 

unit should be arriving tomorrow

Posted Dec 07, 2009 · 18:06 UTC#18

That ogg file was damn funny!

 

Please post the code you put in your start.ui file.

 

Here is what I put in my info.ini file. I am going to put it in today and try it.

 

[iNFO]

;TTS Nuance

voicekey="tts_nua_eng_us_f1"

languagekey="english US"

languagename="English (US)"

lang_extention_flag=""

cmlangkey="Voice_English-us"

sex="female"

name="Samantha (TTS) v1.87082"

flag="flag_usa.bmp"

testsound="Kiss loves you, rock and roll."

unitssup_kmm=1

unitssup_mly=1

unitssup_mlf=1

tmcsup=1

tts_destnames=1

phoneme_lang="ENU"

tts_engine="nuance"

ttsvoice=1

tts_rate=50

tts_srate="11025"

;11025, 16000, 22050

tts_mode_mixed=0

roadnameparsing=-1

tts_langname="American English"

tts_voicename="Samantha"

recalulate="You're not listening to me."

ask_recalulate="Off route! Recalculate?"

offroute="Off route!"

traffic_jam="Traffic jam ahead."

overspeed="You're driving too fast, slow down."

gps_signal_lost="GPS signal lost."

gps_disconnect="GPS disconnected."

LCID=0x0409

brand="Pioneer"

timestamp="1240483308"

timestamp_readable="2009. 04. 23. 10:41:48"

Posted Dec 07, 2009 · 22:15 UTC#19
That ogg file was damn funny!

 

Please post the code you put in your start.ui file.

 

uh..I already did. Go back up seven or eight posts and re-read where I mentioned in start.ui........

 

I won't post what's in my info.ini, but put this way when I picked up my 30 year old niece from downtown Chicago last weekend, she nearly peed in her pants when it re-calculated. She wanted me to put it her her Garmin. Sorry no can do, hun. ha ha

Posted Dec 08, 2009 · 06:32 UTC#20
That ogg file was damn funny!

 

Please post the code you put in your start.ui file.

 

uh..I already did. Go back up seven or eight posts and re-read where I mentioned in start.ui........

 

I won't post what's in my info.ini, but put this way when I picked up my 30 year old niece from downtown Chicago last weekend, she nearly peed in her pants when it re-calculated. She wanted me to put it her her Garmin. Sorry no can do, hun. ha ha

 

I saw the below info, but don't know how I forgot about it. I must have been tired. Sorry about that.

In the start.ui file in the section, I added playsound "welcome"

 

Did you put the playsound command inside the

 

I will try it out.

 

I am going to change my test sound. Maybe to something like Is this loud enough yet. What are you deaf?

The Kiss was just not cutting it.

I can't have anything vulgar because my wife and 5 year old son are with me very often.

 

I changed my recalulate to "Dave, You're not listening to me." (my first name is Dave, actually David)

Posted Dec 08, 2009 · 22:28 UTC#21
That ogg file was damn funny!

 

Please post the code you put in your start.ui file.

 

uh..I already did. Go back up seven or eight posts and re-read where I mentioned in start.ui........

 

I won't post what's in my info.ini, but put this way when I picked up my 30 year old niece from downtown Chicago last weekend, she nearly peed in her pants when it re-calculated. She wanted me to put it her her Garmin. Sorry no can do, hun. ha ha

 

I saw the below info, but don't know how I forgot about it. I must have been tired. Sorry about that.

In the start.ui file in the section, I added playsound "welcome"

 

Did you put the playsound command inside the

 

I updated the post on page one. To answer your question, add the playsound stuff after the

 


 

Hope it's clearer to you now.

Posted Dec 08, 2009 · 23:41 UTC#22
I updated the post on page one. To answer your question, add the playsound stuff after the

 

Hope it's clearer to you now.

 

Perfectly clear and very easy. Thanks once again.

 

Now I just have to find something I like for my startup, or make my own. I was thinking of putting a reminder to get my cell phone because I am not a big talker so I sometimes forget it, but I do need it for my business.

Posted Dec 10, 2009 · 11:50 UTC#23

Is there anyway to have Samantha say "have a nice trip..." when you put in a route??? I got everything else to work... But its just kind of lame to have to go to testsound to hear "have a nice trip, drive carefully".... My handheld navi would say this everytime I put in a destination. Can this be done with out Avics?

Posted Dec 11, 2009 · 01:07 UTC#24
Is there anyway to have Samantha say "have a nice trip..." when you put in a route??? I got everything else to work... But its just kind of lame to have to go to testsound to hear "have a nice trip, drive carefully".... My handheld navi would say this everytime I put in a destination. Can this be done with out Avics?

 

Well of course it can. I had to play with it a little to get it in the zip in the right script.

 

Here's what I did, in the navigatemap.ui file located in the common ui folder. Find this section and add 20 VOICEMODEL_PLAYTESTVOICE. Here it is my file:

 

	

 

Then in route.ui add the same 20 VOICEMODEL_PLAYTESTVOICE script in the section below:

 


 

I've only done limited testing on this but the first one in the navigate.ui file is triggered when you set a route in plan mode either through a direct address input, poi selection, history selection or favorite selection.

 

The addition to the route.ui file is for a route selection through the load route button in the route menu. These would be the saved routes if you have any. The 20 before the play sound is just a delay. Use a larger number if want to delay it more or a lesser number or none at all for less of a delay.

 

Mind you, my zip is based on stanislovovich/anrd2000 zip for 3.0 and above. If you're not running their zip or one based on theirs you may not have the same scripts.

Posted Dec 12, 2009 · 05:05 UTC#25

It works but if it goes through a route recalculation, it no longer says "route recalculation" just "have a nice trip" again.

Page 1 of 2