mirror of
https://github.com/isledecomp/isle.pizza.git
synced 2026-03-01 14:27:38 +00:00
Replace static animation, texture, and globe bitmap files with a manifest-driven approach that extracts them directly from the game's SI files at runtime using HTTP Range requests. A new generate-manifest script scans SI files by MxCh objectId to locate each asset's byte offset(s), verifies integrity via MD5, and writes an asset-ranges.json manifest. The app consumes this manifest to fetch assets on demand, including support for files split across MxCh interleave boundaries. Also removes unused constants (ActorLODIndex, animation keyframe flag constants).
27 lines
759 B
JSON
27 lines
759 B
JSON
{
|
|
"name": "isle.pizza",
|
|
"version": "1.0.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "vite build && cp isle.js isle.wasm asset-ranges.json dist/ && node scripts/workbox-inject.js",
|
|
"build:ci": "vite build && node scripts/workbox-inject.js",
|
|
"check": "svelte-check --fail-on-warnings",
|
|
"preview": "vite preview",
|
|
"prepare:assets": "node scripts/prepare.js",
|
|
"generate:manifest": "node scripts/generate-manifest.js"
|
|
},
|
|
"dependencies": {
|
|
"@floating-ui/dom": "^1.7.5",
|
|
"three": "^0.182.0"
|
|
},
|
|
"devDependencies": {
|
|
"@sveltejs/vite-plugin-svelte": "^4.0.0",
|
|
"svelte": "^5.0.0",
|
|
"svelte-check": "^4.0.0",
|
|
"typescript": "^5.0.0",
|
|
"vite": "^5.4.0",
|
|
"workbox-cli": "^7.3.0"
|
|
}
|
|
}
|