Code
					
				
				
					
						 Issues
						
							35
						
					
				
				
				
					
						 Pull requests
						
							11
						
					
				
				
					
						 Projects
						
							1
						
					
				
				
					
						 Releases
						
							3
						
					
				
				
					
						 Packages
						
							1
						
					
				
				
					
						 Wiki
					
				
				
				
					
						 Activity
					
				
				
				
		
	Var Dump: 
 Mailing List
				
				
			dumpVar: only available in dev mode
						
							Page:
							Building the source code
						
						
					
					
							Pages
							
							
								Building the source code
							
								Building your first mod
							
								Bundle Patcher Architecture
							
								CLI Reference
							
								Debugging with Ghidra on Linux
							
								File Type - Bundle Database
							
								File Type - Bundle
							
								File Type - Material
							
								File Type - Package
							
								File Type - Strings
							
								File Type - Texture
							
								File Type - Wwise Bank
							
								File Type - Wwise Event
							
								File Type - Wwise Stream
							
								File Type Status
							
								Home
							
								Installing mods with DTMM
							
								Migrating from loose files
							
								Murmur hashes and dictionaries
							
								Obtaining the Oodle library
							
								Register DTMM as handler for Nexus downloads
							
								Reverse Engineering - Getting Started
							
								Reverse Engineering - Sound
							
								Reverse Engineering - Textures
							
								WIP DDSImage::load
							
								dtmt.cfg Reference
							
						
					No results
				
					12 
					Building the source code
					
				
						
						Lucas Schwiderski edited this page 2025-03-13 08:36:00 +00:00 
					
				Table of Contents
Build with Docker
Prerequisites
Steps
The Docker images set up all the requirements and dependencies for both the native Linux build, and the cross-platform Windows build.
- Clone the repository. Make sure to initialize submodules (e.g. git clone --recurse-submodules).
- Place the Oodle library files into lib/oodle. See Obtaining-the-Oodle-library for how to acquire them.
- Build the Linux image, which also serves as base for the cross-platform Windows image: docker build -t dtmt-ci-base-linux -f .ci/image/Dockerfile.linux .
- (Optional) Build the Windows image: docker build -t dtmt-ci-base-msvc -f .ci/image/Dockerfile.msvc .
- Run the build command:
- Linux: docker run --rm -ti --user $(id -u) -v ./:/src/dtmt dtmt-ci-base-linux cargo --color always build --profile release-lto --locked
- Windows: docker run --rm -ti --user $(id -u) -v ./:/src/dtmt dtmt-ci-base-msvc cargo --color always build --release --target x86_64-pc-windows-msvc --locked -Zbuild-std
- Find the exectuables in target/release-ltoortarget/x86_64-pc-windows-msvc/release.
Native build
Prerequisites
Steps
- Clone the repository. Make sure to initialize submodules (e.g. git clone --recurse-submodules).
- Place the Oodle library files into lib/oodle. See the linked page above for how to acquire them.
- Run cargo build --release.
- Find the executables in target/release.
Wiki
Building the source code
Obtaining the Oodle library
DTMM
Installing mods
Register DTMM as handler for Nexus downloads
DTMT
CLI Reference
Building your first mod
Migrating from loose files
dtmt.cfg Reference
Murmur hashes and dictionaries
Reverse Engineering
Getting Started
Sound
Textures
File Types
Status
Bundle
Bundle Database
Texture
Material
Strings
Package
Wwise Event
Wwise Stream
Wwise Bank