Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG - Release] Lua mods don't load when game directory has a unicode character #495

Open
Ziryo opened this issue May 9, 2024 · 5 comments · May be fixed by #657
Open

[BUG - Release] Lua mods don't load when game directory has a unicode character #495

Ziryo opened this issue May 9, 2024 · 5 comments · May be fixed by #657

Comments

@Ziryo
Copy link

Ziryo commented May 9, 2024

Branch or Release
The Tag for the Release you are using, or the commit you used if you built from source yourself.

Game and Engine Version
Everspace™ 2 1.2.39656, Unreal Engine 5

Describe the bug
When starting Everspace 2, the game loads normally, but no mods seem to function.

Mods directory
Mods.zip

To Reproduce
Steps to reproduce the behavior:

  1. Launch game
  2. Attempt to access your homestation storage with backspace
  3. See error in log

Expected behavior
A window will pullup that displays your Homestation storage and allow you to move items between your inventory and the Homestation inventory.

Screenshots, UE4SS Log, and .dmp file
[2024-05-09 16:46:06] Console created
[2024-05-09 16:46:06] UE4SS - v3.0.1 Beta #0 - Git SHA #d935b5b
[2024-05-09 16:46:06] UE4SS Build Configuration: Game__Shipping__Win64 (MSVC)
[2024-05-09 16:46:06] Setting up mods...
[2024-05-09 16:46:06] Starting mods (from mods.txt load order)...
[2024-05-09 16:46:06] Starting mods (from enabled.txt, no defined load order)...
[2024-05-09 16:46:06] No specific game configuration found, using default configuration file
[2024-05-09 16:46:06] Config: G:\SteamLibrary\steamapps\common\EVERSPACE™ 2\ES2\Binaries\Win64\UE4SS-settings.ini

[2024-05-09 16:46:06] root directory: G:\SteamLibrary\steamapps\common\EVERSPACE™ 2\ES2\Binaries\Win64
[2024-05-09 16:46:06] working directory: G:\SteamLibrary\steamapps\common\EVERSPACE™ 2\ES2\Binaries\Win64
[2024-05-09 16:46:06] game executable directory: G:\SteamLibrary\steamapps\common\EVERSPACE™ 2\ES2\Binaries\Win64
[2024-05-09 16:46:06] game executable: G:\SteamLibrary\steamapps\common\EVERSPACE™ 2\ES2\Binaries\Win64\ES2-Win64-Shipping.exe (144999936 bytes)

[2024-05-09 16:46:06] mods directory: G:\Everspace2\Mods
[2024-05-09 16:46:06] log directory: G:\SteamLibrary\steamapps\common\EVERSPACE™ 2\ES2\Binaries\Win64
[2024-05-09 16:46:06] object dumper directory: G:\SteamLibrary\steamapps\common\EVERSPACE™ 2\ES2\Binaries\Win64

[2024-05-09 16:46:06] PS Scan attempt 1
[2024-05-09 16:46:06] [PS] Reading image
[2024-05-09 16:46:06] [PS] Starting scan
[2024-05-09 16:46:06] [PS] Scan finished in 359.8153ms
[2024-05-09 16:46:06] [PS] Found EngineVersion: 5.3
[2024-05-09 16:46:06] [PS] Found GUObjectArray: 0x7ff659f310a0
[2024-05-09 16:46:06] [PS] Found GMalloc: 0x7ff659e50eb0
[2024-05-09 16:46:06] [PS] Found FName::ToString: 0x7ff65299cff0
[2024-05-09 16:46:06] [PS] Found FName::FName(wchar_t*): 0x7ff652982010
[2024-05-09 16:46:06] [PS] Found StaticConstructObject_Internal: 0x7ff652b6f260
[2024-05-09 16:46:06] [PS] Found FText::FText(FString&&): 0x7ff652893bd0
[2024-05-09 16:46:06] PS scan successful
[2024-05-09 16:46:06] Need to construct: /Script/CoreUObject.Class
[2024-05-09 16:46:06] Need to construct: /Script/CoreUObject
[2024-05-09 16:46:06] Need to construct: /Script/CoreUObject.Struct
[2024-05-09 16:46:06] Need to construct: /Script/Engine.Pawn
[2024-05-09 16:46:06] Need to construct: /Script/Engine.Character
[2024-05-09 16:46:06] Need to construct: /Script/Engine.Actor
[2024-05-09 16:46:06] Need to construct: /Script/CoreUObject.Vector
[2024-05-09 16:46:06] Need to construct: /Script/Engine.Default__DefaultPawn
[2024-05-09 16:46:06] Need to construct: /Script/Engine.HitResult
[2024-05-09 16:46:06] Need to construct: /Script/Engine.Default__MaterialExpression
[2024-05-09 16:46:06] Need to construct: /Script/Engine.ActorComponent
[2024-05-09 16:46:06] Need to construct: /Script/CoreUObject.OrientedBox
[2024-05-09 16:46:06] Need to construct: /Script/Engine.MovementComponent
[2024-05-09 16:46:06] Need to construct: /Script/Engine.HUD
[2024-05-09 16:46:06] Need to construct: /Script/Engine.PlayerController
[2024-05-09 16:46:06] Need to construct: /Script/Engine.PlayerCameraManager
[2024-05-09 16:46:06] Need to construct: /Script/CoreUObject.EInterpCurveMode
[2024-05-09 16:46:06] Need to construct: /Script/Engine.ENetRole
[2024-05-09 16:46:06] Need to construct: /Script/MovieScene.MovieSceneEditorData
[2024-05-09 16:46:06] Need to construct: /Script/UMG.Widget
[2024-05-09 16:46:06] Need to construct: /Script/UMG.ComboBoxString
[2024-05-09 16:46:06] Need to construct: /Script/CoreUObject.Interface
[2024-05-09 16:46:06] Need to construct: /Script/CoreUObject.DynamicClass
[2024-05-09 16:46:06] Constructed [1 / 23]: /Script/CoreUObject.Class
[2024-05-09 16:46:06] Constructed [2 / 23]: /Script/CoreUObject
[2024-05-09 16:46:06] Constructed [3 / 23]: /Script/CoreUObject.Struct
[2024-05-09 16:46:06] Constructed [4 / 23]: /Script/Engine.Pawn
[2024-05-09 16:46:06] Constructed [5 / 23]: /Script/Engine.Character
[2024-05-09 16:46:06] Constructed [6 / 23]: /Script/Engine.Actor
[2024-05-09 16:46:06] Constructed [7 / 23]: /Script/Engine.ActorComponent
[2024-05-09 16:46:06] Constructed [8 / 23]: /Script/Engine.MovementComponent
[2024-05-09 16:46:06] Constructed [9 / 23]: /Script/Engine.HUD
[2024-05-09 16:46:06] Constructed [10 / 23]: /Script/Engine.PlayerController
[2024-05-09 16:46:06] Constructed [11 / 23]: /Script/Engine.PlayerCameraManager
[2024-05-09 16:46:06] Constructed [12 / 23]: /Script/UMG.Widget
[2024-05-09 16:46:06] Constructed [13 / 23]: /Script/UMG.ComboBoxString
[2024-05-09 16:46:06] Constructed [14 / 23]: /Script/CoreUObject.Interface
[2024-05-09 16:46:06] Constructed [15 / 23]: /Script/CoreUObject.DynamicClass
[2024-05-09 16:46:08] Constructed [16 / 23]: /Script/CoreUObject.Vector
[2024-05-09 16:46:08] Constructed [17 / 23]: /Script/Engine.HitResult
[2024-05-09 16:46:08] Constructed [18 / 23]: /Script/Engine.Default__MaterialExpression
[2024-05-09 16:46:08] Constructed [19 / 23]: /Script/CoreUObject.OrientedBox
[2024-05-09 16:46:08] Constructed [20 / 23]: /Script/CoreUObject.EInterpCurveMode
[2024-05-09 16:46:08] Constructed [21 / 23]: /Script/Engine.ENetRole
[2024-05-09 16:46:08] Constructed [22 / 23]: /Script/MovieScene.MovieSceneEditorData
[2024-05-09 16:46:09] Constructed [23 / 23]: /Script/Engine.Default__DefaultPawn
[2024-05-09 16:46:09] Constructed 23 of 23 objects
[2024-05-09 16:46:09] ProcessInternal address: 0x7ff652b42860 <- Built-in
[2024-05-09 16:46:09] ProcessLocalScriptFunction address: 0x7ff652b42910 <- Built-in
[2024-05-09 16:46:09] UnrealConfig.FExecVTableOffsetInLocalPlayer: 28
[2024-05-09 16:46:09] Unreal Engine modules (non-modular):
[2024-05-09 16:46:09] MainExe @ 0x7ff651b20000 size=0x8e3f000
[2024-05-09 16:46:09]

MEMBER OFFSETS START

