2023-02-10 13:35:06 +01:00
|
|
|

|
2023-02-08 14:33:39 +01:00
|
|
|
|
|
|
|
|
armortools
|
|
|
|
|
==============
|
2023-02-08 18:02:54 +01:00
|
|
|
|
|
|
|
|
3D content creation tools.
|
|
|
|
|
|
|
|
|
|
[armorpaint/](https://github.com/armory3d/armortools/tree/main/armorpaint)<br>
|
|
|
|
|
[armorlab/](https://github.com/armory3d/armortools/tree/main/armorlab)
|
|
|
|
|
|
|
|
|
|
**Updating cloned repository**
|
|
|
|
|
```bash
|
|
|
|
|
git pull origin main
|
|
|
|
|
git submodule update --init --recursive
|
|
|
|
|
# Delete `armorpaint/build` directory if present
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
**Generating a locale file**
|
|
|
|
|
```bash
|
2024-01-20 14:41:53 +01:00
|
|
|
export ARM_LOCALE=<locale code>
|
|
|
|
|
./armorcore/Kinc/make --from base/Tools --kfile extract_locales.js
|
2023-03-16 09:47:34 +01:00
|
|
|
# Generates a `base/Assets/locale/<locale code>.json` file
|
2023-02-08 18:02:54 +01:00
|
|
|
```
|
|
|
|
|
|
|
|
|
|
**Release builds** *Optional, used for best performance*
|
|
|
|
|
```bash
|
|
|
|
|
# Compile krom.js using the closure compiler
|
|
|
|
|
https://developers.google.com/closure/compiler
|
|
|
|
|
# Generate a v8 snapshot file
|
|
|
|
|
export ARM_SNAPSHOT=1
|
|
|
|
|
../armorcore/Kinc/make --from ../armorcore -g api
|
|
|
|
|
./ArmorPaint . --snapshot
|
|
|
|
|
# Generates a `krom.bin` file from `krom.js` file
|
|
|
|
|
```
|