PDA

View Full Version : StartupAnimation - Doesn't play the .WAV file


FInixNOver
23-10-2007, 04:15 PM
To anyone who may be able to help me with this:

I'm using PDAViet 3.00.07.20, and i'm working my way in cooking it to match my preferences.
I've converted default.hv and user.hv to .RGU files so i can change some reg entrys (to add/remove apps/preferences - also editing Initflashfiles.dat). Made some changes, saved in Unicode format, and converted back to .HV files. Created the OS.NBH (well, all the right steps to have a rom ready to be flashed into the device).

Once the flashing is finished, i boot the device and stumbled upon a problem:
- The startup animation runs ok but there's no sound. I hear the speaker go ON with some background noise, but no .WAV file is actually played.

NOTE:
When i first converted the default.hv to defalt.rgu, these were the values i encountered:
[HKEY_LOCAL_MACHINE\SOFTWARE\HTC\StartupAnimation]
"Volumn"=dword:0
"WAVFile"=“\\Windows\\Startup_sounds.wav”
"GIFFile"="\\Windows\\HTC Black.gif"
"Enabled"=dword:1


At first i thought it was because the entry "Volumn" was equal to 0, so it would be normal if there was no sound, but i changed it to 22, 35(advices from a friend), and 4555(i got this value when searching for an answer to this problem - i don't really remember in which thread), but the result was always the same - NO SOUND
I even changed the .WAV target to another file, but still no sound.

Then I tried another thing, just edited the rom with some customized image files, changed some entrys in the initflashfiles.dat, but left the original .HV files. Again rebuilt the rom, flashed it to my device, and no surprise, the StartupAnimation sound works!!!
So I guess the problem has something to do with the process of converting .HV files to .RGU and back.
I'm using notepad2 to edit the files.
Any help will be appreciated. Sorry for the length of the post.

ShreckBull
25-10-2007, 12:57 PM
UP for this problem !

Me, i have rename :
GIFFile to GIF
WAVFile to WAV
and put "0" to "ENABLE" ...

Turn off device by button "normal" not soft reset with pencil ... turn on and suprise ! no HTC sound and logo ...



Does anybody know how create a .REG file for automatic reg modification ? is the syntaxe the same for WinXP ?

FInixNOver
25-10-2007, 07:03 PM
UP for this problem !

Me, i have rename :
GIFFile to GIF
WAVFile to WAV
and put "0" to "ENABLE" ...

Turn off device by button "normal" not soft reset with pencil ... turn on and suprise ! no HTC sound and logo ...



Does anybody know how create a .REG file for automatic reg modification ? is the syntaxe the same for WinXP ?

I think you understood me wrong!!
The point of this thread is to make the wav file work at startup and not the other way around...

ShreckBull
25-10-2007, 09:55 PM
Oh yes !
Sorry, i'm tired !

Me, i search for disable the sound (just the sound) ... lol !

Your topic with registry key was that i search for tweak this HTC boot screen, without, i haven't find the correct key in registry.

Thank you !
Your registry, if it is always like the first message, is the same that there by defaut in my config (3.6 faman).

Verify if you have the two file included ... in your windows directory.

themaskfly
07-12-2007, 04:55 AM
thx for ur infomation, same problems here, only a little noise heard.
i never thougt of its the problem of hv file, and I was using emeditor, i think there is something wrong with rgucomp.exe.

paolonio
09-12-2007, 11:39 AM
Same problem here too:(:(:(

themaskfly
09-12-2007, 11:55 AM
i dont think its a good idea to edit default.hv directly, just becoz u will destory the strcture of the rom. (actually the two hv files are generated form several files). now i switch to the ways of bepe, its more assurance. if u want to modified the system core registry, use the "search fonction" of the "buildos+package_tools"