Skip to content

Commit 520e832

Browse files
committed
update documentation
1 parent 5307163 commit 520e832

2 files changed

Lines changed: 43 additions & 21 deletions

File tree

README.md

Lines changed: 43 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# ModVerify: A Mod Verification Tool
2-
32
ModVerify is a command-line tool designed to analyze
43
mods for the game Star Wars: Empire at War and its expansion Forces of Corruption
54
for common errors in XML and other game files.
@@ -8,6 +7,7 @@ for common errors in XML and other game files.
87

98
- [Installation](#installation)
109
- [Usage](#usage)
10+
- [Getting Updates](#getting-updates)
1111
- [Options](#options)
1212
- [Available Checks](#available-checks)
1313
- [Creating a new Baseline](#creating-a-new-baseline)
@@ -18,51 +18,73 @@ for common errors in XML and other game files.
1818

1919
Download the latest release from the [releases page](https://github.com/AlamoEngine-Tools/ModVerify/releases). There are two versions of the application available.
2020

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.
2323

2424
You can place the files anywhere on your system, eg. your Desktop. There is no need to place it inside a mod's directory.
2525

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.*
2730

2831
---
2932

3033
## Usage
3134

3235
Simply run the executable file `ModVerify.exe`.
3336

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.
39+
40+
![ModVerify Image](./docs/ModVerify.png "ModVerify")
3541

3642
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.
3844

39-
## Options
45+
*Vanilla Empire at War is currently not supported.*
46+
47+
---
4048

41-
You can also run the tool with command line arguments to adjust the tool to your needs.
49+
## Getting Updates
4250

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.
4459

4560
```bash
46-
ModVerify.exe --help
61+
.\ModVerify.exe updateApplication
4762
```
4863

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
5070

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.
5372

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:
5674

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+
```
5978

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.
6082

6183
### Example
6284
This is an example run configuration that analyzes a specific mod, uses a the FoC basline and writes the output into a dedicated directory:
6385

6486
```bash
65-
ModVerify.exe --path "C:\My Games\FoC\Mods\MyMod" --output "C:\My Games\FoC\Mods\MyMod\verifyResults" --baseline focBaseline.json
87+
.\ModVerify.exe verify --path "C:\My Games\FoC\Mods\MyMod" --outDir "C:\My Games\FoC\Mods\MyMod\verifyResults" --baseline ./focBaseline.json
6688
```
6789

6890
---
@@ -80,12 +102,12 @@ The following verifiers are currently implemented:
80102
- Checks the referenced textures exist
81103

82104
### GameObjects
83-
- Checks the referenced models for validity (textures, particles and shaders)
105+
- Checks the referenced models for validity (ALO file, textures, particles and shaders)
84106
- Duplicates
85107

86108
### Engine
87109
- Performs assertion checks the Debug builds of the game are also doing (not complete)
88-
- Sports XML errors and unexpected values
110+
- XML errors and unexpected values
89111

90112
---
91113

@@ -95,5 +117,5 @@ If you want to create your own baseline use the `createBaseline` option.
95117

96118
### Example
97119
```bash
98-
ModVerify.exe createBaseline -o myBaseline.json --path "C:\My Games\FoC\Mods\MyMod"
120+
ModVerify.exe createBaseline --outFile myBaseline.json --path "C:\My Games\FoC\Mods\MyMod"
99121
```

docs/ModVerify.png

99.4 KB
Loading

0 commit comments

Comments
 (0)