[2024-05-09 16:46:09] UObjectBase::ClassPrivate = 0x10
[2024-05-09 16:46:09] UObjectBase::bFindCameraComponentWhenViewTarget = 0x5A
[2024-05-09 16:46:09] UObjectBase::InternalIndex = 0xC
[2024-05-09 16:46:09] UObjectBase::EngineShowFlags = 0xB8
[2024-05-09 16:46:09] UObjectBase::AutoReceiveInput = 0x153
[2024-05-09 16:46:09] UObjectBase::World = 0x78
[2024-05-09 16:46:09] UObjectBase::ObjectFlags = 0x8
[2024-05-09 16:46:09] UObjectBase::OnEndCursorOver = 0x1DE
[2024-05-09 16:46:09] UObjectBase::CustomTimeDilation = 0x64
[2024-05-09 16:46:09] UObjectBase::NamePrivate = 0x18
[2024-05-09 16:46:09] UObjectBase::bForceNetAddressable = 0x59
[2024-05-09 16:46:09] UObjectBase::InputPriority = 0x154
[2024-05-09 16:46:09] UObjectBase::OuterPrivate = 0x20
[2024-05-09 16:46:09] UObjectBase::bNetTemporary = 0x58
[2024-05-09 16:46:09] UObjectBase::ActorHasBegunPlay = 0x5D
[2024-05-09 16:46:09] UObjectBase::OnInputTouchEnd = 0x1E2
[2024-05-09 16:46:09] UObjectBase::bHasDeferredComponentRegistration = 0x5C
[2024-05-09 16:46:09] UObjectBase::AttachmentReplication = 0x70
[2024-05-09 16:46:09] UObjectBase::Children = 0x190
[2024-05-09 16:46:09] UObjectBase::PhysicsReplicationMode = 0x17C
[2024-05-09 16:46:09] UObjectBase::DetachFence = 0x288
[2024-05-09 16:46:09] UObjectBase::CreationTime = 0x158
[2024-05-09 16:46:09] UObjectBase::DefaultUpdateOverlapsMethodDuringLevelStreaming = 0x5F
[2024-05-09 16:46:09] UObjectBase::InitialLifeSpan = 0x60
[2024-05-09 16:46:09] UObjectBase::Tags = 0x1C8
[2024-05-09 16:46:09] UObjectBase::InputComponent = 0x160
[2024-05-09 16:46:09] UObjectBase::OnTakePointDamage = 0x1D9
[2024-05-09 16:46:09] UObjectBase::LastRenderTime = 0x180
[2024-05-09 16:46:09] UObjectBase::RemoteRole = 0x68
[2024-05-09 16:46:09] UObjectBase::Layers = 0x1B0
[2024-05-09 16:46:09] UObjectBase::MinNetUpdateFrequency = 0x174
[2024-05-09 16:46:09] UObjectBase::TimerHandle_LifeSpanExpired = 0x1A8
[2024-05-09 16:46:09] UObjectBase::OnTakeAnyDamage = 0x1D8
[2024-05-09 16:46:09] UObjectBase::NetCullDistanceSquared = 0x168
[2024-05-09 16:46:09] UObjectBase::OnActorEndOverlap = 0x1DC
[2024-05-09 16:46:09] UObjectBase::NetDormancy = 0x151
[2024-05-09 16:46:09] UObjectBase::NetDriverName = 0x148
[2024-05-09 16:46:09] UObjectBase::NetTag = 0x16C
[2024-05-09 16:46:09] UObjectBase::NetPriority = 0x178
[2024-05-09 16:46:09] UObjectBase::PrimaryActorTick = 0x28
[2024-05-09 16:46:09] UObjectBase::NetUpdateFrequency = 0x170
[2024-05-09 16:46:09] UObjectBase::OnClicked = 0x1DF
[2024-05-09 16:46:09] UObjectBase::OnActorBeginOverlap = 0x1DB
[2024-05-09 16:46:09] UObjectBase::OnActorHit = 0x1E5
[2024-05-09 16:46:09] UObjectBase::StatHitchesData = 0x3A0
[2024-05-09 16:46:09] UObjectBase::OnBeginCursorOver = 0x1DD
[2024-05-09 16:46:09] UObjectBase::OnDestroyed = 0x1E6
[2024-05-09 16:46:09] UObjectBase::OnInputTouchEnter = 0x1E3
[2024-05-09 16:46:09] UObjectBase::bHasAudioFocus = 0xFC
[2024-05-09 16:46:09] UObjectBase::OnEndPlay = 0x1E7
[2024-05-09 16:46:09] UObjectBase::OnInputTouchBegin = 0x1E1
[2024-05-09 16:46:09] UObjectBase::OnInputTouchLeave = 0x1E4
[2024-05-09 16:46:09] UObjectBase::OnReleased = 0x1E0
[2024-05-09 16:46:09] UObjectBase::OnTakeRadialDamage = 0x1DA
[2024-05-09 16:46:09] UObjectBase::Owner = 0x140
[2024-05-09 16:46:09] UObjectBase::ParentComponent = 0x1C0
[2024-05-09 16:46:09] UObjectBase::RayTracingGroupId = 0x6C
[2024-05-09 16:46:09] UObjectBase::ReplicatedComponentsInfo = 0x1F8
[2024-05-09 16:46:09] UObjectBase::ReplicatedMovement = 0xD0
[2024-05-09 16:46:09] UObjectBase::UpdateOverlapsMethodDuringLevelStreaming = 0x5E
[2024-05-09 16:46:09] UObjectBase::ReplicatedSubObjects = 0x1E8
[2024-05-09 16:46:09] UObjectBase::Role = 0x150
[2024-05-09 16:46:09] UObjectBase::RootComponent = 0x1A0
[2024-05-09 16:46:09] UObjectBase::SpawnCollisionHandlingMethod = 0x152
[2024-05-09 16:46:09] UObjectBase::bNetStartup = 0x58
[2024-05-09 16:46:09] UObjectBase::bActorIsBeingConstructed = 0x5D
[2024-05-09 16:46:09] UObjectBase::bActorBeginningPlayFromLevelStreaming = 0x5C
[2024-05-09 16:46:09] UObjectBase::bAllowReceiveTickEventOnDedicatedServer = 0x5B
[2024-05-09 16:46:09] UObjectBase::bIsMouseOverClient = 0x3AD
[2024-05-09 16:46:09] UObjectBase::bActorEnableCollision = 0x5C
[2024-05-09 16:46:09] UObjectBase::bActorInitialized = 0x5C
[2024-05-09 16:46:09] UObjectBase::bActorIsBeingDestroyed = 0x5D
[2024-05-09 16:46:09] UObjectBase::bActorSeamlessTraveled = 0x5B
[2024-05-09 16:46:09] UObjectBase::bActorWantsDestroyDuringBeginPlay = 0x5D
[2024-05-09 16:46:09] UObjectBase::bAllowTickBeforeBeginPlay = 0x5A
[2024-05-09 16:46:09] UObjectBase::bAlwaysRelevant = 0x58
[2024-05-09 16:46:09] UObjectBase::bAsyncPhysicsTickEnabled = 0x5D
[2024-05-09 16:46:09] UObjectBase::bAutoDestroyWhenFinished = 0x5A
[2024-05-09 16:46:09] UObjectBase::bBlockInput = 0x5A
[2024-05-09 16:46:09] UObjectBase::bCallPreReplication = 0x58
[2024-05-09 16:46:09] UObjectBase::bCallPreReplicationForReplay = 0x58
[2024-05-09 16:46:09] UObjectBase::bCanBeDamaged = 0x5A
[2024-05-09 16:46:09] UObjectBase::bCanBeInCluster = 0x5B
[2024-05-09 16:46:09] UObjectBase::bCollideWhenPlacing = 0x5A
[2024-05-09 16:46:09] UObjectBase::bHasRegisteredAllComponents = 0x5C
[2024-05-09 16:46:09] UObjectBase::bEnableAutoLODGeneration = 0x5B
[2024-05-09 16:46:09] UObjectBase::bExchangedRoles = 0x59
[2024-05-09 16:46:09] UObjectBase::bGenerateOverlapEventsDuringLevelStreaming = 0x5A
[2024-05-09 16:46:09] UObjectBase::bHasFinishedSpawning = 0x5C
[2024-05-09 16:46:09] UObjectBase::bHidden = 0x58
[2024-05-09 16:46:09] UObjectBase::bIgnoresOriginShifting = 0x5A
[2024-05-09 16:46:09] UObjectBase::bIsEditorOnlyActor = 0x5B
[2024-05-09 16:46:09] UObjectBase::bNetCheckedInitialPhysicsState = 0x5B
[2024-05-09 16:46:09] UObjectBase::bNetLoadOnClient = 0x59
[2024-05-09 16:46:09] UObjectBase::bNetUseOwnerRelevancy = 0x59
[2024-05-09 16:46:09] UObjectBase::bOnlyRelevantToOwner = 0x58
[2024-05-09 16:46:09] UObjectBase::bRelevantForLevelBounds = 0x59
[2024-05-09 16:46:09] UObjectBase::bRelevantForNetworkReplays = 0x59
[2024-05-09 16:46:09] UObjectBase::bReplayRewindable = 0x59
[2024-05-09 16:46:09] UObjectBase::bReplicateMovement = 0x58
[2024-05-09 16:46:09] UObjectBase::bReplicateUsingRegisteredSubObjectList = 0x5B
[2024-05-09 16:46:09] UObjectBase::bReplicates = 0x5B
[2024-05-09 16:46:09] UObjectBase::bRunningUserConstructionScript = 0x5C
[2024-05-09 16:46:09] UObjectBase::bTearOff = 0x59
[2024-05-09 16:46:09] UObjectBase::bTickFunctionsRegistered = 0x5C
[2024-05-09 16:46:09] UObjectBase::ActiveSplitscreenType = 0x70
[2024-05-09 16:46:09] UObjectBase::AudioDeviceHandle = 0xF8
[2024-05-09 16:46:09] UObjectBase::CurrentBufferVisualizationMode = 0x130
[2024-05-09 16:46:09] UObjectBase::CurrentGroomVisualizationMode = 0x150
[2024-05-09 16:46:09] UObjectBase::CurrentLumenVisualizationMode = 0x140
[2024-05-09 16:46:09] UObjectBase::CurrentNaniteVisualizationMode = 0x138
[2024-05-09 16:46:09] UObjectBase::CurrentStrataVisualizationMode = 0x148
[2024-05-09 16:46:09] UObjectBase::CurrentVirtualShadowMapVisualizationMode = 0x158
[2024-05-09 16:46:09] UObjectBase::CursorWidgets = 0x210
[2024-05-09 16:46:09] UObjectBase::DebugProperties = 0x48
[2024-05-09 16:46:09] UObjectBase::GameLayerManagerPtr = 0x120
[2024-05-09 16:46:09] UObjectBase::HardwareCursorCache = 0x170
[2024-05-09 16:46:09] UObjectBase::HardwareCursors = 0x1C0
[2024-05-09 16:46:09] UObjectBase::HighResScreenshotDialog = 0x160
[2024-05-09 16:46:09] UObjectBase::MaxSplitscreenPlayers = 0x68
[2024-05-09 16:46:09] UObjectBase::MouseCaptureMode = 0x3AA
[2024-05-09 16:46:09] UObjectBase::MouseLockMode = 0x3AC
[2024-05-09 16:46:09] UObjectBase::SplitscreenInfo = 0x58
[2024-05-09 16:46:09] UObjectBase::StatUnitData = 0x398
[2024-05-09 16:46:09] UObjectBase::ViewModeIndex = 0xB0
[2024-05-09 16:46:09] UObjectBase::Viewport = 0xE8
[2024-05-09 16:46:09] UObjectBase::ViewportConsole = 0x40
[2024-05-09 16:46:09] UObjectBase::ViewportFrame = 0xF0
[2024-05-09 16:46:09] UObjectBase::ViewportOverlayWidget = 0x110
[2024-05-09 16:46:09] UObjectBase::Window = 0x100
[2024-05-09 16:46:09] UObjectBase::bDisableSplitScreenOverride = 0x3A8
[2024-05-09 16:46:09] UObjectBase::bDisableWorldRendering = 0x6C
[2024-05-09 16:46:09] UObjectBase::bHideCursorDuringCapture = 0x3AB
[2024-05-09 16:46:09] UObjectBase::bIgnoreInput = 0x3A9
[2024-05-09 16:46:09] UObjectBase::bIsPlayInEditorViewport = 0x6C
[2024-05-09 16:46:09] UObjectBase::bSuppressTransitionMessage = 0x88
[2024-05-09 16:46:09] UObjectBase::bUseSoftwareCursorWidgets = 0x260
[2024-05-09 16:46:09] UScriptStruct::StructFlags = 0xB0
[2024-05-09 16:46:09] UScriptStruct::CppStructOps = 0xB8
[2024-05-09 16:46:09] UScriptStruct::bPrepareCppStructOpsCompleted = 0xB4
[2024-05-09 16:46:09] UScriptStruct::ICppStructOps::Alignment = 0xC
[2024-05-09 16:46:09] UScriptStruct::ICppStructOps::Size = 0x8
[2024-05-09 16:46:09] FField::ClassPrivate = 0x8
[2024-05-09 16:46:09] FField::NamePrivate = 0x20
[2024-05-09 16:46:09] FField::FlagsPrivate = 0x28
[2024-05-09 16:46:09] FField::Next = 0x18
[2024-05-09 16:46:09] FField::Owner = 0x10
[2024-05-09 16:46:09] FOutputDevice::bAutoEmitLineTerminator = 0x9
[2024-05-09 16:46:09] FOutputDevice::bSuppressEventTag = 0x8
[2024-05-09 16:46:09] FEnumProperty::Enum = 0x78
[2024-05-09 16:46:09] FEnumProperty::UnderlyingProp = 0x70
[2024-05-09 16:46:09] UStruct::DestructorLink = 0x80
[2024-05-09 16:46:09] UStruct::Children = 0x48
[2024-05-09 16:46:09] UStruct::ChildProperties = 0x50
[2024-05-09 16:46:09] UStruct::PostConstructLink = 0x88
[2024-05-09 16:46:09] UStruct::UnresolvedScriptProperties = 0xA0
[2024-05-09 16:46:09] UStruct::MinAlignment = 0x5C
[2024-05-09 16:46:09] UStruct::PropertiesSize = 0x58
[2024-05-09 16:46:09] UStruct::PropertyLink = 0x70
[2024-05-09 16:46:09] UStruct::RefLink = 0x78
[2024-05-09 16:46:09] UStruct::Script = 0x60
[2024-05-09 16:46:09] UStruct::ScriptAndPropertyObjectReferences = 0x90
[2024-05-09 16:46:09] UStruct::SuperStruct = 0x40
[2024-05-09 16:46:09] UFunction::EventGraphCallOffset = 0xD0
[2024-05-09 16:46:09] UFunction::EventGraphFunction = 0xC8
[2024-05-09 16:46:09] UFunction::RPCId = 0xBA
[2024-05-09 16:46:09] UFunction::FirstPropertyToInit = 0xC0
[2024-05-09 16:46:09] UFunction::Func = 0xD8
[2024-05-09 16:46:09] UFunction::FunctionFlags = 0xB0
[2024-05-09 16:46:09] UFunction::NumParms = 0xB4
[2024-05-09 16:46:09] UFunction::ParmsSize = 0xB6
[2024-05-09 16:46:09] UFunction::RPCResponseId = 0xBC
[2024-05-09 16:46:09] UFunction::ReturnValueOffset = 0xB8
[2024-05-09 16:46:09] UField::Next = 0x28
[2024-05-09 16:46:09] FProperty::ArrayDim = 0x30
[2024-05-09 16:46:09] FProperty::DestructorLinkNext = 0x58
[2024-05-09 16:46:09] FProperty::ElementSize = 0x34
[2024-05-09 16:46:09] FProperty::NextRef = 0x50
[2024-05-09 16:46:09] FProperty::Offset_Internal = 0x44
[2024-05-09 16:46:09] FProperty::PostConstructLinkNext = 0x60
[2024-05-09 16:46:09] FProperty::PropertyLinkNext = 0x48
[2024-05-09 16:46:09] FProperty::PropertyFlags = 0x38
[2024-05-09 16:46:09] FProperty::RepIndex = 0x40
[2024-05-09 16:46:09] FProperty::RepNotifyFunc = 0x68
[2024-05-09 16:46:09] UWorld::AllLevelsChangedEvent = 0x528
[2024-05-09 16:46:09] UWorld::BlockTillLevelStreamingCompletedEpoch = 0x144
[2024-05-09 16:46:09] UWorld::bAllowAudioPlayback = 0x13E
[2024-05-09 16:46:09] UWorld::ActiveLevelCollectionIndex = 0x190
[2024-05-09 16:46:09] UWorld::AudioTimeSeconds = 0x6C0
[2024-05-09 16:46:09] UWorld::CommittedPersistentLevelName = 0x748
[2024-05-09 16:46:09] UWorld::bInTick = 0x13B
[2024-05-09 16:46:09] UWorld::LWILastAssignedUID = 0x258
[2024-05-09 16:46:09] UWorld::CleanupWorldTag = 0x754
[2024-05-09 16:46:09] UWorld::bTickNewlySpawned = 0x13B
[2024-05-09 16:46:09] UWorld::DeltaRealTimeSeconds = 0x6C8
[2024-05-09 16:46:09] UWorld::AuthorityGameMode = 0x150
[2024-05-09 16:46:09] UWorld::BuildStreamingDataTimer = 0x490
[2024-05-09 16:46:09] UWorld::bPlayersOnly = 0x13D
[2024-05-09 16:46:09] UWorld::DeltaTimeSeconds = 0x6CC
[2024-05-09 16:46:09] UWorld::ExtraReferencedObjects = 0x68
[2024-05-09 16:46:09] UWorld::PreparingLevelNames = 0x738
[2024-05-09 16:46:09] UWorld::IsInBlockTillLevelStreamingCompleted = 0x140
[2024-05-09 16:46:09] UWorld::bIsRunningConstructionScript = 0x13C
[2024-05-09 16:46:09] UWorld::bAllowDeferredPhysicsStateCreation = 0x108
[2024-05-09 16:46:09] UWorld::LastRenderTime = 0x130
[2024-05-09 16:46:09] UWorld::LastTimeUnbuiltLightingWasEncountered = 0x6A0
[2024-05-09 16:46:09] UWorld::bHasEverBeenInitialized = 0x13F
[2024-05-09 16:46:09] UWorld::NextSwitchCountdown = 0x708
[2024-05-09 16:46:09] UWorld::bMaterialParameterCollectionInstanceNeedsDeferredUpdate = 0x13F
[2024-05-09 16:46:09] UWorld::RealTimeSeconds = 0x6B8
[2024-05-09 16:46:09] UWorld::NextURL = 0x728
[2024-05-09 16:46:09] UWorld::NumStreamingLevelsBeingLoaded = 0x722
[2024-05-09 16:46:09] UWorld::PauseDelay = 0x6D0
[2024-05-09 16:46:09] UWorld::PerModuleDataObjects = 0x78
[2024-05-09 16:46:09] UWorld::bIsDefaultLevel = 0x13C
[2024-05-09 16:46:09] UWorld::PlayerNum = 0x660
[2024-05-09 16:46:09] UWorld::bAggressiveLOD = 0x13C
[2024-05-09 16:46:09] UWorld::StreamingLevelsPrefix = 0xC8
[2024-05-09 16:46:09] UWorld::bTriggerPostLoadMap = 0x13B
[2024-05-09 16:46:09] UWorld::bIsLevelStreamingFrozen = 0x13B
[2024-05-09 16:46:09] UWorld::StreamingVolumeUpdateDelay = 0x664
[2024-05-09 16:46:09] UWorld::bIsBuilt = 0x13B
[2024-05-09 16:46:09] UWorld::TimeSeconds = 0x6A8
[2024-05-09 16:46:09] UWorld::UnpausedTimeSeconds = 0x6B0
[2024-05-09 16:46:09] UWorld::bActorsInitialized = 0x13C
[2024-05-09 16:46:09] UWorld::bIsTearingDown = 0x13D
[2024-05-09 16:46:09] UWorld::bAreConstraintsDirty = 0x13E
[2024-05-09 16:46:09] UWorld::bBegunPlay = 0x13D
[2024-05-09 16:46:09] UWorld::bDebugPauseExecution = 0x13D
[2024-05-09 16:46:09] UWorld::bDoDelayedUpdateCullDistanceVolumes = 0x13C
[2024-05-09 16:46:09] UWorld::bRequestedBlockOnAsyncLoading = 0x13C
[2024-05-09 16:46:09] UWorld::bDropDetail = 0x13C
[2024-05-09 16:46:09] UWorld::bMatchStarted = 0x13D
[2024-05-09 16:46:09] UWorld::bIsCameraMoveableWhenPaused = 0x13E
[2024-05-09 16:46:09] UWorld::bShouldSimulatePhysics = 0x13C
[2024-05-09 16:46:09] UWorld::bIsWorldInitialized = 0x13B
[2024-05-09 16:46:09] UWorld::bKismetScriptError = 0x13D
[2024-05-09 16:46:09] UWorld::bMarkedObjectsPendingKill = 0x750
[2024-05-09 16:46:09] UWorld::bWorldWasLoadedThisTick = 0x13B
[2024-05-09 16:46:09] UWorld::bPlayersOnlyPending = 0x13D
[2024-05-09 16:46:09] UWorld::bPostTickComponentUpdate = 0x13B
[2024-05-09 16:46:09] UWorld::bRequiresHitProxies = 0x13E
[2024-05-09 16:46:09] UWorld::bShouldForceUnloadStreamingLevels = 0x13E
[2024-05-09 16:46:09] UWorld::bShouldForceVisibleStreamingLevels = 0x13E
[2024-05-09 16:46:09] UWorld::bShouldTick = 0x13E
[2024-05-09 16:46:09] UWorld::bStartup = 0x13D
[2024-05-09 16:46:09] UWorld::bStreamingDataDirty = 0x13E
[2024-05-09 16:46:09] UClass::AllFunctionsCache = 0x180
[2024-05-09 16:46:09] UClass::bLayoutChanging = 0xD1
[2024-05-09 16:46:09] UClass::ClassWithin = 0xE0
[2024-05-09 16:46:09] UClass::bCooked = 0xD0
[2024-05-09 16:46:09] UClass::ClassConfigName = 0xE8
[2024-05-09 16:46:09] UClass::ClassConstructor = 0xB0
[2024-05-09 16:46:09] UClass::ClassDefaultObject = 0x110
[2024-05-09 16:46:09] UClass::ClassFlags = 0xD4
[2024-05-09 16:46:09] UClass::ClassUnique = 0xC8
[2024-05-09 16:46:09] UClass::ClassVTableHelperCtorCaller = 0xB8
[2024-05-09 16:46:09] UClass::FirstOwnedClassRep = 0xCC
[2024-05-09 16:46:09] UClass::FuncMap = 0x128
[2024-05-09 16:46:09] UClass::Interfaces = 0x1D8
[2024-05-09 16:46:09] UClass::NetFields = 0x100
[2024-05-09 16:46:09] UClass::ReferenceSchema = 0x1E8
[2024-05-09 16:46:09] UClass::SparseClassData = 0x118
[2024-05-09 16:46:09] UClass::SparseClassDataStruct = 0x120
[2024-05-09 16:46:09] UEnum::CppForm = 0x50
[2024-05-09 16:46:09] UEnum::CppType = 0x30
[2024-05-09 16:46:09] UEnum::EnumDisplayNameFn = 0x58
[2024-05-09 16:46:09] UEnum::Names = 0x40
[2024-05-09 16:46:09] UEnum::EnumFlags_Internal = 0x54
[2024-05-09 16:46:09] UEnum::EnumPackage = 0x60
[2024-05-09 16:46:09] FObjectPropertyBase::PropertyClass = 0x70
[2024-05-09 16:46:09] FDelegateProperty::SignatureFunction = 0x70
[2024-05-09 16:46:09] FMulticastDelegateProperty::SignatureFunction = 0x70
[2024-05-09 16:46:09] FSetProperty::ElementProp = 0x70
[2024-05-09 16:46:09] FStructProperty::Struct = 0x70
[2024-05-09 16:46:09] FArrayProperty::Inner = 0x78
[2024-05-09 16:46:09] FArrayProperty::ArrayFlags = 0x70
[2024-05-09 16:46:09] FMapProperty::KeyProp = 0x70
[2024-05-09 16:46:09] FMapProperty::MapFlags = 0x98
[2024-05-09 16:46:09] FMapProperty::ValueProp = 0x78
[2024-05-09 16:46:09] FBoolProperty::FieldMask = 0x73
[2024-05-09 16:46:09] FBoolProperty::ByteMask = 0x72
[2024-05-09 16:46:09] FBoolProperty::FieldSize = 0x70
[2024-05-09 16:46:09] FBoolProperty::ByteOffset = 0x71
[2024-05-09 16:46:09] FByteProperty::Enum = 0x70
[2024-05-09 16:46:09] FClassProperty::MetaClass = 0x78
[2024-05-09 16:46:09] FSoftClassProperty::MetaClass = 0x78
[2024-05-09 16:46:09] FInterfaceProperty::InterfaceClass = 0x70
[2024-05-09 16:46:09] FFieldPathProperty::PropertyClass = 0x70
[2024-05-09 16:46:09]

