diff --git a/changelog.txt b/changelog.txt index f89a90c..3d3c872 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,3 +1,6 @@ +5/8/2024 2.0.1: +* Fix geometry error when decompiling a map saved in Hammer++ + 5/24/2022 2.0.0: + Added GUI version of application. The GUI is accessible by double-clicking on the .jar file, while the CLI is still accessible through the terminal * Vertices that are within 0.2 units of each other will be merged together, greatly reducing the number of extraneous vertices when dealing with complex brushes diff --git a/pom.xml b/pom.xml index e8e5072..f0e38d4 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.lathrum.VMF2OBJ VMF2OBJ - 2.0.0 + 2.0.1 jar VMF2OBJ diff --git a/src/main/java/com/lathrum/VMF2OBJ/dataStructure/map/VMF.java b/src/main/java/com/lathrum/VMF2OBJ/dataStructure/map/VMF.java index 82f2681..33ba272 100644 --- a/src/main/java/com/lathrum/VMF2OBJ/dataStructure/map/VMF.java +++ b/src/main/java/com/lathrum/VMF2OBJ/dataStructure/map/VMF.java @@ -185,6 +185,7 @@ public static VMF parseVMF(String text) { side = side.replaceAll(objectRegex, ",\"$1\":$2"); side = side.replaceAll(keyValueRegex, "$1:$2,"); + side = side.replaceAll(objectCommaRegex, "},\""); side = side.replaceAll(",,", ","); if (disps != "") { disps = "\"dispinfo\":" + disps.substring(0, disps.length() - 1) + "}";