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 / sig.lua
Created May 31, 2025 19:09
Created by LongerWarrior, this is a very reliable signature bypass pattern for a bitfix, works only if game uses aes encryption and sigs
local patch = function(ctx, address)
ctx[address] = 0xC3
end
local readint = function(ctx, i)
if (ctx[i+3] >> 7) == 1 then
local val = ctx[i] | (ctx[i+1] << 8) | (ctx[i+2] << 16) | (ctx[i+3] << 24)
return val - 0x100000000
else
return ctx[i] | (ctx[i+1] << 8) | (ctx[i+2] << 16) | (ctx[i+3] << 24)
@Buckminsterfullerene02
Buckminsterfullerene02 / ue4-iostore-repack-instructions.md
Last active November 18, 2024 20:19
Method for repacking UE4 IoStore files - From LongerWarrior on UE Modding Discord

so this works for 4.27

E:\Games\UE5\UE_4.27\Engine\Binaries\Win64\UE4Editor-Cmd.exe E:\Projects\ShooterGame\ShooterGame.uproject -run=IoStore -CreateGlobalContainer=E:\Projects\ShooterGame\Saved\StagedBuilds\WindowsNoEditor\ShooterGame\Content\Paks\global.utoc -CookedDirectory=E:\Projects\ShooterGame\Saved\Cooked\WindowsNoEditor -Commands="C:\Users\LongerWarrior\AppData\Roaming\Unreal Engine\AutomationTool\Logs\E+Games+UE5+UE_4.27\IoStoreCommands.txt" -CookerOrder=E:\Projects\ShooterGame\Build\WindowsNoEditor\FileOpenOrder\CookerOpenOrder.log -TargetPlatform=WindowsNoEditor -stdout -UTF8Output

IoStoreCommands.txt

-Output=E:\Projects\ShooterGame\Saved\StagedBuilds\WindowsNoEditor\ShooterGame\Content\Paks\pakchunk0-WindowsNoEditor_P.utoc -ContainerName=pakchunk0-WindowsNoEditor_P -ResponseFile="C:\Users\LongerWarrior\AppData\Roaming\Unreal Engine\AutomationTool\Logs\E+Games+UE5+UE_4.27\PakListIoStore_ShooterGame.txt"

and response file is the same as in later ue versions

@Buckminsterfullerene02
Buckminsterfullerene02 / UModelExtract.bat
Last active April 19, 2025 09:10
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