How traker/hytaleassetstudio works
Hytale Asset Studio is a local visual editor for asset packs. Users open a workspace, select or create a project, inspect layered assets in graph views, edit assets or interaction trees, and save project-only overrides; project packs can also be imported and exported. The graph preserves those documented product areas while showing the sampled API, indexing, and graph-building layers. Some UI and route implementations were not sampled, so their detailed call relationships are omitted rather than inferred.
Main entry points: App.tsx App shell · main.py FastAPI application · projects.py Project routes · index_service.py Asset index
Components 28
Studio UI
- App shell
frontend/src/App.tsx - Workspace screens
frontend/src/views/HomePage.tsx - Project configuration
frontend/src/views/ProjectConfigView.tsx - Modified asset graph
frontend/src/views/project/ProjectModifiedGraphView.tsx - Item graph view
frontend/src/views/project/ProjectGraphItemsView.tsx - Interaction tree view
frontend/src/views/project/ProjectGraphInteractionsView.tsx - Asset editor panel
frontend/src/components/editor/AssetSidePanel.tsx - Interaction editors
frontend/src/components/editor/InteractionFormPanel.tsx
API boundary
- Frontend API
frontend/src/api/hasApi.ts - FastAPI application
backend/app/main.py - Workspace routes
backend/routes/workspace.py - Project routes
backend/routes/projects.py - Asset routes
backend/routes/assets.py - Graph routes
backend/routes/graph.py - Interaction routes
backend/routes/interactions.py
Workspace and packs
- Workspace and project service
backend/core/workspace_service.py - Project configuration
backend/core/project_service.py - Project creation
backend/core/project_create_service.py - Pack import
backend/core/import_service.py - Pack export
backend/core/export_service.py
Asset exploration
- Layered virtual filesystem
backend/core/vfs.py - Asset index
backend/core/index_service.py - Dependency graph builder
backend/core/graph_service.py - Asset read and resolve
backend/core/asset_service.py - Interaction tree service
backend/core/interaction_tree_service.py
Editing and exchange
- Project modifications
backend/core/modification_service.py - Local asset files
Other components
- Studio user
Connections 41
- Studio user → App shell: uses
README.md - App shell → Workspace screens: renders
frontend/src/App.tsx - App shell → Project configuration: renders
frontend/src/App.tsx - App shell → Item graph view: renders
frontend/src/App.tsx - App shell → Modified asset graph: renders
frontend/src/App.tsx - App shell → Interaction tree view: routes to
frontend/src/App.tsx - Modified asset graph → Asset editor panel: renders
frontend/src/views/project/ProjectModifiedGraphView.tsx - Workspace screens → Frontend API: requests workspace
frontend/src/views/HomePage.tsx - Frontend API → FastAPI application: calls local API
README.md - FastAPI application → Workspace routes: registers
backend/app/main.py - FastAPI application → Project routes: registers
backend/app/main.py - FastAPI application → Asset routes: registers
backend/app/main.py - FastAPI application → Graph routes: registers
backend/app/main.py - FastAPI application → Interaction routes: registers
backend/app/main.py - Workspace routes → Workspace and project service: handles workspace
- Project routes → Workspace and project service: uses workspace
backend/routes/projects.py - Project routes → Project configuration: loads projects
backend/routes/projects.py - Project routes → Project creation: creates projects
backend/routes/projects.py - Project routes → Pack import: imports packs
backend/routes/projects.py - Project routes → Pack export: exports packs
backend/routes/projects.py - Graph routes → Dependency graph builder: builds graphs
backend/routes/graph.py - Graph routes → Asset index: ensures index
backend/routes/graph.py - Asset routes → Asset read and resolve: reads assets
backend/routes/assets.py - Asset routes → Project modifications: records edits
backend/routes/assets.py - Interaction routes → Interaction tree service: serves trees
- Dependency graph builder → Asset index: ensures index
backend/core/graph_service.py - Dependency graph builder → Project modifications: collects changes
backend/core/graph_service.py - Dependency graph builder → Layered virtual filesystem: reads layered assets
backend/core/graph_service.py - Asset read and resolve → Asset index: resolves paths
backend/core/asset_service.py - Asset read and resolve → Layered virtual filesystem: reads mounts
backend/core/asset_service.py - Interaction tree service → Asset read and resolve: reads assets
backend/core/interaction_tree_service.py - Interaction tree service → Asset index: uses index
backend/core/interaction_tree_service.py - Workspace and project service → Project configuration: loads config
backend/core/workspace_service.py - Project creation → Project configuration: uses project config
backend/core/project_create_service.py - Pack import → Project creation: creates target project
backend/core/import_service.py - Pack import → Asset index: updates index
backend/core/import_service.py - Asset read and resolve → Local asset files: reads and writes
backend/core/asset_service.py - Project modifications → Asset index: updates index
backend/core/modification_service.py - Project modifications → Local asset files: tracks project edits
- Asset editor panel → Frontend API: loads and saves
- Interaction editors → Frontend API: loads and saves