Update README.md
This commit is contained in:
@@ -63,12 +63,11 @@ Ensure all textures have **READ/WRITE enabled** in Unity.
|
|||||||
|
|
||||||
## Output Format
|
## Output Format
|
||||||
|
|
||||||
The binary file output by SplashEdit is structured as follows, allowing a programmer to write a parser in C based solely on this specification.
|
The binary file output by SplashEdit is structured as follows.
|
||||||
|
|
||||||
1. **VRAM Data (1 MB):**
|
1. **VRAM Data (1 MB):**
|
||||||
- The file begins with a 1 MB block of VRAM data.
|
- The file begins with a 1 MB block of VRAM data.
|
||||||
- This data is generated by iterating through a 2D array (`vramPixels`) in row-major order.
|
- This data is generated by iterating through a 2D array in row-major order.
|
||||||
- Each pixel is written using its `.Pack()` method (resulting in one byte per pixel).
|
|
||||||
|
|
||||||
2. **Object Count:**
|
2. **Object Count:**
|
||||||
- Immediately following the VRAM data, a 2-byte unsigned short is written indicating the number of exported objects (PSXObjectExporters).
|
- Immediately following the VRAM data, a 2-byte unsigned short is written indicating the number of exported objects (PSXObjectExporters).
|
||||||
|
|||||||
Reference in New Issue
Block a user