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.32 Bug Reporting thread
    Solutions and more information may already be available.

Game crash when I want to go to the option screen

Discussion in 'Troubleshooting: Bugs, Questions and Support' started by David_A, Aug 4, 2013.

  1. David_A

    David_A
    Expand Collapse

    Joined:
    Aug 4, 2013
    Messages:
    8
    Here is the problem that I'm encountering in the techdemo and in the alpha:

    From the moment that I click to the button "Option" from the main screen the game crash and go back to Windows (win 8 pro).
    I don't know if it's in relation but for both installations (techdemo + alpha) I desactivate the Windows Smartscreen. Without doing that it was impossible to install DRIVE.
    Also I noticed that the game is launching in windowed mode.
    Iif I expand the window the screen resolution is not far from 1920 x 1080 but an alt+tab is reducing the resolution dramatically (maybe because I don't have access to the options of the game).
    If someone already had this issue and finded a solution feel free to help me :)

    Thank you
     
  2. tdev

    tdev
    Expand Collapse
    Developer
    BeamNG Team

    Joined:
    Aug 3, 2012
    Messages:
    3,031
    we have some know crash bug in there regarding the config and switching the options. Please retry and only set one by one and press "Apply" every time.
     
  3. David_A

    David_A
    Expand Collapse

    Joined:
    Aug 4, 2013
    Messages:
    8
    Thanks for your feedback.
    Unfortunately I don't have access to any "apply" button.
    Once "BeamNGSandbox.x86.exe" is launched a simple click to the button "Option" makes the game crashing and it goes back to Windows.
    Some minutes ago I sent a bug report for that.
     
  4. tdev

    tdev
    Expand Collapse
    Developer
    BeamNG Team

    Joined:
    Aug 3, 2012
    Messages:
    3,031
    ok, i will find and look at the bugreport. Please fill the text and email fields in there as well.
     
  5. David_A

    David_A
    Expand Collapse

    Joined:
    Aug 4, 2013
    Messages:
    8
    Thank you.
    On the bugreport sent a couple minutes ago I filled the text and I described the problem.
     
  6. MercyFlush

    MercyFlush
    Expand Collapse

    Joined:
    Mar 11, 2013
    Messages:
    23
    I too have sent multiple crash reports each in different attempts to open the option dialog various ways. Hopefully a few varying reports will help you narrow down this bug.
    EDIT: I suggest for the meantime editing the script/client/prefs.cs following line to

    $pref::Video::mode = "2560 1600 true 32 60 4";
    Or $pref::Video::mode = "1920 1080 true 32 60 4"; If you have a HD screen

    That should get you full res and full screen. To toggle full screen/window just change the true to false or vice versa :)
     
    #6 MercyFlush, Aug 4, 2013
    Last edited: Aug 4, 2013
  7. David_A

    David_A
    Expand Collapse

    Joined:
    Aug 4, 2013
    Messages:
    8

    Thanks a lot MercyFlush. With your post I was able to change the resolution, activate v-sync and push the refresh rate to 120hz as my monitor allow it.

    I don't know if it's due to the fact that I never had access to the option screen but it seems that there is no client profile created in my hard drive.
    The file prefs.cs is missing from the location "script/client" but present inside "core/prefs.cs".
    Unfortunately the prefs.cs file contained only code for server and nothing else.
    Hopefully and with your information I was able to find the code in another file and location: "core/scripts/client/defaults.cs".
    This is the file that I modified in order to change the screen stuff.

    So in waiting a future update I can say that my problem is solved :cool: thank you
     
  8. MercyFlush

    MercyFlush
    Expand Collapse

    Joined:
    Mar 11, 2013
    Messages:
    23
    Not a problem, I'm glad it worked for you ;) I think the reason you didn't have a prefs.cs in the scripts directory is because you might not have been able to exit the game without it CTD (crash to desktop). If the game does crash when you press the exit/close button try this instead. Press Tilde (~) then type 'quit' without quotes, and then press enter. That should give you your prefs.cs in the script folder.

    I've also noticed that if you do an update the prefs.cs can sometimes be deleted so if it does disappear on you just do as above and you should be up and running quick smart. Although I'd say the dev's are working hard as always keeping the patches coming!
     
  9. David_A

    David_A
    Expand Collapse

    Joined:
    Aug 4, 2013
    Messages:
    8
    Perfect :)
    The file "prefs.cs" was created inside folder "script/client" when I typed 'quit' in the console.
    Thank you again :D
     
  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