Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FileNotFoundError: [Errno 2] No such file or directory: 'portal2\\gameinfo.txt' #122

Open
TheEnderek0 opened this issue Apr 3, 2021 · 3 comments

Comments

@TheEnderek0
Copy link

image
When making a map in hammer, and trying to play it this error appears. I think it's a problem with postcomplier.exe, because unchecking that option in Run Map [Advanced] shows no error. The entities are broken then though.

@TheEnderek0
Copy link
Author

I also add that I followed every single step on the wiki.

@TeamSpen210
Copy link
Owner

Okay, it broke because your map isn't saved in sdk_content, and so it couldn't determine where the Portal 2 folder is. A srctools.vdf config should have generated next to your VMF. Open that up and set gameinfo to the full path to Portal 2/portal2/.

@TheEnderek0
Copy link
Author

There is no such file in my map directory. There is srctools.vdf but it's in the Portal 2\bin\postcompiler, but changing any value there gives no results as it resets.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants