Last active
December 20, 2022 21:41
-
-
Save Buckminsterfullerene02/789fb38a2f1ccd2ef55262a90be578d9 to your computer and use it in GitHub Desktop.
Written by Buckminsterfullerene
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:: e.g. "F:\DRG Modding\DRGTools\UModel\umodel.exe" | |
set umodel_path="path to umodel" | |
:: e.g. "F:\DRG Modding\DRGPacker\_unpacked\FSD\Content" | |
set content_path="path to unpacked files content folder" | |
:: e.g. ue4.27 | |
set ue_version=ue4.27 | |
:: e.g. "F:\DRG Modding\DRGPacker\JSON\Blender\SMs" | |
set sm_output_path="output path to static meshes" | |
:: e.g. "F:\DRG Modding\DRGPacker\JSON\Blender\Anims" | |
set anim_output_path="output path to skeletal meshes/anim sequences" | |
:: Animations: | |
%umodel_path% -path=%content_path% -game=%ue_version% -out=%anim_output_path% -nooverwrite -nostat -novert -notex -nomorph -nolightmap -export *.uasset | |
:: Static Meshes: | |
%umodel_path% -path=%content_path% -game=%ue_version% -out=%sm_output_path% -gltf -nomesh -noanim -nooverwrite -novert -notex -nomorph -nolightmap -export *.uasset |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment