Update README.md

This commit is contained in:
Bandwidth
2025-03-17 14:34:51 +01:00
committed by GitHub
parent 7b127b345b
commit 37c2255f08

View File

@@ -63,12 +63,11 @@ Ensure all textures have **READ/WRITE enabled** in Unity.
## 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):**
- 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.
- Each pixel is written using its `.Pack()` method (resulting in one byte per pixel).
- This data is generated by iterating through a 2D array in row-major order.
2. **Object Count:**
- Immediately following the VRAM data, a 2-byte unsigned short is written indicating the number of exported objects (PSXObjectExporters).