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

IniFile: Skip over C++ style comments as well #117

Merged
merged 1 commit into from
Jul 2, 2024

Conversation

LupertEverett
Copy link
Contributor

This fixes the "invalid stoi argument" error that happens when you try to run Wheel of Time. Apparently some of its ini files used C++ style "//" comments (normally they are denoted with ";"), which we did NOT ignore; and the said ini keys contained "x" as an index (because they're meant as examples), which we tried to read them as numbers to our certain doom.

Sadly, the game still doesn't run though.

@dpjudas dpjudas merged commit 5851c11 into dpjudas:master Jul 2, 2024
3 of 4 checks passed
@LupertEverett LupertEverett deleted the ini_file_cpp_comments branch July 3, 2024 03:57
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

Successfully merging this pull request may close these issues.

2 participants