You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ModVerify is a command-line tool designed to analyze
4
3
mods for the game Star Wars: Empire at War and its expansion Forces of Corruption
5
4
for common errors in XML and other game files.
@@ -8,6 +7,7 @@ for common errors in XML and other game files.
8
7
9
8
-[Installation](#installation)
10
9
-[Usage](#usage)
10
+
-[Getting Updates](#getting-updates)
11
11
-[Options](#options)
12
12
-[Available Checks](#available-checks)
13
13
-[Creating a new Baseline](#creating-a-new-baseline)
@@ -18,51 +18,73 @@ for common errors in XML and other game files.
18
18
19
19
Download the latest release from the [releases page](https://github.com/AlamoEngine-Tools/ModVerify/releases). There are two versions of the application available.
20
20
21
-
1.`ModVerify.exe`is the default version. Use this if you simply want to verify your mods. This version only works on Windows.
22
-
2.`ModVerify-NetX.zip` is the cross-platform app. It works on Windows and Linux and is most likely the version you want to use to include it in some CI/CD scenarios.
21
+
1.`ModVerify.exe`(**recommended**): Use this if you simply want to verify your mods. This version only works on Windows.
22
+
2.`ModVerify-NetX.zip`: Cross-platform app. It works on Windows and Linux and is most likely the version you want to use to include it in some CI/CD scenarios.
23
23
24
24
You can place the files anywhere on your system, eg. your Desktop. There is no need to place it inside a mod's directory.
25
25
26
-
***Note**: Both versions have the exact same feature set. They just target a different .NET runtime. Linux and CI/CD support is not fully tested yet. Current priority is on the Windows-only version.*
26
+
***Note**: Only the Windows version supports automatic updates.
27
+
Except for that both versions have the exact same feature set.
28
+
They just target a different .NET runtime. Linux and CI/CD support is not fully tested yet.
29
+
Current priority is on the Windows-only version.*
27
30
28
31
---
29
32
30
33
## Usage
31
34
32
35
Simply run the executable file `ModVerify.exe`.
33
36
34
-
When given no specific argument through the command line, ModVerify will ask you which game or mod you want to verify. When ModVerify is done analyzing, it will write the verification results into new files next to the executable.
37
+
When given no specific argument through the command line, ModVerify will ask you which game or mod you want to verify.
38
+
When ModVerify is done analyzing, it will write the verification results into a folder `ModVerifyResults` next to the executable.
A `.JSON` file contains all identified issues. The additional `.txt` files contain the same errors but are grouped by the verifier that reported the issue.
37
-
The text files may be easier to read, while the JSON file is more useful for 3rd party tool processing.
43
+
The text files may be easier to read, while the JSON file is more useful for 3rd party tool processing.
38
44
39
-
## Options
45
+
*Vanilla Empire at War is currently not supported.*
46
+
47
+
---
40
48
41
-
You can also run the tool with command line arguments to adjust the tool to your needs.
49
+
## Getting Updates
42
50
43
-
To see all available options, especially if you have custom folder setups, open the command line and type:
51
+
ModVerify automatically check for updates.
52
+
53
+
*The following applies to the Windows (.NET Framework) version only*
54
+
55
+
When executed with no arguments the application automatically checks for an available update and will ask you whether you want to update now.
56
+
Otherwise, the app only informs you whether an update is available.
57
+
58
+
You can use the dedicated `updateApplication` option to trigger an update.
44
59
45
60
```bash
46
-
ModVerify.exe --help
61
+
.\ModVerify.exe updateApplication
47
62
```
48
63
49
-
Here is a list of the most relevant options:
64
+
***Note:***
65
+
You may be required to put ModVerify on your AntiVirus whitelist.
66
+
67
+
---
68
+
69
+
## Options
50
70
51
-
### `--path`
52
-
Specifies a path that shall be analyzed. **There will be no user input required when using this option**
71
+
You can also run the tool with command line arguments to specify custom behavior.
53
72
54
-
### `--output`
55
-
Specified the output path where analysis result shall be written to.
73
+
To see all available options, especially if you have custom folder setups, open the command line and type:
56
74
57
-
### `--baseline`
58
-
Specifies a baseline file that shall be used to filter out known errors. You can download the [FoC baseline](focBaseline.json) which includes all errors produced by the vanilla game.
75
+
```bash
76
+
.\ModVerify.exe --help
77
+
```
59
78
79
+
In general ModVerify has two operation mods.
80
+
1.`verify` Verifying a game or mod
81
+
2.`createBaseline` Creating a baseline for a game or mod, that can be used for further verifications in order to verify you did not add more errors to your mods.
60
82
61
83
### Example
62
84
This is an example run configuration that analyzes a specific mod, uses a the FoC basline and writes the output into a dedicated directory:
0 commit comments