1. Trouble with the game?
    Try the troubleshooter!

    Dismiss Notice
  2. Issues with the game?
    Check the Known Issues list before reporting!

    Dismiss Notice
  3. Before reporting issues or bugs, please check the up-to-date Bug Reporting Thread for the current version.
    0.35 Bug Reporting thread
    Solutions and more information may already be available.

Location of graphics settings/custom resolution

Discussion in 'Troubleshooting: Bugs, Questions and Support' started by pulley999, Dec 16, 2013.

  1. pulley999

    pulley999
    Expand Collapse

    Joined:
    Jan 21, 2013
    Messages:
    824
    I know about the postfx preset file, this isn't what I'm looking for. I'm looking for the file containing the values saved by this menu, and how to add custom resolutions. Many games have a config file where you can change the resolution to anything by editing the xres and yres values. Seeing as resolution in BNG seems to be the absolute biggest performance impact outside of postFX, I'd like to try a 600p and 480p resolution in my native 16:9 aspect ratio, though these aren't in the default options.

    :EDIT: Mesh and texture quality are at high because lowering them actually seems to worsen performance slightly.
    options.jpg
     
    #1 pulley999, Dec 16, 2013
    Last edited: Dec 16, 2013
  2. gabester

    gabester
    Expand Collapse
    Vehicle Director
    BeamNG Team

    Joined:
    Jun 6, 2012
    Messages:
    2,653
    Everything you need is in prefs.cs in BeamNG\scripts\client\

    Look for this:

    $pref::Video::mode = "1920 1200 false 32 60 1";

    You'll want to change the 1920 and 1200 to whatever you want your width and height values to be. If you set it to something that doesn't work, just delete prefs.cs to reset the settings to default.
     
  3. pulley999

    pulley999
    Expand Collapse

    Joined:
    Jan 21, 2013
    Messages:
    824
    Thanks Gabe! :D I'll give it a try next time I have my laptop with me, in about a day or so. Until then, I'm using my tower alone. A friend somehow broke his laptop, and I offered him mine for a few days while it gets repaired.
     
  4. pulley999

    pulley999
    Expand Collapse

    Joined:
    Jan 21, 2013
    Messages:
    824
    Update: Setting the custom resolution worked, though going full-screen crashed, even using 16:9 resolutions the game recognized as being 16:9.
     
  5. logoster

    logoster
    Expand Collapse

    Joined:
    Sep 5, 2012
    Messages:
    2,084

    OH, so thats why graphics settings always get reset after an update, the updater reset's all stock files back to defualt when it updates
     
  6. Cardinal799

    Cardinal799
    Expand Collapse

    Joined:
    Oct 15, 2013
    Messages:
    1,068
    That actually makes a lot of sense. Damn, now I feel stupid for not thinking of that.
     
  7. gabester

    gabester
    Expand Collapse
    Vehicle Director
    BeamNG Team

    Joined:
    Jun 6, 2012
    Messages:
    2,653
    The updater isn't supposed to overwrite prefs.cs, so I'm not sure why it would do that. It may be because it executes cleanup.bat and I think cleanup.bat still deletes prefs.cs (but I thought we fixed that before release).
     
  8. logoster

    logoster
    Expand Collapse

    Joined:
    Sep 5, 2012
    Messages:
    2,084

    it doesnt seem so, i opened cleanup.bat when i read this, saw this in it:


    (imported from here)
     
  9. Kamil_

    Kamil_
    Expand Collapse

    Joined:
    Mar 17, 2013
    Messages:
    691
    Code:
    ::IF EXIST "scripts\client\prefs.cs" del /s scripts\client\prefs.cs
    It was the next line down.....
    scripts/client/prefs.cs is the one where settings are saved.
    core/prefs.cs is the default settings
     
  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