This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{- | | |
Extracts and injects files from the game Vagante's data.vra. | |
The format (after a 0x18-byte-long header) is a simple repeating pattern: | |
- length of filename (4 bytes little-endian) | |
- filename | |
- length of file data (4 bytes little-endian) | |
- file data | |
The files themselves are all nice standard formats: | |
OGG, WAV, PNG, JSON, TTF, and OpenGL fragment shader. | |
-} |