汉化所有 readme 文档 (9 个文件: 主 README/Iron 引擎/构建工具/许可证声明)
This commit is contained in:
+2
-2
@@ -1,4 +1,4 @@
|
||||
Welcome to the ArmorPaint development guide!
|
||||
欢迎阅读 ArmorPaint 开发指南!
|
||||
|
||||
> [!NOTE]
|
||||
> For program usage, see [ArmorPaint manual](https://armorpaint.org/manual) instead.
|
||||
> 程序的使用方法请参见 [ArmorPaint 使用手册](https://armorpaint.org/manual)。
|
||||
|
||||
+1
-1
@@ -1,3 +1,3 @@
|
||||
# iron
|
||||
|
||||
3D engine targeting Direct3D12, Vulkan, Metal and WebGPU. Based on [Kore](https://github.com/Kode/Kore).
|
||||
面向 Direct3D12、Vulkan、Metal 和 WebGPU 的 3D 引擎。基于 [Kore](https://github.com/Kode/Kore)。
|
||||
|
||||
@@ -1,22 +1,14 @@
|
||||
Based on Kore revision 370f433110c7341ecbc319537493c72375662fb5 by RobDangerous.
|
||||
基于 Kore 修订版 370f433110c7341ecbc319537493c72375662fb5(作者 RobDangerous)。
|
||||
https://github.com/Kode/Kore
|
||||
|
||||
Copyright (c) 2024 the Kore Development Team
|
||||
版权所有 (c) 2024 Kore 开发团队
|
||||
|
||||
This software is provided 'as-is', without any express or implied
|
||||
warranty. In no event will the authors be held liable for any damages
|
||||
arising from the use of this software.
|
||||
本软件按"原样"提供,不含任何明示或暗示的担保。在任何情况下,作者均不对因使用本软件而产生的任何损害承担责任。
|
||||
|
||||
Permission is granted to anyone to use this software for any purpose,
|
||||
including commercial applications, and to alter it and redistribute it
|
||||
freely, subject to the following restrictions:
|
||||
允许任何人将本软件用于任何目的,包括商业应用,并自由修改和重新分发,但须遵守以下限制:
|
||||
|
||||
1. The origin of this software must not be misrepresented; you must not
|
||||
claim that you wrote the original software. If you use this software
|
||||
in a product, an acknowledgment in the product documentation would be
|
||||
appreciated but is not required.
|
||||
1. 不得歪曲本软件的来源;不得声称您编写了原始软件。如果您在产品中使用本软件,欢迎在产品文档中致谢,但这不是必须的。
|
||||
|
||||
2. Altered source versions must be plainly marked as such, and must not be
|
||||
misrepresented as being the original software.
|
||||
2. 修改后的源代码版本必须明确标注,不得歪曲为原始软件。
|
||||
|
||||
3. This notice may not be removed or altered from any source distribution.
|
||||
3. 不得从任何源代码分发中删除或修改此声明。
|
||||
|
||||
@@ -1,22 +1,14 @@
|
||||
minikong based on Kongruent revision 1b0f3b70673122e3b20701cdb434781a065555d7 by RobDangerous.
|
||||
minikong 基于 Kongruent 修订版 1b0f3b70673122e3b20701cdb434781a065555d7(作者 RobDangerous)。
|
||||
https://github.com/Kode/Kongruent
|
||||
|
||||
Copyright (c) 2024 the Kore Development Team
|
||||
版权所有 (c) 2024 Kore 开发团队
|
||||
|
||||
This software is provided 'as-is', without any express or implied
|
||||
warranty. In no event will the authors be held liable for any damages
|
||||
arising from the use of this software.
|
||||
本软件按"原样"提供,不含任何明示或暗示的担保。在任何情况下,作者均不对因使用本软件而产生的任何损害承担责任。
|
||||
|
||||
Permission is granted to anyone to use this software for any purpose,
|
||||
including commercial applications, and to alter it and redistribute it
|
||||
freely, subject to the following restrictions:
|
||||
允许任何人将本软件用于任何目的,包括商业应用,并自由修改和重新分发,但须遵守以下限制:
|
||||
|
||||
1. The origin of this software must not be misrepresented; you must not
|
||||
claim that you wrote the original software. If you use this software
|
||||
in a product, an acknowledgment in the product documentation would be
|
||||
appreciated but is not required.
|
||||
1. 不得歪曲本软件的来源;不得声称您编写了原始软件。如果您在产品中使用本软件,欢迎在产品文档中致谢,但这不是必须的。
|
||||
|
||||
2. Altered source versions must be plainly marked as such, and must not be
|
||||
misrepresented as being the original software.
|
||||
2. 修改后的源代码版本必须明确标注,不得歪曲为原始软件。
|
||||
|
||||
3. This notice may not be removed or altered from any source distribution.
|
||||
3. 不得从任何源代码分发中删除或修改此声明。
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# amake
|
||||
|
||||
Iron build tool.
|
||||
Iron 构建工具。
|
||||
|
||||
```bash
|
||||
../../make --compile && cp build/out/amake ../bin/linux_x64/amake
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
# iris.c
|
||||
|
||||
Minimal iris.c library with Vulkan and Metal backends.
|
||||
极简 iris.c 库,带 Vulkan 和 Metal 后端。
|
||||
|
||||
Based on [iris.c](github.com/antirez/iris.c) revision 9873887d4aa0646c650adc5b86b986d2f653b7e0 by Salvatore Sanfilippo.
|
||||
基于 [iris.c](github.com/antirez/iris.c) 修订版 9873887d4aa0646c650adc5b86b986d2f653b7e0(作者 Salvatore Sanfilippo)。
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Thank you for supporting ArmorPaint!
|
||||
感谢您支持 ArmorPaint!
|
||||
|
||||
Quick start:
|
||||
快速上手:
|
||||
https://armorpaint.org/manual
|
||||
|
||||
(
|
||||
|
||||
@@ -1,11 +1,8 @@
|
||||
// This module builds upon Cycles nodes work licensed as
|
||||
// Copyright 2011-2013 Blender Foundation
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
// 本模块基于 Cycles 节点作品构建,版权归
|
||||
// Copyright 2011-2013 Blender Foundation 所有
|
||||
// 依据 Apache License 2.0 版("许可证")授权;
|
||||
// 除非遵守许可证,否则不得使用此文件。
|
||||
// 许可证副本见 http://www.apache.org/licenses/LICENSE-2.0
|
||||
// 除非适用法律要求或书面同意,按许可证分发的软件
|
||||
// 均按"原样"提供,不含任何明示或暗示的担保或条件。
|
||||
// 请参阅许可证以了解管理权限和限制的具体语言。
|
||||
|
||||
@@ -3,11 +3,11 @@
|
||||
armorpaint
|
||||
==============
|
||||
|
||||
[ArmorPaint](https://armorpaint.org) is a software for 3D PBR texture painting - check out the [manual](https://armorpaint.org/manual).
|
||||
[ArmorPaint](https://armorpaint.org) 是一款 3D PBR 贴图绘制软件——详见[使用手册](https://armorpaint.org/manual)。
|
||||
|
||||
*Note 1: This repository is aimed at developers and may not be stable. Distributed binaries are [paid](https://armorpaint.org/download) to help with the project funding. All of the development is happening here in order to make it accessible to everyone. Thank you for support!*
|
||||
*注意 1:本仓库面向开发者,可能不稳定。官方分发的二进制为[付费](https://armorpaint.org/download),用于支持项目开发。所有开发都在此公开进行,以便人人可用。感谢支持!*
|
||||
|
||||
*Note 2: If you are compiling git version of ArmorPaint, then you need to have a compiler ([Visual Studio with clang tools](https://visualstudio.microsoft.com/downloads/) - Windows, [clang + dependencies](https://github.com/armory3d/armorpaint/blob/main/base/docs/linux_deps.md) - Linux, [Xcode](https://developer.apple.com/xcode/resources/) - macOS / iOS, [Android Studio](https://developer.android.com/studio) - Android) and [git](https://git-scm.com/downloads) installed.*
|
||||
*注意 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)。*
|
||||
|
||||
```bash
|
||||
git clone https://github.com/armory3d/armorpaint
|
||||
@@ -17,8 +17,8 @@ cd armorpaint/paint
|
||||
**Windows (x64)**
|
||||
```bash
|
||||
..\base\make
|
||||
# Open generated Visual Studio project at `build\ArmorPaint.sln`
|
||||
# Build and run
|
||||
# 打开生成的 Visual Studio 工程 `build\ArmorPaint.sln`
|
||||
# 编译并运行
|
||||
```
|
||||
|
||||
**Linux (x64)**
|
||||
@@ -29,22 +29,22 @@ cd armorpaint/paint
|
||||
**macOS (arm64)**
|
||||
```bash
|
||||
../base/make
|
||||
# Open generated Xcode project at `build/ArmorPaint.xcodeproj`
|
||||
# Build and run
|
||||
# 打开生成的 Xcode 工程 `build/ArmorPaint.xcodeproj`
|
||||
# 编译并运行
|
||||
```
|
||||
|
||||
**Android (arm64)**
|
||||
```bash
|
||||
../base/make --target android
|
||||
# Open generated Android Studio project at `build/ArmorPaint`
|
||||
# Build for device
|
||||
# 打开生成的 Android Studio 工程 `build/ArmorPaint`
|
||||
# 为设备编译
|
||||
```
|
||||
|
||||
**iOS (arm64)**
|
||||
```bash
|
||||
../base/make --target ios
|
||||
# Open generated Xcode project `build/ArmorPaint.xcodeproj`
|
||||
# Build for device
|
||||
# 打开生成的 Xcode 工程 `build/ArmorPaint.xcodeproj`
|
||||
# 为设备编译
|
||||
```
|
||||
|
||||
**WASM**
|
||||
@@ -52,14 +52,14 @@ cd armorpaint/paint
|
||||
../base/make --target wasm --compile --embed
|
||||
```
|
||||
|
||||
**Generating a locale file**
|
||||
**生成本地化语言文件**
|
||||
```bash
|
||||
./base/make --js base/tools/extract_locales.js <locale code>
|
||||
# Generates a `paint/assets/locale/<locale code>.json` file
|
||||
./base/make --js base/tools/extract_locales.js <语言代码>
|
||||
# 生成 `paint/assets/locale/<语言代码>.json` 文件
|
||||
```
|
||||
|
||||
**Embedding data files**
|
||||
**内嵌数据文件**
|
||||
```bash
|
||||
# Requires compiler with c23 #embed support (clang 19 or newer)
|
||||
# 需要支持 c23 #embed 的编译器(clang 19 或更新)
|
||||
../base/make --embed
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user