Skip to content

Commit f3ff99e

Browse files
committed
Let the rules directory of the engine be used
1 parent 4e6d1b6 commit f3ff99e

10 files changed

+13
-1188
lines changed

.vscode/launch.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@
99
"type": "cppvsdbg",
1010
"request": "launch",
1111
"program": "${workspaceFolder}/zig-out/bin/cc-legacy-mod-converter",
12-
"args": [],
12+
"args": ["../Cortex-Command-Mod-Converter-Engine/rules"],
1313
"cwd": "${workspaceFolder}",
1414
"console": "integratedTerminal",
1515
"preLaunchTask": "Build mod converter"
1616
}
1717
]
18-
}
18+
}

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@ See the [releases page](https://github.com/cortex-command-community/Cortex-Comma
1515

1616
## Conversion rules
1717

18-
This line from `rules/ini_copy_of_rules.json`:
18+
This line from the [Cortex Command Mod Converter Engine](https://github.com/MyNameIsTrez/Cortex-Command-Mod-Converter-Engine)'s' `rules/ini_copy_of_rules.json`:
1919

2020
`"Round M16": "Round Ronin M16",`
2121

2222
states that whenever `CopyOf = Round M16` is encountered by the converter, it should change it to `CopyOf = Round Ronin M16`.
2323

24-
This means you can make the converter "smarter" by adding more rules to the JSON files in the `rules/` directory.
24+
The releases of this GUI program contain a copy of the engine's `rules` directory, which this GUI program uses. This means you can make the converter "smarter" by adding more rules to the JSON files in the `rules/` directory.
2525

2626
Look at the names of the JSON files (or check how they're used in the [Engine repository's src/main.zig](https://github.com/MyNameIsTrez/Cortex-Command-Mod-Converter-Engine/blob/master/src/main.zig)) to figure out how the converter uses each JSON file.
2727

rules/ini_copy_of_rules.json

-313
This file was deleted.

0 commit comments

Comments
 (0)