mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-17 12:33:38 +00:00
git subrepo pull --force tools/ZAPD
subrepo: subdir: "tools/ZAPD" merged: "769f5702a" upstream: origin: "https://github.com/zeldaret/ZAPD.git" branch: "master" commit: "769f5702a" git-subrepo: version: "0.4.3" origin: "???" commit: "???"
This commit is contained in:
parent
58813216fc
commit
5de22b5036
135 changed files with 5362 additions and 14304 deletions
|
@ -27,6 +27,7 @@ This document aims to be a small reference of how to create a compatible xml fil
|
|||
- [Mtx](#mtx)
|
||||
- [Cutscene](#cutscene)
|
||||
- [Array](#array)
|
||||
- [Path](#path)
|
||||
|
||||
## Basic XML
|
||||
|
||||
|
@ -110,6 +111,7 @@ u64 gCraterSmokeConeTex[] = {
|
|||
- `Format`: Required. The format of the image. Valid values: `rgba32`, `rgb5a1`, `i4`, `i8`, `ia4`, `ia8`, `ia16`, `ci4` and `ci8`.
|
||||
- `Width`: Required. Width in pixels of the image.
|
||||
- `Height`: Required. Height in pixels of the image.
|
||||
- `TlutOffset`: Optional. Specifies the tlut's offset used by this texture. This attribute is only valid if `Format` is either `ci4` or `ci8`, otherwise an exception would be thrown.
|
||||
|
||||
The following is a list of the texture formats the Nintendo 64 supports, with their gfxdis names and ZAPD format names.
|
||||
|
||||
|
@ -461,3 +463,20 @@ Currently, only [`Scalar`](#scalar), [`Vector`](#vector) and [`Vtx`](#vtx) suppo
|
|||
- `Count`: Required. Amount of elements. Integer.
|
||||
|
||||
-------------------------
|
||||
|
||||
-------------------------
|
||||
|
||||
### Path
|
||||
|
||||
- Example:
|
||||
|
||||
```xml
|
||||
<Path Name="gSpot09Path_002F60" Offset="0x2F60"/>
|
||||
```
|
||||
|
||||
- Attributes:
|
||||
|
||||
- `Name`: Required. Suxffixed by `Path`.
|
||||
- `NumPaths`: Optional. The amount of paths contained in the array. It must be a positive integer.
|
||||
|
||||
-------------------------
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue