Skip to main content

Extract static meshes (.glb) and base-color textures (.png) from uncooked Unreal Engine .uasset files, with an optional browser level preview.

Project description

UE4.27 UAsset Parser & Exporter

Extracts static meshes (glb) and base color textures (PNG) from Unreal Engine 4.27 .uasset files. Supports browser-based level preview with --preview.

Requirements

  • Python 3.10+
  • numpy
  • Pillow
  • pyooz (provides the ooz Oodle-decompression module)
  • pygltflib
  • tqdm

Usage

# Extract meshes and textures
python main.py ./Input

# Extract and preview a level in browser (port 3050)
python main.py ./Input --preview L_Showcase.umap

# Preview without re-exporting
python main.py ./Input --skip-export --preview L_Showcase.umap

# Export without textures
python main.py ./Input --skip-textures

# Export only meshes with certain filesname (all containing Pipe in name)
python main.py ./Input --filter Pipe

The input directory should contain a .uproject file and a Content/ folder with .uasset / .umap files.

The output is ./Export folder created in current workspace.

Features

  • level parts (level isntansing) included in preview
  • material parent recursive search
  • material slot indexes recognition
  • only 1 UV channel
  • texture override in material instance

Not included

  • lights,
  • colliders,
  • PBR textures,
  • vertex colors,
  • tangents,
  • LOD
  • shaders,
  • texture baking,
  • Nanite,
  • animation decompression
  • skeletons/bones

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

unreal_assets_to_glb-4.27.2.0.tar.gz (87.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

unreal_assets_to_glb-4.27.2.0-py3-none-any.whl (92.6 kB view details)

Uploaded Python 3

File details

Details for the file unreal_assets_to_glb-4.27.2.0.tar.gz.

File metadata

  • Download URL: unreal_assets_to_glb-4.27.2.0.tar.gz
  • Upload date:
  • Size: 87.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for unreal_assets_to_glb-4.27.2.0.tar.gz
Algorithm Hash digest
SHA256 5a2b409f9533e346086efa5596353dcc8bf415ce39494e530a601f967fc078be
MD5 789f8e5cd188402518151de4b0a2f2d4
BLAKE2b-256 577f0ed486fac74e85cd2833538e2186286b08ad94d382f14b8eb2f10bd536f0

See more details on using hashes here.

File details

Details for the file unreal_assets_to_glb-4.27.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for unreal_assets_to_glb-4.27.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 54c37c56f639afb6d774f9fb61313be656031138c1fd190d3a0c417181e84084
MD5 2256c40b750c39f48d7167490195f133
BLAKE2b-256 691bdfe79364215a3469cbb19e133bc5377a91aad7ae1e81c2f42648db1ca4fb

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page