QUESTION Is it possible an app that opens a text file and saves it?

Discussion in 'Apps' started by William Riker, Feb 24, 2022.

  1. William Riker

    William Riker New Member

    Joined:
    Aug 23, 2015
    Messages:
    29
    Likes Received:
    5
    Hi people, i'm thinking on an app that can open CSP's car or track config files and let the user edit it and save it without opening the text file from outside AC. I know you can do it just opening the text file and live editing, but an app that can have the text onscreen i think it would make it very comfortable to do it.
    The bad thing is that my skills for making apps are in very bad shape, so first i'm asking if something like this is possible, and in the case it is possible, to ask if you can please point me to how the code should look more or less...

    Thank you so much!
     
  2. fughettaboutit

    fughettaboutit aka leBluem

    Joined:
    Jul 21, 2014
    Messages:
    1,117
    Likes Received:
    379
    dont do that, most of the stuff from data folder will not be updated live anyway, so its kinda pointless...
     
  3. William Riker

    William Riker New Member

    Joined:
    Aug 23, 2015
    Messages:
    29
    Likes Received:
    5
    No but i mean only extension config files for Custom Shaders Patch, not anything from data folder
     
  4. fughettaboutit

    fughettaboutit aka leBluem

    Joined:
    Jul 21, 2014
    Messages:
    1,117
    Likes Received:
    379
    enable CSP dev apps, they should have everything you need
    (ingame: taskbar at the bottom)
    upload_2022-2-24_23-57-16.png

    And then there is also BLM lights, but beware, its somewhat old, it might have problems with some more sophisticated configs, make a backup before using it
    https://www.racedepartment.com/threads/blm-lights.157468/
     
  5. fughettaboutit

    fughettaboutit aka leBluem

    Joined:
    Jul 21, 2014
    Messages:
    1,117
    Likes Received:
    379
    and also
    upload_2022-2-25_0-3-49.png

    there you can change most CSP params live
     
  6. fughettaboutit

    fughettaboutit aka leBluem

    Joined:
    Jul 21, 2014
    Messages:
    1,117
    Likes Received:
    379
    or disable this
    upload_2022-2-25_0-5-49.png
    and then you can close that waiting window with
    - a click on it and ALT+F4 or
    - right click title bar->close
    upload_2022-2-25_0-7-40.png
    to get access to CM
     
  7. William Riker

    William Riker New Member

    Joined:
    Aug 23, 2015
    Messages:
    29
    Likes Received:
    5
    What i have in mind are these config files, specially the car ones.
    The only way i know to access these are through the explorer, not through dev apps nor CM...
     

    Attached Files:

  8. fughettaboutit

    fughettaboutit aka leBluem

    Joined:
    Jul 21, 2014
    Messages:
    1,117
    Likes Received:
    379
    No. Please no. Use a text editor.
     
  9. William Riker

    William Riker New Member

    Joined:
    Aug 23, 2015
    Messages:
    29
    Likes Received:
    5
    what's the danger?
     
  10. fughettaboutit

    fughettaboutit aka leBluem

    Joined:
    Jul 21, 2014
    Messages:
    1,117
    Likes Received:
    379
    no danger, but why would one do that?
     
  11. fughettaboutit

    fughettaboutit aka leBluem

    Joined:
    Jul 21, 2014
    Messages:
    1,117
    Likes Received:
    379
    best you get is BLM lights for tracks, or make something
     
  12. fughettaboutit

    fughettaboutit aka leBluem

    Joined:
    Jul 21, 2014
    Messages:
    1,117
    Likes Received:
    379
    for all car related stuff use ContentManagers CustomShowroom, it can do (edit: almost) more than ksEditor
     
  13. William Riker

    William Riker New Member

    Joined:
    Aug 23, 2015
    Messages:
    29
    Likes Received:
    5
    Because it makes it way faster to access them and work on them, specially when editing a big bunch of cars one after the other... well after this talk i guess it is actually possible, thanks!
     
    fughettaboutit likes this.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice