Skip to content

A fast 2D and 3D game engine — TypeScript SDK, C++/WebAssembly core, visual editor. Ship one project to web, desktop, WeChat MiniGames, playable ads, and native Android / iOS.

refactor(fixtures): the pixel gates' scenes live engine-side

esenginec5f7c3c03ffd
diff --git a/desktop/scripts/headless-smoke.mjs b/desktop/scripts/headless-smoke.mjs
index 704cf6d7b..fe47aa681 100644
--- a/desktop/scripts/headless-smoke.mjs
+++ b/desktop/scripts/headless-smoke.mjs
@@ -14,10 +14,9 @@
* from location.origin), opens headless.html, then exercises the surface.
*/
import { app, BrowserWindow } from 'electron';
-import http from 'node:http';
-import { readFile } from 'node:fs/promises';
import path from 'node:path';
import { fileURLToPath } from 'node:url';
+import { serveHost } from '../../tools/lib/staticServer.mjs';
const DIST = path.resolve(path.dirname(fileURLToPath(import.meta.url)), '..', 'dist');
const SCENE = '/scenes/sprite-rendering.esscene';
@@ -26,35 +25,13 @@ const MANIFEST = '/scenes/sprite-rendering.textures.json';
app.commandLine.appendSwitch('enable-unsafe-swiftshader');
process.env.ELECTRON_DISABLE_SECURITY_WARNINGS = 'true';
-const MIME = {
- '.html': 'text/html', '.js': 'text/javascript', '.mjs': 'text/javascript',
- '.css': 'text/css', '.json': 'application/json', '.esscene': 'application/json',
- '.wasm': 'application/wasm', '.png': 'image/png', '.jpg': 'image/jpeg', '.webp': 'image/webp',
-};
-
-function serveDist() {
- const server = http.createServer(async (req, res) => {
- try {
- const rel = decodeURIComponent(new URL(req.url, 'http://x').pathname).replace(/^\/+/, '') || 'index.html';
- const abs = path.join(DIST, rel);
- if (!abs.startsWith(DIST)) return void res.writeHead(403).end();
- const bytes = await readFile(abs);
- res.writeHead(200, { 'content-type': MIME[path.extname(abs).toLowerCase()] ?? 'application/octet-stream' });
- res.end(bytes);
- } catch {
- res.writeHead(404).end('not found');
- }
- });
- return new Promise((resolve) => server.listen(0, '127.0.0.1', () => resolve(server)));
-}
-
const checks = [];
const check = (name, pass, detail) => checks.push({ name, pass: !!pass, detail });
app.whenReady().then(async () => {
let server;
try {
- server = await serveDist();
+ server = await serveHost(DIST);
const win = new BrowserWindow({ show: false, width: 640, height: 480, webPreferences: { offscreen: false } });
await win.loadURL(`http://127.0.0.1:${server.address().port}/headless.html?w=640&h=480`);
const exec = (code) => win.webContents.executeJavaScript(code, true);
diff --git a/desktop/scripts/headless-verify.mjs b/desktop/scripts/headless-verify.mjs
index d52480756..c8d0a6399 100644
--- a/desktop/scripts/headless-verify.mjs
+++ b/desktop/scripts/headless-verify.mjs
@@ -27,12 +27,12 @@
* ESTELLA_VERIFY_TIMEOUT_MS how long this run may take before it reports one
*/
import { app, BrowserWindow } from 'electron';
-import http from 'node:http';
import os from 'node:os';
-import { readFile, writeFile } from 'node:fs/promises';
+import { writeFile } from 'node:fs/promises';
import path from 'node:path';
import { fileURLToPath } from 'node:url';
import { onRendererConsole } from './rendererConsole.mjs';
+import { serveHost } from '../../tools/lib/staticServer.mjs';
// SwiftShader rasterizes on the CPU; run the whole electron tree below normal
// priority (child processes inherit the class) so a verify never starves the
@@ -87,33 +87,6 @@ if (BACKEND === 'webgpu') {
}
process.env.ELECTRON_DISABLE_SECURITY_WARNINGS = 'true';
-const MIME = {
- '.html': 'text/html', '.js': 'text/javascript', '.mjs': 'text/javascript',
- '.css': 'text/css', '.json': 'application/json', '.esscene': 'application/json',
- '.wasm': 'application/wasm', '.png': 'image/png', '.jpg': 'image/jpeg',
- '.webp': 'image/webp', '.woff': 'font/woff', '.woff2': 'font/woff2', '.svg': 'image/svg+xml',
- '.mp4': 'video/mp4', '.webm': 'video/webm',
-};
-
-function serveDist() {
- const server = http.createServer(async (req, res) => {
- try {
- const rel = decodeURIComponent(new URL(req.url, 'http://x').pathname).replace(/^\/+/, '') || 'index.html';
- const abs = path.join(DIST, rel);
- if (!abs.startsWith(DIST)) {
- res.writeHead(403).end();
- return;
- }
- const bytes = await readFile(abs);
- res.writeHead(200, { 'content-type': MIME[path.extname(abs).toLowerCase()] ?? 'application/octet-stream' });
- res.end(bytes);
- } catch {
- res.writeHead(404).end('not found');
- }
- });
- return new Promise((resolve) => server.listen(0, '127.0.0.1', () => resolve(server)));
-}
-
function finish(result, server) {
// Both modes assert the loss was seen and reported and the device ended Live
// with nothing left on the placeholder. Only the driven mode asserts the steps
@@ -171,7 +144,7 @@ function finish(result, server) {
app.whenReady().then(async () => {
let server;
try {
- server = await serveDist();
+ server = await serveHost(DIST);
const url = `http://127.0.0.1:${server.address().port}/headless.html?w=${W}&h=${H}&backend=${BACKEND}${COLORSPACE ? `&colorSpace=${COLORSPACE}` : ''}${DEPTH_LAYERS ? `&depthLayers=${DEPTH_LAYERS}` : ''}${SEED ? `&seed=${SEED}` : ''}`;
// useContentSize: the capture rectangle must be the page area, not the
diff --git a/desktop/scripts/make-env-fixture.mjs b/desktop/scripts/make-env-fixture.mjs
index 3247f135e..0f9455837 100644
--- a/desktop/scripts/make-env-fixture.mjs
+++ b/desktop/scripts/make-env-fixture.mjs
@@ -17,7 +17,7 @@ import path from 'node:path';
import { fileURLToPath } from 'node:url';
const HERE = path.dirname(fileURLToPath(import.meta.url));
-const scenes = path.join(HERE, '..', 'public', 'scenes');
+const scenes = path.join(HERE, '..', '..', 'fixtures', 'scenes');
const cli = path.join(HERE, '..', '..', 'pipeline', 'bin', 'estella.mjs');
const W = 64;
diff --git a/desktop/scripts/make-mesh-fixture.mjs b/desktop/scripts/make-mesh-fixture.mjs
index ff89f57cd..6cf327373 100644
--- a/desktop/scripts/make-mesh-fixture.mjs
+++ b/desktop/scripts/make-mesh-fixture.mjs
@@ -16,7 +16,7 @@ import path from 'node:path';
import { fileURLToPath } from 'node:url';
const HERE = path.dirname(fileURLToPath(import.meta.url));
-const scenes = path.join(HERE, '..', 'public', 'scenes');
+const scenes = path.join(HERE, '..', '..', 'fixtures', 'scenes');
const cli = path.join(HERE, '..', '..', 'pipeline', 'bin', 'estella.mjs');
// two-triangles: the mesh2d geometry, so a file drawing what the scene draws is
@@ -25,7 +25,7 @@ const cli = path.join(HERE, '..', '..', 'pipeline', 'bin', 'estella.mjs');
// parent and two placed children, one of them scaled. normalmap-quad: a normal
// map over flat normals, which only a tangent frame can tell apart.
//
-// public/ stands in for the project root, so the prefab's refs read `scenes/…`
+// fixtures/ stands in for the project root, so the prefab's refs read `scenes/…`
// — the spelling a component carries, resolved from the served root.
// model-material: the three channels only a material can carry — emission,
// occlusion, an alpha cutoff — one quad each.
diff --git a/desktop/vite.config.ts b/desktop/vite.config.ts
index bdde629bb..c81c1a5b4 100644
--- a/desktop/vite.config.ts
+++ b/desktop/vite.config.ts
@@ -2,6 +2,8 @@
// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import { defineConfig, type Plugin } from 'vite';
import { fileURLToPath, URL } from 'node:url';
+import { createReadStream, existsSync } from 'node:fs';
+import { join } from 'node:path';
import react from '@vitejs/plugin-react';
import electron from 'vite-plugin-electron/simple';
import { context as esbuildContext, type BuildContext } from 'esbuild';
@@ -48,6 +50,39 @@ function realmHosts(): Plugin {
};
}
+
+/**
+ * Scene fixtures live engine-side in `fixtures/`, outside Vite's root, and the
+ * headless hosts mount them at /scenes and /assets. Dev has to answer the same
+ * URLs or the editor's fallback scene 404s only when you run it interactively.
+ */
+function fixtureRoutes(): Plugin {
+ const dir = fileURLToPath(new URL('../fixtures', import.meta.url));
+ return {
+ name: 'estella-fixture-routes',
+ apply: 'serve',
+ configureServer(server) {
+ server.middlewares.use((req, res, next) => {
+ const url = (req.url ?? '').split('?')[0];
+ if (!/^\/(scenes|assets)\//.test(url)) return next();
+ const abs = join(dir, decodeURIComponent(url).replace(/^\//, ''));
+ if (!abs.startsWith(dir) || !existsSync(abs)) return next();
+ res.setHeader('content-type', url.endsWith('.esscene') ? 'application/json' : lookupMime(abs));
+ createReadStream(abs).pipe(res);
+ });
+ },
+ };
+}
+
+/** Minimal content types — the fixture tree holds scenes, images, and skeletal data. */
+function lookupMime(file: string): string {
+ const ext = file.slice(file.lastIndexOf('.')).toLowerCase();
+ return ({
+ '.json': 'application/json', '.png': 'image/png', '.jpg': 'image/jpeg',
+ '.webp': 'image/webp', '.mp4': 'video/mp4', '.webm': 'video/webm',
+ } as Record<string, string>)[ext] ?? 'application/octet-stream';
+}
+
// Estella Editor — Electron + React + Vite.
// `public/` (wasm runtime, bundled SDK, example projects) is served at the web root,
// so the engine binary is reachable at /wasm/esengine.wasm once we wire the viewport.
@@ -79,6 +114,7 @@ export default defineConfig({
plugins: [
react(),
realmHosts(),
+ fixtureRoutes(),
electron({
main: {
entry: 'electron/main.ts',
diff --git a/desktop/public/assets/dragonbones/DragonBoy_ske.json b/fixtures/assets/dragonbones/DragonBoy_ske.json
similarity index 100%
rename from desktop/public/assets/dragonbones/DragonBoy_ske.json
rename to fixtures/assets/dragonbones/DragonBoy_ske.json
diff --git a/desktop/public/assets/dragonbones/DragonBoy_tex.json b/fixtures/assets/dragonbones/DragonBoy_tex.json
similarity index 100%
rename from desktop/public/assets/dragonbones/DragonBoy_tex.json
rename to fixtures/assets/dragonbones/DragonBoy_tex.json
diff --git a/desktop/public/assets/dragonbones/DragonBoy_tex.png b/fixtures/assets/dragonbones/DragonBoy_tex.png
similarity index 100%
rename from desktop/public/assets/dragonbones/DragonBoy_tex.png
rename to fixtures/assets/dragonbones/DragonBoy_tex.png
diff --git a/desktop/public/assets/spine/spineboy-pro.skel b/fixtures/assets/spine/spineboy-pro.skel
similarity index 100%
rename from desktop/public/assets/spine/spineboy-pro.skel
rename to fixtures/assets/spine/spineboy-pro.skel
diff --git a/desktop/public/assets/spine/spineboy.atlas b/fixtures/assets/spine/spineboy.atlas
similarity index 100%
rename from desktop/public/assets/spine/spineboy.atlas
rename to fixtures/assets/spine/spineboy.atlas
diff --git a/desktop/public/assets/spine/spineboy.png b/fixtures/assets/spine/spineboy.png
similarity index 100%
rename from desktop/public/assets/spine/spineboy.png
rename to fixtures/assets/spine/spineboy.png
diff --git a/desktop/public/scenes/bitmaptext.esscene b/fixtures/scenes/bitmaptext.esscene
similarity index 100%
rename from desktop/public/scenes/bitmaptext.esscene
rename to fixtures/scenes/bitmaptext.esscene
diff --git a/desktop/public/scenes/bloom-ldr.esscene b/fixtures/scenes/bloom-ldr.esscene
similarity index 100%
rename from desktop/public/scenes/bloom-ldr.esscene
rename to fixtures/scenes/bloom-ldr.esscene
diff --git a/desktop/public/scenes/bloom-ldr.textures.json b/fixtures/scenes/bloom-ldr.textures.json
similarity index 100%
rename from desktop/public/scenes/bloom-ldr.textures.json
rename to fixtures/scenes/bloom-ldr.textures.json
diff --git a/desktop/public/scenes/camera-culling.esscene b/fixtures/scenes/camera-culling.esscene
similarity index 100%
rename from desktop/public/scenes/camera-culling.esscene
rename to fixtures/scenes/camera-culling.esscene
diff --git a/desktop/public/scenes/camera-culling.textures.json b/fixtures/scenes/camera-culling.textures.json
similarity index 100%
rename from desktop/public/scenes/camera-culling.textures.json
rename to fixtures/scenes/camera-culling.textures.json
diff --git a/desktop/public/scenes/camera-parent.esscene b/fixtures/scenes/camera-parent.esscene
similarity index 100%
rename from desktop/public/scenes/camera-parent.esscene
rename to fixtures/scenes/camera-parent.esscene
diff --git a/desktop/public/scenes/camera-parent.textures.json b/fixtures/scenes/camera-parent.textures.json
similarity index 100%
rename from desktop/public/scenes/camera-parent.textures.json
rename to fixtures/scenes/camera-parent.textures.json
diff --git a/desktop/public/scenes/camera-tilt.esscene b/fixtures/scenes/camera-tilt.esscene
similarity index 100%
rename from desktop/public/scenes/camera-tilt.esscene
rename to fixtures/scenes/camera-tilt.esscene
diff --git a/desktop/public/scenes/camera-tilt.textures.json b/fixtures/scenes/camera-tilt.textures.json
similarity index 100%
rename from desktop/public/scenes/camera-tilt.textures.json
rename to fixtures/scenes/camera-tilt.textures.json
diff --git a/desktop/public/scenes/depth-layers.esscene b/fixtures/scenes/depth-layers.esscene
similarity index 100%
rename from desktop/public/scenes/depth-layers.esscene
rename to fixtures/scenes/depth-layers.esscene
diff --git a/desktop/public/scenes/depth-layers.textures.json b/fixtures/scenes/depth-layers.textures.json
similarity index 100%
rename from desktop/public/scenes/depth-layers.textures.json
rename to fixtures/scenes/depth-layers.textures.json
diff --git a/desktop/public/scenes/depth-layers/opaque.esmaterial b/fixtures/scenes/depth-layers/opaque.esmaterial
similarity index 100%
rename from desktop/public/scenes/depth-layers/opaque.esmaterial
rename to fixtures/scenes/depth-layers/opaque.esmaterial
diff --git a/desktop/public/scenes/depth-layers/opaque.esshader b/fixtures/scenes/depth-layers/opaque.esshader
similarity index 100%
rename from desktop/public/scenes/depth-layers/opaque.esshader
rename to fixtures/scenes/depth-layers/opaque.esshader
diff --git a/desktop/public/scenes/dragonbones-test.esscene b/fixtures/scenes/dragonbones-test.esscene
similarity index 100%
rename from desktop/public/scenes/dragonbones-test.esscene
rename to fixtures/scenes/dragonbones-test.esscene
diff --git a/desktop/public/scenes/dragonbones-test.textures.json b/fixtures/scenes/dragonbones-test.textures.json
similarity index 100%
rename from desktop/public/scenes/dragonbones-test.textures.json
rename to fixtures/scenes/dragonbones-test.textures.json
diff --git a/desktop/public/scenes/env-triangles.esmesh b/fixtures/scenes/env-triangles.esmesh
similarity index 100%
rename from desktop/public/scenes/env-triangles.esmesh
rename to fixtures/scenes/env-triangles.esmesh
diff --git a/desktop/public/scenes/env-triangles.esmesh.meta b/fixtures/scenes/env-triangles.esmesh.meta
similarity index 100%
rename from desktop/public/scenes/env-triangles.esmesh.meta
rename to fixtures/scenes/env-triangles.esmesh.meta
diff --git a/desktop/public/scenes/env-triangles.esprefab b/fixtures/scenes/env-triangles.esprefab
similarity index 100%
rename from desktop/public/scenes/env-triangles.esprefab
rename to fixtures/scenes/env-triangles.esprefab
diff --git a/desktop/public/scenes/env-triangles.esprefab.meta b/fixtures/scenes/env-triangles.esprefab.meta
similarity index 100%
rename from desktop/public/scenes/env-triangles.esprefab.meta
rename to fixtures/scenes/env-triangles.esprefab.meta
diff --git a/desktop/public/scenes/env-triangles.gltf b/fixtures/scenes/env-triangles.gltf
similarity index 100%
rename from desktop/public/scenes/env-triangles.gltf
rename to fixtures/scenes/env-triangles.gltf
diff --git a/desktop/public/scenes/hdr-bloom.esscene b/fixtures/scenes/hdr-bloom.esscene
similarity index 100%
rename from desktop/public/scenes/hdr-bloom.esscene
rename to fixtures/scenes/hdr-bloom.esscene
diff --git a/desktop/public/scenes/hdr-bloom.textures.json b/fixtures/scenes/hdr-bloom.textures.json
similarity index 100%
rename from desktop/public/scenes/hdr-bloom.textures.json
rename to fixtures/scenes/hdr-bloom.textures.json
diff --git a/desktop/public/scenes/ktx2-orientation.esscene b/fixtures/scenes/ktx2-orientation.esscene
similarity index 100%
rename from desktop/public/scenes/ktx2-orientation.esscene
rename to fixtures/scenes/ktx2-orientation.esscene
diff --git a/desktop/public/scenes/ktx2-orientation.textures.json b/fixtures/scenes/ktx2-orientation.textures.json
similarity index 100%
rename from desktop/public/scenes/ktx2-orientation.textures.json
rename to fixtures/scenes/ktx2-orientation.textures.json
diff --git a/desktop/public/scenes/ktx2-sprite.esscene b/fixtures/scenes/ktx2-sprite.esscene
similarity index 100%
rename from desktop/public/scenes/ktx2-sprite.esscene
rename to fixtures/scenes/ktx2-sprite.esscene
diff --git a/desktop/public/scenes/ktx2-sprite.textures.json b/fixtures/scenes/ktx2-sprite.textures.json
similarity index 100%
rename from desktop/public/scenes/ktx2-sprite.textures.json
rename to fixtures/scenes/ktx2-sprite.textures.json
diff --git a/desktop/public/scenes/ktx2-test/green.ktx2 b/fixtures/scenes/ktx2-test/green.ktx2
similarity index 100%
rename from desktop/public/scenes/ktx2-test/green.ktx2
rename to fixtures/scenes/ktx2-test/green.ktx2
diff --git a/desktop/public/scenes/ktx2-test/updown.ktx2 b/fixtures/scenes/ktx2-test/updown.ktx2
similarity index 100%
rename from desktop/public/scenes/ktx2-test/updown.ktx2
rename to fixtures/scenes/ktx2-test/updown.ktx2
diff --git a/desktop/public/scenes/ktx2-test/updown.png b/fixtures/scenes/ktx2-test/updown.png
similarity index 100%
rename from desktop/public/scenes/ktx2-test/updown.png
rename to fixtures/scenes/ktx2-test/updown.png
diff --git a/desktop/public/scenes/lit-triangles.esmesh b/fixtures/scenes/lit-triangles.esmesh
similarity index 100%
rename from desktop/public/scenes/lit-triangles.esmesh
rename to fixtures/scenes/lit-triangles.esmesh
diff --git a/desktop/public/scenes/lit-triangles.esmesh.meta b/fixtures/scenes/lit-triangles.esmesh.meta
similarity index 100%
rename from desktop/public/scenes/lit-triangles.esmesh.meta
rename to fixtures/scenes/lit-triangles.esmesh.meta
diff --git a/desktop/public/scenes/lit-triangles.esprefab b/fixtures/scenes/lit-triangles.esprefab
similarity index 100%
rename from desktop/public/scenes/lit-triangles.esprefab
rename to fixtures/scenes/lit-triangles.esprefab
diff --git a/desktop/public/scenes/lit-triangles.esprefab.meta b/fixtures/scenes/lit-triangles.esprefab.meta
similarity index 100%
rename from desktop/public/scenes/lit-triangles.esprefab.meta
rename to fixtures/scenes/lit-triangles.esprefab.meta
diff --git a/desktop/public/scenes/lit-triangles.gltf b/fixtures/scenes/lit-triangles.gltf
similarity index 100%
rename from desktop/public/scenes/lit-triangles.gltf
rename to fixtures/scenes/lit-triangles.gltf
diff --git a/desktop/public/scenes/lut-grade.esscene b/fixtures/scenes/lut-grade.esscene
similarity index 100%
rename from desktop/public/scenes/lut-grade.esscene
rename to fixtures/scenes/lut-grade.esscene
diff --git a/desktop/public/scenes/lut-grade.textures.json b/fixtures/scenes/lut-grade.textures.json
similarity index 100%
rename from desktop/public/scenes/lut-grade.textures.json
rename to fixtures/scenes/lut-grade.textures.json
diff --git a/desktop/public/scenes/lut-grade/lut.png b/fixtures/scenes/lut-grade/lut.png
similarity index 100%
rename from desktop/public/scenes/lut-grade/lut.png
rename to fixtures/scenes/lut-grade/lut.png
diff --git a/desktop/public/scenes/mat-builtin-lit.esscene b/fixtures/scenes/mat-builtin-lit.esscene
similarity index 100%
rename from desktop/public/scenes/mat-builtin-lit.esscene
rename to fixtures/scenes/mat-builtin-lit.esscene
diff --git a/desktop/public/scenes/mat-builtin-lit.textures.json b/fixtures/scenes/mat-builtin-lit.textures.json
similarity index 100%
rename from desktop/public/scenes/mat-builtin-lit.textures.json
rename to fixtures/scenes/mat-builtin-lit.textures.json
diff --git a/desktop/public/scenes/mat-builtin-lit/lit.esmaterial b/fixtures/scenes/mat-builtin-lit/lit.esmaterial
similarity index 100%
rename from desktop/public/scenes/mat-builtin-lit/lit.esmaterial
rename to fixtures/scenes/mat-builtin-lit/lit.esmaterial
diff --git a/desktop/public/scenes/mat-builtin-lit/lit.esshader b/fixtures/scenes/mat-builtin-lit/lit.esshader
similarity index 100%
rename from desktop/public/scenes/mat-builtin-lit/lit.esshader
rename to fixtures/scenes/mat-builtin-lit/lit.esshader
diff --git a/desktop/public/scenes/mat-dissolve.esscene b/fixtures/scenes/mat-dissolve.esscene
similarity index 100%
rename from desktop/public/scenes/mat-dissolve.esscene
rename to fixtures/scenes/mat-dissolve.esscene
diff --git a/desktop/public/scenes/mat-dissolve.textures.json b/fixtures/scenes/mat-dissolve.textures.json
similarity index 100%
rename from desktop/public/scenes/mat-dissolve.textures.json
rename to fixtures/scenes/mat-dissolve.textures.json
diff --git a/desktop/public/scenes/mat-dissolve/dissolve.esmaterial b/fixtures/scenes/mat-dissolve/dissolve.esmaterial
similarity index 100%
rename from desktop/public/scenes/mat-dissolve/dissolve.esmaterial
rename to fixtures/scenes/mat-dissolve/dissolve.esmaterial
diff --git a/desktop/public/scenes/mat-dissolve/dissolve.esshader b/fixtures/scenes/mat-dissolve/dissolve.esshader
similarity index 100%
rename from desktop/public/scenes/mat-dissolve/dissolve.esshader
rename to fixtures/scenes/mat-dissolve/dissolve.esshader
diff --git a/desktop/public/scenes/mat-env-mirror.esscene b/fixtures/scenes/mat-env-mirror.esscene
similarity index 100%
rename from desktop/public/scenes/mat-env-mirror.esscene
rename to fixtures/scenes/mat-env-mirror.esscene
diff --git a/desktop/public/scenes/mat-env.esscene b/fixtures/scenes/mat-env.esscene
similarity index 100%
rename from desktop/public/scenes/mat-env.esscene
rename to fixtures/scenes/mat-env.esscene
diff --git a/desktop/public/scenes/mat-env/mirror.esmaterial b/fixtures/scenes/mat-env/mirror.esmaterial
similarity index 100%
rename from desktop/public/scenes/mat-env/mirror.esmaterial
rename to fixtures/scenes/mat-env/mirror.esmaterial
diff --git a/desktop/public/scenes/mat-env/rough.esmaterial b/fixtures/scenes/mat-env/rough.esmaterial
similarity index 100%
rename from desktop/public/scenes/mat-env/rough.esmaterial
rename to fixtures/scenes/mat-env/rough.esmaterial
diff --git a/desktop/public/scenes/mat-graph.esscene b/fixtures/scenes/mat-graph.esscene
similarity index 100%
rename from desktop/public/scenes/mat-graph.esscene
rename to fixtures/scenes/mat-graph.esscene
diff --git a/desktop/public/scenes/mat-graph.textures.json b/fixtures/scenes/mat-graph.textures.json
similarity index 100%
rename from desktop/public/scenes/mat-graph.textures.json
rename to fixtures/scenes/mat-graph.textures.json
diff --git a/desktop/public/scenes/mat-graph/graph-tint.esmaterial b/fixtures/scenes/mat-graph/graph-tint.esmaterial
similarity index 100%
rename from desktop/public/scenes/mat-graph/graph-tint.esmaterial
rename to fixtures/scenes/mat-graph/graph-tint.esmaterial
diff --git a/desktop/public/scenes/mat-graph/graph-tint.esmatgraph b/fixtures/scenes/mat-graph/graph-tint.esmatgraph
similarity index 100%
rename from desktop/public/scenes/mat-graph/graph-tint.esmatgraph
rename to fixtures/scenes/mat-graph/graph-tint.esmatgraph
diff --git a/desktop/public/scenes/mat-graph/graph-tint.esshader b/fixtures/scenes/mat-graph/graph-tint.esshader
similarity index 100%
rename from desktop/public/scenes/mat-graph/graph-tint.esshader
rename to fixtures/scenes/mat-graph/graph-tint.esshader
diff --git a/desktop/public/scenes/mat-instance.esscene b/fixtures/scenes/mat-instance.esscene
similarity index 100%
rename from desktop/public/scenes/mat-instance.esscene
rename to fixtures/scenes/mat-instance.esscene
diff --git a/desktop/public/scenes/mat-instance.textures.json b/fixtures/scenes/mat-instance.textures.json
similarity index 100%
rename from desktop/public/scenes/mat-instance.textures.json
rename to fixtures/scenes/mat-instance.textures.json
diff --git a/desktop/public/scenes/mat-lit-flatnormal.esscene b/fixtures/scenes/mat-lit-flatnormal.esscene
similarity index 100%
rename from desktop/public/scenes/mat-lit-flatnormal.esscene
rename to fixtures/scenes/mat-lit-flatnormal.esscene
diff --git a/desktop/public/scenes/mat-lit-flatnormal.textures.json b/fixtures/scenes/mat-lit-flatnormal.textures.json
similarity index 100%
rename from desktop/public/scenes/mat-lit-flatnormal.textures.json
rename to fixtures/scenes/mat-lit-flatnormal.textures.json
diff --git a/desktop/public/scenes/mat-lit-flatnormal/lit-fn.esmaterial b/fixtures/scenes/mat-lit-flatnormal/lit-fn.esmaterial
similarity index 100%
rename from desktop/public/scenes/mat-lit-flatnormal/lit-fn.esmaterial
rename to fixtures/scenes/mat-lit-flatnormal/lit-fn.esmaterial
diff --git a/desktop/public/scenes/mat-lit-flatnormal/lit-fn.esshader b/fixtures/scenes/mat-lit-flatnormal/lit-fn.esshader
similarity index 100%
rename from desktop/public/scenes/mat-lit-flatnormal/lit-fn.esshader
rename to fixtures/scenes/mat-lit-flatnormal/lit-fn.esshader
diff --git a/desktop/public/scenes/mat-lit-normal.esscene b/fixtures/scenes/mat-lit-normal.esscene
similarity index 100%
rename from desktop/public/scenes/mat-lit-normal.esscene
rename to fixtures/scenes/mat-lit-normal.esscene
diff --git a/desktop/public/scenes/mat-lit-normal.textures.json b/fixtures/scenes/mat-lit-normal.textures.json
similarity index 100%
rename from desktop/public/scenes/mat-lit-normal.textures.json
rename to fixtures/scenes/mat-lit-normal.textures.json
diff --git a/desktop/public/scenes/mat-lit-normal/lit-normal.esmaterial b/fixtures/scenes/mat-lit-normal/lit-normal.esmaterial
similarity index 100%
rename from desktop/public/scenes/mat-lit-normal/lit-normal.esmaterial
rename to fixtures/scenes/mat-lit-normal/lit-normal.esmaterial
diff --git a/desktop/public/scenes/mat-lit-normal/lit-normal.esshader b/fixtures/scenes/mat-lit-normal/lit-normal.esshader
similarity index 100%
rename from desktop/public/scenes/mat-lit-normal/lit-normal.esshader
rename to fixtures/scenes/mat-lit-normal/lit-normal.esshader
diff --git a/desktop/public/scenes/mat-lit-normal/normal.png b/fixtures/scenes/mat-lit-normal/normal.png
similarity index 100%
rename from desktop/public/scenes/mat-lit-normal/normal.png
rename to fixtures/scenes/mat-lit-normal/normal.png
diff --git a/desktop/public/scenes/mat-lit-point.esscene b/fixtures/scenes/mat-lit-point.esscene
similarity index 100%
rename from desktop/public/scenes/mat-lit-point.esscene
rename to fixtures/scenes/mat-lit-point.esscene
diff --git a/desktop/public/scenes/mat-lit-point.textures.json b/fixtures/scenes/mat-lit-point.textures.json
similarity index 100%
rename from desktop/public/scenes/mat-lit-point.textures.json
rename to fixtures/scenes/mat-lit-point.textures.json
diff --git a/desktop/public/scenes/mat-lit-shadow-dir.esscene b/fixtures/scenes/mat-lit-shadow-dir.esscene
similarity index 100%
rename from desktop/public/scenes/mat-lit-shadow-dir.esscene
rename to fixtures/scenes/mat-lit-shadow-dir.esscene
diff --git a/desktop/public/scenes/mat-lit-shadow-dir.textures.json b/fixtures/scenes/mat-lit-shadow-dir.textures.json
similarity index 100%
rename from desktop/public/scenes/mat-lit-shadow-dir.textures.json
rename to fixtures/scenes/mat-lit-shadow-dir.textures.json
diff --git a/desktop/public/scenes/mat-lit-shadow-hard.esscene b/fixtures/scenes/mat-lit-shadow-hard.esscene
similarity index 100%
rename from desktop/public/scenes/mat-lit-shadow-hard.esscene
rename to fixtures/scenes/mat-lit-shadow-hard.esscene
diff --git a/desktop/public/scenes/mat-lit-shadow-hard.textures.json b/fixtures/scenes/mat-lit-shadow-hard.textures.json
similarity index 100%
rename from desktop/public/scenes/mat-lit-shadow-hard.textures.json
rename to fixtures/scenes/mat-lit-shadow-hard.textures.json
diff --git a/desktop/public/scenes/mat-lit-shadow-soft.esscene b/fixtures/scenes/mat-lit-shadow-soft.esscene
similarity index 100%
rename from desktop/public/scenes/mat-lit-shadow-soft.esscene
rename to fixtures/scenes/mat-lit-shadow-soft.esscene
diff --git a/desktop/public/scenes/mat-lit-shadow-soft.textures.json b/fixtures/scenes/mat-lit-shadow-soft.textures.json
similarity index 100%
rename from desktop/public/scenes/mat-lit-shadow-soft.textures.json
rename to fixtures/scenes/mat-lit-shadow-soft.textures.json
diff --git a/desktop/public/scenes/mat-lit-shadow.esscene b/fixtures/scenes/mat-lit-shadow.esscene
similarity index 100%
rename from desktop/public/scenes/mat-lit-shadow.esscene
rename to fixtures/scenes/mat-lit-shadow.esscene
diff --git a/desktop/public/scenes/mat-lit-shadow.textures.json b/fixtures/scenes/mat-lit-shadow.textures.json
similarity index 100%
rename from desktop/public/scenes/mat-lit-shadow.textures.json
rename to fixtures/scenes/mat-lit-shadow.textures.json
diff --git a/desktop/public/scenes/mat-lit-spot.esscene b/fixtures/scenes/mat-lit-spot.esscene
similarity index 100%
rename from desktop/public/scenes/mat-lit-spot.esscene
rename to fixtures/scenes/mat-lit-spot.esscene
diff --git a/desktop/public/scenes/mat-lit-spot.textures.json b/fixtures/scenes/mat-lit-spot.textures.json
similarity index 100%
rename from desktop/public/scenes/mat-lit-spot.textures.json
rename to fixtures/scenes/mat-lit-spot.textures.json
diff --git a/desktop/public/scenes/mat-lit.esscene b/fixtures/scenes/mat-lit.esscene
similarity index 100%
rename from desktop/public/scenes/mat-lit.esscene
rename to fixtures/scenes/mat-lit.esscene
diff --git a/desktop/public/scenes/mat-lit.textures.json b/fixtures/scenes/mat-lit.textures.json
similarity index 100%
rename from desktop/public/scenes/mat-lit.textures.json
rename to fixtures/scenes/mat-lit.textures.json
diff --git a/desktop/public/scenes/mat-lit/lit.esmaterial b/fixtures/scenes/mat-lit/lit.esmaterial
similarity index 100%
rename from desktop/public/scenes/mat-lit/lit.esmaterial
rename to fixtures/scenes/mat-lit/lit.esmaterial
diff --git a/desktop/public/scenes/mat-lit/lit.esshader b/fixtures/scenes/mat-lit/lit.esshader
similarity index 100%
rename from desktop/public/scenes/mat-lit/lit.esshader
rename to fixtures/scenes/mat-lit/lit.esshader
diff --git a/desktop/public/scenes/mat-model-env.esscene b/fixtures/scenes/mat-model-env.esscene
similarity index 100%
rename from desktop/public/scenes/mat-model-env.esscene
rename to fixtures/scenes/mat-model-env.esscene
diff --git a/desktop/public/scenes/mat-model.esscene b/fixtures/scenes/mat-model.esscene
similarity index 100%
rename from desktop/public/scenes/mat-model.esscene
rename to fixtures/scenes/mat-model.esscene
diff --git a/desktop/public/scenes/mat-model/dielectric.esmaterial b/fixtures/scenes/mat-model/dielectric.esmaterial
similarity index 100%
rename from desktop/public/scenes/mat-model/dielectric.esmaterial
rename to fixtures/scenes/mat-model/dielectric.esmaterial
diff --git a/desktop/public/scenes/mat-model/metal.esmaterial b/fixtures/scenes/mat-model/metal.esmaterial
similarity index 100%
rename from desktop/public/scenes/mat-model/metal.esmaterial
rename to fixtures/scenes/mat-model/metal.esmaterial
diff --git a/desktop/public/scenes/mat-pbr.esscene b/fixtures/scenes/mat-pbr.esscene
similarity index 100%
rename from desktop/public/scenes/mat-pbr.esscene
rename to fixtures/scenes/mat-pbr.esscene
diff --git a/desktop/public/scenes/mat-pbr/gloss.esmaterial b/fixtures/scenes/mat-pbr/gloss.esmaterial
similarity index 100%
rename from desktop/public/scenes/mat-pbr/gloss.esmaterial
rename to fixtures/scenes/mat-pbr/gloss.esmaterial
diff --git a/desktop/public/scenes/mat-pbr/matte.esmaterial b/fixtures/scenes/mat-pbr/matte.esmaterial
similarity index 100%
rename from desktop/public/scenes/mat-pbr/matte.esmaterial
rename to fixtures/scenes/mat-pbr/matte.esmaterial
diff --git a/desktop/public/scenes/mat-pbr/pbr.esshader b/fixtures/scenes/mat-pbr/pbr.esshader
similarity index 100%
rename from desktop/public/scenes/mat-pbr/pbr.esshader
rename to fixtures/scenes/mat-pbr/pbr.esshader
diff --git a/desktop/public/scenes/mat-pbr/viewvec.esmaterial b/fixtures/scenes/mat-pbr/viewvec.esmaterial
similarity index 100%
rename from desktop/public/scenes/mat-pbr/viewvec.esmaterial
rename to fixtures/scenes/mat-pbr/viewvec.esmaterial
diff --git a/desktop/public/scenes/mat-pbr/viewvec.esshader b/fixtures/scenes/mat-pbr/viewvec.esshader
similarity index 100%
rename from desktop/public/scenes/mat-pbr/viewvec.esshader
rename to fixtures/scenes/mat-pbr/viewvec.esshader
diff --git a/desktop/public/scenes/mat-sw.esscene b/fixtures/scenes/mat-sw.esscene
similarity index 100%
rename from desktop/public/scenes/mat-sw.esscene
rename to fixtures/scenes/mat-sw.esscene
diff --git a/desktop/public/scenes/mat-sw.textures.json b/fixtures/scenes/mat-sw.textures.json
similarity index 100%
rename from desktop/public/scenes/mat-sw.textures.json
rename to fixtures/scenes/mat-sw.textures.json
diff --git a/desktop/public/scenes/mat-sw/green.esmaterial b/fixtures/scenes/mat-sw/green.esmaterial
similarity index 100%
rename from desktop/public/scenes/mat-sw/green.esmaterial
rename to fixtures/scenes/mat-sw/green.esmaterial
diff --git a/desktop/public/scenes/mat-sw/red.esmaterial b/fixtures/scenes/mat-sw/red.esmaterial
similarity index 100%
rename from desktop/public/scenes/mat-sw/red.esmaterial
rename to fixtures/scenes/mat-sw/red.esmaterial
diff --git a/desktop/public/scenes/mat-sw/switched.esshader b/fixtures/scenes/mat-sw/switched.esshader
similarity index 100%
rename from desktop/public/scenes/mat-sw/switched.esshader
rename to fixtures/scenes/mat-sw/switched.esshader
diff --git a/desktop/public/scenes/mat-tex.esscene b/fixtures/scenes/mat-tex.esscene
similarity index 100%
rename from desktop/public/scenes/mat-tex.esscene
rename to fixtures/scenes/mat-tex.esscene
diff --git a/desktop/public/scenes/mat-tex.textures.json b/fixtures/scenes/mat-tex.textures.json
similarity index 100%
rename from desktop/public/scenes/mat-tex.textures.json
rename to fixtures/scenes/mat-tex.textures.json
diff --git a/desktop/public/scenes/mat-tex/green.png b/fixtures/scenes/mat-tex/green.png
similarity index 100%
rename from desktop/public/scenes/mat-tex/green.png
rename to fixtures/scenes/mat-tex/green.png
diff --git a/desktop/public/scenes/mat-tex/masked.esmaterial b/fixtures/scenes/mat-tex/masked.esmaterial
similarity index 100%
rename from desktop/public/scenes/mat-tex/masked.esmaterial
rename to fixtures/scenes/mat-tex/masked.esmaterial
diff --git a/desktop/public/scenes/mat-tex/masked.esshader b/fixtures/scenes/mat-tex/masked.esshader
similarity index 100%
rename from desktop/public/scenes/mat-tex/masked.esshader
rename to fixtures/scenes/mat-tex/masked.esshader
diff --git a/desktop/public/scenes/mat-tint.esscene b/fixtures/scenes/mat-tint.esscene
similarity index 100%
rename from desktop/public/scenes/mat-tint.esscene
rename to fixtures/scenes/mat-tint.esscene
diff --git a/desktop/public/scenes/mat-tint.textures.json b/fixtures/scenes/mat-tint.textures.json
similarity index 100%
rename from desktop/public/scenes/mat-tint.textures.json
rename to fixtures/scenes/mat-tint.textures.json
diff --git a/desktop/public/scenes/mat-tint/tint-green.esmaterial b/fixtures/scenes/mat-tint/tint-green.esmaterial
similarity index 100%
rename from desktop/public/scenes/mat-tint/tint-green.esmaterial
rename to fixtures/scenes/mat-tint/tint-green.esmaterial
diff --git a/desktop/public/scenes/mat-tint/tint.esmaterial b/fixtures/scenes/mat-tint/tint.esmaterial
similarity index 100%
rename from desktop/public/scenes/mat-tint/tint.esmaterial
rename to fixtures/scenes/mat-tint/tint.esmaterial
diff --git a/desktop/public/scenes/mat-tint/tint.esshader b/fixtures/scenes/mat-tint/tint.esshader
similarity index 100%
rename from desktop/public/scenes/mat-tint/tint.esshader
rename to fixtures/scenes/mat-tint/tint.esshader
diff --git a/desktop/public/scenes/mesh-builtin.esscene b/fixtures/scenes/mesh-builtin.esscene
similarity index 100%
rename from desktop/public/scenes/mesh-builtin.esscene
rename to fixtures/scenes/mesh-builtin.esscene
diff --git a/desktop/public/scenes/mesh-depth-through-capture.esscene b/fixtures/scenes/mesh-depth-through-capture.esscene
similarity index 100%
rename from desktop/public/scenes/mesh-depth-through-capture.esscene
rename to fixtures/scenes/mesh-depth-through-capture.esscene
diff --git a/desktop/public/scenes/mesh-depth.esscene b/fixtures/scenes/mesh-depth.esscene
similarity index 100%
rename from desktop/public/scenes/mesh-depth.esscene
rename to fixtures/scenes/mesh-depth.esscene
diff --git a/desktop/public/scenes/mesh-depth.textures.json b/fixtures/scenes/mesh-depth.textures.json
similarity index 100%
rename from desktop/public/scenes/mesh-depth.textures.json
rename to fixtures/scenes/mesh-depth.textures.json
diff --git a/desktop/public/scenes/mesh-flat-lit.esscene b/fixtures/scenes/mesh-flat-lit.esscene
similarity index 100%
rename from desktop/public/scenes/mesh-flat-lit.esscene
rename to fixtures/scenes/mesh-flat-lit.esscene
diff --git a/desktop/public/scenes/mesh-flat-lit.textures.json b/fixtures/scenes/mesh-flat-lit.textures.json
similarity index 100%
rename from desktop/public/scenes/mesh-flat-lit.textures.json
rename to fixtures/scenes/mesh-flat-lit.textures.json
diff --git a/desktop/public/scenes/mesh-flat-point-3d.esscene b/fixtures/scenes/mesh-flat-point-3d.esscene
similarity index 100%
rename from desktop/public/scenes/mesh-flat-point-3d.esscene
rename to fixtures/scenes/mesh-flat-point-3d.esscene
diff --git a/desktop/public/scenes/mesh-instanced.esscene b/fixtures/scenes/mesh-instanced.esscene
similarity index 100%
rename from desktop/public/scenes/mesh-instanced.esscene
rename to fixtures/scenes/mesh-instanced.esscene
diff --git a/desktop/public/scenes/mesh-lit.esscene b/fixtures/scenes/mesh-lit.esscene
similarity index 100%
rename from desktop/public/scenes/mesh-lit.esscene
rename to fixtures/scenes/mesh-lit.esscene
diff --git a/desktop/public/scenes/mesh-lit.textures.json b/fixtures/scenes/mesh-lit.textures.json
similarity index 100%
rename from desktop/public/scenes/mesh-lit.textures.json
rename to fixtures/scenes/mesh-lit.textures.json
diff --git a/desktop/public/scenes/mesh-material-lit/builtinlit.esmaterial b/fixtures/scenes/mesh-material-lit/builtinlit.esmaterial
similarity index 100%
rename from desktop/public/scenes/mesh-material-lit/builtinlit.esmaterial
rename to fixtures/scenes/mesh-material-lit/builtinlit.esmaterial
diff --git a/desktop/public/scenes/mesh-material-lit/litmat.esmaterial b/fixtures/scenes/mesh-material-lit/litmat.esmaterial
similarity index 100%
rename from desktop/public/scenes/mesh-material-lit/litmat.esmaterial
rename to fixtures/scenes/mesh-material-lit/litmat.esmaterial
diff --git a/desktop/public/scenes/mesh-material-lit/litmat.esshader b/fixtures/scenes/mesh-material-lit/litmat.esshader
similarity index 100%
rename from desktop/public/scenes/mesh-material-lit/litmat.esshader
rename to fixtures/scenes/mesh-material-lit/litmat.esshader
diff --git a/desktop/public/scenes/mesh-material.esscene b/fixtures/scenes/mesh-material.esscene
similarity index 100%
rename from desktop/public/scenes/mesh-material.esscene
rename to fixtures/scenes/mesh-material.esscene
diff --git a/desktop/public/scenes/mesh-material.textures.json b/fixtures/scenes/mesh-material.textures.json
similarity index 100%
rename from desktop/public/scenes/mesh-material.textures.json
rename to fixtures/scenes/mesh-material.textures.json
diff --git a/desktop/public/scenes/mesh-material/tintonly.esmaterial b/fixtures/scenes/mesh-material/tintonly.esmaterial
similarity index 100%
rename from desktop/public/scenes/mesh-material/tintonly.esmaterial
rename to fixtures/scenes/mesh-material/tintonly.esmaterial
diff --git a/desktop/public/scenes/mesh-material/tintonly.esshader b/fixtures/scenes/mesh-material/tintonly.esshader
similarity index 100%
rename from desktop/public/scenes/mesh-material/tintonly.esshader
rename to fixtures/scenes/mesh-material/tintonly.esshader
diff --git a/desktop/public/scenes/mesh-nodes.esscene b/fixtures/scenes/mesh-nodes.esscene
similarity index 100%
rename from desktop/public/scenes/mesh-nodes.esscene
rename to fixtures/scenes/mesh-nodes.esscene
diff --git a/desktop/public/scenes/mesh-nodes.textures.json b/fixtures/scenes/mesh-nodes.textures.json
similarity index 100%
rename from desktop/public/scenes/mesh-nodes.textures.json
rename to fixtures/scenes/mesh-nodes.textures.json
diff --git a/desktop/public/scenes/mesh-normalmap.esscene b/fixtures/scenes/mesh-normalmap.esscene
similarity index 100%
rename from desktop/public/scenes/mesh-normalmap.esscene
rename to fixtures/scenes/mesh-normalmap.esscene
diff --git a/desktop/public/scenes/mesh-normalmap.textures.json b/fixtures/scenes/mesh-normalmap.textures.json
similarity index 100%
rename from desktop/public/scenes/mesh-normalmap.textures.json
rename to fixtures/scenes/mesh-normalmap.textures.json
diff --git a/desktop/public/scenes/mesh-point-3d.esscene b/fixtures/scenes/mesh-point-3d.esscene
similarity index 100%
rename from desktop/public/scenes/mesh-point-3d.esscene
rename to fixtures/scenes/mesh-point-3d.esscene
diff --git a/desktop/public/scenes/mesh-shadow-aimed.esscene b/fixtures/scenes/mesh-shadow-aimed.esscene
similarity index 100%
rename from desktop/public/scenes/mesh-shadow-aimed.esscene
rename to fixtures/scenes/mesh-shadow-aimed.esscene
diff --git a/desktop/public/scenes/mesh-shadow-cascade.esscene b/fixtures/scenes/mesh-shadow-cascade.esscene
similarity index 100%
rename from desktop/public/scenes/mesh-shadow-cascade.esscene
rename to fixtures/scenes/mesh-shadow-cascade.esscene
diff --git a/desktop/public/scenes/mesh-shadow-caster-behind.esscene b/fixtures/scenes/mesh-shadow-caster-behind.esscene
similarity index 100%
rename from desktop/public/scenes/mesh-shadow-caster-behind.esscene
rename to fixtures/scenes/mesh-shadow-caster-behind.esscene
diff --git a/desktop/public/scenes/mesh-shadow-material.esscene b/fixtures/scenes/mesh-shadow-material.esscene
similarity index 100%
rename from desktop/public/scenes/mesh-shadow-material.esscene
rename to fixtures/scenes/mesh-shadow-material.esscene
diff --git a/desktop/public/scenes/mesh-shadow-material/blockmat.esmaterial b/fixtures/scenes/mesh-shadow-material/blockmat.esmaterial
similarity index 100%
rename from desktop/public/scenes/mesh-shadow-material/blockmat.esmaterial
rename to fixtures/scenes/mesh-shadow-material/blockmat.esmaterial
diff --git a/desktop/public/scenes/mesh-shadow-material/blockmat.esshader b/fixtures/scenes/mesh-shadow-material/blockmat.esshader
similarity index 100%
rename from desktop/public/scenes/mesh-shadow-material/blockmat.esshader
rename to fixtures/scenes/mesh-shadow-material/blockmat.esshader
diff --git a/desktop/public/scenes/mesh-shadow-perspective.esscene b/fixtures/scenes/mesh-shadow-perspective.esscene
similarity index 100%
rename from desktop/public/scenes/mesh-shadow-perspective.esscene
rename to fixtures/scenes/mesh-shadow-perspective.esscene
diff --git a/desktop/public/scenes/mesh-shadow.esscene b/fixtures/scenes/mesh-shadow.esscene
similarity index 100%
rename from desktop/public/scenes/mesh-shadow.esscene
rename to fixtures/scenes/mesh-shadow.esscene
diff --git a/desktop/public/scenes/mesh-skin-mat.esscene b/fixtures/scenes/mesh-skin-mat.esscene
similarity index 100%
rename from desktop/public/scenes/mesh-skin-mat.esscene
rename to fixtures/scenes/mesh-skin-mat.esscene
diff --git a/desktop/public/scenes/mesh-skin-mat/skinmat.esmaterial b/fixtures/scenes/mesh-skin-mat/skinmat.esmaterial
similarity index 100%
rename from desktop/public/scenes/mesh-skin-mat/skinmat.esmaterial
rename to fixtures/scenes/mesh-skin-mat/skinmat.esmaterial
diff --git a/desktop/public/scenes/mesh-skin-mat/skinmat.esshader b/fixtures/scenes/mesh-skin-mat/skinmat.esshader
similarity index 100%
rename from desktop/public/scenes/mesh-skin-mat/skinmat.esshader
rename to fixtures/scenes/mesh-skin-mat/skinmat.esshader
diff --git a/desktop/public/scenes/mesh-skin.esscene b/fixtures/scenes/mesh-skin.esscene
similarity index 100%
rename from desktop/public/scenes/mesh-skin.esscene
rename to fixtures/scenes/mesh-skin.esscene
diff --git a/desktop/public/scenes/mesh-sky.esscene b/fixtures/scenes/mesh-sky.esscene
similarity index 100%
rename from desktop/public/scenes/mesh-sky.esscene
rename to fixtures/scenes/mesh-sky.esscene
diff --git a/desktop/public/scenes/mesh-textured.esscene b/fixtures/scenes/mesh-textured.esscene
similarity index 100%
rename from desktop/public/scenes/mesh-textured.esscene
rename to fixtures/scenes/mesh-textured.esscene
diff --git a/desktop/public/scenes/mesh-textured.textures.json b/fixtures/scenes/mesh-textured.textures.json
similarity index 100%
rename from desktop/public/scenes/mesh-textured.textures.json
rename to fixtures/scenes/mesh-textured.textures.json
diff --git a/desktop/public/scenes/mesh2d.esscene b/fixtures/scenes/mesh2d.esscene
similarity index 100%
rename from desktop/public/scenes/mesh2d.esscene
rename to fixtures/scenes/mesh2d.esscene
diff --git a/desktop/public/scenes/mesh2d.textures.json b/fixtures/scenes/mesh2d.textures.json
similarity index 100%
rename from desktop/public/scenes/mesh2d.textures.json
rename to fixtures/scenes/mesh2d.textures.json
diff --git a/desktop/public/scenes/model-animation.esscene b/fixtures/scenes/model-animation.esscene
similarity index 100%
rename from desktop/public/scenes/model-animation.esscene
rename to fixtures/scenes/model-animation.esscene
diff --git a/desktop/public/scenes/model-material.esprefab b/fixtures/scenes/model-material.esprefab
similarity index 100%
rename from desktop/public/scenes/model-material.esprefab
rename to fixtures/scenes/model-material.esprefab
diff --git a/desktop/public/scenes/model-material.esprefab.meta b/fixtures/scenes/model-material.esprefab.meta
similarity index 100%
rename from desktop/public/scenes/model-material.esprefab.meta
rename to fixtures/scenes/model-material.esprefab.meta
diff --git a/desktop/public/scenes/model-material.esscene b/fixtures/scenes/model-material.esscene
similarity index 100%
rename from desktop/public/scenes/model-material.esscene
rename to fixtures/scenes/model-material.esscene
diff --git a/desktop/public/scenes/model-material.gltf b/fixtures/scenes/model-material.gltf
similarity index 100%
rename from desktop/public/scenes/model-material.gltf
rename to fixtures/scenes/model-material.gltf
diff --git a/desktop/public/scenes/model-material.textures.json b/fixtures/scenes/model-material.textures.json
similarity index 100%
rename from desktop/public/scenes/model-material.textures.json
rename to fixtures/scenes/model-material.textures.json
diff --git a/desktop/public/scenes/model-material_0.png b/fixtures/scenes/model-material_0.png
similarity index 100%
rename from desktop/public/scenes/model-material_0.png
rename to fixtures/scenes/model-material_0.png
diff --git a/desktop/public/scenes/model-material_0.png.meta b/fixtures/scenes/model-material_0.png.meta
similarity index 100%
rename from desktop/public/scenes/model-material_0.png.meta
rename to fixtures/scenes/model-material_0.png.meta
diff --git a/desktop/public/scenes/model-material_0_0.esmesh b/fixtures/scenes/model-material_0_0.esmesh
similarity index 100%
rename from desktop/public/scenes/model-material_0_0.esmesh
rename to fixtures/scenes/model-material_0_0.esmesh
diff --git a/desktop/public/scenes/model-material_0_0.esmesh.meta b/fixtures/scenes/model-material_0_0.esmesh.meta
similarity index 100%
rename from desktop/public/scenes/model-material_0_0.esmesh.meta
rename to fixtures/scenes/model-material_0_0.esmesh.meta
diff --git a/desktop/public/scenes/model-material_1_0.esmesh b/fixtures/scenes/model-material_1_0.esmesh
similarity index 100%
rename from desktop/public/scenes/model-material_1_0.esmesh
rename to fixtures/scenes/model-material_1_0.esmesh
diff --git a/desktop/public/scenes/model-material_1_0.esmesh.meta b/fixtures/scenes/model-material_1_0.esmesh.meta
similarity index 100%
rename from desktop/public/scenes/model-material_1_0.esmesh.meta
rename to fixtures/scenes/model-material_1_0.esmesh.meta
diff --git a/desktop/public/scenes/model-material_2_0.esmesh b/fixtures/scenes/model-material_2_0.esmesh
similarity index 100%
rename from desktop/public/scenes/model-material_2_0.esmesh
rename to fixtures/scenes/model-material_2_0.esmesh
diff --git a/desktop/public/scenes/model-material_2_0.esmesh.meta b/fixtures/scenes/model-material_2_0.esmesh.meta
similarity index 100%
rename from desktop/public/scenes/model-material_2_0.esmesh.meta
rename to fixtures/scenes/model-material_2_0.esmesh.meta
diff --git a/desktop/public/scenes/model-material_m0.esmaterial b/fixtures/scenes/model-material_m0.esmaterial
similarity index 100%
rename from desktop/public/scenes/model-material_m0.esmaterial
rename to fixtures/scenes/model-material_m0.esmaterial
diff --git a/desktop/public/scenes/model-material_m0.esmaterial.meta b/fixtures/scenes/model-material_m0.esmaterial.meta
similarity index 100%
rename from desktop/public/scenes/model-material_m0.esmaterial.meta
rename to fixtures/scenes/model-material_m0.esmaterial.meta
diff --git a/desktop/public/scenes/model-material_m1.esmaterial b/fixtures/scenes/model-material_m1.esmaterial
similarity index 100%
rename from desktop/public/scenes/model-material_m1.esmaterial
rename to fixtures/scenes/model-material_m1.esmaterial
diff --git a/desktop/public/scenes/model-material_m1.esmaterial.meta b/fixtures/scenes/model-material_m1.esmaterial.meta
similarity index 100%
rename from desktop/public/scenes/model-material_m1.esmaterial.meta
rename to fixtures/scenes/model-material_m1.esmaterial.meta
diff --git a/desktop/public/scenes/model-material_m2.esmaterial b/fixtures/scenes/model-material_m2.esmaterial
similarity index 100%
rename from desktop/public/scenes/model-material_m2.esmaterial
rename to fixtures/scenes/model-material_m2.esmaterial
diff --git a/desktop/public/scenes/model-material_m2.esmaterial.meta b/fixtures/scenes/model-material_m2.esmaterial.meta
similarity index 100%
rename from desktop/public/scenes/model-material_m2.esmaterial.meta
rename to fixtures/scenes/model-material_m2.esmaterial.meta
diff --git a/desktop/public/scenes/moving-quad.esmesh b/fixtures/scenes/moving-quad.esmesh
similarity index 100%
rename from desktop/public/scenes/moving-quad.esmesh
rename to fixtures/scenes/moving-quad.esmesh
diff --git a/desktop/public/scenes/moving-quad.esmesh.meta b/fixtures/scenes/moving-quad.esmesh.meta
similarity index 100%
rename from desktop/public/scenes/moving-quad.esmesh.meta
rename to fixtures/scenes/moving-quad.esmesh.meta
diff --git a/desktop/public/scenes/moving-quad.esprefab b/fixtures/scenes/moving-quad.esprefab
similarity index 100%
rename from desktop/public/scenes/moving-quad.esprefab
rename to fixtures/scenes/moving-quad.esprefab
diff --git a/desktop/public/scenes/moving-quad.esprefab.meta b/fixtures/scenes/moving-quad.esprefab.meta
similarity index 100%
rename from desktop/public/scenes/moving-quad.esprefab.meta
rename to fixtures/scenes/moving-quad.esprefab.meta
diff --git a/desktop/public/scenes/moving-quad.gltf b/fixtures/scenes/moving-quad.gltf
similarity index 100%
rename from desktop/public/scenes/moving-quad.gltf
rename to fixtures/scenes/moving-quad.gltf
diff --git a/desktop/public/scenes/moving-quad_Slide.estimeline b/fixtures/scenes/moving-quad_Slide.estimeline
similarity index 100%
rename from desktop/public/scenes/moving-quad_Slide.estimeline
rename to fixtures/scenes/moving-quad_Slide.estimeline
diff --git a/desktop/public/scenes/moving-quad_Slide.estimeline.meta b/fixtures/scenes/moving-quad_Slide.estimeline.meta
similarity index 100%
rename from desktop/public/scenes/moving-quad_Slide.estimeline.meta
rename to fixtures/scenes/moving-quad_Slide.estimeline.meta
diff --git a/desktop/public/scenes/node-tree.esprefab b/fixtures/scenes/node-tree.esprefab
similarity index 100%
rename from desktop/public/scenes/node-tree.esprefab
rename to fixtures/scenes/node-tree.esprefab
diff --git a/desktop/public/scenes/node-tree.esprefab.meta b/fixtures/scenes/node-tree.esprefab.meta
similarity index 100%
rename from desktop/public/scenes/node-tree.esprefab.meta
rename to fixtures/scenes/node-tree.esprefab.meta
diff --git a/desktop/public/scenes/node-tree.gltf b/fixtures/scenes/node-tree.gltf
similarity index 100%
rename from desktop/public/scenes/node-tree.gltf
rename to fixtures/scenes/node-tree.gltf
diff --git a/desktop/public/scenes/node-tree_0_0.esmesh b/fixtures/scenes/node-tree_0_0.esmesh
similarity index 100%
rename from desktop/public/scenes/node-tree_0_0.esmesh
rename to fixtures/scenes/node-tree_0_0.esmesh
diff --git a/desktop/public/scenes/node-tree_0_0.esmesh.meta b/fixtures/scenes/node-tree_0_0.esmesh.meta
similarity index 100%
rename from desktop/public/scenes/node-tree_0_0.esmesh.meta
rename to fixtures/scenes/node-tree_0_0.esmesh.meta
diff --git a/desktop/public/scenes/node-tree_1_0.esmesh b/fixtures/scenes/node-tree_1_0.esmesh
similarity index 100%
rename from desktop/public/scenes/node-tree_1_0.esmesh
rename to fixtures/scenes/node-tree_1_0.esmesh
diff --git a/desktop/public/scenes/node-tree_1_0.esmesh.meta b/fixtures/scenes/node-tree_1_0.esmesh.meta
similarity index 100%
rename from desktop/public/scenes/node-tree_1_0.esmesh.meta
rename to fixtures/scenes/node-tree_1_0.esmesh.meta
diff --git a/desktop/public/scenes/normalmap-quad.esmesh b/fixtures/scenes/normalmap-quad.esmesh
similarity index 100%
rename from desktop/public/scenes/normalmap-quad.esmesh
rename to fixtures/scenes/normalmap-quad.esmesh
diff --git a/desktop/public/scenes/normalmap-quad.esmesh.meta b/fixtures/scenes/normalmap-quad.esmesh.meta
similarity index 100%
rename from desktop/public/scenes/normalmap-quad.esmesh.meta
rename to fixtures/scenes/normalmap-quad.esmesh.meta
diff --git a/desktop/public/scenes/normalmap-quad.esprefab b/fixtures/scenes/normalmap-quad.esprefab
similarity index 100%
rename from desktop/public/scenes/normalmap-quad.esprefab
rename to fixtures/scenes/normalmap-quad.esprefab
diff --git a/desktop/public/scenes/normalmap-quad.esprefab.meta b/fixtures/scenes/normalmap-quad.esprefab.meta
similarity index 100%
rename from desktop/public/scenes/normalmap-quad.esprefab.meta
rename to fixtures/scenes/normalmap-quad.esprefab.meta
diff --git a/desktop/public/scenes/normalmap-quad.gltf b/fixtures/scenes/normalmap-quad.gltf
similarity index 100%
rename from desktop/public/scenes/normalmap-quad.gltf
rename to fixtures/scenes/normalmap-quad.gltf
diff --git a/desktop/public/scenes/normalmap-quad_0.png b/fixtures/scenes/normalmap-quad_0.png
similarity index 100%
rename from desktop/public/scenes/normalmap-quad_0.png
rename to fixtures/scenes/normalmap-quad_0.png
diff --git a/desktop/public/scenes/normalmap-quad_0.png.meta b/fixtures/scenes/normalmap-quad_0.png.meta
similarity index 100%
rename from desktop/public/scenes/normalmap-quad_0.png.meta
rename to fixtures/scenes/normalmap-quad_0.png.meta
diff --git a/desktop/public/scenes/normalmap-quad_m0.esmaterial b/fixtures/scenes/normalmap-quad_m0.esmaterial
similarity index 100%
rename from desktop/public/scenes/normalmap-quad_m0.esmaterial
rename to fixtures/scenes/normalmap-quad_m0.esmaterial
diff --git a/desktop/public/scenes/normalmap-quad_m0.esmaterial.meta b/fixtures/scenes/normalmap-quad_m0.esmaterial.meta
similarity index 100%
rename from desktop/public/scenes/normalmap-quad_m0.esmaterial.meta
rename to fixtures/scenes/normalmap-quad_m0.esmaterial.meta
diff --git a/desktop/public/scenes/ortho-clip-behind-camera.esscene b/fixtures/scenes/ortho-clip-behind-camera.esscene
similarity index 100%
rename from desktop/public/scenes/ortho-clip-behind-camera.esscene
rename to fixtures/scenes/ortho-clip-behind-camera.esscene
diff --git a/desktop/public/scenes/ortho-clip-behind-camera.textures.json b/fixtures/scenes/ortho-clip-behind-camera.textures.json
similarity index 100%
rename from desktop/public/scenes/ortho-clip-behind-camera.textures.json
rename to fixtures/scenes/ortho-clip-behind-camera.textures.json
diff --git a/desktop/public/scenes/parallax-control.esscene b/fixtures/scenes/parallax-control.esscene
similarity index 100%
rename from desktop/public/scenes/parallax-control.esscene
rename to fixtures/scenes/parallax-control.esscene
diff --git a/desktop/public/scenes/parallax-control.textures.json b/fixtures/scenes/parallax-control.textures.json
similarity index 100%
rename from desktop/public/scenes/parallax-control.textures.json
rename to fixtures/scenes/parallax-control.textures.json
diff --git a/desktop/public/scenes/parallax-shape.esscene b/fixtures/scenes/parallax-shape.esscene
similarity index 100%
rename from desktop/public/scenes/parallax-shape.esscene
rename to fixtures/scenes/parallax-shape.esscene
diff --git a/desktop/public/scenes/parallax-shape.textures.json b/fixtures/scenes/parallax-shape.textures.json
similarity index 100%
rename from desktop/public/scenes/parallax-shape.textures.json
rename to fixtures/scenes/parallax-shape.textures.json
diff --git a/desktop/public/scenes/parallax.esscene b/fixtures/scenes/parallax.esscene
similarity index 100%
rename from desktop/public/scenes/parallax.esscene
rename to fixtures/scenes/parallax.esscene
diff --git a/desktop/public/scenes/parallax.textures.json b/fixtures/scenes/parallax.textures.json
similarity index 100%
rename from desktop/public/scenes/parallax.textures.json
rename to fixtures/scenes/parallax.textures.json
diff --git a/desktop/public/scenes/particle-collision.esscene b/fixtures/scenes/particle-collision.esscene
similarity index 100%
rename from desktop/public/scenes/particle-collision.esscene
rename to fixtures/scenes/particle-collision.esscene
diff --git a/desktop/public/scenes/particle-collision.textures.json b/fixtures/scenes/particle-collision.textures.json
similarity index 100%
rename from desktop/public/scenes/particle-collision.textures.json
rename to fixtures/scenes/particle-collision.textures.json
diff --git a/desktop/public/scenes/particle-demo.esscene b/fixtures/scenes/particle-demo.esscene
similarity index 100%
rename from desktop/public/scenes/particle-demo.esscene
rename to fixtures/scenes/particle-demo.esscene
diff --git a/desktop/public/scenes/particle-demo.textures.json b/fixtures/scenes/particle-demo.textures.json
similarity index 100%
rename from desktop/public/scenes/particle-demo.textures.json
rename to fixtures/scenes/particle-demo.textures.json
diff --git a/desktop/public/scenes/particle-demo/textures/particle.png b/fixtures/scenes/particle-demo/textures/particle.png
similarity index 100%
rename from desktop/public/scenes/particle-demo/textures/particle.png
rename to fixtures/scenes/particle-demo/textures/particle.png
diff --git a/desktop/public/scenes/particle-forcefield.esscene b/fixtures/scenes/particle-forcefield.esscene
similarity index 100%
rename from desktop/public/scenes/particle-forcefield.esscene
rename to fixtures/scenes/particle-forcefield.esscene
diff --git a/desktop/public/scenes/particle-forcefield.textures.json b/fixtures/scenes/particle-forcefield.textures.json
similarity index 100%
rename from desktop/public/scenes/particle-forcefield.textures.json
rename to fixtures/scenes/particle-forcefield.textures.json
diff --git a/desktop/public/scenes/particle-gradient.esscene b/fixtures/scenes/particle-gradient.esscene
similarity index 100%
rename from desktop/public/scenes/particle-gradient.esscene
rename to fixtures/scenes/particle-gradient.esscene
diff --git a/desktop/public/scenes/particle-gradient.textures.json b/fixtures/scenes/particle-gradient.textures.json
similarity index 100%
rename from desktop/public/scenes/particle-gradient.textures.json
rename to fixtures/scenes/particle-gradient.textures.json
diff --git a/desktop/public/scenes/particle-sizecurve.esscene b/fixtures/scenes/particle-sizecurve.esscene
similarity index 100%
rename from desktop/public/scenes/particle-sizecurve.esscene
rename to fixtures/scenes/particle-sizecurve.esscene
diff --git a/desktop/public/scenes/particle-sizecurve.textures.json b/fixtures/scenes/particle-sizecurve.textures.json
similarity index 100%
rename from desktop/public/scenes/particle-sizecurve.textures.json
rename to fixtures/scenes/particle-sizecurve.textures.json
diff --git a/desktop/public/scenes/particle-trail.esscene b/fixtures/scenes/particle-trail.esscene
similarity index 100%
rename from desktop/public/scenes/particle-trail.esscene
rename to fixtures/scenes/particle-trail.esscene
diff --git a/desktop/public/scenes/particle-trail.textures.json b/fixtures/scenes/particle-trail.textures.json
similarity index 100%
rename from desktop/public/scenes/particle-trail.textures.json
rename to fixtures/scenes/particle-trail.textures.json
diff --git a/desktop/public/scenes/pixel-perfect.esscene b/fixtures/scenes/pixel-perfect.esscene
similarity index 100%
rename from desktop/public/scenes/pixel-perfect.esscene
rename to fixtures/scenes/pixel-perfect.esscene
diff --git a/desktop/public/scenes/pixel-perfect.textures.json b/fixtures/scenes/pixel-perfect.textures.json
similarity index 100%
rename from desktop/public/scenes/pixel-perfect.textures.json
rename to fixtures/scenes/pixel-perfect.textures.json
diff --git a/desktop/public/scenes/platformer.esscene b/fixtures/scenes/platformer.esscene
similarity index 100%
rename from desktop/public/scenes/platformer.esscene
rename to fixtures/scenes/platformer.esscene
diff --git a/desktop/public/scenes/point-shadow.esscene b/fixtures/scenes/point-shadow.esscene
similarity index 100%
rename from desktop/public/scenes/point-shadow.esscene
rename to fixtures/scenes/point-shadow.esscene
diff --git a/desktop/public/scenes/postprocess-effects.esscene b/fixtures/scenes/postprocess-effects.esscene
similarity index 100%
rename from desktop/public/scenes/postprocess-effects.esscene
rename to fixtures/scenes/postprocess-effects.esscene
diff --git a/desktop/public/scenes/postprocess-effects.textures.json b/fixtures/scenes/postprocess-effects.textures.json
similarity index 100%
rename from desktop/public/scenes/postprocess-effects.textures.json
rename to fixtures/scenes/postprocess-effects.textures.json
diff --git a/desktop/public/scenes/shadow-quad.esmesh b/fixtures/scenes/shadow-quad.esmesh
similarity index 100%
rename from desktop/public/scenes/shadow-quad.esmesh
rename to fixtures/scenes/shadow-quad.esmesh
diff --git a/desktop/public/scenes/shadow-quad.esmesh.meta b/fixtures/scenes/shadow-quad.esmesh.meta
similarity index 100%
rename from desktop/public/scenes/shadow-quad.esmesh.meta
rename to fixtures/scenes/shadow-quad.esmesh.meta
diff --git a/desktop/public/scenes/shadow-quad.esprefab b/fixtures/scenes/shadow-quad.esprefab
similarity index 100%
rename from desktop/public/scenes/shadow-quad.esprefab
rename to fixtures/scenes/shadow-quad.esprefab
diff --git a/desktop/public/scenes/shadow-quad.esprefab.meta b/fixtures/scenes/shadow-quad.esprefab.meta
similarity index 100%
rename from desktop/public/scenes/shadow-quad.esprefab.meta
rename to fixtures/scenes/shadow-quad.esprefab.meta
diff --git a/desktop/public/scenes/shadow-quad.gltf b/fixtures/scenes/shadow-quad.gltf
similarity index 100%
rename from desktop/public/scenes/shadow-quad.gltf
rename to fixtures/scenes/shadow-quad.gltf
diff --git a/desktop/public/scenes/skinned-arm.esmesh b/fixtures/scenes/skinned-arm.esmesh
similarity index 100%
rename from desktop/public/scenes/skinned-arm.esmesh
rename to fixtures/scenes/skinned-arm.esmesh
diff --git a/desktop/public/scenes/skinned-arm.esmesh.meta b/fixtures/scenes/skinned-arm.esmesh.meta
similarity index 100%
rename from desktop/public/scenes/skinned-arm.esmesh.meta
rename to fixtures/scenes/skinned-arm.esmesh.meta
diff --git a/desktop/public/scenes/skinned-arm.esprefab b/fixtures/scenes/skinned-arm.esprefab
similarity index 100%
rename from desktop/public/scenes/skinned-arm.esprefab
rename to fixtures/scenes/skinned-arm.esprefab
diff --git a/desktop/public/scenes/skinned-arm.esprefab.meta b/fixtures/scenes/skinned-arm.esprefab.meta
similarity index 100%
rename from desktop/public/scenes/skinned-arm.esprefab.meta
rename to fixtures/scenes/skinned-arm.esprefab.meta
diff --git a/desktop/public/scenes/skinned-arm.gltf b/fixtures/scenes/skinned-arm.gltf
similarity index 100%
rename from desktop/public/scenes/skinned-arm.gltf
rename to fixtures/scenes/skinned-arm.gltf
diff --git a/desktop/public/scenes/soft-shadow-contact.esscene b/fixtures/scenes/soft-shadow-contact.esscene
similarity index 100%
rename from desktop/public/scenes/soft-shadow-contact.esscene
rename to fixtures/scenes/soft-shadow-contact.esscene
diff --git a/desktop/public/scenes/soft-shadow.esscene b/fixtures/scenes/soft-shadow.esscene
similarity index 100%
rename from desktop/public/scenes/soft-shadow.esscene
rename to fixtures/scenes/soft-shadow.esscene
diff --git a/desktop/public/scenes/sort-view-depth.esscene b/fixtures/scenes/sort-view-depth.esscene
similarity index 100%
rename from desktop/public/scenes/sort-view-depth.esscene
rename to fixtures/scenes/sort-view-depth.esscene
diff --git a/desktop/public/scenes/sort-view-depth.textures.json b/fixtures/scenes/sort-view-depth.textures.json
similarity index 100%
rename from desktop/public/scenes/sort-view-depth.textures.json
rename to fixtures/scenes/sort-view-depth.textures.json
diff --git a/desktop/public/scenes/space-shooter.esscene b/fixtures/scenes/space-shooter.esscene
similarity index 100%
rename from desktop/public/scenes/space-shooter.esscene
rename to fixtures/scenes/space-shooter.esscene
diff --git a/desktop/public/scenes/spine-test.esscene b/fixtures/scenes/spine-test.esscene
similarity index 100%
rename from desktop/public/scenes/spine-test.esscene
rename to fixtures/scenes/spine-test.esscene
diff --git a/desktop/public/scenes/spine-test.textures.json b/fixtures/scenes/spine-test.textures.json
similarity index 100%
rename from desktop/public/scenes/spine-test.textures.json
rename to fixtures/scenes/spine-test.textures.json
diff --git a/desktop/public/scenes/spot-shadow.esscene b/fixtures/scenes/spot-shadow.esscene
similarity index 100%
rename from desktop/public/scenes/spot-shadow.esscene
rename to fixtures/scenes/spot-shadow.esscene
diff --git a/desktop/public/scenes/spot-shadow.textures.json b/fixtures/scenes/spot-shadow.textures.json
similarity index 100%
rename from desktop/public/scenes/spot-shadow.textures.json
rename to fixtures/scenes/spot-shadow.textures.json
diff --git a/desktop/public/scenes/sprite-lit.esscene b/fixtures/scenes/sprite-lit.esscene
similarity index 100%
rename from desktop/public/scenes/sprite-lit.esscene
rename to fixtures/scenes/sprite-lit.esscene
diff --git a/desktop/public/scenes/sprite-lit.textures.json b/fixtures/scenes/sprite-lit.textures.json
similarity index 100%
rename from desktop/public/scenes/sprite-lit.textures.json
rename to fixtures/scenes/sprite-lit.textures.json
diff --git a/desktop/public/scenes/sprite-rendering.esscene b/fixtures/scenes/sprite-rendering.esscene
similarity index 100%
rename from desktop/public/scenes/sprite-rendering.esscene
rename to fixtures/scenes/sprite-rendering.esscene
diff --git a/desktop/public/scenes/sprite-rendering.textures.json b/fixtures/scenes/sprite-rendering.textures.json
similarity index 100%
rename from desktop/public/scenes/sprite-rendering.textures.json
rename to fixtures/scenes/sprite-rendering.textures.json
diff --git a/desktop/public/scenes/sprite-rendering/textures/arrow.png b/fixtures/scenes/sprite-rendering/textures/arrow.png
similarity index 100%
rename from desktop/public/scenes/sprite-rendering/textures/arrow.png
rename to fixtures/scenes/sprite-rendering/textures/arrow.png
diff --git a/desktop/public/scenes/sprite-rendering/textures/star.png b/fixtures/scenes/sprite-rendering/textures/star.png
similarity index 100%
rename from desktop/public/scenes/sprite-rendering/textures/star.png
rename to fixtures/scenes/sprite-rendering/textures/star.png
diff --git a/desktop/public/scenes/srgb-midtone.esscene b/fixtures/scenes/srgb-midtone.esscene
similarity index 100%
rename from desktop/public/scenes/srgb-midtone.esscene
rename to fixtures/scenes/srgb-midtone.esscene
diff --git a/desktop/public/scenes/srgb-midtone.png b/fixtures/scenes/srgb-midtone.png
similarity index 100%
rename from desktop/public/scenes/srgb-midtone.png
rename to fixtures/scenes/srgb-midtone.png
diff --git a/desktop/public/scenes/srgb-midtone.textures.json b/fixtures/scenes/srgb-midtone.textures.json
similarity index 100%
rename from desktop/public/scenes/srgb-midtone.textures.json
rename to fixtures/scenes/srgb-midtone.textures.json
diff --git a/desktop/public/scenes/studio.esenv b/fixtures/scenes/studio.esenv
similarity index 100%
rename from desktop/public/scenes/studio.esenv
rename to fixtures/scenes/studio.esenv
diff --git a/desktop/public/scenes/studio.esenv.meta b/fixtures/scenes/studio.esenv.meta
similarity index 100%
rename from desktop/public/scenes/studio.esenv.meta
rename to fixtures/scenes/studio.esenv.meta
diff --git a/desktop/public/scenes/studio.hdr b/fixtures/scenes/studio.hdr
similarity index 100%
rename from desktop/public/scenes/studio.hdr
rename to fixtures/scenes/studio.hdr
diff --git a/desktop/public/scenes/studio_env.png b/fixtures/scenes/studio_env.png
similarity index 100%
rename from desktop/public/scenes/studio_env.png
rename to fixtures/scenes/studio_env.png
diff --git a/desktop/public/scenes/studio_env.png.meta b/fixtures/scenes/studio_env.png.meta
similarity index 100%
rename from desktop/public/scenes/studio_env.png.meta
rename to fixtures/scenes/studio_env.png.meta
diff --git a/desktop/public/scenes/sun-shadow-contact.esscene b/fixtures/scenes/sun-shadow-contact.esscene
similarity index 100%
rename from desktop/public/scenes/sun-shadow-contact.esscene
rename to fixtures/scenes/sun-shadow-contact.esscene
diff --git a/desktop/public/scenes/sun-shadow.esscene b/fixtures/scenes/sun-shadow.esscene
similarity index 100%
rename from desktop/public/scenes/sun-shadow.esscene
rename to fixtures/scenes/sun-shadow.esscene
diff --git a/desktop/public/scenes/textured-quad.esmesh b/fixtures/scenes/textured-quad.esmesh
similarity index 100%
rename from desktop/public/scenes/textured-quad.esmesh
rename to fixtures/scenes/textured-quad.esmesh
diff --git a/desktop/public/scenes/textured-quad.esmesh.meta b/fixtures/scenes/textured-quad.esmesh.meta
similarity index 100%
rename from desktop/public/scenes/textured-quad.esmesh.meta
rename to fixtures/scenes/textured-quad.esmesh.meta
diff --git a/desktop/public/scenes/textured-quad.esprefab b/fixtures/scenes/textured-quad.esprefab
similarity index 100%
rename from desktop/public/scenes/textured-quad.esprefab
rename to fixtures/scenes/textured-quad.esprefab
diff --git a/desktop/public/scenes/textured-quad.esprefab.meta b/fixtures/scenes/textured-quad.esprefab.meta
similarity index 100%
rename from desktop/public/scenes/textured-quad.esprefab.meta
rename to fixtures/scenes/textured-quad.esprefab.meta
diff --git a/desktop/public/scenes/textured-quad.gltf b/fixtures/scenes/textured-quad.gltf
similarity index 100%
rename from desktop/public/scenes/textured-quad.gltf
rename to fixtures/scenes/textured-quad.gltf
diff --git a/desktop/public/scenes/textured-quad_0.png b/fixtures/scenes/textured-quad_0.png
similarity index 100%
rename from desktop/public/scenes/textured-quad_0.png
rename to fixtures/scenes/textured-quad_0.png
diff --git a/desktop/public/scenes/textured-quad_0.png.meta b/fixtures/scenes/textured-quad_0.png.meta
similarity index 100%
rename from desktop/public/scenes/textured-quad_0.png.meta
rename to fixtures/scenes/textured-quad_0.png.meta
diff --git a/desktop/public/scenes/tilemap-flip.esscene b/fixtures/scenes/tilemap-flip.esscene
similarity index 100%
rename from desktop/public/scenes/tilemap-flip.esscene
rename to fixtures/scenes/tilemap-flip.esscene
diff --git a/desktop/public/scenes/tilemap-flip.textures.json b/fixtures/scenes/tilemap-flip.textures.json
similarity index 100%
rename from desktop/public/scenes/tilemap-flip.textures.json
rename to fixtures/scenes/tilemap-flip.textures.json
diff --git a/desktop/public/scenes/tilemap-flip/atlas.png b/fixtures/scenes/tilemap-flip/atlas.png
similarity index 100%
rename from desktop/public/scenes/tilemap-flip/atlas.png
rename to fixtures/scenes/tilemap-flip/atlas.png
diff --git a/desktop/public/scenes/tilemap-gidobj.esscene b/fixtures/scenes/tilemap-gidobj.esscene
similarity index 100%
rename from desktop/public/scenes/tilemap-gidobj.esscene
rename to fixtures/scenes/tilemap-gidobj.esscene
diff --git a/desktop/public/scenes/tilemap-gidobj.textures.json b/fixtures/scenes/tilemap-gidobj.textures.json
similarity index 100%
rename from desktop/public/scenes/tilemap-gidobj.textures.json
rename to fixtures/scenes/tilemap-gidobj.textures.json
diff --git a/desktop/public/scenes/tilemap-gidobj/a.png b/fixtures/scenes/tilemap-gidobj/a.png
similarity index 100%
rename from desktop/public/scenes/tilemap-gidobj/a.png
rename to fixtures/scenes/tilemap-gidobj/a.png
diff --git a/desktop/public/scenes/tilemap-gidobj/map.tmj b/fixtures/scenes/tilemap-gidobj/map.tmj
similarity index 100%
rename from desktop/public/scenes/tilemap-gidobj/map.tmj
rename to fixtures/scenes/tilemap-gidobj/map.tmj
diff --git a/desktop/public/scenes/tilemap-hex.esscene b/fixtures/scenes/tilemap-hex.esscene
similarity index 100%
rename from desktop/public/scenes/tilemap-hex.esscene
rename to fixtures/scenes/tilemap-hex.esscene
diff --git a/desktop/public/scenes/tilemap-hex.textures.json b/fixtures/scenes/tilemap-hex.textures.json
similarity index 100%
rename from desktop/public/scenes/tilemap-hex.textures.json
rename to fixtures/scenes/tilemap-hex.textures.json
diff --git a/desktop/public/scenes/tilemap-hex/map.tmj b/fixtures/scenes/tilemap-hex/map.tmj
similarity index 100%
rename from desktop/public/scenes/tilemap-hex/map.tmj
rename to fixtures/scenes/tilemap-hex/map.tmj
diff --git a/desktop/public/scenes/tilemap-hex/tiles.png b/fixtures/scenes/tilemap-hex/tiles.png
similarity index 100%
rename from desktop/public/scenes/tilemap-hex/tiles.png
rename to fixtures/scenes/tilemap-hex/tiles.png
diff --git a/desktop/public/scenes/tilemap-multiset.esscene b/fixtures/scenes/tilemap-multiset.esscene
similarity index 100%
rename from desktop/public/scenes/tilemap-multiset.esscene
rename to fixtures/scenes/tilemap-multiset.esscene
diff --git a/desktop/public/scenes/tilemap-multiset.textures.json b/fixtures/scenes/tilemap-multiset.textures.json
similarity index 100%
rename from desktop/public/scenes/tilemap-multiset.textures.json
rename to fixtures/scenes/tilemap-multiset.textures.json
diff --git a/desktop/public/scenes/tilemap-multiset/a.png b/fixtures/scenes/tilemap-multiset/a.png
similarity index 100%
rename from desktop/public/scenes/tilemap-multiset/a.png
rename to fixtures/scenes/tilemap-multiset/a.png
diff --git a/desktop/public/scenes/tilemap-multiset/b.png b/fixtures/scenes/tilemap-multiset/b.png
similarity index 100%
rename from desktop/public/scenes/tilemap-multiset/b.png
rename to fixtures/scenes/tilemap-multiset/b.png
diff --git a/desktop/public/scenes/tilemap-multiset/map.tmj b/fixtures/scenes/tilemap-multiset/map.tmj
similarity index 100%
rename from desktop/public/scenes/tilemap-multiset/map.tmj
rename to fixtures/scenes/tilemap-multiset/map.tmj
diff --git a/desktop/public/scenes/tilemap-oob.esscene b/fixtures/scenes/tilemap-oob.esscene
similarity index 100%
rename from desktop/public/scenes/tilemap-oob.esscene
rename to fixtures/scenes/tilemap-oob.esscene
diff --git a/desktop/public/scenes/tilemap-parallax.esscene b/fixtures/scenes/tilemap-parallax.esscene
similarity index 100%
rename from desktop/public/scenes/tilemap-parallax.esscene
rename to fixtures/scenes/tilemap-parallax.esscene
diff --git a/desktop/public/scenes/tilemap-spacing.esscene b/fixtures/scenes/tilemap-spacing.esscene
similarity index 100%
rename from desktop/public/scenes/tilemap-spacing.esscene
rename to fixtures/scenes/tilemap-spacing.esscene
diff --git a/desktop/public/scenes/tilemap-spacing.textures.json b/fixtures/scenes/tilemap-spacing.textures.json
similarity index 100%
rename from desktop/public/scenes/tilemap-spacing.textures.json
rename to fixtures/scenes/tilemap-spacing.textures.json
diff --git a/desktop/public/scenes/tilemap-spacing/atlas.png b/fixtures/scenes/tilemap-spacing/atlas.png
similarity index 100%
rename from desktop/public/scenes/tilemap-spacing/atlas.png
rename to fixtures/scenes/tilemap-spacing/atlas.png
diff --git a/desktop/public/scenes/tilemap-spacing/map.tmj b/fixtures/scenes/tilemap-spacing/map.tmj
similarity index 100%
rename from desktop/public/scenes/tilemap-spacing/map.tmj
rename to fixtures/scenes/tilemap-spacing/map.tmj
diff --git a/desktop/public/scenes/tilemap-transform.esscene b/fixtures/scenes/tilemap-transform.esscene
similarity index 100%
rename from desktop/public/scenes/tilemap-transform.esscene
rename to fixtures/scenes/tilemap-transform.esscene
diff --git a/desktop/public/scenes/tilemap-transform.textures.json b/fixtures/scenes/tilemap-transform.textures.json
similarity index 100%
rename from desktop/public/scenes/tilemap-transform.textures.json
rename to fixtures/scenes/tilemap-transform.textures.json
diff --git a/desktop/public/scenes/tinyfont.fnt b/fixtures/scenes/tinyfont.fnt
similarity index 100%
rename from desktop/public/scenes/tinyfont.fnt
rename to fixtures/scenes/tinyfont.fnt
diff --git a/desktop/public/scenes/tinyfont.png b/fixtures/scenes/tinyfont.png
similarity index 100%
rename from desktop/public/scenes/tinyfont.png
rename to fixtures/scenes/tinyfont.png
diff --git a/desktop/public/scenes/trail.esscene b/fixtures/scenes/trail.esscene
similarity index 100%
rename from desktop/public/scenes/trail.esscene
rename to fixtures/scenes/trail.esscene
diff --git a/desktop/public/scenes/trail.textures.json b/fixtures/scenes/trail.textures.json
similarity index 100%
rename from desktop/public/scenes/trail.textures.json
rename to fixtures/scenes/trail.textures.json
diff --git a/desktop/public/scenes/two-triangles.esmesh b/fixtures/scenes/two-triangles.esmesh
similarity index 100%
rename from desktop/public/scenes/two-triangles.esmesh
rename to fixtures/scenes/two-triangles.esmesh
diff --git a/desktop/public/scenes/two-triangles.esmesh.meta b/fixtures/scenes/two-triangles.esmesh.meta
similarity index 100%
rename from desktop/public/scenes/two-triangles.esmesh.meta
rename to fixtures/scenes/two-triangles.esmesh.meta
diff --git a/desktop/public/scenes/two-triangles.esprefab b/fixtures/scenes/two-triangles.esprefab
similarity index 100%
rename from desktop/public/scenes/two-triangles.esprefab
rename to fixtures/scenes/two-triangles.esprefab
diff --git a/desktop/public/scenes/two-triangles.esprefab.meta b/fixtures/scenes/two-triangles.esprefab.meta
similarity index 100%
rename from desktop/public/scenes/two-triangles.esprefab.meta
rename to fixtures/scenes/two-triangles.esprefab.meta
diff --git a/desktop/public/scenes/two-triangles.gltf b/fixtures/scenes/two-triangles.gltf
similarity index 100%
rename from desktop/public/scenes/two-triangles.gltf
rename to fixtures/scenes/two-triangles.gltf
diff --git a/desktop/public/scenes/ui-layout.esscene b/fixtures/scenes/ui-layout.esscene
similarity index 100%
rename from desktop/public/scenes/ui-layout.esscene
rename to fixtures/scenes/ui-layout.esscene
diff --git a/desktop/public/scenes/ui-list-mask.esscene b/fixtures/scenes/ui-list-mask.esscene
similarity index 100%
rename from desktop/public/scenes/ui-list-mask.esscene
rename to fixtures/scenes/ui-list-mask.esscene
diff --git a/desktop/public/scenes/ui-list-mask.textures.json b/fixtures/scenes/ui-list-mask.textures.json
similarity index 100%
rename from desktop/public/scenes/ui-list-mask.textures.json
rename to fixtures/scenes/ui-list-mask.textures.json
diff --git a/desktop/public/scenes/ui-node-absolute.esscene b/fixtures/scenes/ui-node-absolute.esscene
similarity index 100%
rename from desktop/public/scenes/ui-node-absolute.esscene
rename to fixtures/scenes/ui-node-absolute.esscene
diff --git a/desktop/public/scenes/ui-node-absolute.textures.json b/fixtures/scenes/ui-node-absolute.textures.json
similarity index 100%
rename from desktop/public/scenes/ui-node-absolute.textures.json
rename to fixtures/scenes/ui-node-absolute.textures.json
diff --git a/desktop/public/scenes/ui-node-flex.esscene b/fixtures/scenes/ui-node-flex.esscene
similarity index 100%
rename from desktop/public/scenes/ui-node-flex.esscene
rename to fixtures/scenes/ui-node-flex.esscene
diff --git a/desktop/public/scenes/ui-node-flex.textures.json b/fixtures/scenes/ui-node-flex.textures.json
similarity index 100%
rename from desktop/public/scenes/ui-node-flex.textures.json
rename to fixtures/scenes/ui-node-flex.textures.json
diff --git a/desktop/public/scenes/ui-screen-root.esscene b/fixtures/scenes/ui-screen-root.esscene
similarity index 100%
rename from desktop/public/scenes/ui-screen-root.esscene
rename to fixtures/scenes/ui-screen-root.esscene
diff --git a/desktop/public/scenes/ui-screen-root.textures.json b/fixtures/scenes/ui-screen-root.textures.json
similarity index 100%
rename from desktop/public/scenes/ui-screen-root.textures.json
rename to fixtures/scenes/ui-screen-root.textures.json
diff --git a/desktop/public/scenes/ui-text-effects.esscene b/fixtures/scenes/ui-text-effects.esscene
similarity index 100%
rename from desktop/public/scenes/ui-text-effects.esscene
rename to fixtures/scenes/ui-text-effects.esscene
diff --git a/desktop/public/scenes/ui-text-overflow.esscene b/fixtures/scenes/ui-text-overflow.esscene
similarity index 100%
rename from desktop/public/scenes/ui-text-overflow.esscene
rename to fixtures/scenes/ui-text-overflow.esscene
diff --git a/desktop/public/scenes/ui-text-rect.esscene b/fixtures/scenes/ui-text-rect.esscene
similarity index 100%
rename from desktop/public/scenes/ui-text-rect.esscene
rename to fixtures/scenes/ui-text-rect.esscene
diff --git a/desktop/public/scenes/ui-text-sdf.esscene b/fixtures/scenes/ui-text-sdf.esscene
similarity index 100%
rename from desktop/public/scenes/ui-text-sdf.esscene
rename to fixtures/scenes/ui-text-sdf.esscene
diff --git a/desktop/public/scenes/ui-text-sdf.textures.json b/fixtures/scenes/ui-text-sdf.textures.json
similarity index 100%
rename from desktop/public/scenes/ui-text-sdf.textures.json
rename to fixtures/scenes/ui-text-sdf.textures.json
diff --git a/desktop/public/scenes/ui-text-uinode.esscene b/fixtures/scenes/ui-text-uinode.esscene
similarity index 100%
rename from desktop/public/scenes/ui-text-uinode.esscene
rename to fixtures/scenes/ui-text-uinode.esscene
diff --git a/desktop/public/scenes/ui-text-uinode.textures.json b/fixtures/scenes/ui-text-uinode.textures.json
similarity index 100%
rename from desktop/public/scenes/ui-text-uinode.textures.json
rename to fixtures/scenes/ui-text-uinode.textures.json
diff --git a/desktop/public/scenes/ui-text-zorder.esscene b/fixtures/scenes/ui-text-zorder.esscene
similarity index 100%
rename from desktop/public/scenes/ui-text-zorder.esscene
rename to fixtures/scenes/ui-text-zorder.esscene
diff --git a/desktop/public/scenes/ui-textinput.esscene b/fixtures/scenes/ui-textinput.esscene
similarity index 100%
rename from desktop/public/scenes/ui-textinput.esscene
rename to fixtures/scenes/ui-textinput.esscene
diff --git a/desktop/public/scenes/ui-visual-filled.esscene b/fixtures/scenes/ui-visual-filled.esscene
similarity index 100%
rename from desktop/public/scenes/ui-visual-filled.esscene
rename to fixtures/scenes/ui-visual-filled.esscene
diff --git a/desktop/public/scenes/ui-visual-filled.textures.json b/fixtures/scenes/ui-visual-filled.textures.json
similarity index 100%
rename from desktop/public/scenes/ui-visual-filled.textures.json
rename to fixtures/scenes/ui-visual-filled.textures.json
diff --git a/desktop/public/scenes/video-playback.esscene b/fixtures/scenes/video-playback.esscene
similarity index 100%
rename from desktop/public/scenes/video-playback.esscene
rename to fixtures/scenes/video-playback.esscene
diff --git a/desktop/public/scenes/video-playback.mp4 b/fixtures/scenes/video-playback.mp4
similarity index 100%
rename from desktop/public/scenes/video-playback.mp4
rename to fixtures/scenes/video-playback.mp4
diff --git a/desktop/public/scenes/video-playback.textures.json b/fixtures/scenes/video-playback.textures.json
similarity index 100%
rename from desktop/public/scenes/video-playback.textures.json
rename to fixtures/scenes/video-playback.textures.json
diff --git a/desktop/public/scenes/video-ui.esscene b/fixtures/scenes/video-ui.esscene
similarity index 100%
rename from desktop/public/scenes/video-ui.esscene
rename to fixtures/scenes/video-ui.esscene
diff --git a/desktop/public/scenes/video-ui.textures.json b/fixtures/scenes/video-ui.textures.json
similarity index 100%
rename from desktop/public/scenes/video-ui.textures.json
rename to fixtures/scenes/video-ui.textures.json
diff --git a/desktop/public/scenes/white-triangles.esmesh b/fixtures/scenes/white-triangles.esmesh
similarity index 100%
rename from desktop/public/scenes/white-triangles.esmesh
rename to fixtures/scenes/white-triangles.esmesh
diff --git a/desktop/public/scenes/white-triangles.esmesh.meta b/fixtures/scenes/white-triangles.esmesh.meta
similarity index 100%
rename from desktop/public/scenes/white-triangles.esmesh.meta
rename to fixtures/scenes/white-triangles.esmesh.meta
diff --git a/desktop/public/scenes/white-triangles.esprefab b/fixtures/scenes/white-triangles.esprefab
similarity index 100%
rename from desktop/public/scenes/white-triangles.esprefab
rename to fixtures/scenes/white-triangles.esprefab
diff --git a/desktop/public/scenes/white-triangles.esprefab.meta b/fixtures/scenes/white-triangles.esprefab.meta
similarity index 100%
rename from desktop/public/scenes/white-triangles.esprefab.meta
rename to fixtures/scenes/white-triangles.esprefab.meta
diff --git a/desktop/public/scenes/white-triangles.gltf b/fixtures/scenes/white-triangles.gltf
similarity index 100%
rename from desktop/public/scenes/white-triangles.gltf
rename to fixtures/scenes/white-triangles.gltf
diff --git a/desktop/public/scenes/ysort.esscene b/fixtures/scenes/ysort.esscene
similarity index 100%
rename from desktop/public/scenes/ysort.esscene
rename to fixtures/scenes/ysort.esscene
diff --git a/desktop/public/scenes/ysort.textures.json b/fixtures/scenes/ysort.textures.json
similarity index 100%
rename from desktop/public/scenes/ysort.textures.json
rename to fixtures/scenes/ysort.textures.json
diff --git a/sdk/tests/mesh-format-channels.test.ts b/sdk/tests/mesh-format-channels.test.ts
index ec346f0b5..b707ba45f 100644
--- a/sdk/tests/mesh-format-channels.test.ts
+++ b/sdk/tests/mesh-format-channels.test.ts
@@ -53,7 +53,7 @@ describe('decodeMesh channel table', () => {
it('reads every .esmesh committed to the repo', () => {
// The guard is only worth having if it admits what the importers actually
// write; these are their output, cooked by the shipping pipeline.
- const dir = path.resolve(__dirname, '../../desktop/public/scenes');
+ const dir = path.resolve(__dirname, '../../fixtures/scenes');
const files = readdirSync(dir).filter((f) => f.endsWith('.esmesh'));
expect(files.length).toBeGreaterThan(0);
for (const f of files) {
diff --git a/sdk/tests/tileset-resolve.test.ts b/sdk/tests/tileset-resolve.test.ts
index c9df8c5b8..0180df0d6 100644
--- a/sdk/tests/tileset-resolve.test.ts
+++ b/sdk/tests/tileset-resolve.test.ts
@@ -93,10 +93,10 @@ describe('atlasCells', () => {
// the case a hand-written expectation would most likely get wrong.
it('agrees with the column count Tiled wrote for every shipped map', () => {
const maps = [
- '../../desktop/public/scenes/tilemap-spacing/map.tmj',
- '../../desktop/public/scenes/tilemap-multiset/map.tmj',
- '../../desktop/public/scenes/tilemap-gidobj/map.tmj',
- '../../desktop/public/scenes/tilemap-hex/map.tmj',
+ '../../fixtures/scenes/tilemap-spacing/map.tmj',
+ '../../fixtures/scenes/tilemap-multiset/map.tmj',
+ '../../fixtures/scenes/tilemap-gidobj/map.tmj',
+ '../../fixtures/scenes/tilemap-hex/map.tmj',
'../../examples/tilemap-demo/assets/maps/level.tmj',
];
let checked = 0;
diff --git a/tools/check-render-scenes.mjs b/tools/check-render-scenes.mjs
index ae2320ea4..47ba710a1 100644
--- a/tools/check-render-scenes.mjs
+++ b/tools/check-render-scenes.mjs
@@ -14,7 +14,7 @@ import { fileURLToPath } from 'node:url';
import { TIERS, SCENES, scenesAtTier, sceneFileOf, WEBGPU_GAP } from './renderScenes.mjs';
const ROOT = path.resolve(path.dirname(fileURLToPath(import.meta.url)), '..');
-const PUBLIC = path.join(ROOT, 'desktop', 'public');
+const FIXTURES = path.join(ROOT, 'fixtures');
const WORKFLOW = path.join(ROOT, '.github', 'workflows', 'build.yml');
const problems = [];
@@ -31,12 +31,12 @@ for (const s of SCENES) {
// A scene path that does not resolve is a check that passes by never drawing
// the thing it was written for.
const file = sceneFileOf(s);
- if (file && !existsSync(path.join(PUBLIC, file))) {
- fail(`"${s.id}" loads ${s.env.ESTELLA_VERIFY_SCENE}, which is not under desktop/public`);
+ if (file && !existsSync(path.join(FIXTURES, file))) {
+ fail(`"${s.id}" loads ${s.env.ESTELLA_VERIFY_SCENE}, which is not under fixtures/`);
}
const manifest = s.env.ESTELLA_VERIFY_MANIFEST;
- if (manifest && !existsSync(path.join(PUBLIC, manifest.replace(/^\//, '')))) {
- fail(`"${s.id}" names manifest ${manifest}, which is not under desktop/public`);
+ if (manifest && !existsSync(path.join(FIXTURES, manifest.replace(/^\//, '')))) {
+ fail(`"${s.id}" names manifest ${manifest}, which is not under fixtures/`);
}
// An expectation is the whole point: a scene with none passes as long as it
// renders anything at all. Allowed, as a sentence — the same bargain the
diff --git a/tools/lib/staticServer.mjs b/tools/lib/staticServer.mjs
new file mode 100644
index 000000000..afa26e056
--- /dev/null
+++ b/tools/lib/staticServer.mjs
@@ -0,0 +1,58 @@
+// SPDX-License-Identifier: Apache-2.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
+/**
+ * @file staticServer.mjs — the loopback file server every headless host serves from.
+ *
+ * The scene fixtures behind the pixel gates live in `fixtures/`, engine-side, and
+ * outlive any one host: the engine's own verification host and the editor's both
+ * mount them. Everything else comes from the host's own build output, so a host
+ * is a build directory plus this.
+ *
+ * The host's own files win. A fixture tree is a project root — its scenes name
+ * `/assets/…` — and so is a Vite build, whose chunks land in `assets/` too;
+ * routing that prefix to the fixtures by name takes the page's own scripts away
+ * from it, which reads as "the engine never booted".
+ */
+import http from 'node:http';
+import { readFile } from 'node:fs/promises';
+import path from 'node:path';
+import { fileURLToPath } from 'node:url';
+
+const ROOT = path.resolve(path.dirname(fileURLToPath(import.meta.url)), '..', '..');
+const FIXTURES = path.join(ROOT, 'fixtures');
+
+const MIME = {
+ '.html': 'text/html', '.js': 'text/javascript', '.mjs': 'text/javascript',
+ '.css': 'text/css', '.json': 'application/json', '.esscene': 'application/json',
+ '.wasm': 'application/wasm', '.png': 'image/png', '.jpg': 'image/jpeg',
+ '.webp': 'image/webp', '.woff': 'font/woff', '.woff2': 'font/woff2', '.svg': 'image/svg+xml',
+ '.mp4': 'video/mp4', '.webm': 'video/webm',
+};
+
+/** Reads `rel` under `root`, or null when it is absent or would escape the root. */
+async function readUnder(root, rel) {
+ const abs = path.join(root, rel);
+ if (!abs.startsWith(root)) return null;
+ try {
+ return await readFile(abs);
+ } catch {
+ return null;
+ }
+}
+
+/**
+ * Serves `dist` on an ephemeral loopback port, falling back to `fixtures/`.
+ * Resolves to the listening server; the caller owns closing it.
+ */
+export function serveHost(dist) {
+ const server = http.createServer(async (req, res) => {
+ const rel = decodeURIComponent(new URL(req.url, 'http://x').pathname).replace(/^\/+/, '') || 'index.html';
+ const bytes = (await readUnder(dist, rel)) ?? (await readUnder(FIXTURES, rel));
+ if (!bytes) return void res.writeHead(404).end('not found');
+ res.writeHead(200, { 'content-type': MIME[path.extname(rel).toLowerCase()] ?? 'application/octet-stream' });
+ res.end(bytes);
+ });
+ return new Promise((resolve) => server.listen(0, '127.0.0.1', () => resolve(server)));
+}
+
+export { FIXTURES, MIME };