Welcome guest, is this your first visit? Click the "Create Account" button now to join.
Page 5 of 6 FirstFirst ... 3456 LastLast
Results 41 to 50 of 55
  1. #41
    Member palmario's Avatar
    Join Date
    Dec 2012
    Location
    spain
    Age
    50
    Posts
    14
    Rep Power
    0

    Default

    Quote Originally Posted by morco View Post
    I've had a play with this skin in the past, see here
    [Only registered and activated users can see links. ]

    I seem to remember that I found It was necessary to delete the save folder after any changes I made to this skin or I would encounter errors on start up.

    Perhaps another option would be to change the category number of your data to match the category you require in the skin. If your data is in a.txt format, i think this can be easily using something like microsoft excel.
    thanks for your help, I have seen that it has renamed "type = 13" for "type = 30" and camerakSM_30 does not exist, neither does camerakSM_13 exist, I do not understand why it does not throw error.
    Last edited by palmario; 7th April 2018 at 12:41 AM.

  2.    Advertissements


  3. #42
    Member palmario's Avatar
    Join Date
    Dec 2012
    Location
    spain
    Age
    50
    Posts
    14
    Rep Power
    0

    Default

    Quote Originally Posted by osiris4isis View Post
    Ok, so leaving the .bmp alone fixed the icon error problem. Your issues now with only 24 icons is another thing. The skin you're using was made for 24 icons. If you want to use more than that find a skin that has it.
    thanks for your help.
    My problem is that I need to change the numbers of the categories so that each update of the speedcams.txt does not have to edit it to modify the category number.
    With 24 categories I have enough, but I would like to change the numbers because in the GjAk, Decent, Doupas and Zozo skins it is possible.


    I like the blue tone of this skin, if it were not possible to change the categories I would try with a skin of 32 in menu, but how can you put the skin blue?

    [Only registered and activated users can see links. ]
    Last edited by palmario; 6th April 2018 at 11:59 PM.

  4. #43
    Master
    Join Date
    Aug 2011
    Location
    uk
    Posts
    157
    Rep Power
    514

    Default

    Quote Originally Posted by palmario View Post
    thanks for your help, I have seen that it has renamed "type = 13" for "type = 30" and camerakSM_30 does not exist, neither does camerakSM_13 exist, I do not understand why it does not throw error.
    I've had a bit of a look at the skin to help me remember what I did.

    Yes, I changed type 13 (hospital/ambulance alert) to type 30 the group that I had set for my traffic lights data.

    I can't remember where the "cameraksm" images feature within the skin or as to why I needed to remove camerakSM_30 & camerakSM_13

    I did add my own camerakSMSS_30.bmp & camerakSMMenu_30.bmp, then made the necessary image changes to speedwarn1.bmp & speedwarn.bmp

    One thing you don't mention is making the necessary changes in the customized.lua

    Please see the spoiler text below showing the changes I made (top =original, bottom= modified)

    Spoiler: customized.lua compare text
    {type=13, visualtype=1, voicetype=2, voicealert=L"!passcam", voicesecond=0, overspeedvalid=0, overspeedtype=0, overspeeddelta=0, overspeedsound=L"", overspeedvolume=0, approachtype=2, distvalid=1, diston=0, distvisual=700, distsound=700, distsoundtts=1, voicesecondtts=0, priority=0}

    changed to

    {type=30, visualtype=1, voicetype=2, voicealert=L"!passcam", voicesecond=0, overspeedvalid=0, overspeedtype=0, overspeeddelta=0, overspeedsound=L"", overspeedvolume=0, approachtype=2, distvalid=1, diston=0, distvisual=700, distsound=700, distsoundtts=1, voicesecondtts=0, priority=0},
    Last edited by morco; 8th April 2018 at 05:25 PM. Reason: removed spoiler & image, added spoiler for text

  5. #44
    Member palmario's Avatar
    Join Date
    Dec 2012
    Location
    spain
    Age
    50
    Posts
    14
    Rep Power
    0

    Default

    @morco, Thank you very much, I have tried these changes and now I can rename and change the numbers of the categories

  6. #45
    Junior Member
    Join Date
    May 2015
    Location
    São Caetano do Sul - SP - Brazil
    Posts
    8
    Rep Power
    0

    Default

    Hello people,

    To add a new type of warn in the "DiMka WA P.1.7.4 - Ultimate xxxxxx" skin without modifying the existing ones, it is necessary to make additions / changes in the following files:

    * In the image files "speedwarn.bmp", "speedwarn0.bmp" and "speedwarn1.bmp" to add the image of the new type.

    * In the image files "cameraKSM_nn", "cameraKSMMenu_nn" and "cameraKSMSS_nn" with the image of the new type.

    NOTE: All images are inside the "ui_igo9 \ 480_272" folder (or your resolution) of the skin's compressed file. The "speedwarn.bmp", "speedwarn0.bmp" and "speedwarn1.bmp" are the same. Just create one and rename it. Don't forget to make backups of the original image files.

    * In "customized.lua" (inside the folder "ui_igo9 \ common \ ui" of the compressed skin file) edit the following parameters / codes:

    - In "sc_wCameraSetting_LoadDefault = function (model)" change the settings of the desired type, such as type 28:

    -- {type = 28, visualtype = 0, voicetype = 0, voicealert = L "! passcam", voicesecond = 0, overspeedvalid = 0, overspeedtype = 0, overspeeddelta = 0, overspeedound = L "", overspeedvolume = 0, approachtype = 0, distvalid = 0, diston = 0, distvisual = 300, distsound = 300, distsoundtts = 0, voicesecondtts = 0},
    {type = 28, visualtype = 1, voicetype = 2, voicealert = L "! passcam", voicesecond = 1, overspeedvalid = 1, overspeedtype = 1, overspeeddelta = 0, overspeedound = L "", overspeedvolume = 0, approachtype = 2 , distvalid = 0, diston = 0, distvisual = 0, distsound = 0, distsoundtts = 1, voicesecondtts = 1},

    - In "function sd_undefined_type (n)" you must change "return n> 23 and n <30" so that it contains non-selectable types, such as:

    return n> 23 and n <30

    In this case, types 24, 25, 26, 27, 28 and 29 cannot be selected. Already in:

    return (n> 23 and n <28) or (n> 28 and n <30)
    or
    return (n> 23 and n <28) or n == 29

    In this case, types 24, 25, 26, 27 and 29 cannot be selected. Thus, type 28 is left to be used.

    * In "variable_def.ui" (inside the "ui_igo9 \ common \ ui" folder of the skin's compressed file) edit in "<userlist wCameraSettingName name =" str "tts =" str "type =" int "firstphrase =" wstr " editspeed = "bool" overspeedvalid = "bool" editdirection = "bool" defdirection = "int" visible = "bool"> "the following parameters:

    ; <row name = "" tts = "" type = 28 firstphrase = L "" editspeed = false overspeedvalid = false>
    <row name = "Invalid Speed ​​Camera" tts = "Invalid Speed ​​camera," type = 28 firstphrase = L "Invalid_SC" editspeed = true overspeedvalid = true>

    * Add in the file "dictionary.lang" which is inside a compressed file of the language used (in my case "Lang_Portuguese-bra" inside the folder "content \ lang"):

    Invalid Speed Camera = "Fixed speed camera without approval by INMETRO"

    * In the "sys.txt" file in the alerts section, edit to include the new type 28 alert:

    [...]

    ; S P E E D C A M - C A T: 28
    [speedcam_category: 28]
    activated_spoken_type = speech
    activated_speech = "Fixed speed camera not approved by INMETRO ahead."
    ; activated_min_speech_repeat_delay = -1

    [...]

    "speedwarn.bmp" with new type 27 and 28:

    [Only registered and activated users can see links. ]

    New image for "camerakSMSS_28.bmp":

    [Only registered and activated users can see links. ]

    Greetings,
    CYK
    Last edited by CYK; 31st August 2020 at 02:08 PM.

  7. #46
    Junior Member rafael2san's Avatar
    Join Date
    Apr 2013
    Location
    Porto Alegre
    Posts
    5
    Rep Power
    0

    Default

    CIK, in order to turn future aditions easier you can use type 29 to 24 order for new types.

    So return n> 23 and n <29 and just add the new type on 29.

    Or return n> 23 and n <28 to enable 2 types: 28 (Fixed radar not approved by INMETRO) and 29 (Stop!), for example.

    The Ultimate has a internal dictionary, so you can add lang strings (if you want) in local skin_dictionary = {

    Dont´t forget to add tts entries on dictionary.voice.

    Regards
    rafael2san
    Last edited by rafael2san; 27th August 2020 at 06:36 PM.

  8. #47
    Junior Member
    Join Date
    May 2015
    Location
    São Caetano do Sul - SP - Brazil
    Posts
    8
    Rep Power
    0

    Default

    Quote Originally Posted by Andrey Form View Post
    Hi. as a result, changing 25 icons is not a problem. Run all 32 is not ideal, apparently you need to have more detailed settings. Until 2 options 25 and 32.
    Hello Andrey,

    I don't use all 32 types of alerts. I just wanted to say that it is not necessary to modify the alerts that already exist if we have space to add new ones.

    Greetings,
    CYK

  9. #48
    Junior Member
    Join Date
    May 2015
    Location
    São Caetano do Sul - SP - Brazil
    Posts
    8
    Rep Power
    0

    Default

    Quote Originally Posted by rafael2san View Post
    [...]
    Dont´t forget to add tts entries on dictionary.voice.

    Regards
    rafael2san
    Hi Rafael2San,

    Thanks for the tip, but I also made changes to the "dictionary.voice" file that is inside the TTS voice file. I forgot to mention it in my previous post.

    As I know you made changes to this skin "DiMka WA P.1.7.4 - Ultimate xxxxxx", I wish you could help me how to enable the "Second phrase (speed limit)" speech and “Announce speed units" speech. The "Phrase (distance to alert point)" button is enabled. When click on "Voice warning test" it's speech only the distance and the new warning type without speed limit and speed unit, because this options are not enable.

    I am looking at the following code in "setting.ui":

    <layer ui_wSLSoundTTS z=30>
    <DIV class=main>
    <TABLE tab_wSLSoundTTS class=vertical>
    <CHECKBOX class="btn_main_np topleft chk" text="Second phrase(speed limit)" boolmodel="lua.wSLTTSVoiceSecondPhrase">
    <CHECKBOX class="btn_main_np chk" text="Announce speed units" boolmodel="lua.wSLTTSVoiceSecondPhraseUnit" enable=%lua.wSLTTSVoiceSecondPhrase>
    <BUTTON class="btn_main bottomright icon value long" iconspr="ico_SimulateNavigation_mid.bmp#3" onrelease=sc_wSecondPhraseTTSSL_play enable=(!(%sound.voice_muted || %sound.os_muted)) dtooltip="Sound(master or voice guidance) is muted!">
    <TEXT class="name long icon" text="Voice warning test" right=0 bottom=0>
    </BUTTON>
    </TABLE>
    </DIV>
    </layer>

    But I haven't found the location where this variable "wSLTTSVoiceSecondPhrase" is defined. I hope you can help me make this warning work properly.

    Greetings,
    CYK
    Last edited by CYK; 30th August 2020 at 02:19 PM.

  10. #49
    Junior Member
    Join Date
    May 2015
    Location
    São Caetano do Sul - SP - Brazil
    Posts
    8
    Rep Power
    0

    Default

    Quote Originally Posted by Andrey Form View Post
    I don't know this skin, how to configure all 32 alerts by expanding the warnings.???
    Hi Andrey,

    As I described in my first post: [Only registered and activated users can see links. ]

    Regards,
    CYK

  11. #50
    Junior Member
    Join Date
    May 2015
    Location
    São Caetano do Sul - SP - Brazil
    Posts
    8
    Rep Power
    0

    Default

    Quote Originally Posted by CYK View Post
    Hi Rafael2San,
    [...]
    As I know you made changes to this skin "DiMka WA P.1.7.4 - Ultimate xxxxxx", I wish you could help me how to enable the "Second phrase (speed limit)" speech and “Announce speed units" speech. The "Phrase (distance to alert point)" button is enabled. When click on "Voice warning test" it's speech only the distance and the new warning type without speed limit and speed unit, because this options are not enable.
    [...]
    Hello people,

    I managed to solve the problem that had asked Rafael2San for help.

    I noticed that the variable "wSLTTSVoiceSecondPhrase" takes the value of "voicesecondtts" (enable or not "Second phrase (speed limit)") of the warning type in the parameter "sc_wCameraSetting_LoadDefault = function (model)" (in the "customized.lua" file) ).

    Although the type = 28 parameter was edited in "sc_wCameraSetting_LoadDefault = function (model)" (which is in the "customized.lua" file within the skin's compressed file) and as there was already a "camera_setting114_1.txt" file (within of the folder "\ save \ profiles \ 01 \ userlists") that saves the settings of all warnings, the change in "sc_wCameraSetting_LoadDefault = function (model)" did not take effect on the test screen of the warnings. So, I also had to edit the type 28 in this file "camera_setting114_1.txt" as below:

    From "28;0;0;!passcam;0;0;0;0;;0;0;0;0;300;300;0;0;0"
    For "28;1;2;!passcam;1;1;1;0;;0;2;0;0;0;0;1;1;1"

    I need to test to see if when changing from the default skin to the diMka skin, this file "camera_setting114_1.txt" is modified correctly.

    Greetings,
    CYK
    Last edited by CYK; 31st August 2020 at 02:16 PM.

 

 

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •