-
Notifications
You must be signed in to change notification settings - Fork 494
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
got EOF or empty keyname While Reading csgo_english.txt (KeyValues) #258
Comments
This is a known issue with how we handle conditionals - see #232. |
I Dont Want To Sound Like a Stupid But Have You Ever Checked Valve's KeyValues.h And KeyValues.cpp I Know Its C++ But Maybe You Could Find Something |
Yes. This code is almost a 1:1 port of that. Interestingly, it's conditional handling is virtually hardcoded, and looks to be somewhat out of date with the latest conditional options (e.g. $PS3). |
in my opinion hardcoded conditional is better |
No, but somebody using SteamKit might want to extract Xbox/PS3 data, or even Linux data when running on Windows, etc. |
good point however (not a c++ expert :P) |
For anyone looking, this is supported in https://github.com/SteamDatabase/ValveKeyValue |
And poorly in #684 😅 |
Heres My Code:
static void Main(string[] args) { KeyValue csgo_english = new KeyValue(); csgo_english.ReadFileAsText(@"C:\Program Files (x86)\Steam\steamapps\common\Counter-Strike Global Offensive\csgo\resource\csgo_english.txt"); }
It Ends Up With An Error
The text was updated successfully, but these errors were encountered: