Skip to content

About

This project is licensed under the terms of the MIT license.

Resources

Stars

1 star

Watchers

0 watching

Forks

 
 

Repository files navigation

AssetEditor

The Asset Editor, DN fork

Latest release Downloads

A fork of donkeyProgramming's AssetEditor, the modding tool for Total War games with editors for 3D models, animations, audio, textures and more in one desktop app. It is built on upstream v0.79, and adds a VFX editor, a Unit Simulator, a particle preview much closer to the game's, better LOD generation and a long list of fixes.

Releases are numbered DN v1, v1.1 and so on up to the current DN v2.3, with a third number for a hotfix such as v1.9.1. The title bar shows both numbers, as in "AssetEditor v0.79 - DN v2.3".

Latest Release · Documentation · Video Tutorial · Upstream


What this fork adds

The headline items. Every change is listed in the release notes.

VFX Editor

In the Tools menu. Opens vfx/*.xml and edits it in place: quality tiers, curve keys, properties, modifiers, emitters and references, with undo and a live preview you can fly like a projectile to see its trail. Its guide and a tutorial are in docs/Documentation/VfxEditor.html, which the upstream documentation site does not have. GitHub shows that file as source; the release zip carries it in AssetEditor/docs/Documentation/, so open it from there.

Unit Simulator

In the Tools menu. Plays a rider on its mount the way the game pairs them, edits both battle tables and saves them back into their animpack, and adds battle_personalities riders on the mount's attach bones, with TSV export for RPFM. It can also bake a rider's battle table onto another mount.

Particle preview

Flipbooks, trails, decals, HDR glow at the game's bloom threshold, light particles lighting the ground and models, distortion and heat haze, rigid-model particles, terrain spawning, vector fields, wind and particle warm-up. A chain with no Ultra block draws nothing at Ultra, as in the game.

SuperView and the Anm.Meta editor

Vanilla .anm.meta files re-save byte-identical. Tag descriptions, a New dialog, PROP_10 and above, EFFECT particles, hand poses and animated props drawn in place, and .variantmeshdefinition files open and play. In SuperView, a grid under the player lists the picked set's slots. An edit plays at once and can be undone until Ctrl+S saves the battle table or campaign animation set it belongs to, and Save meta as gives a slot its own copy of a shared meta. Tick Sound and the SOUND_TRIGGER tags play the sounds the game resolves them to as the playhead crosses them, with the slot's .snd.meta in a tab of its own, so you can time your own tags by ear.

Grids for battle tables and variant meshes

A WH3 battle animation table in an animpack, and a .variantmeshdefinition, each open as a grid with a row per slot entry. Paths have Browse and Open, slots can be added, removed, copied and pasted, find and replace works across paths, every edit can be undone, and problems are marked on their own row. Show as XML at the top right switches to the text and back.

Dockable panels

In SuperView, the Unit Simulator and the Skeleton, Campaign Animation Creator, Animation Retarget and KeyFrame editors, the panels around the 3D view dock, tab, float, auto-hide and close. General > Panels reopens a closed one, General > Reset layout puts the default back, and each editor keeps its own layout between sessions.

Blender and OBJ import and export

Right-click a .rigid_model_v2 and pick Export to > Blender (.blend), glTF (.glb) or OBJ (.obj). The .blend keeps every LOD, the skeleton and the textures. To bring a model back, use File > Import 3D model, right-click a folder and pick Import 3D model or image, or drag a .blend, .obj, .gltf or .glb onto a folder in the Pack Explorer. Every RMV2 collection in a .blend comes back with all of its LODs, and a .blend exported from AssetEditor offers to go back to the path it came from. The .blend and .obj routes run Blender in the background, so they need Blender 4.2 or later with ChaosRobie's io_scene_rmv2 extension installed. AssetEditor only calls that add-on and ships none of its code. An OBJ carries LOD0 only, with no skeleton, weights or pivot. AiDocumentation/blender-import-export.md covers the details.

Driving it from a script

Other programs can drive AssetEditor through a named pipe: find and open files, list and edit a 3D scene, save, and read or change any open editor's fields by path. AiDocumentation/asseteditor-ipc.md lists the requests.

LOD generation

LODs and "Reduce mesh by 10%" use meshoptimizer. It lands close to the triangle count you ask for and keeps UV seams, open edges, skin weights and mirrored tangent frames. The Fast Quadric decimator is still in the save dialog as "Fast Quadric (old)". Since DN v2.1 it is upstream's rewrite, which reduces the whole model in one pass, with the fork's seam and mirrored-tangent fixes on top.

Packs, saving and undo

A backup of the .pack before every save, autosave, Restore backup and File > Create a new packfile. Redo in Kitbash and the KeyFrame editor, and undo and redo in the Skeleton, Audio, AnimPack and Unit Simulator editors. The start panel lists recently opened packs, and the Browse dialog searches the file tree instead of the game cache, which took 250 ms a search and read _ as any character.

Upstream bugs fixed

The viewport capped at 37 to 50 FPS on 75 to 144 Hz displays, faction colours did not tint WH3 models, copied models lost their textures, and labels printed {loc:...} instead of their text. These and more are fixed.


Editors

Kitbasher (3D Editor)

Full-featured 3D mesh editor for creating composite models by combining parts from multiple meshes. Supports material editing, mesh operations (merge, split, duplicate), vertex/face/object selection modes, and real-time 3D preview with a MonoGame-based viewport.

Visual Metadata Editor

Editing interface for animation metadata. Supports manipulation of animation tags, attributes, and timing properties that control how animations blend and trigger in-game.

Audio Editor

Comprehensive audio project editor with support for Wwise-based audio exploration, project creation, waveform visualization, format conversion, and dialogue event management.

Animation Re-Targeting

Retargets animations between different skeletons, allowing you to transfer animations from one character model to another. Provides bone mapping and re-rigging capabilities for cross-skeleton animation reuse.

Skeleton Editor

Visual skeleton editor for creating, editing, and rigging skeletal structures. Supports bone manipulation, weight visualization, and reference mesh display for precise rigging workflows.

Texture Editor

Texture preview and editing tool supporting all game texture formats. Provides metadata inspection and visual inspection of textures used by game models.

Animation Fragment Editor

Manages animation packs (.animpack files) and campaign animation bin files. Includes a batch animation exporter for bulk format conversions across your mod.

Import/Export Editor

Handles bidirectional import/export of game asset formats, supporting GLTF/FBX to RMV2 conversions for bringing external 3D assets into the game.

Reports

Generates analysis and diagnostic reports including material reports, mesh info dumps, metadata JSON exports, deep file searches, and dialogue event information.


Getting Started

  1. Download the latest release
  2. Extract it and run AssetEditor/AssetEditor.exe. Windows x64; the .NET runtime is included.
  3. Load your game's pack files and start editing

From DN v1.2 on, the update prompt checks this fork's releases. DN v1 and v1.1 still check upstream's, so download a newer DN release by hand.

For detailed guides, see the Documentation.

Building from Source

Prerequisites: .NET 10 SDK, Windows

git clone https://github.com/DerpyNewb/TheAssetEditorDN.git
cd TheAssetEditorDN
dotnet build AssetEditor.sln

meshoptimizer.dll is checked in prebuilt; GameWorld/GameWorldCore/GameWorld.Core/Services/SceneSaving/Lod/MeshOptimizerIntegration/Native/README.md has the commands to rebuild it from source.

Contributing

Pull requests are welcome. The project uses a modular architecture with dependency injection; each editor is a self-contained project under the Editors/ folder. A bug that upstream has too is best reported upstream.

License

MIT, as upstream's repository declares: see LICENSE. Every build ships it beside AssetEditor.exe, with the MIT notices of the code built into it, meshoptimizer and the PBR shaders, in licenses\.

About

This project is licensed under the terms of the MIT license.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages