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.

"Failed to open main.cs". how do i fix it?

Discussion in 'Troubleshooting: Bugs, Questions and Support' started by FNAFCrew/ChaosPxlMC, Jan 12, 2019.

  1. FNAFCrew/ChaosPxlMC

    FNAFCrew/ChaosPxlMC
    Expand Collapse

    Joined:
    Jan 21, 2016
    Messages:
    4
    So: I start the game, the game stops working and tells me it doesn't find main.cs. Does my PC suck too much or am i doing something wrong?

    I verified the Integrity, meaning all the Data should be there, tried re-installing countless times and removed my mods so maybe it could work. I had that problem before but it resolved due to an unknown reason.

    So: What should i do?
     
  2. Nadeox1

    Nadeox1
    Expand Collapse
    Spinning Cube
    BeamNG Team

    Joined:
    Aug 5, 2012
    Messages:
    14,695
    On what platform you got the game on? Steam or Humble Bundle?
     
  3. FNAFCrew/ChaosPxlMC

    FNAFCrew/ChaosPxlMC
    Expand Collapse

    Joined:
    Jan 21, 2016
    Messages:
    4
    I am on Steam
     
  4. Nadeox1

    Nadeox1
    Expand Collapse
    Spinning Cube
    BeamNG Team

    Joined:
    Aug 5, 2012
    Messages:
    14,695
  5. FNAFCrew/ChaosPxlMC

    FNAFCrew/ChaosPxlMC
    Expand Collapse

    Joined:
    Jan 21, 2016
    Messages:
    4
    So i've tried anything really, i tried to find my Anti-Virus, instead i found Windows defender and de-activated scanning on the BeamNG folders. then i proceeded to check if any files were missing, there weren't that steam said. Also i checked Integrity on BeamNG and on the steam settings page to see if really everything is there. Unfortunatly i opened it again today and there was still no success. i honestly don't know why main.cs wouldn't want to open. Either it has trouble finding the file in my folder or the main.cs Data is broken which shouldn't be possible
     
  6. Nadeox1

    Nadeox1
    Expand Collapse
    Spinning Cube
    BeamNG Team

    Joined:
    Aug 5, 2012
    Messages:
    14,695
    If your 'main.cs' file is broken, this should have fixed it, the guide on post #4 should have fixed it already.

    I'm more of the idea you have some program messing/blocking the game from running correctly.
     
  7. FNAFCrew/ChaosPxlMC

    FNAFCrew/ChaosPxlMC
    Expand Collapse

    Joined:
    Jan 21, 2016
    Messages:
    4
    Funny thing is, i tried the 32-bit version and that works perfectly fine.
     
  8. Nadeox1

    Nadeox1
    Expand Collapse
    Spinning Cube
    BeamNG Team

    Joined:
    Aug 5, 2012
    Messages:
    14,695
    64-bit versions tend to have conflicts caused by other programs more easily than the 32-bit one.
    If 32-bit is working fine, then the possibility of something conflicting/blocking the game is more probable.
     
  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