MEMBER OFFSETS END

[2024-05-09 16:46:09] m_shared_functions: 0x7ffa6e3e3b60
[2024-05-09 16:46:09] Enabling custom events
[2024-05-09 16:46:09] Starting mods (from mods.txt load order)...
[2024-05-09 16:46:09] Mod 'ActorDumperMod' disabled in mods.txt.
[2024-05-09 16:46:09] Starting Lua mod 'ConsoleCommandsMod'
[2024-05-09 16:46:09] [Lua::execute_file] luaL_loadfile returned LUA_ERRFILE => cannot open G:\SteamLibrary\steamapps\common\EVERSPACE" 2\ES2\Binaries\Win64\Mods\ConsoleCommandsMod\scripts\main.lua: Invalid argument
[2024-05-09 16:46:09] Starting Lua mod 'ConsoleEnablerMod'
[2024-05-09 16:46:09] [Lua::execute_file] luaL_loadfile returned LUA_ERRFILE => cannot open G:\SteamLibrary\steamapps\common\EVERSPACE" 2\ES2\Binaries\Win64\Mods\ConsoleEnablerMod\scripts\main.lua: Invalid argument
[2024-05-09 16:46:09] Mod 'SplitScreenMod' disabled in mods.txt.
[2024-05-09 16:46:09] Mod 'LineTraceMod' disabled in mods.txt.
[2024-05-09 16:46:09] Starting Lua mod 'BPModLoaderMod'
[2024-05-09 16:46:09] [Lua::execute_file] luaL_loadfile returned LUA_ERRFILE => cannot open G:\SteamLibrary\steamapps\common\EVERSPACE" 2\ES2\Binaries\Win64\Mods\BPModLoaderMod\scripts\main.lua: Invalid argument
[2024-05-09 16:46:09] Starting Lua mod 'BPML_GenericFunctions'
[2024-05-09 16:46:09] [Lua::execute_file] luaL_loadfile returned LUA_ERRFILE => cannot open G:\SteamLibrary\steamapps\common\EVERSPACE" 2\ES2\Binaries\Win64\Mods\BPML_GenericFunctions\scripts\main.lua: Invalid argument
[2024-05-09 16:46:09] Mod 'jsbLuaProfilerMod' disabled in mods.txt.
[2024-05-09 16:46:09] Starting Lua mod 'Keybinds'
[2024-05-09 16:46:09] [Lua::execute_file] luaL_loadfile returned LUA_ERRFILE => cannot open G:\SteamLibrary\steamapps\common\EVERSPACE" 2\ES2\Binaries\Win64\Mods\Keybinds\scripts\main.lua: Invalid argument
[2024-05-09 16:46:09] Starting mods (from enabled.txt, no defined load order)...
[2024-05-09 16:46:09] Mod 'QoLMod' has enabled.txt, starting mod.
[2024-05-09 16:46:09] [Lua::execute_file] luaL_loadfile returned LUA_ERRFILE => cannot open G:\SteamLibrary\steamapps\common\EVERSPACE" 2\ES2\Binaries\Win64\Mods\QoLMod\scripts\main.lua: Invalid argument
[2024-05-09 16:46:09] Event loop start

