build(repo): make source comments and build tools self-contained

This commit is contained in:
N0VAN0M4LY committed 2026-11-29 08:46:08 +08:00
1 parent 5b5c59ab08
commit 44190e4544
106 files changed
+152 -183

No files matched your search

+1 -2
View File
@@ -1,8 +1,7 @@
/**
* Rebuild a data pack with some of its BLK documents edited and, optionally, new files added.
* Every other file of the pack is kept byte for byte. Edited documents are stored self-contained (they no longer depend on
* the pack's shared name map), which the game accepts in every loading mode
*.
* the pack's shared name map), which the game accepts in every loading mode.
*/
import { decodeBlk, encodeBlk, parseSharedNameMap, type BlkBlock } from '@wto/blk';
import { getFile, NAME_MAP_PATH, putFile, readArchive, writeArchive, type Archive } from '@wto/vromfs';