1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Madness Tool - Custom FFB and Profile Manager

Discussion in 'Automobilista 2 - General Discussion' started by NuScorpii, Jun 21, 2020.

  1. NuScorpii

    NuScorpii Well-Known Member

    Joined:
    Apr 7, 2020
    Messages:
    417
    Likes Received:
    426
    Updated 2020/06/27
    V1.1:
    - Added controller profile management, useful if you use different wheels with different button mappings.
    - Remember state of "Show All" variables check box per ffb profile.

    V1.02 - Fixed further regional issues.
    V1.01 - Fixed problem with regional variation in parsing numbers.
    V1 - Added logging, bug fixes and changed sim setup process to be more obvious.

    There have been some requests for some way to manage using different custom ffb files and controller profiles. Here is a first attempt to provide a solution for this. At the moment it is just the custom ffb manager with the controller profile management still work in progress.

    You can get the tool using this Google drive link.

    upload_2020-6-21_21-50-39.png

    The app can run from anywhere and will create a folder in your Documents folder to hold all the ffb profiles and settings.

    To use it first add a Sim by selecting the default custom ffb file for it. e.g. For AMS2 it would be C:\Users\Username\Documents\Automobilista 2\ffb_custom_settings.txt

    If you do not select the correct path for the sim to its default ffb_custom_settings.txt location then the tool will not be able to update it.

    Then add a new FFB profile and select a ffb_custom_settings.txt base file to use in that profile. This should be the custom ffb file that you want to modify and apply to the sim.

    To deploy the ffb for that profile to the selected sim simply click Apply at the bottom.

    The tool also allows you to edit variables easily from the ffb file. You can then copy and change the profiles to test different settings.

    For a custom ffb file to support the tool directly comment tags should be added around the set of variables for user editing e.g.:

    Code:
    ##MTUV_START
    
    (a_var 0.1)
    (an_other 1.0)
    
    ##MTUV_END
    
    (not_user_editable 0.5)
    For files that do not have the support check the Show All check box and you can edit all variables in the file.


    Controller profile management:

    The controller files are under a directory with the same name as your Steam friend ID. If you are the only user this will be the only id available so you won't have to look it up. If you have multiple Steam IDs you use then look it up to choose the right one.

    To save the current profile for a sim click on Add Current and give it a name. You can then update the current selected profile with any changes by clicking update.

    Apply the selected profile to the sim using the Apply button.

    This is just a first cut so expect there to be bugs. I'll update it with fixes and new features as and when as well as a better user guide. Let me know any issues or feature suggestions.
     
    Last edited: Jun 27, 2020
    • Like Like x 14
    • Useful Useful x 3
    • Winner Winner x 2
    • Friendly Friendly x 1
  2. Cfst

    Cfst Active Member Reiza Backer

    Joined:
    Jul 5, 2016
    Messages:
    169
    Likes Received:
    59
    Nicely done, big thanks on behalf of us all.
     
    • Like Like x 1
    • Agree Agree x 1
  3. Sampo

    Sampo Member

    Joined:
    Apr 15, 2020
    Messages:
    94
    Likes Received:
    13
    Doesn't work. Following your instructions and pressing Apply does nothing (possibly for the file not having tags), but after first clicking Apply and then clicking Show All crashes the app.
     
    • Informative Informative x 1
  4. NuScorpii

    NuScorpii Well-Known Member

    Joined:
    Apr 7, 2020
    Messages:
    417
    Likes Received:
    426
    What version of Windows are you on? Did you create an ffb profile and select an ffb file to use?
     
  5. Wolfgang Herold

    Wolfgang Herold Well-Known Member Reiza Backer

    Joined:
    Apr 3, 2016
    Messages:
    1,319
    Likes Received:
    714
    same here. Windows 10x64 v2004
    edit:
    Applying a ffb setting works ( only not supported files )
    If you select an unsupported settings file and klick "show all" app crashes
    If yiu add a supported file like Heavymessing2.4 and select this from the list, app crashes
     
    Last edited: Jun 22, 2020
    • Informative Informative x 1
  6. NuScorpii

    NuScorpii Well-Known Member

    Joined:
    Apr 7, 2020
    Messages:
    417
    Likes Received:
    426
    New update adds a few bug fixes and logging to help track down further issues.

    When you add a sim you now need to select the default ffb_custom_settings.txt file location for that sim. If you don't chose the correct location then the tool won't be able to update the correct file.

    If you have already used the app it may be a good idea to remove the \Documents\MadnessTool folder and start again.
     
    • Like Like x 1
  7. NuScorpii

    NuScorpii Well-Known Member

    Joined:
    Apr 7, 2020
    Messages:
    417
    Likes Received:
    426
    @Sampo @Wolfgang Herold - Thanks for trying out the tool. Please try the new version which should fix some of the issues you had.

    Probably best to remove the \Documents\MadnessTool folder before running the new version just to make sure there weren't any issues with the settings from a previous run.

    If you have any more issues please post the log.txt and madness_tool.txt from the \Documents\MadnessTool folder.
     
    • Like Like x 1
  8. Jefka

    Jefka New Member

    Joined:
    Jul 6, 2019
    Messages:
    18
    Likes Received:
    1
    Awesome tool @NuScorpii , was a mess keeping track of different versions so this is just awesome! Latest version of the tool works fine for me.
     
  9. viper4r

    viper4r Member Reiza Backer

    Joined:
    Mar 5, 2020
    Messages:
    70
    Likes Received:
    22
    @NuScorpii
    I tested your great tool.
    If I add your Heavy Messing Profile the tool changing the values, for example:
    min_force from 0.01 to 1
    It removes the decimal point and the leading zeroes in my case:

    2020-06-22_12-48-39__Window.jpg

    I already checked the file before I loaded it in the tool again, the values were correct.
    After clicking apply, all values in the custom FFB file are overwritten with the values from the screenshot above.
     
    • Informative Informative x 1
  10. NuScorpii

    NuScorpii Well-Known Member

    Joined:
    Apr 7, 2020
    Messages:
    417
    Likes Received:
    426
    Thanks for the report. I wasn't handling regional variations for numbers properly. I've uploaded a version that should do this now. Please try again, but first delete the ffb profile and re-import it from a good version of the file.
     
    • Like Like x 2
  11. viper4r

    viper4r Member Reiza Backer

    Joined:
    Mar 5, 2020
    Messages:
    70
    Likes Received:
    22
    Ahh, that makes sense. I am from Germany and we have "," as decimal point.
    I will test it again, thx.
     
  12. Wolfgang Herold

    Wolfgang Herold Well-Known Member Reiza Backer

    Joined:
    Apr 3, 2016
    Messages:
    1,319
    Likes Received:
    714
    i added 3 different files and now following happens with V1.01.
    If there is no ffb file in the AMS2 folder, nothing happens.
    If there is one, a backup file is created, BUT the original file is not changed.
    So all that happens currently, it creates a backup file from that one that is here w/o overwriting with other profile.

    Update.
    3 profiles called Homerun/smoothraider/heavymess24
    homerun and smoothrider will be copied, heavymessing2.4 not.
    Strange!
     
    Last edited: Jun 22, 2020
  13. NuScorpii

    NuScorpii Well-Known Member

    Joined:
    Apr 7, 2020
    Messages:
    417
    Likes Received:
    426
    Could you send me the log.txt and madness_tool.txt files from Documents\MadnessTool please?
     
  14. Wolfgang Herold

    Wolfgang Herold Well-Known Member Reiza Backer

    Joined:
    Apr 3, 2016
    Messages:
    1,319
    Likes Received:
    714
  15. easy81

    easy81 Member

    Joined:
    May 9, 2020
    Messages:
    31
    Likes Received:
    4
    I am also testing the MADNESS TOOL version V1.01
    I added the sim "AMS2", selected the file ffb_ custom_settings.txt (version 2.4) inside the folder "documents \ Automobilista 2.
    ADD FFB PROFILE, rename (HMTest), but the variables do not appear.
     
  16. Lars Mars

    Lars Mars Member

    Joined:
    Mar 31, 2020
    Messages:
    30
    Likes Received:
    9
    no variables anymore with the 1.01 version
     
  17. ZeferinoCoutinho

    ZeferinoCoutinho Zef_mirror_man-zefthebestofcour

    Joined:
    Mar 19, 2020
    Messages:
    54
    Likes Received:
    15
    Exactly the same issue.. :(
     
  18. NuScorpii

    NuScorpii Well-Known Member

    Joined:
    Apr 7, 2020
    Messages:
    417
    Likes Received:
    426
    • Like Like x 3
    • Winner Winner x 1
  19. easy81

    easy81 Member

    Joined:
    May 9, 2020
    Messages:
    31
    Likes Received:
    4
    YES ... beta tested and variables are now displayed.
    No error in the log file

    i tried to modify a value and apply. the value is modified in the "ffb_ custom_settings.txt" file and at the same time creates an ffb_ custom_settings_backup.txt "file with the original values
     
    Last edited: Jun 22, 2020
    • Like Like x 1
  20. viper4r

    viper4r Member Reiza Backer

    Joined:
    Mar 5, 2020
    Messages:
    70
    Likes Received:
    22
    1.02 Beta is working for me now. Great work.
     
    • Like Like x 2

Share This Page