From d2a3d5b49c798fe556b08f18881f9e26af76c8ee Mon Sep 17 00:00:00 2001 From: jyelon Date: Wed, 9 Oct 2024 18:10:08 -0400 Subject: [PATCH] More tweaks --- .gitignore | 1 + Config/DefaultEngine.ini | 9 +++++++++ make-makefiles.py | 2 ++ 3 files changed, 12 insertions(+) create mode 100644 Config/DefaultEngine.ini diff --git a/.gitignore b/.gitignore index fbf987b3..fd307324 100644 --- a/.gitignore +++ b/.gitignore @@ -31,6 +31,7 @@ Platforms/** Intermediate/** DerivedDataCache/** Binaries/** +User/** .vs/** Source/Integration/lpx-paths.hpp diff --git a/Config/DefaultEngine.ini b/Config/DefaultEngine.ini new file mode 100644 index 00000000..fe4b3b6e --- /dev/null +++ b/Config/DefaultEngine.ini @@ -0,0 +1,9 @@ + + +[/Script/EngineSettings.GameMapsSettings] +GameDefaultMap=/Game/LpxLevel.LpxLevel +GlobalDefaultGameMode=/Game/Luprex/lxGameMode.lxGameMode_C +GameInstanceClass=/Script/IntegrationV7.GameInstanceV7 +GlobalDefaultServerGameMode=/Game/IntegrationGameModeBaseBP.IntegrationGameModeBaseBP_C +EditorStartupMap=/Game/LpxLevel.LpxLevel + diff --git a/make-makefiles.py b/make-makefiles.py index 62bdff47..807ee2f5 100755 --- a/make-makefiles.py +++ b/make-makefiles.py @@ -62,6 +62,7 @@ def writefile(fn, str): INTEGRATION = os.path.dirname(os.path.abspath(sys.argv[0])) UNREALENGINE = os.environ["HOME"] + "/UnrealEngine" UNREALBUILDTOOL = f"{UNREALENGINE}/Engine/Binaries/DotNET/UnrealBuildTool/UnrealBuildTool.dll" +USER = os.environ["USER"] # # Change to the target directory. @@ -189,6 +190,7 @@ LLDBINIT=f"command script import {UNREALENGINE}/Engine/Extras/LLDBDataFormatters for config in WORKSPACE["launch"]["configurations"]: config["type"] = "lldb" config["initCommands"] = [ LLDBINIT ] + config["args"] = [ f"{INTEGRATION}/Integration.uproject", f"-userdir=User/{USER}" ] config.pop("visualizerFile", None) config.pop("showDisplayString", None)