Update readme
This commit is contained in:
@@ -18,6 +18,6 @@ git submodule update --init --recursive
|
||||
**Generating a locale file**
|
||||
```bash
|
||||
export ARM_LOCALE=<locale code>
|
||||
./armorcore/make --from base/Tools --kfile extract_locales.js
|
||||
# Generates a `base/Assets/locale/<locale code>.json` file
|
||||
./armorcore/make --from base/tools --kfile extract_locales.js
|
||||
# Generates a `base/assets/locale/<locale code>.json` file
|
||||
```
|
||||
|
||||
+2
-7
@@ -13,7 +13,7 @@ armorlab
|
||||
git clone --recursive https://github.com/armory3d/armortools
|
||||
cd armortools/armorlab
|
||||
git clone https://github.com/armory3d/onnx_bin onnx
|
||||
# Unpack `models.zip` from https://github.com/armory3d/armorai/releases into `Assets/models` using 7-Zip - Extract Here
|
||||
# Unpack `models.zip` from https://github.com/armory3d/armorai/releases into `assets/models` using 7-Zip - Extract Here
|
||||
```
|
||||
|
||||
**Windows**
|
||||
@@ -21,21 +21,16 @@ git clone https://github.com/armory3d/onnx_bin onnx
|
||||
..\armorcore\make --graphics direct3d11
|
||||
# Open generated Visual Studio project at `build\ArmorLab.sln`
|
||||
# Build and run for x64 & release
|
||||
# Copy build\x64\Release\ArmorLab.exe to build\krom to run ArmorLab.exe directly
|
||||
```
|
||||
|
||||
**Linux** *wip - cpu only*
|
||||
```bash
|
||||
../armorcore/make --graphics opengl --compile
|
||||
cd ../armorcore/Deployment
|
||||
strip ArmorLab
|
||||
./ArmorLab ../../armorlab/build/krom
|
||||
../armorcore/make --graphics opengl --run
|
||||
```
|
||||
|
||||
**macOS** *wip - apple silicon only*
|
||||
```bash
|
||||
../armorcore/make --graphics metal
|
||||
cp -a build/krom/ ../armorcore/Deployment
|
||||
# Open generated Xcode project at `build/ArmorLab.xcodeproj`
|
||||
# Set macOS Deployment Target to 13.0
|
||||
# Build and run
|
||||
|
||||
+2
-11
@@ -19,21 +19,16 @@ cd armortools/armorpaint
|
||||
..\armorcore\make --graphics direct3d11
|
||||
# Open generated Visual Studio project at `build\ArmorPaint.sln`
|
||||
# Build and run for x64 & release
|
||||
# Copy build\x64\Release\ArmorPaint.exe to build\krom to run ArmorPaint.exe directly
|
||||
```
|
||||
|
||||
**Linux**
|
||||
```bash
|
||||
../armorcore/make --graphics opengl --compile
|
||||
cd ../armorcore/Deployment
|
||||
strip ArmorPaint
|
||||
./ArmorPaint ../../armorpaint/build/krom
|
||||
../armorcore/make --graphics opengl --run
|
||||
```
|
||||
|
||||
**macOS**
|
||||
```bash
|
||||
../armorcore/make --graphics metal
|
||||
cp -a build/krom/ ../armorcore/Deployment
|
||||
# Open generated Xcode project at `build/ArmorPaint.xcodeproj`
|
||||
# Set macOS Deployment Target to 13.0
|
||||
# Build and run
|
||||
@@ -63,14 +58,10 @@ cp -a build/krom/ ../armorcore/Deployment
|
||||
..\armorcore\make --graphics direct3d12
|
||||
# Open generated Visual Studio project at `build\ArmorPaint.sln`
|
||||
# Build and run for x64 & release
|
||||
# Copy build\x64\Release\ArmorPaint.exe to build\krom to run ArmorPaint.exe directly
|
||||
```
|
||||
|
||||
**Linux VKRT** *wip*
|
||||
```bash
|
||||
git clone --recursive https://github.com/armory3d/glsl_to_spirv
|
||||
../armorcore/make --graphics vulkan --compile
|
||||
cd ../armorcore/Deployment
|
||||
strip ArmorPaint
|
||||
./ArmorPaint ../../armorpaint/build/krom
|
||||
../armorcore/make --graphics vulkan --run
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user