Skip to content

Commit bdd2a53

Browse files
fix mapmanip script and add docs/gitignore for generated maps (ParadiseSS13#28429)
1 parent d701f58 commit bdd2a53

File tree

3 files changed

+14
-1
lines changed

3 files changed

+14
-1
lines changed

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -78,3 +78,6 @@ rustlibs_panic.txt
7878

7979
# mkdocs output.
8080
site
81+
82+
# mapmanip-generated DMM files
83+
_maps/map_files/**/*.mapmanipout.dmm

docs/mapping/submaps.md

+10
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,16 @@ even whole layouts, making it so a map looks different every time it is visited.
9595
9696
![](./images/mapmanip_results.png)
9797
98+
Mapmanip can also generate permutations of your map at the command line, by
99+
running:
100+
101+
```sh
102+
.\tools\rustlib_tools\mapmanip.ps1
103+
```
104+
105+
This will create a version of every map that has submaps and save them with
106+
the suffix `mapmanipout.dmm`, wherever the original map is located.
107+
98108
## Areas and Turfs
99109
100110
Areas and turfs, and specifically their "noop" types, have special meaning in

tools/rustlibs_tools/mapmanip.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ $BapiDllFunction = "all_mapmanip_configs_execute_ffi"
3131
$BapiExecutionTime = Measure-Command {
3232
# `rundll` runs a function from a dll
3333
# the very sad limitation is that it does not give any output from that function
34-
rundll32.exe $BapiPath, $BapiDllFunction
34+
rundll32.exe $BapiPath $BapiDllFunction
3535
}
3636

3737
# done

0 commit comments

Comments
 (0)