Skip to content

Instantly share code, notes, and snippets.

View crashangelbr's full-sized avatar

Crash Angel crashangelbr

View GitHub Profile
@coderespawn
coderespawn / gist:1c5f4fca49d2817fa93d3c51152e68cb
Created November 24, 2019 17:09
Renaming a UE4 plugin without breaking stuff. add this to your plugin's Config/DefaultPLUGINNAME.ini
[/Script/Engine.Engine]
[CoreRedirects]
+ClassRedirects=(MatchSubstring=True,OldName="/Script/OldPluginRuntime",NewName="/Script/NewPluginRuntime")
+EnumRedirects=(MatchSubstring=True,OldName="/Script/OldPluginRuntime",NewName="/Script/NewPluginRuntime")
+FunctionRedirects=(MatchSubstring=True,OldName="/Script/OldPluginRuntime",NewName="/Script/NewPluginRuntime")
+StructRedirects=(MatchSubstring=True,OldName="/Script/OldPluginRuntime",NewName="/Script/NewPluginRuntime")
+ClassRedirects=(MatchSubstring=True,OldName="/OldPlugin",NewName="/NewPlugin")
+EnumRedirects=(MatchSubstring=True,OldName="/OldPlugin",NewName="/NewPlugin")
@emrahgunduz
emrahgunduz / PackageDownloader.cpp
Created November 14, 2016 12:55
Package Downloader And Mounter For Unreal Engine 4 -- Do not forget to correct the include and api name if you are copy pasting this code
#include "HitMe.h"
#include "PackageDownloader.h"
#include "IPlatformFilePak.h"
#include "HitMeSingleton.h"
UPackageDownloader* UPackageDownloader::GetPackageDownloader(FString PackageName, FString URL, bool& IsValid)
{
IsValid = false;
UPackageDownloader *Object = NewObject<UPackageDownloader>();