### Setup Blender Importer Development Environment Source: https://github.com/xypwn/filediver/blob/master/README.md Commands to initialize the virtual environment and install dependencies for the Blender importer. ```bash uv venv --python 3.11 ``` ```bash uv pip install -r scripts/requirements.txt ``` -------------------------------- ### Display help options Source: https://github.com/xypwn/filediver/wiki/10-CLI-Basics Prints a detailed description of all available command line options. ```sh ./filediver -h ``` -------------------------------- ### Run Filediver CLI or GUI Source: https://github.com/xypwn/filediver/blob/master/README.md Commands to execute the Filediver CLI or GUI directly from source. ```bash go run ./cmd/filediver-cli ``` ```bash go run ./cmd/filediver-gui ``` -------------------------------- ### Run Hash Tool Source: https://github.com/xypwn/filediver/blob/master/cmd/tools/README.md Displays available options for calculating and cracking murmur64a hashes. ```bash go run ./cmd/tools/hash_tool ``` -------------------------------- ### Run Crossref-checker Source: https://github.com/xypwn/filediver/blob/master/cmd/tools/README.md Displays available options for checking game file references. ```bash go run ./cmd/tools/crossref-checker ``` -------------------------------- ### Entity JSON Parser Usage Source: https://github.com/xypwn/filediver/blob/master/cmd/tools/README.md Command structure for the entity-json-parser tool. ```bash go run ./cmd/tools/entity-json-parser/ --entity-names ... --entities ... [--output .patch_0] [--levels ...] ``` -------------------------------- ### Entities Option Source: https://github.com/xypwn/filediver/blob/master/cmd/tools/README.md Specifies the list of JSON files to be parsed and saved as the corresponding entity names. ```bash --entities ./path/to/modified1.entity.json ./path/to/modified2.entity.json ... ``` -------------------------------- ### Configure Blender Importer Command Source: https://github.com/xypwn/filediver/blob/master/README.md Environment variable configuration for the Blender importer command in CMD and PowerShell. ```cmd set FILEDIVER_BLENDER_IMPORTER_COMMAND=uv run scripts/hd2_accurate_blender_importer.py ``` ```powershell $env:FILEDIVER_BLENDER_IMPORTER_COMMAND="uv run scripts/hd2_accurate_blender_importer.py" ``` -------------------------------- ### Output Patch Option Source: https://github.com/xypwn/filediver/blob/master/cmd/tools/README.md Defines the location of the output patch file. ```bash --output 9ba626afa44a3aa3.patch_0 ``` -------------------------------- ### Extract files to a custom directory Source: https://github.com/xypwn/filediver/wiki/10-CLI-Basics Specifies a custom output directory for extracted files. ```sh ./filediver -o "custom_dir" ``` -------------------------------- ### Levels Option Source: https://github.com/xypwn/filediver/blob/master/cmd/tools/README.md Specifies level JSON files with embedded entity files to be updated in the patch. ```bash --levels ./path/to/modified1.level.json ./path/to/modified2.level.json ``` -------------------------------- ### Extract and convert audio Source: https://github.com/xypwn/filediver/wiki/10-CLI-Basics Extracts a specific audio stream and converts it to the requested format. ```sh ./filediver --audio-format mp3 -i "content/audio/291227525.wwise_stream" ``` -------------------------------- ### Entity Names Option Source: https://github.com/xypwn/filediver/blob/master/cmd/tools/README.md Specifies the list of entity hashes to be overwritten in the patch. ```bash --entity-names 0x1234 0x5678 ... ``` -------------------------------- ### Extract complex model assets Source: https://github.com/xypwn/filediver/wiki/10-CLI-Basics Extracts a specific unit model into a Blender-compatible format. Requires helper scripts to be present in the same directory. ```sh ./filediver -T unit --unit-single-file --model-format blend -t "0x3d8cf2088ed56091" -i "0x76cf8e26aad1bf7e.unit" -o "extracted/DP-00-Tactical/" ``` -------------------------------- ### Extract specific file types Source: https://github.com/xypwn/filediver/wiki/10-CLI-Basics Filters extraction to include only files with the specified extension. ```sh ./filediver -T "bik" ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.