Desktop (please complete the following information):

  • OS: Win11

Additional context
This appears to affect all lua mods as the console doesn't work either. Remove the unicode character from the path allows you to access the console and Homestation inventory.

Changing the ModsFolderPath to load outside of the Everspace 2 folder results in the same errors.

bUseUObjectArrayCache = false must be set to prevent extra long loading times.

@UE4SS
Copy link
Collaborator

UE4SS commented May 12, 2024

This is most likely related to #398, and the fix provided needs to be expanded to cover this issue as well.

@narknon
Copy link
Collaborator

narknon commented Jun 4, 2024

Trying to read all Lua files into a string buffer using os specific file opens works for this to an extent, but it blows up on some scripts.

@rdok
Copy link

rdok commented Aug 29, 2024

Confirming the The Lord of the Rings Return to Moria™ steam version has the same issue. Notice how when it tries to load Lua, the ™ symbol is replaced with double quotes:

P.S. Renaming this folder to remove the ™ unicode, I can open up the console using the F10 successfully, and the logs indicate a successfull load.

[2024-08-29 22:59:50] Console created

[2024-08-29 22:59:50] No specific game configuration found, using default configuration file
[2024-08-29 22:59:50] Config: C:\steam\steamapps\common\The Lord of the Rings Return to Moria™\Moria\Binaries\Win64\UE4SS-settings.ini
[2024-08-29 22:59:50] root directory: C:\steam\steamapps\common\The Lord of the Rings Return to Moria™\Moria\Binaries\Win64
[2024-08-29 22:59:50] working directory: C:\steam\steamapps\common\The Lord of the Rings Return to Moria™\Moria\Binaries\Win64
[2024-08-29 22:59:50] game executable directory: C:\steam\steamapps\common\The Lord of the Rings Return to Moria™\Moria\Binaries\Win64
[2024-08-29 22:59:50] game executable: C:\steam\steamapps\common\The Lord of the Rings Return to Moria™\Moria\Binaries\Win64\Moria-Win64-Shipping.exe (128137216 bytes)
[2024-08-29 22:59:50] mods directory: C:\steam\steamapps\common\The Lord of the Rings Return to Moria™\Moria\Binaries\Win64\Mods
[2024-08-29 22:59:50] log directory: C:\steam\steamapps\common\The Lord of the Rings Return to Moria™\Moria\Binaries\Win64
[2024-08-29 22:59:50] object dumper directory: C:\steam\steamapps\common\The Lord of the Rings Return to Moria™\Moria\Binaries\Win64


