Skip to content

Commit

Permalink
Bump version to 2.0.0-rc.1
Browse files Browse the repository at this point in the history
I still want to fix displacements before fully releasing 2.0.0, but with school looming and a working UI, I feel it's worth creating a pre-release for those who'd like to play with it.
  • Loading branch information
Dylancyclone committed Jul 30, 2021
1 parent e7eac01 commit afb3104
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 12 deletions.
20 changes: 11 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,22 +10,24 @@ Watch a demonstration video:

From the root directory, run:

`mvn package;java -jar ./target/VMF2OBJ-1.1.2-jar-with-dependencies.jar [VMF_FILE] [OUTPUT_FILE] [VPK_PATHS]`
`mvn package;java -jar ./target/VMF2OBJ-2.0.0-rc.1-jar-with-dependencies.jar [VMF_FILE] [args...]`

```
usage: vmf2obj [VMF_FILE] [OUTPUT_FILE] [VPK_PATHS] [args...]
-e,--externalPath <arg> Semi-colon separated list of folders for
external custom content (such as materials or
models)
-h,--help Show this message
-q,--quiet Suppress warnings
-t,--tools Ignore tool brushes
usage: vmf2obj [VMF_FILE] [args...]
-h,--help Show this message
-o,--output <arg> Name of the output files. Defaults to the name
of the VMF file
-q,--quiet Suppress warnings
-r,--resourcePaths <arg> Semi-colon separated list of VPK files and
folders for external custom content (such as
materials or models)
-t,--tools Ignore tool brushes
```

Example:

```
java -jar .\vmf2obj.jar .\input.vmf .\output "D:\SteamLibrary\steamapps\common\Half-Life 2\hl2\hl2_misc_dir.vpk;D:\SteamLibrary\steamapps\common\Half-Life 2\hl2\hl2_textures_dir.vpk" -e "C:\path\to\custom\content\;C:\path\to\more\custom\content\" -t
java -jar .\vmf2obj.jar .\input.vmf -o .\output -r "D:\SteamLibrary\steamapps\common\Half-Life 2\hl2\hl2_misc_dir.vpk;D:\SteamLibrary\steamapps\common\Half-Life 2\hl2\hl2_textures_dir.vpk;C:\path\to\custom\content\;C:\path\to\more\custom\content\" -t
```

## Packaged Dependencies
Expand Down
7 changes: 7 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
?/??/???? 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
* Verticies 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
* Fix colinear and equidistant points causing a crash
* Fix brushes having inverted normals
* Fix compatibility with new large VMT files

4/27/2021 1.1.3:
* Improve transparent material compatibility
* Fix handling materials with keyless commands/values
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<groupId>com.lathrum.VMF2OBJ</groupId>
<artifactId>VMF2OBJ</artifactId>
<version>1.1.3</version>
<version>2.0.0-rc.1</version>
<packaging>jar</packaging>

<name>VMF2OBJ</name>
Expand Down
2 changes: 0 additions & 2 deletions src/main/java/com/lathrum/VMF2OBJ/cli/VMF2OBJCLI.java
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@ public static void main(String[] args) throws Exception {

// Prepare Arguments
try {
job.file = new VMFFileEntry(new File(args[0]), args[1]);

// parse the command line arguments
CommandLine cmd = parser.parse(options, args);
if (cmd.hasOption("h") || args[0].charAt(0) == '-') {
Expand Down

0 comments on commit afb3104

Please sign in to comment.