mirror of
https://github.com/isledecomp/isle.pizza.git
synced 2026-03-01 14:27:38 +00:00
Parse and serialize Act1State textures in save files. Add a texture picker modal with default presets (from .tex files) and custom uploads persisted to IndexedDB per texture name. Quantize uploaded images against the WDB palette and render texture changes in the 3D preview. Support resetting textures to the WDB default.
22 lines
638 B
JavaScript
22 lines
638 B
JavaScript
/**
|
|
* File Format Parsers and Serializers
|
|
*/
|
|
|
|
// Binary utilities
|
|
export { BinaryReader } from './BinaryReader.js';
|
|
export { BinaryWriter } from './BinaryWriter.js';
|
|
|
|
// WDB format
|
|
export { WdbParser, findRoi } from './WdbParser.js';
|
|
|
|
// Save game format
|
|
export { SaveGameParser, parseSaveGame } from './SaveGameParser.js';
|
|
export { SaveGameSerializer, createSerializer } from './SaveGameSerializer.js';
|
|
|
|
// Players format
|
|
export { PlayersParser, parsePlayers } from './PlayersParser.js';
|
|
export { PlayersSerializer, createPlayersSerializer } from './PlayersSerializer.js';
|
|
|
|
// Texture format
|
|
export { parseTex } from './TexParser.js';
|