[2024-08-29 22:59:50] PS Scan attempt 1
[2024-08-29 22:59:50] [PS] Reading image
[2024-08-29 22:59:50] [PS] Starting scan

##### MEMBER OFFSETS END #####

[2024-08-29 22:59:52] m_shared_functions: 0x7ff90b043b60
[2024-08-29 22:59:52] Enabling custom events
[2024-08-29 22:59:52] Starting mods (from mods.txt load order)...
[2024-08-29 22:59:52] Starting Lua mod 'CheatManagerEnablerMod'
[2024-08-29 22:59:52] [Lua::execute_file] luaL_loadfile returned LUA_ERRFILE => cannot open C:\steam\steamapps\common\The Lord of the Rings Return to Moria"\Moria\Binaries\Win64\Mods\CheatManagerEnablerMod\scripts\main.lua: Invalid argument
[2024-08-29 22:59:52] Mod 'ActorDumperMod' disabled in mods.txt.
[2024-08-29 22:59:52] Starting Lua mod 'ConsoleCommandsMod'
[2024-08-29 22:59:52] [Lua::execute_file] luaL_loadfile returned LUA_ERRFILE => cannot open C:\steam\steamapps\common\The Lord of the Rings Return to Moria"\Moria\Binaries\Win64\Mods\ConsoleCommandsMod\scripts\main.lua: Invalid argument
[2024-08-29 22:59:52] Starting Lua mod 'ConsoleEnablerMod'
[2024-08-29 22:59:52] [Lua::execute_file] luaL_loadfile returned LUA_ERRFILE => cannot open C:\steam\steamapps\common\The Lord of the Rings Return to Moria"\Moria\Binaries\Win64\Mods\ConsoleEnablerMod\scripts\main.lua: Invalid argument
[2024-08-29 22:59:52] Mod 'SplitScreenMod' disabled in mods.txt.
[2024-08-29 22:59:52] Starting Lua mod 'LineTraceMod'
[2024-08-29 22:59:52] [Lua::execute_file] luaL_loadfile returned LUA_ERRFILE => cannot open C:\steam\steamapps\common\The Lord of the Rings Return to Moria"\Moria\Binaries\Win64\Mods\LineTraceMod\scripts\main.lua: Invalid argument
[2024-08-29 22:59:52] Starting Lua mod 'BPModLoaderMod'
[2024-08-29 22:59:52] [Lua::execute_file] luaL_loadfile returned LUA_ERRFILE => cannot open C:\steam\steamapps\common\The Lord of the Rings Return to Moria"\Moria\Binaries\Win64\Mods\BPModLoaderMod\scripts\main.lua: Invalid argument
[2024-08-29 22:59:52] Starting Lua mod 'BPML_GenericFunctions'
[2024-08-29 22:59:52] [Lua::execute_file] luaL_loadfile returned LUA_ERRFILE => cannot open C:\steam\steamapps\common\The Lord of the Rings Return to Moria"\Moria\Binaries\Win64\Mods\BPML_GenericFunctions\scripts\main.lua: Invalid argument
[2024-08-29 22:59:52] Mod 'jsbLuaProfilerMod' disabled in mods.txt.
[2024-08-29 22:59:52] Starting Lua mod 'MyLuaMod'
[2024-08-29 22:59:52] [Lua::execute_file] luaL_loadfile returned LUA_ERRFILE => cannot open C:\steam\steamapps\common\The Lord of the Rings Return to Moria"\Moria\Binaries\Win64\Mods\MyLuaMod\scripts\main.lua: Invalid argument
[2024-08-29 22:59:52] Starting Lua mod 'Keybinds'
[2024-08-29 22:59:52] [Lua::execute_file] luaL_loadfile returned LUA_ERRFILE => cannot open C:\steam\steamapps\common\The Lord of the Rings Return to Moria"\Moria\Binaries\Win64\Mods\Keybinds\scripts\main.lua: Invalid argument
[2024-08-29 22:59:52] Starting mods (from enabled.txt, no defined load order)...
[2024-08-29 22:59:52] Event loop start

@tolekk
Copy link

tolekk commented Sep 7, 2024

A workaround for the time being seems to involve setting a custom override directory for the Mods folder to be outside of any folder containing non-ANSI characters.

[Overrides]
; Path to the 'Mods' folder
; Default: <dll_directory>/Mods
ModsFolderPath = C:/Program Files (x86)/Steam/steamapps/common/MoriaMods/Mods

Building from the latest source (d1a5478) results in a "Conversion error" instead of the skipped unicode TM character in the path.

@DeadMor0z
Copy link

DeadMor0z commented Sep 16, 2024

@tolekk sadly, this workaround works only for lua mods. BP mods still refuse to load.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
6 participants