Released Zeit's graphics settings utils (for BeamNG 0.31.x)

Discussion in 'Mods and Skins' started by DaddelZeit, Apr 19, 2022.

  1. DaddelZeit

    DaddelZeit
    Expand Collapse

    Joined:
    Jul 17, 2019
    Messages:
    3,319
    This mod includes two imgui windows:
    upload_2024-3-9_20-36-9.png
    upload_2024-3-9_20-36-17.png

    Which you can toggle via keybinds. Search for "Toggle Graphic Utils" in your keybinds :)

    Renderer Components Save&Load (autoRenderSettingsLoader.lua)
    A simple extension allowing you to save the changes you made in the "Renderer Components" World Editor Window:
    View attachment 903175

    To save your current setup, simply open the console with ~ on American Layout, or the key you've assigned in the bindings, make sure you're in "GE - Lua" mode and enter this command:
    Code:
    zeit_autoRenderSettingsLoader.getAndSaveSettings()
    Settings are automatically loaded upon level start, or can be manually loaded with this console command:
    Code:
    zeit_autoRenderSettingsLoader.onClientPostStartMission()
    The saves are located in settings/zeit/rendercomponents/save.rendercomponents.json. To reset the entered values simply remove this file.

    General Effect Settings Save&Load (autoGeneralEffectsLoader.lua)
    An extension that allows you to save and load any effect value. (For more advanced users)
    To add a variable execute following command (with example setting):
    Code:
    zeit_autoGeneralEffectsLoader.addSetting("$LightRayPostFX::numSamples", 100)
    These variables can be found in their files under "BeamNG.drive\gameengine.zip\core\scripts\client\postFx".
    The saves are located in settings/zeit/rendercomponents/save.generaleffects.json. To reset the entered values simply remove this file.

    DOF Auto Focus (autoFocus.lua) [NOT FUNCTIONAL IN 0.25+]
    A test that I found to be largely functional. To activate it execute:
    Code:
    zeit_autoFocus.toggle(true)
    And to deactivate execute:
    Code:
    zeit_autoFocus.toggle(false)
    "settings/zeit/rendercomponents/save.autofocus.json" is used to save the current state and if needed applied upon level start.

    Shadow Settings Save&Load (autoShadowSettingsLoader.lua)
    Allows you to save your current sunsky shadow settings and load them afterward.
    Use this command to save them:
    Code:
    zeit_autoShadowSettingsLoader.getAndSaveSettings()
    And this to load them (also loaded upon level start):
    Code:
    zeit_autoShadowSettingsLoader.onClientPostStartMission()
    The saves are located in settings/zeit/rendercomponents/save.shadowsettings.json. To reset the entered values simply remove this file.

    SSAO Settings Save&Load (autoSSAOSettingsLoader.lua)
    Used to save and load ssao settings.
    Command to save:
    Code:
    zeit_autoSSAOSettingsLoader.getAndSaveSettings(CONTRAST, RADIUS, SAMPLES)
    Replace "CONTRAST", "RADIUS" and "SAMPLES" with their respective values.
    Normal quality = 16 samples
    High quality = 64 samples

    And this to load them (also loaded upon level start):
    Code:
    zeit_autoSSAOSettingsLoader.onClientPostStartMission()
    Settings are reapplied after closing photomode.
     

    Attached Files:

    #1 DaddelZeit, Apr 19, 2022
    Last edited: Mar 9, 2024
    • Like Like x 9
  2. Brother_Dave

    Brother_Dave
    Expand Collapse

    Joined:
    Aug 16, 2012
    Messages:
    1,662
    • Like Like x 1
    • Agree Agree x 1
  3. DaddelZeit

    DaddelZeit
    Expand Collapse

    Joined:
    Jul 17, 2019
    Messages:
    3,319
    Expanded this:
    General Effect Settings Save&Load (autoGeneralEffectsLoader.lua)
    DOF Auto Focus (autoFocus.lua)
    Shadow Settings Save&Load (autoShadowSettingsLoader.lua)
    SSAO Settings Save&Load (autoSSAOSettingsLoader.lua)
     
  4. DaddelZeit

    DaddelZeit
    Expand Collapse

    Joined:
    Jul 17, 2019
    Messages:
    3,319
    Does it count as a bump if it's your own thread?
    Anyways, I've updated the file in the main post to work with 0.25 as the main HDR post effect object name was changed
    and included an imgui UI window toggleable via keybind:
    upload_2022-8-2_19-54-43.png
    If there are any bugs, feel free to tell me about them here.
     
    • Like Like x 4
  5. Vetanenator

    Vetanenator
    Expand Collapse

    Joined:
    Nov 16, 2020
    Messages:
    23
    how do you install it
     
  6. DaddelZeit

    DaddelZeit
    Expand Collapse

    Joined:
    Jul 17, 2019
    Messages:
    3,319
    Just like any other mod; you move the zip to your mods folder.
    An official guide can be found here. Keep in mind the video tutorial on that page is outdated:
    the default user folder location is now in %localappdata%/BeamNG.drive/latest.
     
    • Like Like x 1
  7. Ynambu

    Ynambu
    Expand Collapse

    Joined:
    Feb 23, 2021
    Messages:
    32
    So I am I correct in thinking this automatically applies your settings when you first run it? I'm just struggling to tell if it is working or not. I can open the imgui window but the 'load settings' buttons don't seem to do anything. I am not great at this stuff and I've tried read your instructions as much as possible so I do appreciate the help.

    Edit: Ahh is this mod just to save one's own custom settings and not preset ones you have determined? That would make sense and I can totally work with that. It's very cool regardless.
     
    #7 Ynambu, Sep 8, 2022
    Last edited: Sep 8, 2022
  8. DaddelZeit

    DaddelZeit
    Expand Collapse

    Joined:
    Jul 17, 2019
    Messages:
    3,319
    Yep, this is how it works.
     
    • Like Like x 1
  9. AwesomeCarlPlays

    AwesomeCarlPlays
    Expand Collapse

    Joined:
    Jan 21, 2021
    Messages:
    265
    Does the ssao loader still work in 0.26? I'm currently using the CK graphics mod with the older non UI version of this mod, and the ssao settings only load when I exit photo mode. Not sure if this is due to CK's mod or 0.26
     
  10. DaddelZeit

    DaddelZeit
    Expand Collapse

    Joined:
    Jul 17, 2019
    Messages:
    3,319
    The SSAO settings are loaded on map load and after leaving photomode, as entering it changes the settings per lua command. This behaviour is intended to avoid inconsistency.
     
  11. AwesomeCarlPlays

    AwesomeCarlPlays
    Expand Collapse

    Joined:
    Jan 21, 2021
    Messages:
    265
    Yes, but the ssao isn't loading on map load, only when going into photo mode and going out again.
     
  12. AwesomeCarlPlays

    AwesomeCarlPlays
    Expand Collapse

    Joined:
    Jan 21, 2021
    Messages:
    265
    It seems that the SSAO radius in 0.26 dynamically adjusts in first person view, which also overwrites the SSAO settings. Maybe you could make the maximum dynamic radius adjustable?
     
    • Like Like x 1
  13. DaddelZeit

    DaddelZeit
    Expand Collapse

    Joined:
    Jul 17, 2019
    Messages:
    3,319
    Bumping my own thread :D
    I uploaded an update which includes improved autofocus as well as a slider allowing you to control the FPS limiter on the ui:
    upload_2022-11-27_22-17-22.png
     
    • Like Like x 2
  14. DaddelZeit

    DaddelZeit
    Expand Collapse

    Joined:
    Jul 17, 2019
    Messages:
    3,319
    As 0.27 introduced a new bloom effect there also came settings for it which are available under the "Renderer Components" window.
    The newest update to this tool includes support for these settings as well. They're saved via the Renderer Components Save&Load subutil.
    upload_2022-12-13_16-48-34.png
     
    • Like Like x 3
  15. Andryusha

    Andryusha
    Expand Collapse

    Joined:
    Jan 28, 2020
    Messages:
    652
    Thank you for 0.27 update!
     
  16. DaddelZeit

    DaddelZeit
    Expand Collapse

    Joined:
    Jul 17, 2019
    Messages:
    3,319
    Because 0.28 did not add anything, I decided I'd do it myself :p
    This update includes two new sliders for saturation and contrast:
    upload_2023-4-12_16-39-35.png
    And buttons to help you find the settings for some subutils in the world editor:
    upload_2023-4-12_16-40-14.png
    upload_2023-4-12_16-40-22.png
    Download is in the main post.
     
    • Like Like x 1
  17. DaddelZeit

    DaddelZeit
    Expand Collapse

    Joined:
    Jul 17, 2019
    Messages:
    3,319
    Starting now, I will no longer post release notices for minor updates. This will happen in game via a pop-up instead.
    This change wont bring more users to this mod, but will stop this thread from being pushed to the front page every release.
    Example window:
    upload_2024-3-9_20-38-3.png
    Please re-download the current version to ensure that your install supports this pop-up message.
     
    #17 DaddelZeit, Apr 25, 2023
    Last edited: Mar 9, 2024
  18. Phony Banks

    Phony Banks
    Expand Collapse

    Joined:
    Jul 1, 2021
    Messages:
    3
     
  19. Phony Banks

    Phony Banks
    Expand Collapse

    Joined:
    Jul 1, 2021
    Messages:
    3
    Hey DaddelZeit,

    Absolutely loving your mod – it's a lifesaver for fixing game issues when it comes to low end pc's and an awesome tool to make it look better for high end. I'm thinking of adding it to our server (CaRP). It's combined of a really diverse community, we could totally use such tool if we had your permission.
    So here I am asking for permission to add it to our server :) Is it ok if we did?
    Thanks a ton, Phony Banks
     
  20. DaddelZeit

    DaddelZeit
    Expand Collapse

    Joined:
    Jul 17, 2019
    Messages:
    3,319
    Hi,
    I'm currently working on a bit of a UI overhaul, including profiles and a proper manager. You may add the mod to your server when this is released (maybe even add another mod that includes some of your own presets?).
    However, keep in mind that this mod also has a fair bit of features that might cause issues to the clients' games. I personally do not use BeamMP so I cannot verify that the scripts work alongside eachother, especially when installed by the server.
    Best,
    Zeit
     
  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