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
Since v0.3.0 there's a PuG mode switch (on/off) to temporarily restore the vanilla backup, to let you play on servers that impose file consistency. As well as a button to completely and irreversibly reset the current gameinfo to the default.
9
+
Since v0.5.0 there's a different scheme of CLI commands. The commands are now divided between subcommands that perform it's own function. E.g. Installation, Listing, PuG mode, etc.
10
10
11
11

12
12
13
13
### CLI Usage
14
14
15
15
#### Installation
16
16
17
-
`L4AddonEnforcer -f <path to the *.vpk> -n <name>`
17
+
`L4AddonEnforcer install -f <path to the *.vpk> -n <name>`
18
+
19
+
**`install`** or **`i`** corresponds to the subcommand for installation.
18
20
19
21
**`-f`** corresponds to the original VPK addon file that will be copied (as pak01_dir.vpk) to the later created addon directory.
20
22
21
23
**`-n`** corresponds to the common name of the addon, a directory that will be named after, and an entry in the gameinfo.txt.
22
24
You can name it whatever you like, to later know what that addon is.
25
+
Since 0.5.0 optional due to the added autoinstall function that extracts and constructs name from the addon.
23
26
24
-
Example (linux): `./L4AddonEnforcer -f /home/user/Downloads/ion_vocalizer.vpk -n vocalizer`</br>
25
-
Example (windows): `L4AddonEnforcer.exe -f C:\Users\User\Downloads\ion_vocalizer.vpk -n vocalizer`
27
+
Example (linux): `./L4AddonEnforcer install -f /home/user/Downloads/ion_vocalizer.vpk -n vocalizer`</br>
28
+
Example (windows): `L4AddonEnforcer.exe install -f C:\Users\User\Downloads\ion_vocalizer.vpk -n vocalizer`
26
29
27
30
**The same way you can update an already installed addon.**
28
31
29
32
#### List of already installed addons
30
33
31
-
`L4AddonEnforcer -l`
34
+
`L4AddonEnforcer list`
35
+
36
+
**`list`** or **`l`** corresponds to the subcommand for listing.
32
37
33
38
Example output:
34
39
```
@@ -41,27 +46,45 @@ Installed addons:
41
46
Boomer_Pudge
42
47
```
43
48
49
+
Since 0.5.0 there is a **`-d`** argument to print metadata extracted from the addon.
50
+
44
51
***The list doesn't include the base game components***
45
52
#### Uninstallation
46
53
47
-
`L4AddonEnforcer -u <name>`
54
+
`L4AddonEnforcer uninstall -n <name>`
48
55
49
-
**`-u`** corresponds to the name of the already installed addon.
56
+
**`uninstall`** or **`u`** corresponds to the subcommand for uninstallation.
57
+
58
+
**`-n`** corresponds to the name of the already installed addon.
50
59
51
60
Example (linux): `./L4AddonEnforcer -u AlienSwarmFont`</br>
52
61
Example (windows): `L4AddonEnforcer.exe -u AlienSwarmFont`
**`rename`** or **`r`** corresponds to the subcommand for renaming.
57
68
58
-
**`-r`** corresponds to the name of the already installed addon.
69
+
**`-c`** corresponds to the current name of the already installed addon.
59
70
60
71
**`-n`** corresponds to the new name of the addon.
61
72
62
73
Example (linux): `./L4AddonEnforcer -r vocalizer -n ion_vocalizer`</br>
63
74
Example (windows): `L4AddonEnforcer.exe -r vocalizer -n ion_vocalizer`
64
75
76
+
#### PuG Mode
77
+
78
+
PuG mode temporalily switches the current gameinfo.txt file with the original gameinfo.txt file backup, if there is a need to play on servers that impose file consistency.
79
+
80
+
`L4AddonEnforcer pug < -c | -s >`
81
+
82
+
**`pug`** or **`p`** corresponds to the subcommand for managing the PuG mode.
83
+
84
+
**`-c`** checks the current status of the PuG mode.
85
+
86
+
**`-s`** switches the PuG mode.
87
+
65
88
#### More usage...
66
89
67
90
Use `L4AddonEnforcer -h` (simple) or `L4AddonEnforcer --help` (detailed) to learn more.
0 commit comments