bitman Posted September 19, 2008 Report Share Posted September 19, 2008 since the data file is already big enough here some code to change the compass button into a navigation cancel button; ; <SPRITE spr_Compass bmp="compass_bg.bmp" x=730 y=72 z=5> <SPRITE spr_Compass bmp="compass_bg.bmp" x=730 y=72 z=5 visiblemodel="!navigation.has_route"> <SPRITE spr_Compass bmp="compass_bg.bmp" x=730 y=72 z=5 onrelease='run sc_btnARM_Delete_OnRelease' visiblemodel="navigation.has_route"> have fun, bt Quote Link to post Share on other sites
MicB Posted September 20, 2008 Report Share Posted September 20, 2008 hey.. where should I put this code? Quote Link to post Share on other sites
1fastrsx Posted September 20, 2008 Report Share Posted September 20, 2008 The normal file where a map hack is had. "navigatemap_800_480.ui" Quote Link to post Share on other sites
bitman Posted September 20, 2008 Author Report Share Posted September 20, 2008 The normal file where a map hack is had. "navigatemap_800_480.ui" sorry forgot to mention and yes, you are spot on! Quote Link to post Share on other sites
bigPHIL18 Posted September 20, 2008 Report Share Posted September 20, 2008 I really like this idea. Added to list. Quote Link to post Share on other sites
MicB Posted September 21, 2008 Report Share Posted September 21, 2008 Im sorry for being such a noob but I really am not sure how to add that... is there anyway one of you guys who chenges theres upload the file so I can just load that to my 900bt. thx in advance! Quote Link to post Share on other sites
jml2008 Posted October 12, 2008 Report Share Posted October 12, 2008 Do you copy and paste ; to the end of the file "navigatemap_800_480.ui" If so I tried that and it gave me an error mesage, could not boot up. If not could you explain. Quote Link to post Share on other sites
coke734 Posted October 12, 2008 Report Share Posted October 12, 2008 Do you copy and paste ; to the end of the file "navigatemap_800_480.ui" If so I tried that and it gave me an error mesage, could not boot up. If not could you explain. I haven't applied the change yet, so I can't say this will work, but drawing on my limited knowledge of coding in other languages my guess would be: Find the line "" in your existing 'navigatemap_800_480.ui' file. Replace that line with the supplied fix listed above. The ';' at the beginning will "comment out" that first line of code. "Commenting out" means that the program won't use any code with a semicolon at the beginning of the line, the semicolon effectively makes that line invisible and unused. This way, the new code will be used in place of the old. Anyone who thinks/knows otherwise, feel free to blaspheme me and my thoughts. In the meantime, I will test this and report back. Quote Link to post Share on other sites
rock99rock Posted October 14, 2008 Report Share Posted October 14, 2008 Do you copy and paste ; to the end of the file "navigatemap_800_480.ui" If so I tried that and it gave me an error mesage, could not boot up. If not could you explain. I haven't applied the change yet, so I can't say this will work, but drawing on my limited knowledge of coding in other languages my guess would be: Find the line "" in your existing 'navigatemap_800_480.ui' file. Replace that line with the supplied fix listed above. The ';' at the beginning will "comment out" that first line of code. "Commenting out" means that the program won't use any code with a semicolon at the beginning of the line, the semicolon effectively makes that line invisible and unused. This way, the new code will be used in place of the old. Anyone who thinks/knows otherwise, feel free to blaspheme me and my thoughts. In the meantime, I will test this and report back. Was this correct? Quote Link to post Share on other sites
skicrave Posted October 14, 2008 Report Share Posted October 14, 2008 What do you mean is it correct? Is what correct? His hypothesis as to how to apply the modification? Or something else? Quote Link to post Share on other sites
fiction520 Posted October 14, 2008 Report Share Posted October 14, 2008 Do you copy and paste ; to the end of the file "navigatemap_800_480.ui" If so I tried that and it gave me an error mesage, could not boot up. If not could you explain. I haven't applied the change yet, so I can't say this will work, but drawing on my limited knowledge of coding in other languages my guess would be: Find the line "" in your existing 'navigatemap_800_480.ui' file. Replace that line with the supplied fix listed above. The ';' at the beginning will "comment out" that first line of code. "Commenting out" means that the program won't use any code with a semicolon at the beginning of the line, the semicolon effectively makes that line invisible and unused. This way, the new code will be used in place of the old. Anyone who thinks/knows otherwise, feel free to blaspheme me and my thoughts. In the meantime, I will test this and report back. Was this correct? Yes, he's exactly right. Comment out the first line, then add the next two and it works. Quote Link to post Share on other sites
coke734 Posted October 14, 2008 Report Share Posted October 14, 2008 Yep, applied as laid out above and it works as described. Great job to whoever put this code together, one more piece in the puzzle that is making this a stellar DVD/Nav unit. Quote Link to post Share on other sites
whoopidoo2 Posted October 14, 2008 Report Share Posted October 14, 2008 Does the affect the function of the compass button at all? I presume this is the directional arrow you are changing. I guess what I'm asking, is does the compass still work, but this just adds touch-button code behind it to cancel the nav voice? Sorry if that question should have been obvious. Quote Link to post Share on other sites
BorisM Posted October 14, 2008 Report Share Posted October 14, 2008 It does not affect compass function at all, just adds an action that occurs if you click it. Quote Link to post Share on other sites
bitman Posted October 14, 2008 Author Report Share Posted October 14, 2008 Yep, applied as laid out above and it works as described. Great job to whoever put this code together, one more piece in the puzzle that is making this a stellar DVD/Nav unit. your welcome Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.