game data schema

This commit is contained in:
2025-05-17 15:55:08 +02:00
parent 0b41d84ead
commit 23e5707e98
11 changed files with 787 additions and 72 deletions

View File

@@ -13,6 +13,7 @@ function detectType(filepath) {
function walk(dir, acc = []) {
const entries = fs.readdirSync(dir);
for (const entry of entries) {
if (entry == "manifest.json") continue;
const fullPath = path.join(dir, entry);
const relPath = path.relative(basePath, fullPath).replace(/\\/g, "/");
const stat = fs.statSync(fullPath);