Skip to main content

Asset Explorer

The Asset Explorer allows you to browse, extract, and view Hytale game assets directly from the panel. Access it from ToolsAsset Explorer.

Overview

Hytale stores game assets (models, textures, sounds, etc.) in compressed archives. The Asset Explorer provides:

  • Browse the complete asset hierarchy
  • Extract individual files or folders
  • Preview supported file types
  • Search for specific assets
  • Download extracted files

Extracting Assets

Before browsing, you need to extract the assets from the game archives.

Automatic Extraction

  1. Go to ToolsAsset Explorer
  2. Click Extract Assets
  3. Wait for the extraction to complete (may take several minutes)
  4. Assets are extracted to /opt/hytale/data/assets/

Manual Extraction

Using the server console:

/assets extract

Or via container:

docker exec hytale /opt/hytale/server/extract-assets.sh

Browsing Assets

  • Folder Tree - Left sidebar shows the directory structure
  • File List - Main area shows files in current folder
  • Breadcrumbs - Top bar shows current path
  • Back Button - Return to parent folder

Asset Categories

FolderContents
models/3D models (.hym, .obj)
textures/Image textures (.png, .jpg)
sounds/Audio files (.ogg, .wav)
shaders/Shader programs
prefabs/Prefab definitions
scripts/Lua/behavior scripts
ui/UI layouts and assets
localization/Translation files

Searching Assets

  1. Click the Search icon or press Ctrl+F
  2. Enter your search term
  3. Results show matching files across all folders

Search Filters

  • Name: name:sword - Files containing "sword"
  • Extension: ext:png - Only PNG files
  • Path: path:models/creatures - Within specific path
  • Size: size:>1MB - Files larger than 1MB

Search Examples

QueryResults
dragonAll files with "dragon" in name
ext:oggAll sound files
path:textures name:grassGrass textures only

File Preview

Supported Formats

TypeFormatsPreview
ImagesPNG, JPG, TGA, BMPFull preview
TextJSON, TXT, XML, LUASyntax highlighted
AudioOGG, WAVAudio player
ModelsHYMMetadata only

Preview Panel

  1. Select a file in the file list
  2. Preview appears in the right panel
  3. Use zoom controls for images
  4. Click Open Full for larger view

Downloading Assets

Single File

  1. Select the file
  2. Click Download button
  3. File downloads to your browser

Multiple Files

  1. Select multiple files (Ctrl+Click)
  2. Click Download Selected
  3. Files are zipped and downloaded

Entire Folder

  1. Right-click on a folder
  2. Select Download as ZIP
  3. Folder contents are zipped and downloaded

API Reference

Endpoints

MethodEndpointDescription
GET/api/assets/statusGet extraction status
GET/api/assets/browse?path=List directory contents
GET/api/assets/tree?path=&depth=Get directory tree
GET/api/assets/file?path=Get file contents
POST/api/assets/extractTrigger asset extraction
DELETE/api/assets/cacheClear extracted assets
GET/api/assets/search?q=&ext=&content=&limit=Search assets
GET/api/assets/download/*Download file/folder
GET/api/assets/items?q=&limit=Search item list
GET/api/assets/item-icon/:itemIdGet item icon (public)
GET/api/assets/player-avatarGet player avatar (public)

Search Parameters

ParameterDescriptionExample
qSearch querydragon
extFile extensionspng,jpg
contentSearch file contentstrue
limitMax results100
regexUse regex searchfalse
globUse glob patternsfalse

Response Format

{
"path": "/textures/blocks",
"entries": [
{
"name": "grass_top.png",
"type": "file",
"size": 4096,
"modified": "2024-01-15T10:30:00Z"
},
{
"name": "dirt",
"type": "directory",
"children": 12
}
]
}

Permissions

PermissionDescription
assets.viewBrowse, view, and download assets
assets.manageExtract and manage assets

Storage Considerations

  • Extracted assets require approximately 2-3 GB of disk space
  • Assets are stored in /opt/hytale/data/assets/
  • Re-extraction overwrites existing files
  • Consider backup before major extractions

Troubleshooting

Extraction Fails

  1. Check available disk space
  2. Verify server files are complete
  3. Check container logs for errors:
    docker-compose logs hytale

Preview Not Loading

  1. Check file format is supported
  2. Large files may take time to load
  3. Clear browser cache

Search Returns No Results

  1. Ensure assets are extracted
  2. Check search syntax
  3. Try broader search terms