jackhumbert / mod_settings

Cyberpunk 2077 Mod Settings
MIT License
67 stars 15 forks source link

Crashes Cyberpunk while loading into game: #14

Open TDev-Inquire opened 1 year ago

TDev-Inquire commented 1 year ago

Start game > menu > play - crash

I believe this may be an issue due to using a 4090? Ive clean installed the game almost 2 dozen times, and ive tried multiple different versions of mods. This was an issue yesterday before hotfix 1 as well. (*IT ONLY DOES THIS WITH MOD_SETTINGS) without mod settings there is no crash but I cannot get let there be flight to work

CB Crash Reporter:

Registered crash info file... InternalVersion: 3.0.4772630 P4CL: 6226040 Stream: R6.Release !!!CRASHED!!! Error Reason: Unhandled exception Expression: EXCEPTION_ACCESS_VIOLATION (0xC0000005) Message: The thread attempted to write to an inaccessible address at 0x1C0CEAA3000. File: Line: 0

"uptimeSeconds":67 "stopThreadID":29488 "exceptionCode":0xC0000005 "processID":37188 "Engine/CommitFailedErrorCode@1#TID=0":"0" "ResourceLoaderThrottler/PreviousSpeed@1391230#TID=0":"Unlimited" "ResourceLoaderThrottler/CurrentSpeed@1391231#TID=0":"Flood" "ResourceLoaderThrottler/NumThrottleTokensAcquired@1505563#TID=0":"2" "ResourceLoaderThrottler/NumThrottleTokensSoftLimit@1505562#TID=0":"26" "Gpu/RayTracing/Enabled@130#TID=0":"true" "Configuration/Name@2#TID=0":"FINAL" "Configuration/Name2@3#TID=0":"FINAL" "Game/Patch@7#TID=0":"1.63" "Game/TransformAnimator/Components@1504519#TID=0":"344" "Game/TransformAnimator/RunningComponents@1504518#TID=0":"324" "Game/TransformAnimator/AddedRunningComponents@1504515#TID=0":"0" "Game/TransformAnimator/RemovedRunningAnimations@1504516#TID=0":"0" "Game/TransformAnimator/RotatingMeshNodes@1504522#TID=0":"61" "Game/TransformAnimator/AddedRotatingMeshNodes@1504520#TID=0":"0" "Game/TransformAnimator/RemovedRotatingMeshNodes@1504521#TID=0":"0" "Game/SessionDesc/WorldName@1377850#TID=0":"03_night_city" "Game/SessionDesc/IsValid@1377851#TID=0":"true" "Game/SessionDesc/IsLoadingSavedSession@1377852#TID=0":"true" "Game/SessionDesc/IsJoiningRemoteSession@1377853#TID=0":"false" "Game/SessionDesc/HostName@1377854#TID=0":"" "Game/SessionDesc/GameRulesConfig@1377855#TID=0":"None" "Game/SessionDesc/QuestPath@1377856#TID=0":"<0x0000000000000000>" "Game/SessionDesc/RunQuest@1377857#TID=0":"false" "Game/SessionDesc/SpawnLocalPlayer@1377858#TID=0":"false" "Game/SessionDesc/SpawnPoint@1377859#TID=0":"Position=[0, 0, 0, 0] Rotation=[Roll:0, Pitch:0, Yaw:0]" "Game/SessionDesc/SpawnRecordId@1377860#TID=0":"<0x0000001C15982ADF>" "Game/SessionDesc/Gender@1377861#TID=0":"None" "GameSessionDesc/UseSpecifiedStartPoint@1377862#TID=0":"false" "GameSessionDesc/IsSpectator@1377863#TID=0":"false" "GameSessionDesc/SpawnTags@1377864#TID=0":"" "Game/SessionDesc/IsStreamingTestRequested@1377865#TID=0":"false" "Game/SessionDesc/IsBenchmark@1377866#TID=0":"false" "Game/GameEffects/RunningEffects@1377718#TID=0":"0" "Game/GameEffects/AddedEffects@1377717#TID=0":"0" "Game/GameEffects/TerminatingEffects@1377719#TID=0":"0" "Game/Interactions/DialogVisualizerTotalCount@1377681#TID=0":"0" "Game/Interactions/DeviceVisualizerTotalCount@1377682#TID=0":"0" "Game/Interactions/LootVisualizerTotalCount@1377683#TID=0":"0" "Game/Interactions/HotSpots/CurrentCount@1377688#TID=0":"3" "Game/Interactions/HotSpots/MaxCount@1377689#TID=0":"3" "Game/Interactions/HotSpots/LastFrameAddedCount@1377684#TID=0":"0" "Game/Interactions/HotSpots/MaxAddedCount@1377685#TID=0":"3" "Game/Interactions/HotSpots/LastFrameRemovedCount@1377686#TID=0":"0" "Game/Interactions/HotSpots/MaxRemovedCount@1377687#TID=0":"0" "Game/Interactions/UniqueLayersCurrentCount@1377690#TID=0":"26" "Game/Interactions/UniqueLayersMaxCount@1377691#TID=0":"26" "Game/Interactions/EventsLastFrameCount@1377679#TID=0":"0" "Game/Interactions/EventsMaxCount@1377680#TID=0":"0" "Game/PlayerStateMachine/numberOfStateMachines@1377811#TID=0":"0" "Game/ItemFactorySystem/numberOfOwnerDatas@1401891#TID=0":"1" "Game/ItemFactorySystem/numberOfItemsWithNoOwner@1377766#TID=0":"0" "Game/ItemFactorySystem/numberOfCachedOwners@1401889#TID=0":"1" "Game/ItemFactorySystem/numberOfCachedItems@1377765#TID=0":"0" "Game/ItemFactorySystem/numberOfUncachedOwners@1499135#TID=0":"8" "Game/ItemFactorySystem/numberOfUncachedItems@1501877#TID=0":"8" "Game/ItemFactorySystemPool/numberOfPrePooledOwners@1401890#TID=0":"1" "Game/ItemFactorySystemPool/numberOfPrePooledItems@1377769#TID=0":"0" "Game/ItemFactorySystemPool/numberOfPostPooledItems@1377767#TID=0":"0" "Game/mounting/MountingFacility/numberOfGameplayMounts@1503592#TID=0":"1" "Game/mounting/MountingFacility/numberOfMountEvents@1504091#TID=0":"0" "Game/StatPoolsSystem/MaxNumberOfStatPoolListenersOnObject@301555#TID=0":"4" "Game/StatsSystem/MaxNumberOfStatModifiersOfStatTypeOnObject@1378627#TID=0":"5" "Game/StatsSystem/NameOfMaxNumberOfStatModifiersOnObjectStatType@1378628#TID=0":"EffectiveDamagePerHit" "Game/StatsSystem/NumberOfStatsBundles@1503637#TID=0":"882" "Game/TransactionSystem/NumberOfItemsInPlayersInventory@1401475#TID=0":"572" "Game/TransactionSystem/NumberOfItemsInPlayersStash@1502181#TID=0":"73" "Game/StatPoolsSystem/MaxNumberOfUnassignedStatPoolListeners@301849#TID=0":"15" "Game/StatsSystem/MaxNumberOfStatsListenersOnObject@301832#TID=0":"27" "Game/StatsSystem/MaxNumberOfStatsCallbackData@301509#TID=0":"61" "Game/ItemFactorySystemLowLevel/numberOfSpawnRequests@1501887#TID=0":"1" "Game/ItemFactorySystemLowLevel/numberOfReleaseRequests@1377816#TID=0":"0" "Game/ItemFactorySystemLowLevel/numberOfCancelRequests@1377815#TID=0":"0" "Game/ItemFactorySystemLowLevel/numberOfAppearanceChangeRequests@1377817#TID=0":"0" "Game/Population/AlwaysSpawned@1504640#TID=0":"1" "Game/Population/Attached@1504641#TID=0":"2" "Game/Population/Registered@1504642#TID=0":"2946" "Game/Population/InBucket@1504643#TID=0":"329" "Game/Population/VisQueries@1504644#TID=0":"658" "Session/GameDefinitionName@1377756#TID=0":"" "Game/LoadingStage@1499527#TID=0":"Updating populat...##" "Engine/OOM@4#TID=0":"false" "GlobalMode/IsClosing@5#TID=0":"false" "GlobalMode/IsGame@84#TID=0":"true" "Jobs/InitParam/MaxLatentJobs@8#TID=0":"131072" "Jobs/InitParam/MaxCriticalPathJobs@9#TID=0":"65536" "Jobs/InitParam/MaxImmediateJobs@10#TID=0":"2048" "Jobs/InitParam/WorkerThreadStackSizeKB@11#TID=0":"1024" "Jobs/InitParam/MaxThreads@12#TID=0":"27" "Jobs/InitParam/AllJobsCriticalPath@14#TID=0":"false" "Jobs/InitParam/UseJobDebugger@13#TID=0":"false" "Jobs/Dispatcher/NumDispatcherThreads@15#TID=0":"27" "Jobs/Dispatcher/MaxHWConcurrency@16#TID=0":"32" "Gpu/Device/Name@125#TID=0":"NVIDIA GeForce RTX 4090" "Gpu/Device/Vendor@126#TID=0":"Nvidia" "Gpu/Device/DriverVersion@127#TID=0":"Nvidia v 53623 [r536_08]" "Gpu/Device/TotalMemoryMB@124#TID=0":"24156" "Gpu/Device/UsedMemoryMB@1505573#TID=0":"9229" "Engine/InitParams/InteropStartingPort@85#TID=0":"0" "Engine/InitParams/RenderPreset@86#TID=0":"1" "Engine/InitParams/QualityLevelName@87#TID=0":"None" "Engine/InitParams/TextureQualityLevelName@88#TID=0":"High" "Engine/InitParams/WatchdogTimeoutSecondsOverride@89#TID=0":"0" "Engine/InitParams/ScriptsSilentCompilation@90#TID=0":"false" "Engine/InitParams/ScriptsSilentValidation@91#TID=0":"false" "Engine/InitParams/TweakDBSilentValidation@92#TID=0":"false" "Engine/InitParams/PvdDumpToFile@93#TID=0":"false" "Engine/InitParams/ProfilerEnabled@94#TID=0":"false" "Engine/InitParams/ShowVersionWatermark@95#TID=0":"true" "Engine/InitParams/WindowCaption@96#TID=0":"" "Engine/PC/SystemName@97#TID=0":"Windows 11 Home" "Engine/PC/SystemVersion@98#TID=0":"10.0.22621" "Engine/SafeInit@31059#TID=0":"Finished" "Engine/IsHeadless@100#TID=0":"false" "Engine/VersionWatermark@99#TID=0":"3.0.4772630 P4CL: 6226040 Stream: R6.Release Jun 23 2023 15:25:38 (FINAL) Total memory: 19313016832 bytes " "Engine/Scripts/PrimaryBlobModifiedDate@108#TID=0":"133322853848904946" "Engine/Scripts/FallbackBlobModifiedDate@109#TID=0":"0" "Engine/Scripts/BlobPathUsed@110#TID=0":"Loaded" "Engine/Scripts/ShouldCompileScripts@106#TID=0":"true" "Engine/Scripts/CompileScriptsSuccess@107#TID=0":"true" "Engine/Scripts/Loaded@111#TID=0":"true" "Telemetry/PlaythroughID@1391181#TID=0":"62e1478f883ff181" "Telemetry/VisitID@31680#TID=0":"f83b0c00-7f87-41eb-80f5-8c1176d1ab62" "Streaming/LastObserverPosition@1504719#TID=0":"[-1726, 390, 14]" "Streaming/IsLastObserverPositionValid@1504720#TID=0":"true" "Streaming/IsTeleporting@1504721#TID=0":"false" "Streaming/DebugLastTeleportDistance@1504722#TID=0":"0.000000" "Streaming/MountState@1391173#TID=0":"Mounted" "Streaming/Observer/0/LastObserverPosition@1504716#TID=0":"[-1726, 390, 14]" "Streaming/Observer/0/LastObserverVelocityOffsetPosition@1504717#TID=0":"[-1726, 390, 14]" "Streaming/Observer/0/UseStreamingOcclusion@1504718#TID=0":"false" "##CrashDump##/DumpCrashDataSeconds":"0"

