Files

66 lines
1.8 KiB
Markdown
Raw Permalink Normal View History

2026-06-04 10:16:03 +02:00
![](https://armorpaint.org/img/git.jpg)
2023-02-08 14:33:39 +01:00
2026-03-24 12:40:18 +01:00
armorpaint
2023-02-08 14:33:39 +01:00
==============
2023-02-08 18:02:54 +01:00
[ArmorPaint](https://armorpaint.org) 是一款 3D PBR 贴图绘制软件——详见[使用手册](https://armorpaint.org/manual)。
2023-02-08 18:02:54 +01:00
*注意 1:本仓库面向开发者,可能不稳定。官方分发的二进制为[付费](https://armorpaint.org/download),用于支持项目开发。所有开发都在此公开进行,以便人人可用。感谢支持!*
2026-06-04 10:16:03 +02:00
*注意 2:编译 ArmorPaint 的 git 版本需要安装编译器(Windows - [带 clang 工具的 Visual Studio](https://visualstudio.microsoft.com/downloads/)Linux - [clang + 依赖](https://github.com/armory3d/armorpaint/blob/main/base/docs/linux_deps.md)macOS / iOS - [Xcode](https://developer.apple.com/xcode/resources/)Android - [Android Studio](https://developer.android.com/studio))以及 [git](https://git-scm.com/downloads)。*
2026-06-04 10:16:03 +02:00
```bash
git clone https://github.com/armory3d/armorpaint
cd armorpaint/paint
```
**Windows (x64)**
```bash
..\base\make
# 打开生成的 Visual Studio 工程 `build\ArmorPaint.sln`
# 编译并运行
2026-06-04 10:16:03 +02:00
```
**Linux (x64)**
```bash
../base/make --run
```
**macOS (arm64)**
```bash
../base/make
# 打开生成的 Xcode 工程 `build/ArmorPaint.xcodeproj`
# 编译并运行
2026-06-04 10:16:03 +02:00
```
**Android (arm64)**
```bash
../base/make --target android
# 打开生成的 Android Studio 工程 `build/ArmorPaint`
# 为设备编译
2026-06-04 10:16:03 +02:00
```
**iOS (arm64)**
```bash
../base/make --target ios
# 打开生成的 Xcode 工程 `build/ArmorPaint.xcodeproj`
# 为设备编译
2026-06-04 10:16:03 +02:00
```
**WASM**
```bash
../base/make --target wasm --compile --embed
```
2023-02-08 18:02:54 +01:00
**生成本地化语言文件**
2023-02-08 18:02:54 +01:00
```bash
./base/make --js base/tools/extract_locales.js <语言代码>
# 生成 `paint/assets/locale/<语言代码>.json` 文件
2023-02-08 18:02:54 +01:00
```
2024-09-24 18:27:01 +02:00
**内嵌数据文件**
2024-09-24 18:27:01 +02:00
```bash
# 需要支持 c23 #embed 的编译器(clang 19 或更新)
2025-02-26 08:47:09 +01:00
../base/make --embed
2024-09-24 18:27:01 +02:00
```