Skip to content

Instantly share code, notes, and snippets.

View mikeseese's full-sized avatar

Mike Seese mikeseese

View GitHub Profile
@mikeseese
mikeseese / LinkerLoad.cpp.diff
Created December 18, 2021 21:05
Force assets to load in older engine version UE
--- a/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp
+++ b/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp
@@ -1283,9 +1283,20 @@ FLinkerLoad::ELinkerStatus FLinkerLoad::SerializePackageFileSummaryInternal()
// Don't load packages that were saved with package version newer than the current one.
if (bLoaderVersionCheck && ((Summary.IsFileVersionTooNew()) || (Summary.GetFileVersionLicenseeUE() > GPackageFileLicenseeUEVersion)))
{
- UE_LOG(LogLinker, Warning, TEXT("Unable to load package (%s) PackageVersion %i, MaxExpected %i : LicenseePackageVersion %i, MaxExpected %i."),
- *GetDebugName(), Summary.GetFileVersionUE().ToValue(), GPackageFileUEVersion.ToValue(), Summary.GetFileVersionLicenseeUE(), GPackageFileLicenseeUEVersion);
- return LINKER_Failed;
+ if (Summary.GetFileVersionUE().ToValue() > 1000 && Summary.GetFileVersionUE().ToValue() <= 1002) {
@mikeseese
mikeseese / DefaultEngine.ini
Last active January 15, 2022 22:50
Unreal Engine/UE VR headset framework priorities
[HMDPluginPriority]
OculusHMD=40
SteamVR=30
OpenXRHMD=20
WindowsMixedRealityHMD=10
@mikeseese
mikeseese / package.sh
Last active September 17, 2024 04:46
Unreal Win/Lin/Mac packaging script with AngelScript support. See comments for assumptions and other notes
#!/bin/bash
# only used in windows for cross compiling
export LINUX_MULTIARCH_ROOT=/c/UnrealToolchains/v19_clang-11.0.1-centos7/
if [ "$(uname)" != "Darwin" ]; then
${LINUX_MULTIARCH_ROOT}x86_64-unknown-linux-gnu/bin/clang++ -v
fi
SCRIPT_DIR="$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"
PROJECT_FILE=$(/usr/bin/find ${SCRIPT_DIR} -maxdepth 1 -name *.uproject)
@mikeseese
mikeseese / keybase.md
Created March 13, 2023 17:13
keybase.md

Keybase proof

I hereby claim:

  • I am mikeseese on github.
  • I am mikeseese (https://keybase.io/mikeseese) on keybase.
  • I have a public key ASDb40ivf54YUn5jdmlOnQ96Pyot5skvQOsPnhcqo2zJwQo

To claim this, I am signing this object:

@mikeseese
mikeseese / calendardarkmode.me.css
Created February 27, 2024 19:34
GCalendar Darkmode CSS
:root {
background-color: red !important;
--color-0: #000000;
--color-100: #303030;
--color-200: #353535;
--color-300: #575757;
--color-400: #717171;
--color-500: #8b8b8b;
--color-600: #d4d4d4;
--color-999: #ffffff;
@mikeseese
mikeseese / echo-server.yaml
Last active October 26, 2024 17:36
Repro steps for Rancher Desktop networking issue
apiVersion: v1
kind: Pod
metadata:
name: echo-server
namespace: default
spec:
containers:
- name: echo-server
image: ealen/echo-server:0.6.0
imagePullPolicy: IfNotPresent