Add the shared BLK, VROMFS, executable patch, and build packages. Preserve typed fields and shared name tables when reading BLK data. Rewrite the service endpoints in place so the original environment names remain available to the client, then build the client copy.
11 lines
565 B
TypeScript
11 lines
565 B
TypeScript
/**
|
|
* The game's .vromfs.bin data packs. Two layers:
|
|
* - container (container.ts): header, zstd compression with a small XOR obfuscation, an MD5
|
|
* of the inner image, and a 256-byte signature tail;
|
|
* - image (image.ts): the file table (names, offsets, optional SHA-1 digests) and file data.
|
|
*/
|
|
export { getFile, putFile, readArchive, writeArchive, type Archive } from './archive.ts';
|
|
export { PackType, type ContainerInfo } from './container.ts';
|
|
export { VromfsFormatError } from './errors.ts';
|
|
export { NAME_MAP_PATH, type ImageLayout } from './image.ts';
|