Skip to content

Instantly share code, notes, and snippets.

View Buckminsterfullerene02's full-sized avatar
💭
Doing far too many things at once.

Buckminsterfullerene02

💭
Doing far too many things at once.
  • Tinternet
View GitHub Profile
@Buckminsterfullerene02
Buckminsterfullerene02 / UModelExtract.bat
Last active December 20, 2022 21:41
Written by Buckminsterfullerene
:: 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"
@echo off
:Save_Backup_Utility
set ue_game_save_name=GAMEPROJECTNAMEHERE
for /f "tokens=1-3 delims=1234567890 " %%a in ("%time%") Do set "delims=%%a%%b%%c"
for /f "tokens=1-4 delims=%delims%" %%G in ("%time%") Do (
set _hh=%%G
set _min=%%H
set _ss=%%I
set _ms=%%J
$RootPath = "D:\DEV\TresGame\Source\TresGame"
$Confirm = $False # Confirm each step?
# *.h
Get-ChildItem -Path $RootPath -Filter *.h -Recurse | ForEach-Object {
$PathToFile = $_.FullName
$ClassName = $_.BaseName
$FileContent = Get-Content -Path $PathToFile
@Buckminsterfullerene02
Buckminsterfullerene02 / GenerateBPY.cs
Last active April 11, 2023 11:50
Written by DmgVol
using System;
using System.IO;
namespace GenerateBPY {
class Program {
static void Main(string[] args)
{
var inputPath = @"F:\DRG Modding\DRGPacker\JSON\Blender\SMs\"; // Where your static meshes are
var outputPath = @"F:\DRG Modding\DRGPacker\JSON\Assets\Game\"; // Where you want your FBX files to go
var commandsPath = @"F:\DRG Modding\DRGPacker\JSON\Blender\BlenderCommands\commands.py"; // Where you want your commands file to go
@Buckminsterfullerene02
Buckminsterfullerene02 / EmptyContentHierarchyGenerator.bat
Created October 18, 2022 16:10
Written by Buckminsterfullerene
DEL "path to files\*.*" /S /Q
cd %~1
del /s *.uexp, *.ubulk
for /r %%g in (*.uasset) do (
type NUL>%%~dpng.uasset
)
@Buckminsterfullerene02
Buckminsterfullerene02 / ActorXAnimConverter-Bulk.ms
Last active April 11, 2023 11:51
Written by Gildor, adapted by Aproydtix, further modified by Buckminsterfullerene
/*
ActorX mesh (psk) and animation (psa) importer for 3ds Max
Created: September 18 2009
Author: Konstantin Nosov (aka Gildor)
Web page: http://www.gildor.org/projects/unactorx