Results 1 to 6 of 6

Thread: Thinking about cleaning unused signal scripts

  1. #1
    Join Date
    Jun 2004
    Location
    Caxias do Sul, RS, Brazil.
    Posts
    192

    Default Thinking about cleaning unused signal scripts

    Hello,

    When adding signals to my collections, and sorting the folders, I thought about optimizing and simplifying the sigcfg.dat and sigscr.dat files.

    When I add new signals to a route I'm building, I install a whole pack of light signals, a whole dwarf signals pack, an entire LQ arm signals pack, etc...
    Then in the RE I use only the signals I need for each place.
    Then I use Route Riter to compact the route. So all static objects or signals that are not used are deleted.

    But it does not happen the same at the sigcfg.dat and sigscr.dat files, which still contain lots of unused signals scripts.

    So I try to identify them manually, one after one, taking much care and backing up those files.

    Now I'm planning about making a program to make that task automatically;
    My question is:
    Is there anything already done for that purpose?
    Something like Route Riter?
    May RR have this feature in the future?
    (I'm sorry if I expect too much)

    Thanks for all in advance...




  2. #2
    Join Date
    Nov 1999
    Location
    Oulu, Finland.
    Posts
    221

    Default RE: Thinking about cleaning unused signal scripts


    I would not need such a program that would delete unused signaltype entries. SignalType entries are also found in the SignalShapes definitions, and when those signals are first installed and then some entries removed the SignalSubObjs could become a total mess at worst. True, it would be a useful program. Personally I try to create complete sets so the end user could find them useful.

    On the other hand, I would like to get a copy of a simple program that would check the syntax of sigcfg.dat file. The RE complaining "error on line XXXX" isn't too helpful... missing parenthesis are brain-killers to me.

    Even a program which could open the unicode sigcfg.dat file, to display it as plain text AND to display the number of the line/row on which the cursor is (note: WITHOUT wrapping the lines!) would be highly appreciated. If that program could also find out missing ()'s -- I could kill to get a program like that!

    Thanks to Microsoft for nothing... a complete 'signal aspects editor' would be nice.

    PS: Full Bucket Line 3 signal upgrade 25% done.

  3. #3
    Join Date
    Nov 1999
    Location
    LONDON, UK.
    Posts
    957

    Default RE: Thinking about cleaning unused signal scripts

    Get ConTEXT and/or UltraEdit.32...they will do what you want and more...much more. They need getting used to but are very good...
    Do a Google....They are either freeware or on 'test' for 45 days...
    Go get'em..!!!

    Georges

  4. #4
    Join Date
    Jun 2004
    Location
    Caxias do Sul, RS, Brazil.
    Posts
    192

    Default RE: Thinking about cleaning unused signal scripts

    The EmEditor 3.3 also displays the line where you are.

    Regards...

  5. #5
    Join Date
    Jun 2004
    Location
    Caxias do Sul, RS, Brazil.
    Posts
    192

    Default RE: Thinking about cleaning unused signal scripts

    Teemu

    Glad to meet you here.

    I think some program or utility will be released or create to check or edit signal scripts.
    It's one of the most "touchy" things to be handled.

    I'd like to make a small program to check the scripts.
    I wonder which language will be the best to program it.
    It would be nice a complete program to handle only signals, for example, to import signals from other routes, to clean the unused ones, and as you said, to edit the signal aspects, and so on.

    Let's wait a little, perhaps something new appears..

    Kind regards...

  6. #6
    Join Date
    Apr 2015
    Location
    St. Vincent and the Grenadines
    Posts
    156

    Default

    A very old post!

    Has any action been taken on this?

Posting Permissions

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