ruarai / CompilePal

A tool to assist in the compiling of source engine maps
GNU General Public License v3.0
224 stars 25 forks source link

Re-wrote GameConfigurationParser.cs #70

Closed ghost closed 5 years ago

ghost commented 5 years ago

Compilepal crashes when the structure of GameConfig.txt is changed. For example after installing my tool AutoRadar for CS:GO, the structure is modified but is still read fine by hammer, but causes fatal error in compilepal.

This version will do a full KV parse therefore should account for every setup.

ghost commented 5 years ago

Yea this is a re-write of my c++ stuff, so it could use some cleaning.

In terms of testing, the actual vdf part should work flawlessly like it does in the c++ version, since that was able to read/write full vmf files.

I set it up to convert the path strings the same way as the old version, so it should function identically, just with more flexibility on how the file is structured

Exactol commented 5 years ago

Sorry it took so long for me to get to this, looks good to me. thanks for the PR!