diff options
| author | OreoFR <tony37160@hotmail.fr> | 2026-11-30 11:29:46 +0100 |
|---|---|---|
| committer | OreoFR <tony37160@hotmail.fr> | 2026-11-30 11:29:46 +0100 |
| commit | ca71fd7f5c04ca3ec269fd3983e7201ac3344b8b (patch) | |
| tree | c92cfb77f76f7fd422f7efefcc8468526384af17 /docs/modding.md | |
| parent | e76cabc17a7400d6ab73da0e2689554b182df52a (diff) | |
| parent | 012b79a6787cd47d31dcf023eb2b67a1eac6d77f (diff) | |
Merge remote-tracking branch 'origin/main' into reprise-1837
Diffstat (limited to 'docs/modding.md')
| -rw-r--r-- | docs/modding.md | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/docs/modding.md b/docs/modding.md index 41ee5daed..86a6867c0 100644 --- a/docs/modding.md +++ b/docs/modding.md | |||
| @@ -35,7 +35,8 @@ At start the runtime prints what it loaded, for example: | |||
| 35 | install, list, check, enable, disable, pack and remove mods. A package is a normal ZIP file (the `.leonidamod` | 35 | install, list, check, enable, disable, pack and remove mods. A package is a normal ZIP file (the `.leonidamod` |
| 36 | extension is only a name) with `mod.json` at its top level or inside one top-level folder. The installer refuses | 36 | extension is only a name) with `mod.json` at its top level or inside one top-level folder. The installer refuses |
| 37 | paths that climb out of the package, links and manifests the runtime would reject; it never goes online and never | 37 | paths that climb out of the package, links and manifests the runtime would reject; it never goes online and never |
| 38 | copies game data. | 38 | copies game data. `list` and `check` read each `mod.json` by the runtime's rules, the `camera` section and a |
| 39 | byte-order mark included, and show the camera a mod sets next to its swaps. | ||
| 39 | 40 | ||
| 40 | On Windows, double-click **`Mods.bat`** for the Tkinter window (on Linux and macOS, run **`./Mods.sh`**; it needs | 41 | On Windows, double-click **`Mods.bat`** for the Tkinter window (on Linux and macOS, run **`./Mods.sh`**; it needs |
| 41 | Tkinter, `python3-tk` on Debian and Ubuntu): choose the port folder, install a ZIP or folder, | 42 | Tkinter, `python3-tk` on Debian and Ubuntu): choose the port folder, install a ZIP or folder, |
| @@ -54,7 +55,9 @@ python -I tools/leonida_mods.py --port "D:\Games\Leonida" disable mandy_prison_i | |||
| 54 | python -I tools/leonida_mods.py --dir "D:\Games\Leonida\mods" check | 55 | python -I tools/leonida_mods.py --dir "D:\Games\Leonida\mods" check |
| 55 | ``` | 56 | ``` |
| 56 | 57 | ||
| 57 | `pack` writes an installed folder back to a ZIP for sharing; `uninstall` removes it. `run` is a convenience | 58 | `pack` writes an installed folder back to a ZIP for sharing; `uninstall` removes it. A package carries any file name |
| 59 | that Windows and Linux both keep as written, whatever its length or the spaces inside it; `pack` stops at one that | ||
| 60 | is not (a device name such as `con.txt`, a trailing dot, a `:`), since `install` would refuse it. `run` is a convenience | ||
| 58 | launcher for the same options `gta6rt` already takes: | 61 | launcher for the same options `gta6rt` already takes: |
| 59 | 62 | ||
| 60 | ```powershell | 63 | ```powershell |