Red4EXT Log:

[2023-06-26 16:36:22.176] [RED4ext] [info] RED4ext (v1.15.0) is initializing... [2023-06-26 16:36:22.176] [RED4ext] [info] Game patch: 1.63 Hotfix 1 [2023-06-26 16:36:22.176] [RED4ext] [info] Product version: 1.63 [2023-06-26 16:36:22.176] [RED4ext] [info] File version: 3.0.72.54038 [2023-06-26 16:36:22.205] [RED4ext] [info] RED4ext has been successfully initialized [2023-06-26 16:36:22.223] [RED4ext] [info] RED4ext is starting up... [2023-06-26 16:36:22.223] [RED4ext] [info] Loading plugins... [2023-06-26 16:36:22.223] [RED4ext] [info] Loading plugin from 'C:\Program Files (x86)\GOG Galaxy\Games\Cyberpunk 2077\red4ext\plugins\ArchiveXL\ArchiveXL.dll'... [2023-06-26 16:36:22.309] [RED4ext] [info] ArchiveXL (version: 1.4.8, author(s): psiberx) has been loaded [2023-06-26 16:36:22.310] [RED4ext] [info] Loading plugin from 'C:\Program Files (x86)\GOG Galaxy\Games\Cyberpunk 2077\red4ext\plugins\input_loader\input_loader.dll'... [2023-06-26 16:36:22.311] [RED4ext] [info] Input Loader (version: 0.1.1, author(s): Jack Humbert) has been loaded [2023-06-26 16:36:22.311] [RED4ext] [info] Loading plugin from 'C:\Program Files (x86)\GOG Galaxy\Games\Cyberpunk 2077\red4ext\plugins\let_there_be_flight\fmod.dll'... [2023-06-26 16:36:22.311] [RED4ext] [info] Loading plugin from 'C:\Program Files (x86)\GOG Galaxy\Games\Cyberpunk 2077\red4ext\plugins\let_there_be_flight\fmodstudio.dll'... [2023-06-26 16:36:22.313] [RED4ext] [info] Loading plugin from 'C:\Program Files (x86)\GOG Galaxy\Games\Cyberpunk 2077\red4ext\plugins\let_there_be_flight\let_there_be_flight.dll'... [2023-06-26 16:36:23.055] [RED4ext] [info] Let There Be Flight (version: 0.2.0, author(s): Jack Humbert) has been loaded [2023-06-26 16:36:23.055] [RED4ext] [info] Loading plugin from 'C:\Program Files (x86)\GOG Galaxy\Games\Cyberpunk 2077\red4ext\plugins\mod_settings\mod_settings.dll'... [2023-06-26 16:36:23.085] [RED4ext] [info] Mod Settings (version: 0.2.0, author(s): Jack Humbert) has been loaded [2023-06-26 16:36:23.085] [RED4ext] [info] Loading plugin from 'C:\Program Files (x86)\GOG Galaxy\Games\Cyberpunk 2077\red4ext\plugins\TweakXL\TweakXL.dll'... [2023-06-26 16:36:23.114] [RED4ext] [info] TweakXL (version: 1.1.7, author(s): psiberx) has been loaded [2023-06-26 16:36:23.114] [RED4ext] [info] 5 plugin(s) loaded [2023-06-26 16:36:23.114] [RED4ext] [info] RED4ext has been started [2023-06-26 16:36:24.691] [RED4ext] [info] Adding paths to redscript compilation: [2023-06-26 16:36:24.691] [RED4ext] [info] Let There Be Flight: 'C:\Program Files (x86)\GOG Galaxy\Games\Cyberpunk 2077\red4ext\plugins\let_there_be_flight\packed.reds' [2023-06-26 16:36:24.691] [RED4ext] [info] Let There Be Flight: 'C:\Program Files (x86)\GOG Galaxy\Games\Cyberpunk 2077\red4ext\plugins\let_there_be_flight\module.reds' [2023-06-26 16:36:24.691] [RED4ext] [info] Mod Settings: 'C:\Program Files (x86)\GOG Galaxy\Games\Cyberpunk 2077\red4ext\plugins\mod_settings\packed.reds' [2023-06-26 16:36:24.691] [RED4ext] [info] Mod Settings: 'C:\Program Files (x86)\GOG Galaxy\Games\Cyberpunk 2077\red4ext\plugins\mod_settings\module.reds' [2023-06-26 16:36:24.691] [RED4ext] [info] Paths written to: 'C:\Program Files (x86)\GOG Galaxy\Games\Cyberpunk 2077\red4ext\redscript_paths.txt' [2023-06-26 16:36:24.691] [RED4ext] [info] Final redscript compilation arg string: '-compile "C:\Program Files (x86)\GOG Galaxy\Games\Cyberpunk 2077\r6\scripts\" "C:\Program Files (x86)\GOG Galaxy\Games\Cyberpunk 2077\r6\cache\final.redscripts" -Wnone -threads 4 -no-testonly -no-breakpoint -profile=off -optimize -compilePathsFile "C:\Program Files (x86)\GOG Galaxy\Games\Cyberpunk 2077\red4ext\redscript_paths.txt"'

Cyberpunk2077.exe-202 [Cyberpunk2077.exe-20230626-163623-37188-29320.txt](https://github.com/jackhumbert/mod_settings/files/11874985/Cyberpunk2077.exe-20230626-163623-37188-29320.txt) 30626-163623-37188-29320.txt

legiuna commented 1 year ago

https://www.youtube.com/watch?v=bDpbKTLYImM check it.

legiuna commented 1 year ago

From "DBK"

Problem is that both Let there be Flight and Mod Settings have the same file, with the same name and same content (one is overwriting the other and so on) -- deleting one of them (mod settings preferably) or modifying the version in module.reds from mod settings folder will allow to just one of them to be loaded and play the game using both mod settings and let there be flight ... and works just fine with the following modifications to the Mod Settings (module.reds) file

This is LTBF module.reds

module LetThereBeFlight public func GetVersionString() -> String { return "v0.2.0"; } public func GetVersion() -> Int32 { return 0 10000 + 2 100 + 0; }

And this is Mod Settings module.reds (modified)

module ModSettings public func GetVersionString() -> String { return "v0.2.1"; } public func GetVersion() -> Int32 { return 0 10000 + 2 100 + 1; }