Closed lacc97 closed 5 years ago
This would fix issue #187.
New commit does not use any Boost functions in the parser.
Hi, sorry for not responding for so long. Could you fix the indentation in iniconfig.cpp and squash all your commits into one? Thanks for working on this.
Hi, I'm not sure what's wrong with the indentation in the cpp file, I've tried following the code style as best I could.
Ok, fixed it.
Manually merged. Adjusted the commit message, removed x permissions from iniconfig.cpp.
On Windows, RPG Maker has no issue reading Game.ini files with case insensitive key or section names (i.e. 'game' instead of the more common 'Game' section). On the other hand, MKXP fails to start with a "No game scripts specified (missing Game.ini)" error message when the section or key name is not exactly as expected.
This PR fixes this by using a case insensitive ini parser. This parser uses Boost.Optional, Boost.Algorithm and Boost.Lexical_Cast.
Only tested on Linux with CMake.