PoPRuns / LiveSplit.POPTLC

2 stars 1 forks source link

Autosplitter is unable to load the Plus version at all #9

Closed zaxxorr closed 8 months ago

zaxxorr commented 8 months ago

Is there an existing issue for this?

Did you install the autosplitter via the LiveSplit UI?

Expected Behaviour

i expected the timer to start

Actual Behaviour

it turns green but doesn't move

Link to a video with DebugView output.

https://youtu.be/mEzkYf3MoR4

Log output

00000001    0.00000000  [19372] LiveSplit.exe Information: 0 :  
00000002    0.00006350  [19372] [ASL/21311547] Running shutdown     
00000003    1.58166468  [19372] LiveSplit.exe Information: 0 :  
00000004    1.58168435  [19372] [ASL] Loading new script: C:\Users\zacka\Downloads\LiveSplit_1.8.27\Components\POPTLC.asl   
00000005    2.69239068  [19372] LiveSplit.exe Information: 0 :  
00000006    2.69244599  [19372] [ASL/53486334] Running startup  
00000007    2.74641895  [19372] LiveSplit.exe Information: 0 :  
00000008    2.74644709  [19372] Thank you for using asl-help, created by Ero! For more information, see https://github.com/just-ero/asl-help.   
00000009    2.74644709  [19372] This library contains many features created for helping out ASL developers.     
00000010    2.74644709  [19372]     
00000011    2.74644709  [19372] If you would like to opt out of code generation, please use the following code in 'startup {}' instead.     
00000012    2.74644709  [19372] Make sure to call GetType() with the name of the specific helper you would like to use.     
00000013    2.74644709  [19372]     var type = Assembly.Load(File.ReadAllBytes(@"Components\asl-help")).GetType("Basic");   
00000014    2.74644709  [19372]     vars.Helper = Activator.CreateInstance(type, args: false);  
00000015    2.74644709  [19372]     
00000016    2.74644709  [19372] If you have any questions, please tag @Ero#1111 in the #auto-splitters channel  
00000017    2.74644709  [19372] of the Speedrun Tool Development Discord server: https://discord.gg/cpYsxz7.    
00000018    2.74653316  [19372] LiveSplit.exe Information: 0 :  
00000019    2.74655271  [19372] [asl-help]  
00000020    2.74675965  [19372] LiveSplit.exe Information: 0 :  
00000021    2.74678111  [19372] [asl-help] Loading asl-help...  
00000022    2.74679971  [19372] LiveSplit.exe Information: 0 :  
00000023    2.74681520  [19372] [asl-help]   => Generating code...  
00000024    2.74942327  [19372] LiveSplit.exe Information: 0 :  
00000025    2.74944091  [19372] [asl-help]     => Set helper to vars.Helper.    
00000026    2.75018978  [19372] LiveSplit.exe Information: 0 :  
00000027    2.75020313  [19372] [asl-help]     => Created the Action<object> vars.Log.  
00000028    2.90935636  [19372] LiveSplit.exe Information: 0 :  
00000029    2.90937543  [19372] [asl-help]     => Added the following code to the beginning of shutdown:    
00000030    2.90939426  [19372] LiveSplit.exe Information: 0 :  
00000031    2.90940690  [19372] [asl-help]        `vars.Helper.Dispose();`  
00000032    3.06944489  [19372] LiveSplit.exe Information: 0 :  
00000033    3.06950402  [19372] [asl-help]     => Added the following code to the end of init:  
00000034    3.06953049  [19372] LiveSplit.exe Information: 0 :  
00000035    3.06957245  [19372] [asl-help]        `vars.Helper.Load();`     
00000036    3.22386670  [19372] LiveSplit.exe Information: 0 :  
00000037    3.22389030  [19372] [asl-help]     => Added the following code to the beginning of update:  
00000038    3.22390771  [19372] LiveSplit.exe Information: 0 :  
00000039    3.22392130  [19372] [asl-help]        `if (!vars.Helper.Loaded) return false; vars.Helper.MapPointers();`   
00000040    3.37455750  [19372] LiveSplit.exe Information: 0 :  
00000041    3.37458324  [19372] [asl-help]     => Added the following code to the beginning of exit:    
00000042    3.37464404  [19372] LiveSplit.exe Information: 0 :  
00000043    3.37465930  [19372] [asl-help]        `vars.Helper.Dispose();`  
00000044    3.37484002  [19372] LiveSplit.exe Information: 0 :  
00000045    3.37486172  [19372] [asl-help]   => Unity features will be available.   
00000046    3.38070202  [19372] LiveSplit.exe Information: 0 :  
00000047    3.38072205  [19372] [asl-help]   => Will try to load SceneManager.  
00000048    42.25730896 [19372] LiveSplit.exe Information: 0 :  
00000049    42.25734329 [19372] [Prince of Persia: The Lost Crown] True     
00000050    42.25799561 [19372] LiveSplit.exe Error: 0 :    
00000051    42.25808716 [19372] Cannot perform runtime binding on a null reference  
00000052    42.25808716 [19372]     
00000053    42.25808716 [19372]    at System.Windows.Forms.Control.MarshaledInvoke(Control caller, Delegate method, Object[] args, Boolean synchronous)     
00000054    42.25808716 [19372]    at System.Windows.Forms.Control.Invoke(Delegate method, Object[] args)   
00000055    42.25808716 [19372]    at LiveSplit.View.TimerForm.<>c__DisplayClass181_0.<hook_KeyOrButtonPressed>b__1()
zaxxorr commented 8 months ago

it seems it may be due to the executive file being named "TheLostCrown_plus.exe" but there's also one named "TheLostCrown.exe" if i try to directly open thelostcrown.exe it still doesnt work though

for reference I'm using ubisoft+ subscription to play

dotneB commented 8 months ago

Here's some more info related to TheLostCrown_plus.exe vs TheLostCrown.exe

Launching the game and LiveSplit as is, I get this in DebugView, the process running is TheLostCrown_plus.exe

00000020    13.87389088 [49668] [ASL/21644229] Running shutdown     
00000025    16.75054359 [49668] LiveSplit.exe Information: 0 :  
00000026    16.75055313 [49668] [ASL] Loading new script: G:\_LiveSplit\Components\POPTLC.asl   
00000032    17.41791916 [49668] LiveSplit.exe Information: 0 :  
00000033    17.41793251 [49668] [ASL/19411308] Running startup  
00000034    17.45189095 [49668] LiveSplit.exe Information: 0 :  
00000035    17.45191193 [49668] Thank you for using asl-help, created by Ero! For more information, see https://github.com/just-ero/asl-help.   
00000036    17.45191193 [49668] This library contains many features created for helping out ASL developers.     
00000037    17.45191193 [49668]     
00000038    17.45191193 [49668] If you would like to opt out of code generation, please use the following code in 'startup {}' instead.     
00000039    17.45191193 [49668] Make sure to call GetType() with the name of the specific helper you would like to use.     
00000040    17.45191193 [49668]     var type = Assembly.Load(File.ReadAllBytes(@"Components\asl-help")).GetType("Basic");   
00000041    17.45191193 [49668]     vars.Helper = Activator.CreateInstance(type, args: false);  
00000042    17.45191193 [49668]     
00000043    17.45191193 [49668] If you have any questions, please tag @Ero#1111 in the #auto-splitters channel  
00000044    17.45191193 [49668] of the Speedrun Tool Development Discord server: https://discord.gg/cpYsxz7.    
00000045    17.45198250 [49668] LiveSplit.exe Information: 0 :  
00000046    17.45199394 [49668] [asl-help]  
00000047    17.45238113 [49668] LiveSplit.exe Information: 0 :  
00000048    17.45258713 [49668] [asl-help] Loading asl-help...  
00000049    17.45267105 [49668] LiveSplit.exe Information: 0 :  
00000050    17.45277596 [49668] [asl-help]   => Generating code...  
00000051    17.45408440 [49668] LiveSplit.exe Information: 0 :  
00000052    17.45409584 [49668] [asl-help]     => Set helper to vars.Helper.    
00000053    17.45458984 [49668] LiveSplit.exe Information: 0 :  
00000054    17.45460320 [49668] [asl-help]     => Created the Action<object> vars.Log.  
00000059    17.55302429 [49668] LiveSplit.exe Information: 0 :  
00000060    17.55303764 [49668] [asl-help]     => Added the following code to the beginning of shutdown:    
00000061    17.55305481 [49668] LiveSplit.exe Information: 0 :  
00000062    17.55306435 [49668] [asl-help]        `vars.Helper.Dispose();`  
00000063    17.65870476 [49668] LiveSplit.exe Information: 0 :  
00000064    17.65872383 [49668] [asl-help]     => Added the following code to the end of init:  
00000065    17.65873909 [49668] LiveSplit.exe Information: 0 :  
00000066    17.65874863 [49668] [asl-help]        `vars.Helper.Load();`     
00000067    17.75064278 [49668] LiveSplit.exe Information: 0 :  
00000068    17.75067329 [49668] [asl-help]     => Added the following code to the beginning of update:  
00000069    17.75070190 [49668] LiveSplit.exe Information: 0 :  
00000070    17.75071335 [49668] [asl-help]        `if (!vars.Helper.Loaded) return false; vars.Helper.MapPointers();`   
00000071    17.84193993 [49668] LiveSplit.exe Information: 0 :  
00000072    17.84195900 [49668] [asl-help]     => Added the following code to the beginning of exit:    
00000073    17.84197235 [49668] LiveSplit.exe Information: 0 :  
00000074    17.84198189 [49668] [asl-help]        `vars.Helper.Dispose();`  
00000075    17.84206390 [49668] LiveSplit.exe Information: 0 :  
00000076    17.84207726 [49668] [asl-help]   => Unity features will be available.   
00000077    17.84486198 [49668] LiveSplit.exe Information: 0 :  
00000078    17.84488106 [49668] [asl-help]   => Will try to load SceneManager. 

First dumb test I did was, renaming it to TheLostCrown_plus.exe.bak, but the game doesn't launch, so TheLostCrown.exe is just a wrapper?

00009781    140.02029419    [49668] LiveSplit.exe Information: 0 :  
00009782    140.02032471    [49668] [ASL/19411308] Connected to game: TheLostCrown (using default state descriptor)     
00009783    140.02088928    [49668] LiveSplit.exe Information: 0 :  
00009784    140.02090454    [49668] [ASL/19411308] Initializing     
00009785    140.03350830    [49668] LiveSplit.exe Information: 0 :  
00009786    140.03353882    [49668] [ASL/19411308] Init completed, running main methods     
00009787    140.04164124    [49668] LiveSplit.exe Information: 0 :  
00009788    140.04165649    [49668] [asl-help] Searching for module with name: UnityPlayer.dll...   
00009789    140.04550171    [49668] LiveSplit.exe Information: 0 :  
00009790    140.04553223    [49668] [asl-help]   => Found UnityPlayer.dll.  
00009791    140.04762268    [49668] LiveSplit.exe Information: 0 :  
00009792    140.04762268    [49668] [asl-help] Looking for g_runtimeSceneManager...     
00009793    140.08558655    [49668] LiveSplit.exe Information: 0 :  
00009794    140.08560181    [49668] [asl-help]   => Found at 0x7FFB8E3CFEB0.    
00009795    140.08598328    [49668] LiveSplit.exe Information: 0 :  
00009796    140.08599854    [49668] [asl-help]     => SceneManager will be available.   
00009797    140.08605957    [49668] LiveSplit.exe Information: 0 :  
00009798    140.08607483    [49668] [asl-help] Searching for module with names: mono.dll, mono-2.0-bdwgc.dll, GameAssembly.dll...   
00009799    140.08741760    [49668] LiveSplit.exe Information: 0 :  
00009800    140.08741760    [49668] [asl-help]   => Found GameAssembly.dll.     
00009801    140.08845520    [49668] LiveSplit.exe Information: 0 :  
00009802    140.08845520    [49668] [asl-help] Retrieving Unity version...  
00009803    140.08917236    [49668] LiveSplit.exe Information: 0 :  
00009804    140.08917236    [49668] [asl-help]   => Unity 2021.3.29f1.  
00009805    140.08918762    [49668] LiveSplit.exe Information: 0 :  
00009806    140.08920288    [49668] [asl-help]   => Doesn't look right? You can set the helper's `UnityVersion` manually in 'startup {}':   
00009807    140.08921814    [49668] LiveSplit.exe Information: 0 :  
00009808    140.08923340    [49668] [asl-help]      `vars.Helper.UnityVersion = new Version(2017, 2);`  
00009809    140.08973694    [49668] LiveSplit.exe Information: 0 :  
00009810    140.08975220    [49668] [asl-help] Retrieving IL2CPP version...     
00009811    140.09001160    [49668] LiveSplit.exe Information: 0 :  
00009812    140.09002686    [49668] [asl-help]   => IL2CPP 29.  
00009813    140.09368896    [49668] LiveSplit.exe Information: 0 :  
00009814    140.09370422    [49668] [asl-help] Loading Unity il2cpp.2020 structs...     
00009815    140.11734009    [49668] LiveSplit.exe Information: 0 :  
00009816    140.11737061    [49668] [asl-help]   => Success.    
00009817    140.11744690    [49668] LiveSplit.exe Information: 0 :  
00009818    140.11746216    [49668] [asl-help]  
00009819    140.12271118    [49668] LiveSplit.exe Information: 0 :  
00009820    140.12274170    [49668] [asl-help] Executing TryLoad...     
00009821    140.13388062    [49668] LiveSplit.exe Information: 0 :  
00009822    140.13388062    [49668] [asl-help] Searching for image 'Alkawa.Gameplay'...     
00009823    140.17259216    [49668] LiveSplit.exe Information: 0 :  
00009824    140.17274475    [49668] [asl-help] Aborting due to error.   
00009825    140.17274475    [49668] AslHelp.MemUtils.Exceptions.FatalNotFoundException: Could not find assemblies table!    
00009826    140.17274475    [49668]    at AslHelp.Mono.Managers.Il2CppManager.FindAssemblies()  
00009827    140.17274475    [49668]    at AslHelp.Mono.Managers.Il2CppManager.<EnumerateImages>d__6.MoveNext()  
00009828    140.17274475    [49668]    at AslHelp.Mono.Models.ImageCache.<GetEnumerator>d__2.MoveNext()     
00009829    140.17274475    [49668]    at AslHelp.Collections.CachedEnumerable`2.TryGetValue(TKey key, TValue& value)   
00009830    140.17274475    [49668]    at AslHelp.Mono.Models.ImageCache.get_Item(String imageName)     
00009831    140.17274475    [49668]    at CallSite.Target(Closure , CallSite , Object , String , String )   
00009832    140.17274475    [49668]    at System.Dynamic.UpdateDelegates.UpdateAndExecute3[T0,T1,T2,TRet](CallSite site, T0 arg0, T1 arg1, T2 arg2)     
00009833    140.17274475    [49668]    at CompiledScript.<>c__DisplayClass6c.<Execute>b__69(Object mono) in c:\Users\benoi\AppData\Local\Temp\zwktdnhf.0.cs:line 72     
00009834    140.17274475    [49668]    at AslHelp.HelperBase`1.<DoOnLoad>b__32_0(TaskBuilderContext`1 ctx)  
00009835    140.17274475    [49668]    at AslHelp.Tasks.BuilderFunc`1.Invoke(TaskBuilderContext`1 ctx, Object[] args)   
00009836    140.17274475    [49668]    at AslHelp.Tasks.TaskBuilder`1.<AslHelp-Tasks-IFinalizeStage<TResult>-RunAsync>d__25.MoveNext()  
00009837    140.17274475    [49668] --- End of stack trace from previous location where exception was thrown ---    
00009838    140.17274475    [49668]    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    
00009839    140.17274475    [49668]    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    
00009840    140.17274475    [49668]    at AslHelp.HelperBase`1.<DoOnLoad>d__32.MoveNext()   
00009841    140.17274475    [49668] --- End of stack trace from previous location where exception was thrown ---    
00009842    140.17274475    [49668]    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    
00009843    140.17274475    [49668]    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    
00009844    140.17274475    [49668]    at AslHelp.HelperBase`1.<<Load>b__31_0>d.MoveNext()  
00009845    140.17312622    [49668] LiveSplit.exe Information: 0 :  
00009846    140.17314148    [49668] [ASL/19411308] Running exit

In a quick test, I opened POPTLC.asl and modified the first line to state("TheLostCrown_plus") { } These logs seems to indicate that it's picking the game up, but still has errors, might be that the offsets are different for that binary or something like that?

00023740    253.31269836    [49668] LiveSplit.exe Information: 0 :  
00023741    253.31269836    [49668] [ASL/19411308] Running shutdown     
00023742    253.32302856    [49668] LiveSplit.exe Information: 0 :  
00023743    253.32305908    [49668] [ASL] Loading new script: G:\_LiveSplit\Components\POPTLC.asl   
00023744    253.97235107    [49668] LiveSplit.exe Information: 0 :  
00023745    253.97235107    [49668] [ASL/36554565] Running startup  
00023747    254.00637817    [49668] LiveSplit.exe Information: 0 :  
00023748    254.00645447    [49668] Thank you for using asl-help, created by Ero! For more information, see https://github.com/just-ero/asl-help.   
00023749    254.00645447    [49668] This library contains many features created for helping out ASL developers.     
00023750    254.00645447    [49668]     
00023751    254.00645447    [49668] If you would like to opt out of code generation, please use the following code in 'startup {}' instead.     
00023752    254.00645447    [49668] Make sure to call GetType() with the name of the specific helper you would like to use.     
00023753    254.00645447    [49668]     var type = Assembly.Load(File.ReadAllBytes(@"Components\asl-help")).GetType("Basic");   
00023754    254.00645447    [49668]     vars.Helper = Activator.CreateInstance(type, args: false);  
00023755    254.00645447    [49668]     
00023756    254.00645447    [49668] If you have any questions, please tag @Ero#1111 in the #auto-splitters channel  
00023757    254.00645447    [49668] of the Speedrun Tool Development Discord server: https://discord.gg/cpYsxz7.    
00023758    254.00653076    [49668] LiveSplit.exe Information: 0 :  
00023759    254.00653076    [49668] [asl-help]  
00023760    254.00675964    [49668] LiveSplit.exe Information: 0 :  
00023761    254.00680542    [49668] [asl-help] Loading asl-help...  
00023762    254.00691223    [49668] LiveSplit.exe Information: 0 :  
00023763    254.00709534    [49668] [asl-help]   => Generating code...  
00023764    254.00862122    [49668] LiveSplit.exe Information: 0 :  
00023765    254.00865173    [49668] [asl-help]     => Set helper to vars.Helper.    
00023766    254.00910950    [49668] LiveSplit.exe Information: 0 :  
00023767    254.00914001    [49668] [asl-help]     => Created the Action<object> vars.Log.  
00023768    254.12446594    [49668] LiveSplit.exe Information: 0 :  
00023769    254.12449646    [49668] [asl-help]     => Added the following code to the beginning of shutdown:    
00023770    254.12451172    [49668] LiveSplit.exe Information: 0 :  
00023771    254.12454224    [49668] [asl-help]        `vars.Helper.Dispose();`  
00023772    254.22418213    [49668] LiveSplit.exe Information: 0 :  
00023773    254.22419739    [49668] [asl-help]     => Added the following code to the end of init:  
00023774    254.22422791    [49668] LiveSplit.exe Information: 0 :  
00023775    254.22422791    [49668] [asl-help]        `vars.Helper.Load();`     
00023776    254.32557678    [49668] LiveSplit.exe Information: 0 :  
00023777    254.32557678    [49668] [asl-help]     => Added the following code to the beginning of update:  
00023778    254.32560730    [49668] LiveSplit.exe Information: 0 :  
00023779    254.32565308    [49668] [asl-help]        `if (!vars.Helper.Loaded) return false; vars.Helper.MapPointers();`   
00023780    254.47091675    [49668] LiveSplit.exe Information: 0 :  
00023781    254.47485352    [49668] [asl-help]     => Added the following code to the beginning of exit:    
00023782    254.47631836    [49668] LiveSplit.exe Information: 0 :  
00023783    254.48353577    [49668] [asl-help]        `vars.Helper.Dispose();`  
00023784    254.48583984    [49668] LiveSplit.exe Information: 0 :  
00023785    254.49098206    [49668] [asl-help]   => Unity features will be available.   
00023786    254.49320984    [49668] LiveSplit.exe Information: 0 :  
00023787    254.49482727    [49668] [asl-help]   => Will try to load SceneManager.  
00023807    262.96136475    [49668] LiveSplit.exe Information: 0 :  
00023808    262.96139526    [49668] [ASL/36554565] Connected to game: TheLostCrown_plus (using default state descriptor)    
00023809    262.96139526    [49668] LiveSplit.exe Information: 0 :  
00023810    262.96142578    [49668] [ASL/36554565] Initializing     
00023811    262.96774292    [49668] LiveSplit.exe Error: 0 :    
00023812    262.96777344    [49668] Exception thrown: 'System.ComponentModel.Win32Exception' in 'init' method:  
00023813    262.96777344    [49668] Only part of a ReadProcessMemory or WriteProcessMemory request was completed    
00023814    262.96777344    [49668]     
00023815    262.96777344    [49668]    at ASL line 30 in 'init' 
00023816    262.96777344    [49668]     
00023817    262.96777344    [49668]    at LiveSplit.ASL.ASLMethod.Call(LiveSplitState timer, ExpandoObject vars, String& version, Double& refreshRate, Object settings, ExpandoObject old, ExpandoObject current, Process game)     
00023818    262.96777344    [49668]    at LiveSplit.ASL.ASLScript.RunMethod(ASLMethod method, LiveSplitState state, String& version)    
00023819    262.96777344    [49668]    at LiveSplit.ASL.ASLScript.DoInit(LiveSplitState state)  
00023820    262.96777344    [49668]    at LiveSplit.UI.Components.ASLComponent.UpdateScript()   
00023821    262.98538208    [49668] LiveSplit.exe Information: 0 :  
00023822    262.98538208    [49668] [ASL/36554565] Initializing     
00023823    262.99203491    [49668] LiveSplit.exe Information: 0 :  
00023824    262.99206543    [49668] [ASL/36554565] Init completed, running main methods     
00023825    263.00076294    [49668] LiveSplit.exe Information: 0 :  
00023826    263.00079346    [49668] [asl-help] Searching for module with name: UnityPlayer.dll...   
00023828    263.00509644    [49668] LiveSplit.exe Information: 0 :  
00023829    263.00509644    [49668] [asl-help]   => Found UnityPlayer.dll.  
00023830    263.00747681    [49668] LiveSplit.exe Information: 0 :  
00023831    263.00747681    [49668] [asl-help] Looking for g_runtimeSceneManager...     
00023832    263.04055786    [49668] LiveSplit.exe Information: 0 :  
00023833    263.04055786    [49668] [asl-help]   => Found at 0x7FFB8E3CFEB0.    
00023834    263.04092407    [49668] LiveSplit.exe Information: 0 :  
00023835    263.04095459    [49668] [asl-help]     => SceneManager will be available.   
00023836    263.04098511    [49668] LiveSplit.exe Information: 0 :  
00023837    263.04098511    [49668] [asl-help] Searching for module with names: mono.dll, mono-2.0-bdwgc.dll, GameAssembly.dll...   
00023838    263.04254150    [49668] LiveSplit.exe Information: 0 :  
00023839    263.04257202    [49668] [asl-help]   => No module found yet.    
00023840    263.04257202    [49668] LiveSplit.exe Information: 0 :  
00023841    263.04257202    [49668] [asl-help]   => Retrying 2 more times in 1000ms...  
00023842    263.12567139    [49668] LiveSplit.exe Information: 0 :  
00023843    263.12573242    [49668] [ASL/36554565] Running exit     
00028441    266.36740112    [49668] LiveSplit.exe Information: 0 :  
00028442    266.36752319    [49668] [ASL/36554565] Connected to game: TheLostCrown_plus (using default state descriptor)    
00028443    266.36801147    [49668] LiveSplit.exe Information: 0 :  
00028444    266.36813354    [49668] [ASL/36554565] Initializing     
00028445    266.36828613    [49668] LiveSplit.exe Error: 0 :    
00028446    266.36831665    [49668] Exception thrown: 'System.ComponentModel.Win32Exception' in 'init' method:  
00028447    266.36831665    [49668] Only part of a ReadProcessMemory or WriteProcessMemory request was completed    
00028448    266.36831665    [49668]     
00028449    266.36831665    [49668]    at ASL line 30 in 'init' 
00028450    266.36831665    [49668]     
00028451    266.36831665    [49668]    at LiveSplit.ASL.ASLMethod.Call(LiveSplitState timer, ExpandoObject vars, String& version, Double& refreshRate, Object settings, ExpandoObject old, ExpandoObject current, Process game)     
00028452    266.36831665    [49668]    at LiveSplit.ASL.ASLScript.RunMethod(ASLMethod method, LiveSplitState state, String& version)    
00028453    266.36831665    [49668]    at LiveSplit.ASL.ASLScript.DoInit(LiveSplitState state)  
00028454    266.36831665    [49668]    at LiveSplit.UI.Components.ASLComponent.UpdateScript()   
00028455    266.37509155    [49668] LiveSplit.exe Information: 0 :  
00028456    266.37512207    [49668] [ASL/36554565] Initializing     
00028457    266.37527466    [49668] LiveSplit.exe Error: 0 :    
00028458    266.37527466    [49668] Exception thrown: 'System.ComponentModel.Win32Exception' in 'init' method:  
00028459    266.37527466    [49668] Only part of a ReadProcessMemory or WriteProcessMemory request was completed    
00028460    266.37527466    [49668]     
00028461    266.37527466    [49668]    at ASL line 30 in 'init' 
00028462    266.37527466    [49668]     
00028463    266.37527466    [49668]    at LiveSplit.ASL.ASLMethod.Call(LiveSplitState timer, ExpandoObject vars, String& version, Double& refreshRate, Object settings, ExpandoObject old, ExpandoObject current, Process game)     
00028464    266.37527466    [49668]    at LiveSplit.ASL.ASLScript.RunMethod(ASLMethod method, LiveSplitState state, String& version)    
00028465    266.37527466    [49668]    at LiveSplit.ASL.ASLScript.DoInit(LiveSplitState state)  
00028466    266.37527466    [49668]    at LiveSplit.UI.Components.ASLComponent.UpdateScript()   
00028467    266.39065552    [49668] LiveSplit.exe Information: 0 :  
00028468    266.39068604    [49668] [ASL/36554565] Initializing     
00028469    266.39089966    [49668] LiveSplit.exe Error: 0 :    
00028470    266.39089966    [49668] Exception thrown: 'System.ComponentModel.Win32Exception' in 'init' method:  
00028471    266.39089966    [49668] Only part of a ReadProcessMemory or WriteProcessMemory request was completed    
00028472    266.39089966    [49668]     
00028473    266.39089966    [49668]    at ASL line 30 in 'init' 
00028474    266.39089966    [49668]     
00028475    266.39089966    [49668]    at LiveSplit.ASL.ASLMethod.Call(LiveSplitState timer, ExpandoObject vars, String& version, Double& refreshRate, Object settings, ExpandoObject old, ExpandoObject current, Process game)     
00028476    266.39089966    [49668]    at LiveSplit.ASL.ASLScript.RunMethod(ASLMethod method, LiveSplitState state, String& version)    
00028477    266.39089966    [49668]    at LiveSplit.ASL.ASLScript.DoInit(LiveSplitState state)  
00028478    266.39089966    [49668]    at LiveSplit.UI.Components.ASLComponent.UpdateScript()   
00028479    266.40731812    [49668] LiveSplit.exe Information: 0 :  
00028480    266.40734863    [49668] [ASL/36554565] Initializing     
00028482    266.41186523    [49668] LiveSplit.exe Information: 0 :  
00028483    266.41186523    [49668] [ASL/36554565] Init completed, running main methods     
00028484    266.41207886    [49668] LiveSplit.exe Information: 0 :  
00028485    266.41213989    [49668] [asl-help] Searching for module with name: UnityPlayer.dll...   
00028486    266.41241455    [49668] LiveSplit.exe Information: 0 :  
00028487    266.41244507    [49668] [asl-help]   => Found UnityPlayer.dll.  
00028488    266.41250610    [49668] LiveSplit.exe Information: 0 :  
00028489    266.41259766    [49668] [asl-help] Looking for g_runtimeSceneManager...     
00028490    266.45074463    [49668] LiveSplit.exe Information: 0 :  
00028491    266.45550537    [49668] [asl-help]   => Found at 0x7FFB8E3CFEB0.    
00028492    266.45635986    [49668] LiveSplit.exe Information: 0 :  
00028493    266.45809937    [49668] [asl-help]     => SceneManager will be available.   
00028494    266.45892334    [49668] LiveSplit.exe Information: 0 :  
00028495    266.45980835    [49668] [asl-help] Searching for module with names: mono.dll, mono-2.0-bdwgc.dll, GameAssembly.dll...   
00028496    266.46151733    [49668] LiveSplit.exe Information: 0 :  
00028497    266.46154785    [49668] [asl-help]   => No module found yet.    
00028498    266.46157837    [49668] LiveSplit.exe Information: 0 :  
00028499    266.46157837    [49668] [asl-help]   => Retrying 2 more times in 1000ms...  
00028512    267.47561646    [49668] LiveSplit.exe Information: 0 :  
00028513    267.47567749    [49668] [asl-help]   => No module found yet.    
00028514    267.47579956    [49668] LiveSplit.exe Information: 0 :  
00028515    267.47579956    [49668] [asl-help]   => Retrying 1 more time in 1000ms...   
00028527    268.49145508    [49668] LiveSplit.exe Information: 0 :  
00028528    268.49145508    [49668] [asl-help]   => No module found yet.    
00028529    268.49215698    [49668] LiveSplit.exe Information: 0 :  
00028530    268.49218750    [49668] [asl-help] Aborting due to error.   
00028531    268.49218750    [49668] AslHelp.MemUtils.Exceptions.FatalNotFoundException: Mono module was not found.  
00028532    268.49218750    [49668]    at Unity.MakeManager()   
00028533    268.49218750    [49668]    at AslHelp.HelperBase`1.<<Load>b__31_0>d.MoveNext()  
00036976    340.81619263    [49668] LiveSplit.exe Information: 0 :  
00036977    340.81649780    [49668] [ASL/36554565] Running exit
zaxxorr commented 8 months ago

i got this error earlier [image: image.png] maybe it helps

On Wed, Jan 17, 2024 at 2:30 PM dotneB @.***> wrote:

Here's some more info related to TheLostCrown_plus.exe vs TheLostCrown.exe

Launching the game and LiveSplit as is, I get this in DebugView, the process running is TheLostCrown_plus.exe

00000020 13.87389088 [49668] [ASL/21644229] Running shutdown
00000025 16.75054359 [49668] LiveSplit.exe Information: 0 :
00000026 16.75055313 [49668] [ASL] Loading new script: G:_LiveSplit\Components\POPTLC.asl
00000032 17.41791916 [49668] LiveSplit.exe Information: 0 :
00000033 17.41793251 [49668] [ASL/19411308] Running startup
00000034 17.45189095 [49668] LiveSplit.exe Information: 0 :
00000035 17.45191193 [49668] Thank you for using asl-help, created by Ero! For more information, see https://github.com/just-ero/asl-help.
00000036 17.45191193 [49668] This library contains many features created for helping out ASL developers.
00000037 17.45191193 [49668]
00000038 17.45191193 [49668] If you would like to opt out of code generation, please use the following code in 'startup {}' instead.
00000039 17.45191193 [49668] Make sure to call GetType() with the name of the specific helper you would like to use.
00000040 17.45191193 [49668] var type = Assembly.Load(File.ReadAllBytes(@"Components\asl-help")).GetType("Basic");
00000041 17.45191193 [49668] vars.Helper = Activator.CreateInstance(type, args: false);
00000042 17.45191193 [49668]
00000043 17.45191193 [49668] If you have any questions, please tag @Ero#1111 in the #auto-splitters channel
00000044 17.45191193 [49668] of the Speedrun Tool Development Discord server: https://discord.gg/cpYsxz7.
00000045 17.45198250 [49668] LiveSplit.exe Information: 0 :
00000046 17.45199394 [49668] [asl-help]
00000047 17.45238113 [49668] LiveSplit.exe Information: 0 :
00000048 17.45258713 [49668] [asl-help] Loading asl-help...
00000049 17.45267105 [49668] LiveSplit.exe Information: 0 :
00000050 17.45277596 [49668] [asl-help] => Generating code...
00000051 17.45408440 [49668] LiveSplit.exe Information: 0 :
00000052 17.45409584 [49668] [asl-help] => Set helper to vars.Helper.
00000053 17.45458984 [49668] LiveSplit.exe Information: 0 :
00000054 17.45460320 [49668] [asl-help] => Created the Action vars.Log.
00000059 17.55302429 [49668] LiveSplit.exe Information: 0 :
00000060 17.55303764 [49668] [asl-help] => Added the following code to the beginning of shutdown:
00000061 17.55305481 [49668] LiveSplit.exe Information: 0 :
00000062 17.55306435 [49668] [asl-help] vars.Helper.Dispose();
00000063 17.65870476 [49668] LiveSplit.exe Information: 0 :
00000064 17.65872383 [49668] [asl-help] => Added the following code to the end of init:
00000065 17.65873909 [49668] LiveSplit.exe Information: 0 :
00000066 17.65874863 [49668] [asl-help] vars.Helper.Load();
00000067 17.75064278 [49668] LiveSplit.exe Information: 0 :
00000068 17.75067329 [49668] [asl-help] => Added the following code to the beginning of update:
00000069 17.75070190 [49668] LiveSplit.exe Information: 0 :
00000070 17.75071335 [49668] [asl-help] if (!vars.Helper.Loaded) return false; vars.Helper.MapPointers();
00000071 17.84193993 [49668] LiveSplit.exe Information: 0 :
00000072 17.84195900 [49668] [asl-help] => Added the following code to the beginning of exit:
00000073 17.84197235 [49668] LiveSplit.exe Information: 0 :
00000074 17.84198189 [49668] [asl-help] vars.Helper.Dispose();
00000075 17.84206390 [49668] LiveSplit.exe Information: 0 :
00000076 17.84207726 [49668] [asl-help] => Unity features will be available.
00000077 17.84486198 [49668] LiveSplit.exe Information: 0 :
00000078 17.84488106 [49668] [asl-help] => Will try to load SceneManager.

First dumb test I did was, renaming it to TheLostCrown_plus.exe.bak, but the game doesn't launch, so TheLostCrown.exe is just a wrapper?

00009781 140.02029419 [49668] LiveSplit.exe Information: 0 :
00009782 140.02032471 [49668] [ASL/19411308] Connected to game: TheLostCrown (using default state descriptor)
00009783 140.02088928 [49668] LiveSplit.exe Information: 0 :
00009784 140.02090454 [49668] [ASL/19411308] Initializing
00009785 140.03350830 [49668] LiveSplit.exe Information: 0 :
00009786 140.03353882 [49668] [ASL/19411308] Init completed, running main methods
00009787 140.04164124 [49668] LiveSplit.exe Information: 0 :
00009788 140.04165649 [49668] [asl-help] Searching for module with name: UnityPlayer.dll...
00009789 140.04550171 [49668] LiveSplit.exe Information: 0 :
00009790 140.04553223 [49668] [asl-help] => Found UnityPlayer.dll.
00009791 140.04762268 [49668] LiveSplit.exe Information: 0 :
00009792 140.04762268 [49668] [asl-help] Looking for g_runtimeSceneManager...
00009793 140.08558655 [49668] LiveSplit.exe Information: 0 :
00009794 140.08560181 [49668] [asl-help] => Found at 0x7FFB8E3CFEB0.
00009795 140.08598328 [49668] LiveSplit.exe Information: 0 :
00009796 140.08599854 [49668] [asl-help] => SceneManager will be available.
00009797 140.08605957 [49668] LiveSplit.exe Information: 0 :
00009798 140.08607483 [49668] [asl-help] Searching for module with names: mono.dll, mono-2.0-bdwgc.dll, GameAssembly.dll...
00009799 140.08741760 [49668] LiveSplit.exe Information: 0 :
00009800 140.08741760 [49668] [asl-help] => Found GameAssembly.dll.
00009801 140.08845520 [49668] LiveSplit.exe Information: 0 :
00009802 140.08845520 [49668] [asl-help] Retrieving Unity version...
00009803 140.08917236 [49668] LiveSplit.exe Information: 0 :
00009804 140.08917236 [49668] [asl-help] => Unity 2021.3.29f1.
00009805 140.08918762 [49668] LiveSplit.exe Information: 0 :
00009806 140.08920288 [49668] [asl-help] => Doesn't look right? You can set the helper's UnityVersion manually in 'startup {}':
00009807 140.08921814 [49668] LiveSplit.exe Information: 0 :
00009808 140.08923340 [49668] [asl-help] vars.Helper.UnityVersion = new Version(2017, 2);
00009809 140.08973694 [49668] LiveSplit.exe Information: 0 :
00009810 140.08975220 [49668] [asl-help] Retrieving IL2CPP version...
00009811 140.09001160 [49668] LiveSplit.exe Information: 0 :
00009812 140.09002686 [49668] [asl-help] => IL2CPP 29.
00009813 140.09368896 [49668] LiveSplit.exe Information: 0 :
00009814 140.09370422 [49668] [asl-help] Loading Unity il2cpp.2020 structs...
00009815 140.11734009 [49668] LiveSplit.exe Information: 0 :
00009816 140.11737061 [49668] [asl-help] => Success.
00009817 140.11744690 [49668] LiveSplit.exe Information: 0 :
00009818 140.11746216 [49668] [asl-help]
00009819 140.12271118 [49668] LiveSplit.exe Information: 0 :
00009820 140.12274170 [49668] [asl-help] Executing TryLoad...
00009821 140.13388062 [49668] LiveSplit.exe Information: 0 :
00009822 140.13388062 [49668] [asl-help] Searching for image 'Alkawa.Gameplay'...
00009823 140.17259216 [49668] LiveSplit.exe Information: 0 :
00009824 140.17274475 [49668] [asl-help] Aborting due to error.
00009825 140.17274475 [49668] AslHelp.MemUtils.Exceptions.FatalNotFoundException: Could not find assemblies table!
00009826 140.17274475 [49668] at AslHelp.Mono.Managers.Il2CppManager.FindAssemblies()
00009827 140.17274475 [49668] at AslHelp.Mono.Managers.Il2CppManager.d6.MoveNext()
00009828 140.17274475 [49668] at AslHelp.Mono.Models.ImageCache.d
2.MoveNext()
00009829 140.17274475 [49668] at AslHelp.Collections.CachedEnumerable2.TryGetValue(TKey key, TValue& value) 00009830 140.17274475 [49668] at AslHelp.Mono.Models.ImageCache.get_Item(String imageName) 00009831 140.17274475 [49668] at CallSite.Target(Closure , CallSite , Object , String , String ) 00009832 140.17274475 [49668] at System.Dynamic.UpdateDelegates.UpdateAndExecute3[T0,T1,T2,TRet](CallSite site, T0 arg0, T1 arg1, T2 arg2) 00009833 140.17274475 [49668] at CompiledScript.<>c__DisplayClass6c.<Execute>b__69(Object mono) in c:\Users\benoi\AppData\Local\Temp\zwktdnhf.0.cs:line 72 00009834 140.17274475 [49668] at AslHelp.HelperBase1.b__32_0(TaskBuilderContext1 ctx) 00009835 140.17274475 [49668] at AslHelp.Tasks.BuilderFunc1.Invoke(TaskBuilderContext1 ctx, Object[] args) 00009836 140.17274475 [49668] at AslHelp.Tasks.TaskBuilder1.<AslHelp-Tasks-IFinalizeStage-RunAsync>d25.MoveNext()
00009837 140.17274475 [49668] --- End of stack trace from previous location where exception was thrown ---
00009838 140.17274475 [49668] at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
00009839 140.17274475 [49668] at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
00009840 140.17274475 [49668] at AslHelp.HelperBase`1.d
32.MoveNext()
00009841 140.17274475 [49668] --- End of stack trace from previous location where exception was thrown ---
00009842 140.17274475 [49668] at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
00009843 140.17274475 [49668] at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
00009844 140.17274475 [49668] at AslHelp.HelperBase`1.<b__31_0>d.MoveNext()
00009845 140.17312622 [49668] LiveSplit.exe Information: 0 :
00009846 140.17314148 [49668] [ASL/19411308] Running exit

In a quick test, I opened POPTLC.asl and modified the first line to state("TheLostCrown_plus") { } These logs seems to indicate that it's picking the game up, but still has errors, might be that the offsets are different for that binary or something like that?

00023740 253.31269836 [49668] LiveSplit.exe Information: 0 :
00023741 253.31269836 [49668] [ASL/19411308] Running shutdown
00023742 253.32302856 [49668] LiveSplit.exe Information: 0 :
00023743 253.32305908 [49668] [ASL] Loading new script: G:_LiveSplit\Components\POPTLC.asl
00023744 253.97235107 [49668] LiveSplit.exe Information: 0 :
00023745 253.97235107 [49668] [ASL/36554565] Running startup
00023747 254.00637817 [49668] LiveSplit.exe Information: 0 :
00023748 254.00645447 [49668] Thank you for using asl-help, created by Ero! For more information, see https://github.com/just-ero/asl-help.
00023749 254.00645447 [49668] This library contains many features created for helping out ASL developers.
00023750 254.00645447 [49668]
00023751 254.00645447 [49668] If you would like to opt out of code generation, please use the following code in 'startup {}' instead.
00023752 254.00645447 [49668] Make sure to call GetType() with the name of the specific helper you would like to use.
00023753 254.00645447 [49668] var type = Assembly.Load(File.ReadAllBytes(@"Components\asl-help")).GetType("Basic");
00023754 254.00645447 [49668] vars.Helper = Activator.CreateInstance(type, args: false);
00023755 254.00645447 [49668]
00023756 254.00645447 [49668] If you have any questions, please tag @Ero#1111 in the #auto-splitters channel
00023757 254.00645447 [49668] of the Speedrun Tool Development Discord server: https://discord.gg/cpYsxz7.
00023758 254.00653076 [49668] LiveSplit.exe Information: 0 :
00023759 254.00653076 [49668] [asl-help]
00023760 254.00675964 [49668] LiveSplit.exe Information: 0 :
00023761 254.00680542 [49668] [asl-help] Loading asl-help...
00023762 254.00691223 [49668] LiveSplit.exe Information: 0 :
00023763 254.00709534 [49668] [asl-help] => Generating code...
00023764 254.00862122 [49668] LiveSplit.exe Information: 0 :
00023765 254.00865173 [49668] [asl-help] => Set helper to vars.Helper.
00023766 254.00910950 [49668] LiveSplit.exe Information: 0 :
00023767 254.00914001 [49668] [asl-help] => Created the Action vars.Log.
00023768 254.12446594 [49668] LiveSplit.exe Information: 0 :
00023769 254.12449646 [49668] [asl-help] => Added the following code to the beginning of shutdown:
00023770 254.12451172 [49668] LiveSplit.exe Information: 0 :
00023771 254.12454224 [49668] [asl-help] vars.Helper.Dispose();
00023772 254.22418213 [49668] LiveSplit.exe Information: 0 :
00023773 254.22419739 [49668] [asl-help] => Added the following code to the end of init:
00023774 254.22422791 [49668] LiveSplit.exe Information: 0 :
00023775 254.22422791 [49668] [asl-help] vars.Helper.Load();
00023776 254.32557678 [49668] LiveSplit.exe Information: 0 :
00023777 254.32557678 [49668] [asl-help] => Added the following code to the beginning of update:
00023778 254.32560730 [49668] LiveSplit.exe Information: 0 :
00023779 254.32565308 [49668] [asl-help] if (!vars.Helper.Loaded) return false; vars.Helper.MapPointers();
00023780 254.47091675 [49668] LiveSplit.exe Information: 0 :
00023781 254.47485352 [49668] [asl-help] => Added the following code to the beginning of exit:
00023782 254.47631836 [49668] LiveSplit.exe Information: 0 :
00023783 254.48353577 [49668] [asl-help] vars.Helper.Dispose();
00023784 254.48583984 [49668] LiveSplit.exe Information: 0 :
00023785 254.49098206 [49668] [asl-help] => Unity features will be available.
00023786 254.49320984 [49668] LiveSplit.exe Information: 0 :
00023787 254.49482727 [49668] [asl-help] => Will try to load SceneManager.
00023807 262.96136475 [49668] LiveSplit.exe Information: 0 :
00023808 262.96139526 [49668] [ASL/36554565] Connected to game: TheLostCrown_plus (using default state descriptor)
00023809 262.96139526 [49668] LiveSplit.exe Information: 0 :
00023810 262.96142578 [49668] [ASL/36554565] Initializing
00023811 262.96774292 [49668] LiveSplit.exe Error: 0 :
00023812 262.96777344 [49668] Exception thrown: 'System.ComponentModel.Win32Exception' in 'init' method:
00023813 262.96777344 [49668] Only part of a ReadProcessMemory or WriteProcessMemory request was completed
00023814 262.96777344 [49668]
00023815 262.96777344 [49668] at ASL line 30 in 'init' 00023816 262.96777344 [49668]
00023817 262.96777344 [49668] at LiveSplit.ASL.ASLMethod.Call(LiveSplitState timer, ExpandoObject vars, String& version, Double& refreshRate, Object settings, ExpandoObject old, ExpandoObject current, Process game)
00023818 262.96777344 [49668] at LiveSplit.ASL.ASLScript.RunMethod(ASLMethod method, LiveSplitState state, String& version)
00023819 262.96777344 [49668] at LiveSplit.ASL.ASLScript.DoInit(LiveSplitState state)
00023820 262.96777344 [49668] at LiveSplit.UI.Components.ASLComponent.UpdateScript()
00023821 262.98538208 [49668] LiveSplit.exe Information: 0 :
00023822 262.98538208 [49668] [ASL/36554565] Initializing
00023823 262.99203491 [49668] LiveSplit.exe Information: 0 :
00023824 262.99206543 [49668] [ASL/36554565] Init completed, running main methods
00023825 263.00076294 [49668] LiveSplit.exe Information: 0 :
00023826 263.00079346 [49668] [asl-help] Searching for module with name: UnityPlayer.dll...
00023828 263.00509644 [49668] LiveSplit.exe Information: 0 :
00023829 263.00509644 [49668] [asl-help] => Found UnityPlayer.dll.
00023830 263.00747681 [49668] LiveSplit.exe Information: 0 :
00023831 263.00747681 [49668] [asl-help] Looking for g_runtimeSceneManager...
00023832 263.04055786 [49668] LiveSplit.exe Information: 0 :
00023833 263.04055786 [49668] [asl-help] => Found at 0x7FFB8E3CFEB0.
00023834 263.04092407 [49668] LiveSplit.exe Information: 0 :
00023835 263.04095459 [49668] [asl-help] => SceneManager will be available.
00023836 263.04098511 [49668] LiveSplit.exe Information: 0 :
00023837 263.04098511 [49668] [asl-help] Searching for module with names: mono.dll, mono-2.0-bdwgc.dll, GameAssembly.dll...
00023838 263.04254150 [49668] LiveSplit.exe Information: 0 :
00023839 263.04257202 [49668] [asl-help] => No module found yet.
00023840 263.04257202 [49668] LiveSplit.exe Information: 0 :
00023841 263.04257202 [49668] [asl-help] => Retrying 2 more times in 1000ms...
00023842 263.12567139 [49668] LiveSplit.exe Information: 0 :
00023843 263.12573242 [49668] [ASL/36554565] Running exit
00028441 266.36740112 [49668] LiveSplit.exe Information: 0 :
00028442 266.36752319 [49668] [ASL/36554565] Connected to game: TheLostCrown_plus (using default state descriptor)
00028443 266.36801147 [49668] LiveSplit.exe Information: 0 :
00028444 266.36813354 [49668] [ASL/36554565] Initializing
00028445 266.36828613 [49668] LiveSplit.exe Error: 0 :
00028446 266.36831665 [49668] Exception thrown: 'System.ComponentModel.Win32Exception' in 'init' method:
00028447 266.36831665 [49668] Only part of a ReadProcessMemory or WriteProcessMemory request was completed
00028448 266.36831665 [49668]
00028449 266.36831665 [49668] at ASL line 30 in 'init' 00028450 266.36831665 [49668]
00028451 266.36831665 [49668] at LiveSplit.ASL.ASLMethod.Call(LiveSplitState timer, ExpandoObject vars, String& version, Double& refreshRate, Object settings, ExpandoObject old, ExpandoObject current, Process game)
00028452 266.36831665 [49668] at LiveSplit.ASL.ASLScript.RunMethod(ASLMethod method, LiveSplitState state, String& version)
00028453 266.36831665 [49668] at LiveSplit.ASL.ASLScript.DoInit(LiveSplitState state)
00028454 266.36831665 [49668] at LiveSplit.UI.Components.ASLComponent.UpdateScript()
00028455 266.37509155 [49668] LiveSplit.exe Information: 0 :
00028456 266.37512207 [49668] [ASL/36554565] Initializing
00028457 266.37527466 [49668] LiveSplit.exe Error: 0 :
00028458 266.37527466 [49668] Exception thrown: 'System.ComponentModel.Win32Exception' in 'init' method:
00028459 266.37527466 [49668] Only part of a ReadProcessMemory or WriteProcessMemory request was completed
00028460 266.37527466 [49668]
00028461 266.37527466 [49668] at ASL line 30 in 'init' 00028462 266.37527466 [49668]
00028463 266.37527466 [49668] at LiveSplit.ASL.ASLMethod.Call(LiveSplitState timer, ExpandoObject vars, String& version, Double& refreshRate, Object settings, ExpandoObject old, ExpandoObject current, Process game)
00028464 266.37527466 [49668] at LiveSplit.ASL.ASLScript.RunMethod(ASLMethod method, LiveSplitState state, String& version)
00028465 266.37527466 [49668] at LiveSplit.ASL.ASLScript.DoInit(LiveSplitState state)
00028466 266.37527466 [49668] at LiveSplit.UI.Components.ASLComponent.UpdateScript()
00028467 266.39065552 [49668] LiveSplit.exe Information: 0 :
00028468 266.39068604 [49668] [ASL/36554565] Initializing
00028469 266.39089966 [49668] LiveSplit.exe Error: 0 :
00028470 266.39089966 [49668] Exception thrown: 'System.ComponentModel.Win32Exception' in 'init' method:
00028471 266.39089966 [49668] Only part of a ReadProcessMemory or WriteProcessMemory request was completed
00028472 266.39089966 [49668]
00028473 266.39089966 [49668] at ASL line 30 in 'init' 00028474 266.39089966 [49668]
00028475 266.39089966 [49668] at LiveSplit.ASL.ASLMethod.Call(LiveSplitState timer, ExpandoObject vars, String& version, Double& refreshRate, Object settings, ExpandoObject old, ExpandoObject current, Process game)
00028476 266.39089966 [49668] at LiveSplit.ASL.ASLScript.RunMethod(ASLMethod method, LiveSplitState state, String& version)
00028477 266.39089966 [49668] at LiveSplit.ASL.ASLScript.DoInit(LiveSplitState state)
00028478 266.39089966 [49668] at LiveSplit.UI.Components.ASLComponent.UpdateScript()
00028479 266.40731812 [49668] LiveSplit.exe Information: 0 :
00028480 266.40734863 [49668] [ASL/36554565] Initializing
00028482 266.41186523 [49668] LiveSplit.exe Information: 0 :
00028483 266.41186523 [49668] [ASL/36554565] Init completed, running main methods
00028484 266.41207886 [49668] LiveSplit.exe Information: 0 :
00028485 266.41213989 [49668] [asl-help] Searching for module with name: UnityPlayer.dll...
00028486 266.41241455 [49668] LiveSplit.exe Information: 0 :
00028487 266.41244507 [49668] [asl-help] => Found UnityPlayer.dll.
00028488 266.41250610 [49668] LiveSplit.exe Information: 0 :
00028489 266.41259766 [49668] [asl-help] Looking for g_runtimeSceneManager...
00028490 266.45074463 [49668] LiveSplit.exe Information: 0 :
00028491 266.45550537 [49668] [asl-help] => Found at 0x7FFB8E3CFEB0.
00028492 266.45635986 [49668] LiveSplit.exe Information: 0 :
00028493 266.45809937 [49668] [asl-help] => SceneManager will be available.
00028494 266.45892334 [49668] LiveSplit.exe Information: 0 :
00028495 266.45980835 [49668] [asl-help] Searching for module with names: mono.dll, mono-2.0-bdwgc.dll, GameAssembly.dll...
00028496 266.46151733 [49668] LiveSplit.exe Information: 0 :
00028497 266.46154785 [49668] [asl-help] => No module found yet.
00028498 266.46157837 [49668] LiveSplit.exe Information: 0 :
00028499 266.46157837 [49668] [asl-help] => Retrying 2 more times in 1000ms...
00028512 267.47561646 [49668] LiveSplit.exe Information: 0 :
00028513 267.47567749 [49668] [asl-help] => No module found yet.
00028514 267.47579956 [49668] LiveSplit.exe Information: 0 :
00028515 267.47579956 [49668] [asl-help] => Retrying 1 more time in 1000ms...
00028527 268.49145508 [49668] LiveSplit.exe Information: 0 :
00028528 268.49145508 [49668] [asl-help] => No module found yet.
00028529 268.49215698 [49668] LiveSplit.exe Information: 0 :
00028530 268.49218750 [49668] [asl-help] Aborting due to error.
00028531 268.49218750 [49668] AslHelp.MemUtils.Exceptions.FatalNotFoundException: Mono module was not found.
00028532 268.49218750 [49668] at Unity.MakeManager()
00028533 268.49218750 [49668] at AslHelp.HelperBase`1.<b__31_0>d.MoveNext()
00036976 340.81619263 [49668] LiveSplit.exe Information: 0 :
00036977 340.81649780 [49668] [ASL/36554565] Running exit

— Reply to this email directly, view it on GitHub https://github.com/LiterallyMetaphorical/LiveSplit.POPTLC/issues/9#issuecomment-1896398945, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEVYIBXPMPC2YFE42JNZDNLYPAKF5AVCNFSM6AAAAABB5B3RSGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOJWGM4TQOJUGU . You are receiving this because you authored the thread.Message ID: @.***>

zaxxorr commented 8 months ago

00000001 0.00000000 [4720] D:\JenkinsWorkspace\workspace\client_build_installer\client\products\hub\hub\views\ConnectView.cpp(1259) : Console message, , Browser id: 13 https://overlay.cdn.ubisoft.com/default/assets/index-4de3d45c.js Shell/MicroApps.reducer/[microAppLifecycle] Deactivating microApp spotlight in modal, line: 1 00000002 0.00017640 [4720] D:\JenkinsWorkspace\workspace\client_build_installer\client\products\hub\hub\views\ConnectView.cpp(1259) : Console message, , Browser id: 13 https://overlay.cdn.ubisoft.com/default/assets/index-4de3d45c.js Shell/LifeGuard/[microAppLifecycle] Request deactivation for spotlight details: {"moreInfo":{"appConfig":{"appName":"spotlight","bundleUrl":" https://spotlight.cdn.ubisoft.com/prod/app/bundle.js","manifestUrl":" https://spotlight.cdn.ubisoft.com/prod/app/manifest.json ","spaceId":"eab7865a-4192-494d-bf85-ba08e76182f8","meta":{"iconUrl":" https://ubiservices.cdn.ubi.com/eab7865a-4192-494d-bf85-ba08e76182f8/spaceCardAsset/icon2.svg","label":"Spotlight"},"preload":false,"parentAppName":null,"order":3,"defaultPlacement":"modal","allowedPlacements":["modal"],"placement":"modal","isHidden":true},"version":"0.0.21"},"version":"0.0.21"} moreInfo: {"appConfig":{"appName":"spotlight","bundleUrl":" https://spotlight.cdn.ubisoft.com/prod/app/bundle.js","manifestUrl":" https://spotlight.cdn.ubisoft.com/prod/app/manifest.json ","spaceId":"eab7865a-4192-494d-bf85-ba08e76182f8","meta":{"iconUrl":" https://ubiservices.cdn.ubi.com/eab7865a-4192-494d-bf85-ba08e76182f8/spaceCardAsset/icon2.svg","label":"Spotlight"},"preload":false,"parentAppName":null,"order":3,"defaultPlacement":"modal","allowedPlacements":["modal"],"placement":"modal","isHidden":true},"version":"0.0.21"}, line: 1 00000003 0.00424250 [4720] D:\JenkinsWorkspace\workspace\client_build_installer\client\products\hub\hub\views\ConnectView.cpp(1259) : Console message, , Browser id: 13 https://overlay.cdn.ubisoft.com/default/assets/index-4de3d45c.js Shell/LifeGuard/[microAppLifecycle] Blur spotlight. details: {"moreInfo":{"appConfig":{"appName":"spotlight","bundleUrl":" https://spotlight.cdn.ubisoft.com/prod/app/bundle.js","manifestUrl":" https://spotlight.cdn.ubisoft.com/prod/app/manifest.json ","spaceId":"eab7865a-4192-494d-bf85-ba08e76182f8","meta":{"iconUrl":" https://ubiservices.cdn.ubi.com/eab7865a-4192-494d-bf85-ba08e76182f8/spaceCardAsset/icon2.svg","label":"Spotlight"},"preload":false,"parentAppName":null,"order":3,"defaultPlacement":"modal","allowedPlacements":["modal"],"placement":"modal","isHidden":true},"version":"0.0.21"},"version":"0.0.21"} moreInfo: {"appConfig":{"appName":"spotlight","bundleUrl":" https://spotlight.cdn.ubisoft.com/prod/app/bundle.js","manifestUrl":" https://spotlight.cdn.ubisoft.com/prod/app/manifest.json ","spaceId":"eab7865a-4192-494d-bf85-ba08e76182f8","meta":{"iconUrl":" https://ubiservices.cdn.ubi.com/eab7865a-4192-494d-bf85-ba08e76182f8/spaceCardAsset/icon2.svg","label":"Spotlight"},"preload":false,"parentAppName":null,"order":3,"defaultPlacement":"modal","allowedPlacements":["modal"],"placement":"modal","isHidden":true},"version":"0.0.21"}, line: 1 00000004 0.01130570 [4720] D:\JenkinsWorkspace\workspace\client_build_installer\client\products\hub\hub\views\ConnectView.cpp(1259) : Console message, , Browser id: 13 https://overlay.cdn.ubisoft.com/default/assets/index-4de3d45c.js Shell/LifeGuard/[microAppLifecycle] Deactivating spotlight. details: {"moreInfo":{"appConfig":{"appName":"spotlight","bundleUrl":" https://spotlight.cdn.ubisoft.com/prod/app/bundle.js","manifestUrl":" https://spotlight.cdn.ubisoft.com/prod/app/manifest.json ","spaceId":"eab7865a-4192-494d-bf85-ba08e76182f8","meta":{"iconUrl":" https://ubiservices.cdn.ubi.com/eab7865a-4192-494d-bf85-ba08e76182f8/spaceCardAsset/icon2.svg","label":"Spotlight"},"preload":false,"parentAppName":null,"order":3,"defaultPlacement":"modal","allowedPlacements":["modal"],"placement":"modal","isHidden":true},"version":"0.0.21"},"version":"0.0.21"} moreInfo: {"appConfig":{"appName":"spotlight","bundleUrl":" https://spotlight.cdn.ubisoft.com/prod/app/bundle.js","manifestUrl":" https://spotlight.cdn.ubisoft.com/prod/app/manifest.json ","spaceId":"eab7865a-4192-494d-bf85-ba08e76182f8","meta":{"iconUrl":" https://ubiservices.cdn.ubi.com/eab7865a-4192-494d-bf85-ba08e76182f8/spaceCardAsset/icon2.svg","label":"Spotlight"},"preload":false,"parentAppName":null,"order":3,"defaultPlacement":"modal","allowedPlacements":["modal"],"placement":"modal","isHidden":true},"version":"0.0.21"}, line: 1 00000005 0.01153790 [4720] D:\JenkinsWorkspace\workspace\client_build_installer\client\products\hub\hub\views\ConnectView.cpp(1259) : Console message, , Browser id: 13 https://overlay.cdn.ubisoft.com/default/assets/index-4de3d45c.js Shell/MicroApps.reducer/[microAppLifecycle] MicroApp spotlight in modal was deactivated, line: 1 00000006 0.04046120 [4720] D:\JenkinsWorkspace\workspace\client_build_installer\client\products\hub\hub\views\ConnectView.cpp(1259) : Console message, , Browser id: 13 https://overlay.cdn.ubisoft.com/default/assets/index-4de3d45c.js Shell/LifeGuard/[microAppLifecycle] Focusing app-product-details. details: {"moreInfo":{"appConfig":{"appName":"app-product-details","bundleUrl":" https://product-details.cdn.ubisoft.com/1.54.0/app-product-details.umd.min.js ","manifestUrl":" https://product-details.cdn.ubisoft.com/1.54.0/manifest.json ","spaceId":"bac50b92-3a1e-48c2-a27d-59c8d9ad1179","meta":{"iconUrl":" https://ubiservices.cdn.ubi.com/bac50b92-3a1e-48c2-a27d-59c8d9ad1179/spaceCardAsset/product-details-icon.svg","label":"Library"},"preload":true,"parentAppName":null,"order":10,"placement":"main","isHidden":true},"version":"1.54.0"},"version":"1.54.0"} moreInfo: {"appConfig":{"appName":"app-product-details","bundleUrl":" https://product-details.cdn.ubisoft.com/1.54.0/app-product-details.umd.min.js ","manifestUrl":" https://product-details.cdn.ubisoft.com/1.54.0/manifest.json ","spaceId":"bac50b92-3a1e-48c2-a27d-59c8d9ad1179","meta":{"iconUrl":" https://ubiservices.cdn.ubi.com/bac50b92-3a1e-48c2-a27d-59c8d9ad1179/spaceCardAsset/product-details-icon.svg","label":"Library"},"preload":true,"parentAppName":null,"order":10,"placement":"main","isHidden":true},"version":"1.54.0"}, line: 1 00000007 1.12294233 [28920] LiveSplit.exe Information: 0 : 00000008 1.12301934 [28920] [ASL/22411807] Connected to game: TheLostCrown_plus (using default state descriptor) 00000009 1.12303567 [28920] LiveSplit.exe Information: 0 : 00000010 1.12307096 [28920] [ASL/22411807] Initializing 00000011 1.14003825 [4720] D:\JenkinsWorkspace\workspace\client_build_installer\client\products\hub\hub\views\ConnectView.cpp(1259) : Console message, , Browser id: 13 https://overlay.cdn.ubisoft.com/default/assets/index-4de3d45c.js Shell/Configuration.reducer/[configuration] Micro App Configurations are loaded details: {"gameApplicationId":"e1e04a50-7a85-46b7-afea-9c4f83b9de8d","gameSpaceId":"aa6b1778-f274-4b52-8fce-f642173aa0e1"} moreInfo: {"gameApplicationId":"e1e04a50-7a85-46b7-afea-9c4f83b9de8d","gameSpaceId":"aa6b1778-f274-4b52-8fce-f642173aa0e1"}, line: 1 00000012 1.14038515 [4720] D:\JenkinsWorkspace\workspace\client_build_installer\client\products\hub\hub\views\ConnectView.cpp(1259) : Console message, , Browser id: 13 https://overlay.cdn.ubisoft.com/default/assets/index-4de3d45c.js Shell/Configuration.reducer/[configuration] Micro App Configurations are loaded details: {"gameApplicationId":"e1e04a50-7a85-46b7-afea-9c4f83b9de8d","gameSpaceId":"aa6b1778-f274-4b52-8fce-f642173aa0e1"} moreInfo: {"gameApplicationId":"e1e04a50-7a85-46b7-afea-9c4f83b9de8d","gameSpaceId":"aa6b1778-f274-4b52-8fce-f642173aa0e1"}, line: 1 00000013 1.14140773 [28920] LiveSplit.exe Information: 0 : 00000014 1.14142668 [28920] [ASL/22411807] Init completed, running main methods 00000015 1.15494180 [28920] LiveSplit.exe Information: 0 : 00000016 1.15496767 [28920] [asl-help] Searching for module with name: UnityPlayer.dll... 00000017 1.16079772 [28920] LiveSplit.exe Information: 0 : 00000018 1.16081655 [28920] [asl-help] => Found UnityPlayer.dll. 00000019 1.16494668 [28920] LiveSplit.exe Information: 0 : 00000020 1.16496634 [28920] [asl-help] Looking for g_runtimeSceneManager... 00000021 1.21975684 [28920] LiveSplit.exe Information: 0 : 00000022 1.21978974 [28920] [asl-help] => Found at 0x7FFC96B2FEB0. 00000023 1.22031677 [28920] LiveSplit.exe Information: 0 : 00000024 1.22034156 [28920] [asl-help] => SceneManager will be available. 00000025 1.22040308 [28920] LiveSplit.exe Information: 0 : 00000026 1.22041929 [28920] [asl-help] Searching for module with names: mono.dll, mono-2.0-bdwgc.dll, GameAssembly.dll... 00000027 1.22432411 [28920] LiveSplit.exe Information: 0 : 00000028 1.22441983 [28920] [asl-help] => No module found yet. 00000029 1.22456026 [28920] LiveSplit.exe Information: 0 : 00000030 1.22466743 [28920] [asl-help] => Retrying 2 more times in 1000ms... 00000031 1.32553744 [28920] LiveSplit.exe Information: 0 : 00000032 1.32556355 [28920] [ASL/22411807] Running exit 00000033 1.33599234 [4720] D:\JenkinsWorkspace\workspace\client_build_installer\client\products\hub\hub\GameStartPipe.cpp(82) : Accepted connection. 00000034 1.33602536 [4720] D:\JenkinsWorkspace\workspace\client_build_installer\client\products\hub\hub\GameStartPipe.cpp(83) : Starting game session. 00000035 1.45574081 [4720] D:\JenkinsWorkspace\workspace\client_build_installer\client\products\hub\hub\views\StartView.cpp(921) : 00000036 1.77414405 [4720] D:\JenkinsWorkspace\workspace\client_build_installer\client\shared\libs\biz\misc\mg\biz\misc\AchievementsDownload.cpp(254) : Unknown file extension for achievement. 00000037 1.80495942 [4720] D:\JenkinsWorkspace\workspace\client_build_installer\client\shared\libs\biz\misc\mg\biz\misc\AchievementsRead.cpp(100) : Can't find achievement image, skipped (achievement id: 21, game id: 6145) 00000038 2.03324509 [4720] D:\JenkinsWorkspace\workspace\client_build_installer\client\shared\libs\biz\misc\mg\biz\misc\CloudSaveSyncGameStart.cpp(309) : Migrate to new cloud save system. 00000039 2.37327719 [4720] D:\JenkinsWorkspace\workspace\client_build_installer\client\shared\libs\biz\misc\mg\biz\misc\CloudSaveMigration.cpp(166) : There's no savegames to migrate. 00000040 2.41646934 [28920] LiveSplit.exe Information: 0 : 00000041 2.41654730 [28920] [ASL/22411807] Connected to game: TheLostCrown_plus (using default state descriptor) 00000042 2.41661549 [28920] LiveSplit.exe Information: 0 : 00000043 2.41667008 [28920] [ASL/22411807] Initializing 00000044 2.41790724 [28920] LiveSplit.exe Error: 0 : 00000045 2.41793752 [28920] Exception thrown: 'System.ComponentModel.Win32Exception' in 'init' method: 00000046 2.41793752 [28920] Only part of a ReadProcessMemory or WriteProcessMemory request was completed 00000047 2.41793752 [28920] 00000048 2.41793752 [28920] at ASL line 30 in 'init' 00000049 2.41793752 [28920] 00000050 2.41793752 [28920] at LiveSplit.ASL.ASLMethod.Call(LiveSplitState timer, ExpandoObject vars, String& version, Double& refreshRate, Object settings, ExpandoObject old, ExpandoObject current, Process game) 00000051 2.41793752 [28920] at LiveSplit.ASL.ASLScript.RunMethod(ASLMethod method, LiveSplitState state, String& version) 00000052 2.41793752 [28920] at LiveSplit.ASL.ASLScript.DoInit(LiveSplitState state) 00000053 2.41793752 [28920] at LiveSplit.UI.Components.ASLComponent.UpdateScript() 00000054 2.43429804 [28920] LiveSplit.exe Information: 0 : 00000055 2.43434811 [28920] [ASL/22411807] Initializing 00000056 2.43461728 [28920] LiveSplit.exe Error: 0 : 00000057 2.43463635 [28920] Exception thrown: 'System.ComponentModel.Win32Exception' in 'init' method: 00000058 2.43463635 [28920] Only part of a ReadProcessMemory or WriteProcessMemory request was completed 00000059 2.43463635 [28920] 00000060 2.43463635 [28920] at ASL line 30 in 'init' 00000061 2.43463635 [28920] 00000062 2.43463635 [28920] at LiveSplit.ASL.ASLMethod.Call(LiveSplitState timer, ExpandoObject vars, String& version, Double& refreshRate, Object settings, ExpandoObject old, ExpandoObject current, Process game) 00000063 2.43463635 [28920] at LiveSplit.ASL.ASLScript.RunMethod(ASLMethod method, LiveSplitState state, String& version) 00000064 2.43463635 [28920] at LiveSplit.ASL.ASLScript.DoInit(LiveSplitState state) 00000065 2.43463635 [28920] at LiveSplit.UI.Components.ASLComponent.UpdateScript() 00000066 2.45160604 [28920] LiveSplit.exe Information: 0 : 00000067 2.45163274 [28920] [ASL/22411807] Initializing 00000068 2.45893478 [28920] LiveSplit.exe Information: 0 : 00000069 2.45895624 [28920] [asl-help] Searching for module with name: UnityPlayer.dll... 00000070 2.45900416 [28920] LiveSplit.exe Information: 0 : 00000071 2.45902228 [28920] [ASL/22411807] Init completed, running main methods 00000072 2.45930743 [28920] LiveSplit.exe Information: 0 : 00000073 2.45932651 [28920] [asl-help] => Found UnityPlayer.dll. 00000074 2.45952010 [28920] LiveSplit.exe Information: 0 : 00000075 2.45954609 [28920] [asl-help] Looking for g_runtimeSceneManager... 00000076 2.46077251 [7820] D:\JenkinsWorkspace\workspace\client_build_installer\client\products\overlay\mg\overlay\Hooks.cpp(43) : --- Overlay started --- (C:\Program Files (x86)\Ubisoft\Ubisoft Game Launcher\games\Prince of Persia The Lost Crown\TheLostCrown_plus.exe) 00000077 2.50228667 [28920] LiveSplit.exe Information: 0 : 00000078 2.50231051 [28920] [asl-help] => Found at 0x7FFC96B2FEB0. 00000079 2.50233769 [28920] LiveSplit.exe Information: 0 : 00000080 2.50235629 [28920] [asl-help] => SceneManager will be available. 00000081 2.50239611 [28920] LiveSplit.exe Information: 0 : 00000082 2.50241876 [28920] [asl-help] Searching for module with names: mono.dll, mono-2.0-bdwgc.dll, GameAssembly.dll... 00000083 2.50705075 [28920] LiveSplit.exe Information: 0 : 00000084 2.50707793 [28920] [asl-help] => No module found yet. 00000085 2.50710368 [28920] LiveSplit.exe Information: 0 : 00000086 2.50712538 [28920] [asl-help] => Retrying 2 more times in 1000ms... 00000087 2.55469656 [7820] D:\JenkinsWorkspace\workspace\client_build_installer\client\products\overlay\mg\overlay\win\PlatformHooks.cpp(150) : 'kernel32.dll' hooked 00000088 2.59747648 [7820] D:\JenkinsWorkspace\workspace\client_build_installer\client\products\overlay\mg\overlay\win\PlatformHooks.cpp(150) : 'kernel32.dll' hooked 00000089 2.64008522 [7820] D:\JenkinsWorkspace\workspace\client_build_installer\client\products\overlay\mg\overlay\win\PlatformHooks.cpp(150) : 'shell32.dll' hooked 00000090 2.68206835 [7820] D:\JenkinsWorkspace\workspace\client_build_installer\client\products\overlay\mg\overlay\win\PlatformHooks.cpp(150) : 'xinput9_1_0.dll' hooked 00000091 2.72511959 [7820] D:\JenkinsWorkspace\workspace\client_build_installer\client\products\overlay\mg\overlay\win\PlatformHooks.cpp(150) : 'dxgi.dll' hooked 00000092 2.76680350 [7820] D:\JenkinsWorkspace\workspace\client_build_installer\client\products\overlay\mg\overlay\win\PlatformHooks.cpp(150) : 'd3d9.dll' hooked 00000093 2.81013489 [7820] D:\JenkinsWorkspace\workspace\client_build_installer\client\products\overlay\mg\overlay\win\PlatformHooks.cpp(150) : 'user32.dll' hooked 00000094 2.85239720 [7820] D:\JenkinsWorkspace\workspace\client_build_installer\client\products\overlay\mg\overlay\win\PlatformHooks.cpp(150) : 'KernelBase.dll' hooked 00000095 2.89516211 [7820] D:\JenkinsWorkspace\workspace\client_build_installer\client\products\overlay\mg\overlay\win\PlatformHooks.cpp(150) : 'CfgMgr32.dll' hooked 00000096 2.93690968 [7820] D:\JenkinsWorkspace\workspace\client_build_installer\client\products\overlay\mg\overlay\win\PlatformHooks.cpp(150) : 'ole32.dll' hooked 00000097 3.41842270 [7820] D:\JenkinsWorkspace\workspace\client_build_installer\client\shared\libs\virtualgamepad\mg\virtualgamepad\VirtualGamePadsManagerImpl.cpp(592) : Registering Win32 device change for hwnd 3418768, notification: 0 00000098 3.53111362 [28920] LiveSplit.exe Information: 0 : 00000099 3.53113317 [28920] [asl-help] => No module found yet. 00000100 3.53115797 [28920] LiveSplit.exe Information: 0 : ... (76 KB left)

On Wed, Jan 17, 2024 at 2:40 PM Zack Augustus @.***> wrote:

i got this error earlier [image: image.png] maybe it helps

On Wed, Jan 17, 2024 at 2:30 PM dotneB @.***> wrote:

Here's some more info related to TheLostCrown_plus.exe vs TheLostCrown.exe

Launching the game and LiveSplit as is, I get this in DebugView, the process running is TheLostCrown_plus.exe

00000020 13.87389088 [49668] [ASL/21644229] Running shutdown
00000025 16.75054359 [49668] LiveSplit.exe Information: 0 :
00000026 16.75055313 [49668] [ASL] Loading new script: G:_LiveSplit\Components\POPTLC.asl
00000032 17.41791916 [49668] LiveSplit.exe Information: 0 :
00000033 17.41793251 [49668] [ASL/19411308] Running startup
00000034 17.45189095 [49668] LiveSplit.exe Information: 0 :
00000035 17.45191193 [49668] Thank you for using asl-help, created by Ero! For more information, see https://github.com/just-ero/asl-help.
00000036 17.45191193 [49668] This library contains many features created for helping out ASL developers.
00000037 17.45191193 [49668]
00000038 17.45191193 [49668] If you would like to opt out of code generation, please use the following code in 'startup {}' instead.
00000039 17.45191193 [49668] Make sure to call GetType() with the name of the specific helper you would like to use.
00000040 17.45191193 [49668] var type = Assembly.Load(File.ReadAllBytes(@"Components\asl-help")).GetType("Basic");
00000041 17.45191193 [49668] vars.Helper = Activator.CreateInstance(type, args: false);
00000042 17.45191193 [49668]
00000043 17.45191193 [49668] If you have any questions, please tag @Ero#1111 in the #auto-splitters channel
00000044 17.45191193 [49668] of the Speedrun Tool Development Discord server: https://discord.gg/cpYsxz7.
00000045 17.45198250 [49668] LiveSplit.exe Information: 0 :
00000046 17.45199394 [49668] [asl-help]
00000047 17.45238113 [49668] LiveSplit.exe Information: 0 :
00000048 17.45258713 [49668] [asl-help] Loading asl-help...
00000049 17.45267105 [49668] LiveSplit.exe Information: 0 :
00000050 17.45277596 [49668] [asl-help] => Generating code...
00000051 17.45408440 [49668] LiveSplit.exe Information: 0 :
00000052 17.45409584 [49668] [asl-help] => Set helper to vars.Helper.
00000053 17.45458984 [49668] LiveSplit.exe Information: 0 :
00000054 17.45460320 [49668] [asl-help] => Created the Action vars.Log.
00000059 17.55302429 [49668] LiveSplit.exe Information: 0 :
00000060 17.55303764 [49668] [asl-help] => Added the following code to the beginning of shutdown:
00000061 17.55305481 [49668] LiveSplit.exe Information: 0 :
00000062 17.55306435 [49668] [asl-help] vars.Helper.Dispose();
00000063 17.65870476 [49668] LiveSplit.exe Information: 0 :
00000064 17.65872383 [49668] [asl-help] => Added the following code to the end of init:
00000065 17.65873909 [49668] LiveSplit.exe Information: 0 :
00000066 17.65874863 [49668] [asl-help] vars.Helper.Load();
00000067 17.75064278 [49668] LiveSplit.exe Information: 0 :
00000068 17.75067329 [49668] [asl-help] => Added the following code to the beginning of update:
00000069 17.75070190 [49668] LiveSplit.exe Information: 0 :
00000070 17.75071335 [49668] [asl-help] if (!vars.Helper.Loaded) return false; vars.Helper.MapPointers();
00000071 17.84193993 [49668] LiveSplit.exe Information: 0 :
00000072 17.84195900 [49668] [asl-help] => Added the following code to the beginning of exit:
00000073 17.84197235 [49668] LiveSplit.exe Information: 0 :
00000074 17.84198189 [49668] [asl-help] vars.Helper.Dispose();
00000075 17.84206390 [49668] LiveSplit.exe Information: 0 :
00000076 17.84207726 [49668] [asl-help] => Unity features will be available.
00000077 17.84486198 [49668] LiveSplit.exe Information: 0 :
00000078 17.84488106 [49668] [asl-help] => Will try to load SceneManager.

First dumb test I did was, renaming it to TheLostCrown_plus.exe.bak, but the game doesn't launch, so TheLostCrown.exe is just a wrapper?

00009781 140.02029419 [49668] LiveSplit.exe Information: 0 :
00009782 140.02032471 [49668] [ASL/19411308] Connected to game: TheLostCrown (using default state descriptor)
00009783 140.02088928 [49668] LiveSplit.exe Information: 0 :
00009784 140.02090454 [49668] [ASL/19411308] Initializing
00009785 140.03350830 [49668] LiveSplit.exe Information: 0 :
00009786 140.03353882 [49668] [ASL/19411308] Init completed, running main methods
00009787 140.04164124 [49668] LiveSplit.exe Information: 0 :
00009788 140.04165649 [49668] [asl-help] Searching for module with name: UnityPlayer.dll...
00009789 140.04550171 [49668] LiveSplit.exe Information: 0 :
00009790 140.04553223 [49668] [asl-help] => Found UnityPlayer.dll.
00009791 140.04762268 [49668] LiveSplit.exe Information: 0 :
00009792 140.04762268 [49668] [asl-help] Looking for g_runtimeSceneManager...
00009793 140.08558655 [49668] LiveSplit.exe Information: 0 :
00009794 140.08560181 [49668] [asl-help] => Found at 0x7FFB8E3CFEB0.
00009795 140.08598328 [49668] LiveSplit.exe Information: 0 :
00009796 140.08599854 [49668] [asl-help] => SceneManager will be available.
00009797 140.08605957 [49668] LiveSplit.exe Information: 0 :
00009798 140.08607483 [49668] [asl-help] Searching for module with names: mono.dll, mono-2.0-bdwgc.dll, GameAssembly.dll...
00009799 140.08741760 [49668] LiveSplit.exe Information: 0 :
00009800 140.08741760 [49668] [asl-help] => Found GameAssembly.dll.
00009801 140.08845520 [49668] LiveSplit.exe Information: 0 :
00009802 140.08845520 [49668] [asl-help] Retrieving Unity version...
00009803 140.08917236 [49668] LiveSplit.exe Information: 0 :
00009804 140.08917236 [49668] [asl-help] => Unity 2021.3.29f1.
00009805 140.08918762 [49668] LiveSplit.exe Information: 0 :
00009806 140.08920288 [49668] [asl-help] => Doesn't look right? You can set the helper's UnityVersion manually in 'startup {}':
00009807 140.08921814 [49668] LiveSplit.exe Information: 0 :
00009808 140.08923340 [49668] [asl-help] vars.Helper.UnityVersion = new Version(2017, 2);
00009809 140.08973694 [49668] LiveSplit.exe Information: 0 :
00009810 140.08975220 [49668] [asl-help] Retrieving IL2CPP version...
00009811 140.09001160 [49668] LiveSplit.exe Information: 0 :
00009812 140.09002686 [49668] [asl-help] => IL2CPP 29.
00009813 140.09368896 [49668] LiveSplit.exe Information: 0 :
00009814 140.09370422 [49668] [asl-help] Loading Unity il2cpp.2020 structs...
00009815 140.11734009 [49668] LiveSplit.exe Information: 0 :
00009816 140.11737061 [49668] [asl-help] => Success.
00009817 140.11744690 [49668] LiveSplit.exe Information: 0 :
00009818 140.11746216 [49668] [asl-help]
00009819 140.12271118 [49668] LiveSplit.exe Information: 0 :
00009820 140.12274170 [49668] [asl-help] Executing TryLoad...
00009821 140.13388062 [49668] LiveSplit.exe Information: 0 :
00009822 140.13388062 [49668] [asl-help] Searching for image 'Alkawa.Gameplay'...
00009823 140.17259216 [49668] LiveSplit.exe Information: 0 :
00009824 140.17274475 [49668] [asl-help] Aborting due to error.
00009825 140.17274475 [49668] AslHelp.MemUtils.Exceptions.FatalNotFoundException: Could not find assemblies table!
00009826 140.17274475 [49668] at AslHelp.Mono.Managers.Il2CppManager.FindAssemblies()
00009827 140.17274475 [49668] at AslHelp.Mono.Managers.Il2CppManager.d6.MoveNext()
00009828 140.17274475 [49668] at AslHelp.Mono.Models.ImageCache.d
2.MoveNext()
00009829 140.17274475 [49668] at AslHelp.Collections.CachedEnumerable2.TryGetValue(TKey key, TValue& value) 00009830 140.17274475 [49668] at AslHelp.Mono.Models.ImageCache.get_Item(String imageName) 00009831 140.17274475 [49668] at CallSite.Target(Closure , CallSite , Object , String , String ) 00009832 140.17274475 [49668] at System.Dynamic.UpdateDelegates.UpdateAndExecute3[T0,T1,T2,TRet](CallSite site, T0 arg0, T1 arg1, T2 arg2) 00009833 140.17274475 [49668] at CompiledScript.<>c__DisplayClass6c.<Execute>b__69(Object mono) in c:\Users\benoi\AppData\Local\Temp\zwktdnhf.0.cs:line 72 00009834 140.17274475 [49668] at AslHelp.HelperBase1.b__32_0(TaskBuilderContext1 ctx) 00009835 140.17274475 [49668] at AslHelp.Tasks.BuilderFunc1.Invoke(TaskBuilderContext1 ctx, Object[] args) 00009836 140.17274475 [49668] at AslHelp.Tasks.TaskBuilder1.<AslHelp-Tasks-IFinalizeStage-RunAsync>d25.MoveNext()
00009837 140.17274475 [49668] --- End of stack trace from previous location where exception was thrown ---
00009838 140.17274475 [49668] at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
00009839 140.17274475 [49668] at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
00009840 140.17274475 [49668] at AslHelp.HelperBase`1.d
32.MoveNext()
00009841 140.17274475 [49668] --- End of stack trace from previous location where exception was thrown ---
00009842 140.17274475 [49668] at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
00009843 140.17274475 [49668] at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
00009844 140.17274475 [49668] at AslHelp.HelperBase`1.<b__31_0>d.MoveNext()
00009845 140.17312622 [49668] LiveSplit.exe Information: 0 :
00009846 140.17314148 [49668] [ASL/19411308] Running exit

In a quick test, I opened POPTLC.asl and modified the first line to state("TheLostCrown_plus") { } These logs seems to indicate that it's picking the game up, but still has errors, might be that the offsets are different for that binary or something like that?

00023740 253.31269836 [49668] LiveSplit.exe Information: 0 :
00023741 253.31269836 [49668] [ASL/19411308] Running shutdown
00023742 253.32302856 [49668] LiveSplit.exe Information: 0 :
00023743 253.32305908 [49668] [ASL] Loading new script: G:_LiveSplit\Components\POPTLC.asl
00023744 253.97235107 [49668] LiveSplit.exe Information: 0 :
00023745 253.97235107 [49668] [ASL/36554565] Running startup
00023747 254.00637817 [49668] LiveSplit.exe Information: 0 :
00023748 254.00645447 [49668] Thank you for using asl-help, created by Ero! For more information, see https://github.com/just-ero/asl-help.
00023749 254.00645447 [49668] This library contains many features created for helping out ASL developers.
00023750 254.00645447 [49668]
00023751 254.00645447 [49668] If you would like to opt out of code generation, please use the following code in 'startup {}' instead.
00023752 254.00645447 [49668] Make sure to call GetType() with the name of the specific helper you would like to use.
00023753 254.00645447 [49668] var type = Assembly.Load(File.ReadAllBytes(@"Components\asl-help")).GetType("Basic");
00023754 254.00645447 [49668] vars.Helper = Activator.CreateInstance(type, args: false);
00023755 254.00645447 [49668]
00023756 254.00645447 [49668] If you have any questions, please tag @Ero#1111 in the #auto-splitters channel
00023757 254.00645447 [49668] of the Speedrun Tool Development Discord server: https://discord.gg/cpYsxz7.
00023758 254.00653076 [49668] LiveSplit.exe Information: 0 :
00023759 254.00653076 [49668] [asl-help]
00023760 254.00675964 [49668] LiveSplit.exe Information: 0 :
00023761 254.00680542 [49668] [asl-help] Loading asl-help...
00023762 254.00691223 [49668] LiveSplit.exe Information: 0 :
00023763 254.00709534 [49668] [asl-help] => Generating code...
00023764 254.00862122 [49668] LiveSplit.exe Information: 0 :
00023765 254.00865173 [49668] [asl-help] => Set helper to vars.Helper.
00023766 254.00910950 [49668] LiveSplit.exe Information: 0 :
00023767 254.00914001 [49668] [asl-help] => Created the Action vars.Log.
00023768 254.12446594 [49668] LiveSplit.exe Information: 0 :
00023769 254.12449646 [49668] [asl-help] => Added the following code to the beginning of shutdown:
00023770 254.12451172 [49668] LiveSplit.exe Information: 0 :
00023771 254.12454224 [49668] [asl-help] vars.Helper.Dispose();
00023772 254.22418213 [49668] LiveSplit.exe Information: 0 :
00023773 254.22419739 [49668] [asl-help] => Added the following code to the end of init:
00023774 254.22422791 [49668] LiveSplit.exe Information: 0 :
00023775 254.22422791 [49668] [asl-help] vars.Helper.Load();
00023776 254.32557678 [49668] LiveSplit.exe Information: 0 :
00023777 254.32557678 [49668] [asl-help] => Added the following code to the beginning of update:
00023778 254.32560730 [49668] LiveSplit.exe Information: 0 :
00023779 254.32565308 [49668] [asl-help] if (!vars.Helper.Loaded) return false; vars.Helper.MapPointers();
00023780 254.47091675 [49668] LiveSplit.exe Information: 0 :
00023781 254.47485352 [49668] [asl-help] => Added the following code to the beginning of exit:
00023782 254.47631836 [49668] LiveSplit.exe Information: 0 :
00023783 254.48353577 [49668] [asl-help] vars.Helper.Dispose();
00023784 254.48583984 [49668] LiveSplit.exe Information: 0 :
00023785 254.49098206 [49668] [asl-help] => Unity features will be available.
00023786 254.49320984 [49668] LiveSplit.exe Information: 0 :
00023787 254.49482727 [49668] [asl-help] => Will try to load SceneManager.
00023807 262.96136475 [49668] LiveSplit.exe Information: 0 :
00023808 262.96139526 [49668] [ASL/36554565] Connected to game: TheLostCrown_plus (using default state descriptor)
00023809 262.96139526 [49668] LiveSplit.exe Information: 0 :
00023810 262.96142578 [49668] [ASL/36554565] Initializing
00023811 262.96774292 [49668] LiveSplit.exe Error: 0 :
00023812 262.96777344 [49668] Exception thrown: 'System.ComponentModel.Win32Exception' in 'init' method:
00023813 262.96777344 [49668] Only part of a ReadProcessMemory or WriteProcessMemory request was completed
00023814 262.96777344 [49668]
00023815 262.96777344 [49668] at ASL line 30 in 'init' 00023816 262.96777344 [49668]
00023817 262.96777344 [49668] at LiveSplit.ASL.ASLMethod.Call(LiveSplitState timer, ExpandoObject vars, String& version, Double& refreshRate, Object settings, ExpandoObject old, ExpandoObject current, Process game)
00023818 262.96777344 [49668] at LiveSplit.ASL.ASLScript.RunMethod(ASLMethod method, LiveSplitState state, String& version)
00023819 262.96777344 [49668] at LiveSplit.ASL.ASLScript.DoInit(LiveSplitState state)
00023820 262.96777344 [49668] at LiveSplit.UI.Components.ASLComponent.UpdateScript()
00023821 262.98538208 [49668] LiveSplit.exe Information: 0 :
00023822 262.98538208 [49668] [ASL/36554565] Initializing
00023823 262.99203491 [49668] LiveSplit.exe Information: 0 :
00023824 262.99206543 [49668] [ASL/36554565] Init completed, running main methods
00023825 263.00076294 [49668] LiveSplit.exe Information: 0 :
00023826 263.00079346 [49668] [asl-help] Searching for module with name: UnityPlayer.dll...
00023828 263.00509644 [49668] LiveSplit.exe Information: 0 :
00023829 263.00509644 [49668] [asl-help] => Found UnityPlayer.dll.
00023830 263.00747681 [49668] LiveSplit.exe Information: 0 :
00023831 263.00747681 [49668] [asl-help] Looking for g_runtimeSceneManager...
00023832 263.04055786 [49668] LiveSplit.exe Information: 0 :
00023833 263.04055786 [49668] [asl-help] => Found at 0x7FFB8E3CFEB0.
00023834 263.04092407 [49668] LiveSplit.exe Information: 0 :
00023835 263.04095459 [49668] [asl-help] => SceneManager will be available.
00023836 263.04098511 [49668] LiveSplit.exe Information: 0 :
00023837 263.04098511 [49668] [asl-help] Searching for module with names: mono.dll, mono-2.0-bdwgc.dll, GameAssembly.dll...
00023838 263.04254150 [49668] LiveSplit.exe Information: 0 :
00023839 263.04257202 [49668] [asl-help] => No module found yet.
00023840 263.04257202 [49668] LiveSplit.exe Information: 0 :
00023841 263.04257202 [49668] [asl-help] => Retrying 2 more times in 1000ms...
00023842 263.12567139 [49668] LiveSplit.exe Information: 0 :
00023843 263.12573242 [49668] [ASL/36554565] Running exit
00028441 266.36740112 [49668] LiveSplit.exe Information: 0 :
00028442 266.36752319 [49668] [ASL/36554565] Connected to game: TheLostCrown_plus (using default state descriptor)
00028443 266.36801147 [49668] LiveSplit.exe Information: 0 :
00028444 266.36813354 [49668] [ASL/36554565] Initializing
00028445 266.36828613 [49668] LiveSplit.exe Error: 0 :
00028446 266.36831665 [49668] Exception thrown: 'System.ComponentModel.Win32Exception' in 'init' method:
00028447 266.36831665 [49668] Only part of a ReadProcessMemory or WriteProcessMemory request was completed
00028448 266.36831665 [49668]
00028449 266.36831665 [49668] at ASL line 30 in 'init' 00028450 266.36831665 [49668]
00028451 266.36831665 [49668] at LiveSplit.ASL.ASLMethod.Call(LiveSplitState timer, ExpandoObject vars, String& version, Double& refreshRate, Object settings, ExpandoObject old, ExpandoObject current, Process game)
00028452 266.36831665 [49668] at LiveSplit.ASL.ASLScript.RunMethod(ASLMethod method, LiveSplitState state, String& version)
00028453 266.36831665 [49668] at LiveSplit.ASL.ASLScript.DoInit(LiveSplitState state)
00028454 266.36831665 [49668] at LiveSplit.UI.Components.ASLComponent.UpdateScript()
00028455 266.37509155 [49668] LiveSplit.exe Information: 0 :
00028456 266.37512207 [49668] [ASL/36554565] Initializing
00028457 266.37527466 [49668] LiveSplit.exe Error: 0 :
00028458 266.37527466 [49668] Exception thrown: 'System.ComponentModel.Win32Exception' in 'init' method:
00028459 266.37527466 [49668] Only part of a ReadProcessMemory or WriteProcessMemory request was completed
00028460 266.37527466 [49668]
00028461 266.37527466 [49668] at ASL line 30 in 'init' 00028462 266.37527466 [49668]
00028463 266.37527466 [49668] at LiveSplit.ASL.ASLMethod.Call(LiveSplitState timer, ExpandoObject vars, String& version, Double& refreshRate, Object settings, ExpandoObject old, ExpandoObject current, Process game)
00028464 266.37527466 [49668] at LiveSplit.ASL.ASLScript.RunMethod(ASLMethod method, LiveSplitState state, String& version)
00028465 266.37527466 [49668] at LiveSplit.ASL.ASLScript.DoInit(LiveSplitState state)
00028466 266.37527466 [49668] at LiveSplit.UI.Components.ASLComponent.UpdateScript()
00028467 266.39065552 [49668] LiveSplit.exe Information: 0 :
00028468 266.39068604 [49668] [ASL/36554565] Initializing
00028469 266.39089966 [49668] LiveSplit.exe Error: 0 :
00028470 266.39089966 [49668] Exception thrown: 'System.ComponentModel.Win32Exception' in 'init' method:
00028471 266.39089966 [49668] Only part of a ReadProcessMemory or WriteProcessMemory request was completed
00028472 266.39089966 [49668]
00028473 266.39089966 [49668] at ASL line 30 in 'init' 00028474 266.39089966 [49668]
00028475 266.39089966 [49668] at LiveSplit.ASL.ASLMethod.Call(LiveSplitState timer, ExpandoObject vars, String& version, Double& refreshRate, Object settings, ExpandoObject old, ExpandoObject current, Process game)
00028476 266.39089966 [49668] at LiveSplit.ASL.ASLScript.RunMethod(ASLMethod method, LiveSplitState state, String& version)
00028477 266.39089966 [49668] at LiveSplit.ASL.ASLScript.DoInit(LiveSplitState state)
00028478 266.39089966 [49668] at LiveSplit.UI.Components.ASLComponent.UpdateScript()
00028479 266.40731812 [49668] LiveSplit.exe Information: 0 :
00028480 266.40734863 [49668] [ASL/36554565] Initializing
00028482 266.41186523 [49668] LiveSplit.exe Information: 0 :
00028483 266.41186523 [49668] [ASL/36554565] Init completed, running main methods
00028484 266.41207886 [49668] LiveSplit.exe Information: 0 :
00028485 266.41213989 [49668] [asl-help] Searching for module with name: UnityPlayer.dll...
00028486 266.41241455 [49668] LiveSplit.exe Information: 0 :
00028487 266.41244507 [49668] [asl-help] => Found UnityPlayer.dll.
00028488 266.41250610 [49668] LiveSplit.exe Information: 0 :
00028489 266.41259766 [49668] [asl-help] Looking for g_runtimeSceneManager...
00028490 266.45074463 [49668] LiveSplit.exe Information: 0 :
00028491 266.45550537 [49668] [asl-help] => Found at 0x7FFB8E3CFEB0.
00028492 266.45635986 [49668] LiveSplit.exe Information: 0 :
00028493 266.45809937 [49668] [asl-help] => SceneManager will be available.
00028494 266.45892334 [49668] LiveSplit.exe Information: 0 :
00028495 266.45980835 [49668] [asl-help] Searching for module with names: mono.dll, mono-2.0-bdwgc.dll, GameAssembly.dll...
00028496 266.46151733 [49668] LiveSplit.exe Information: 0 :
00028497 266.46154785 [49668] [asl-help] => No module found yet.
00028498 266.46157837 [49668] LiveSplit.exe Information: 0 :
00028499 266.46157837 [49668] [asl-help] => Retrying 2 more times in 1000ms...
00028512 267.47561646 [49668] LiveSplit.exe Information: 0 :
00028513 267.47567749 [49668] [asl-help] => No module found yet.
00028514 267.47579956 [49668] LiveSplit.exe Information: 0 :
00028515 267.47579956 [49668] [asl-help] => Retrying 1 more time in 1000ms...
00028527 268.49145508 [49668] LiveSplit.exe Information: 0 :
00028528 268.49145508 [49668] [asl-help] => No module found yet.
00028529 268.49215698 [49668] LiveSplit.exe Information: 0 :
00028530 268.49218750 [49668] [asl-help] Aborting due to error.
00028531 268.49218750 [49668] AslHelp.MemUtils.Exceptions.FatalNotFoundException: Mono module was not found.
00028532 268.49218750 [49668] at Unity.MakeManager()
00028533 268.49218750 [49668] at AslHelp.HelperBase`1.<b__31_0>d.MoveNext()
00036976 340.81619263 [49668] LiveSplit.exe Information: 0 :
00036977 340.81649780 [49668] [ASL/36554565] Running exit

— Reply to this email directly, view it on GitHub https://github.com/LiterallyMetaphorical/LiveSplit.POPTLC/issues/9#issuecomment-1896398945, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEVYIBXPMPC2YFE42JNZDNLYPAKF5AVCNFSM6AAAAABB5B3RSGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOJWGM4TQOJUGU . You are receiving this because you authored the thread.Message ID: @.***>

zaxxorr commented 8 months ago

On Wed, Jan 17, 2024 at 2:41 PM Zack Augustus @.***> wrote:

00000001 0.00000000 [4720] D:\JenkinsWorkspace\workspace\client_build_installer\client\products\hub\hub\views\ConnectView.cpp(1259) : Console message, , Browser id: 13 https://overlay.cdn.ubisoft.com/default/assets/index-4de3d45c.js Shell/MicroApps.reducer/[microAppLifecycle] Deactivating microApp spotlight in modal, line: 1 00000002 0.00017640 [4720] D:\JenkinsWorkspace\workspace\client_build_installer\client\products\hub\hub\views\ConnectView.cpp(1259) : Console message, , Browser id: 13 https://overlay.cdn.ubisoft.com/default/assets/index-4de3d45c.js Shell/LifeGuard/[microAppLifecycle] Request deactivation for spotlight details: {"moreInfo":{"appConfig":{"appName":"spotlight","bundleUrl":" https://spotlight.cdn.ubisoft.com/prod/app/bundle.js","manifestUrl":" https://spotlight.cdn.ubisoft.com/prod/app/manifest.json ","spaceId":"eab7865a-4192-494d-bf85-ba08e76182f8","meta":{"iconUrl":" https://ubiservices.cdn.ubi.com/eab7865a-4192-494d-bf85-ba08e76182f8/spaceCardAsset/icon2.svg","label":"Spotlight"},"preload":false,"parentAppName":null,"order":3,"defaultPlacement":"modal","allowedPlacements":["modal"],"placement":"modal","isHidden":true},"version":"0.0.21"},"version":"0.0.21"} moreInfo: {"appConfig":{"appName":"spotlight","bundleUrl":" https://spotlight.cdn.ubisoft.com/prod/app/bundle.js","manifestUrl":" https://spotlight.cdn.ubisoft.com/prod/app/manifest.json ","spaceId":"eab7865a-4192-494d-bf85-ba08e76182f8","meta":{"iconUrl":" https://ubiservices.cdn.ubi.com/eab7865a-4192-494d-bf85-ba08e76182f8/spaceCardAsset/icon2.svg","label":"Spotlight"},"preload":false,"parentAppName":null,"order":3,"defaultPlacement":"modal","allowedPlacements":["modal"],"placement":"modal","isHidden":true},"version":"0.0.21"}, line: 1 00000003 0.00424250 [4720] D:\JenkinsWorkspace\workspace\client_build_installer\client\products\hub\hub\views\ConnectView.cpp(1259) : Console message, , Browser id: 13 https://overlay.cdn.ubisoft.com/default/assets/index-4de3d45c.js Shell/LifeGuard/[microAppLifecycle] Blur spotlight. details: {"moreInfo":{"appConfig":{"appName":"spotlight","bundleUrl":" https://spotlight.cdn.ubisoft.com/prod/app/bundle.js","manifestUrl":" https://spotlight.cdn.ubisoft.com/prod/app/manifest.json ","spaceId":"eab7865a-4192-494d-bf85-ba08e76182f8","meta":{"iconUrl":" https://ubiservices.cdn.ubi.com/eab7865a-4192-494d-bf85-ba08e76182f8/spaceCardAsset/icon2.svg","label":"Spotlight"},"preload":false,"parentAppName":null,"order":3,"defaultPlacement":"modal","allowedPlacements":["modal"],"placement":"modal","isHidden":true},"version":"0.0.21"},"version":"0.0.21"} moreInfo: {"appConfig":{"appName":"spotlight","bundleUrl":" https://spotlight.cdn.ubisoft.com/prod/app/bundle.js","manifestUrl":" https://spotlight.cdn.ubisoft.com/prod/app/manifest.json ","spaceId":"eab7865a-4192-494d-bf85-ba08e76182f8","meta":{"iconUrl":" https://ubiservices.cdn.ubi.com/eab7865a-4192-494d-bf85-ba08e76182f8/spaceCardAsset/icon2.svg","label":"Spotlight"},"preload":false,"parentAppName":null,"order":3,"defaultPlacement":"modal","allowedPlacements":["modal"],"placement":"modal","isHidden":true},"version":"0.0.21"}, line: 1 00000004 0.01130570 [4720] D:\JenkinsWorkspace\workspace\client_build_installer\client\products\hub\hub\views\ConnectView.cpp(1259) : Console message, , Browser id: 13 https://overlay.cdn.ubisoft.com/default/assets/index-4de3d45c.js Shell/LifeGuard/[microAppLifecycle] Deactivating spotlight. details: {"moreInfo":{"appConfig":{"appName":"spotlight","bundleUrl":" https://spotlight.cdn.ubisoft.com/prod/app/bundle.js","manifestUrl":" https://spotlight.cdn.ubisoft.com/prod/app/manifest.json ","spaceId":"eab7865a-4192-494d-bf85-ba08e76182f8","meta":{"iconUrl":" https://ubiservices.cdn.ubi.com/eab7865a-4192-494d-bf85-ba08e76182f8/spaceCardAsset/icon2.svg","label":"Spotlight"},"preload":false,"parentAppName":null,"order":3,"defaultPlacement":"modal","allowedPlacements":["modal"],"placement":"modal","isHidden":true},"version":"0.0.21"},"version":"0.0.21"} moreInfo: {"appConfig":{"appName":"spotlight","bundleUrl":" https://spotlight.cdn.ubisoft.com/prod/app/bundle.js","manifestUrl":" https://spotlight.cdn.ubisoft.com/prod/app/manifest.json ","spaceId":"eab7865a-4192-494d-bf85-ba08e76182f8","meta":{"iconUrl":" https://ubiservices.cdn.ubi.com/eab7865a-4192-494d-bf85-ba08e76182f8/spaceCardAsset/icon2.svg","label":"Spotlight"},"preload":false,"parentAppName":null,"order":3,"defaultPlacement":"modal","allowedPlacements":["modal"],"placement":"modal","isHidden":true},"version":"0.0.21"}, line: 1 00000005 0.01153790 [4720] D:\JenkinsWorkspace\workspace\client_build_installer\client\products\hub\hub\views\ConnectView.cpp(1259) : Console message, , Browser id: 13 https://overlay.cdn.ubisoft.com/default/assets/index-4de3d45c.js Shell/MicroApps.reducer/[microAppLifecycle] MicroApp spotlight in modal was deactivated, line: 1 00000006 0.04046120 [4720] D:\JenkinsWorkspace\workspace\client_build_installer\client\products\hub\hub\views\ConnectView.cpp(1259) : Console message, , Browser id: 13 https://overlay.cdn.ubisoft.com/default/assets/index-4de3d45c.js Shell/LifeGuard/[microAppLifecycle] Focusing app-product-details. details: {"moreInfo":{"appConfig":{"appName":"app-product-details","bundleUrl":" https://product-details.cdn.ubisoft.com/1.54.0/app-product-details.umd.min.js ","manifestUrl":" https://product-details.cdn.ubisoft.com/1.54.0/manifest.json ","spaceId":"bac50b92-3a1e-48c2-a27d-59c8d9ad1179","meta":{"iconUrl":" https://ubiservices.cdn.ubi.com/bac50b92-3a1e-48c2-a27d-59c8d9ad1179/spaceCardAsset/product-details-icon.svg","label":"Library"},"preload":true,"parentAppName":null,"order":10,"placement":"main","isHidden":true},"version":"1.54.0"},"version":"1.54.0"} moreInfo: {"appConfig":{"appName":"app-product-details","bundleUrl":" https://product-details.cdn.ubisoft.com/1.54.0/app-product-details.umd.min.js ","manifestUrl":" https://product-details.cdn.ubisoft.com/1.54.0/manifest.json ","spaceId":"bac50b92-3a1e-48c2-a27d-59c8d9ad1179","meta":{"iconUrl":" https://ubiservices.cdn.ubi.com/bac50b92-3a1e-48c2-a27d-59c8d9ad1179/spaceCardAsset/product-details-icon.svg","label":"Library"},"preload":true,"parentAppName":null,"order":10,"placement":"main","isHidden":true},"version":"1.54.0"}, line: 1 00000007 1.12294233 [28920] LiveSplit.exe Information: 0 : 00000008 1.12301934 [28920] [ASL/22411807] Connected to game: TheLostCrown_plus (using default state descriptor) 00000009 1.12303567 [28920] LiveSplit.exe Information: 0 : 00000010 1.12307096 [28920] [ASL/22411807] Initializing 00000011 1.14003825 [4720] D:\JenkinsWorkspace\workspace\client_build_installer\client\products\hub\hub\views\ConnectView.cpp(1259) : Console message, , Browser id: 13 https://overlay.cdn.ubisoft.com/default/assets/index-4de3d45c.js Shell/Configuration.reducer/[configuration] Micro App Configurations are loaded details: {"gameApplicationId":"e1e04a50-7a85-46b7-afea-9c4f83b9de8d","gameSpaceId":"aa6b1778-f274-4b52-8fce-f642173aa0e1"} moreInfo: {"gameApplicationId":"e1e04a50-7a85-46b7-afea-9c4f83b9de8d","gameSpaceId":"aa6b1778-f274-4b52-8fce-f642173aa0e1"}, line: 1 00000012 1.14038515 [4720] D:\JenkinsWorkspace\workspace\client_build_installer\client\products\hub\hub\views\ConnectView.cpp(1259) : Console message, , Browser id: 13 https://overlay.cdn.ubisoft.com/default/assets/index-4de3d45c.js Shell/Configuration.reducer/[configuration] Micro App Configurations are loaded details: {"gameApplicationId":"e1e04a50-7a85-46b7-afea-9c4f83b9de8d","gameSpaceId":"aa6b1778-f274-4b52-8fce-f642173aa0e1"} moreInfo: {"gameApplicationId":"e1e04a50-7a85-46b7-afea-9c4f83b9de8d","gameSpaceId":"aa6b1778-f274-4b52-8fce-f642173aa0e1"}, line: 1 00000013 1.14140773 [28920] LiveSplit.exe Information: 0 : 00000014 1.14142668 [28920] [ASL/22411807] Init completed, running main methods 00000015 1.15494180 [28920] LiveSplit.exe Information: 0 : 00000016 1.15496767 [28920] [asl-help] Searching for module with name: UnityPlayer.dll... 00000017 1.16079772 [28920] LiveSplit.exe Information: 0 : 00000018 1.16081655 [28920] [asl-help] => Found UnityPlayer.dll. 00000019 1.16494668 [28920] LiveSplit.exe Information: 0 : 00000020 1.16496634 [28920] [asl-help] Looking for g_runtimeSceneManager... 00000021 1.21975684 [28920] LiveSplit.exe Information: 0 : 00000022 1.21978974 [28920] [asl-help] => Found at 0x7FFC96B2FEB0. 00000023 1.22031677 [28920] LiveSplit.exe Information: 0 : 00000024 1.22034156 [28920] [asl-help] => SceneManager will be available. 00000025 1.22040308 [28920] LiveSplit.exe Information: 0 : 00000026 1.22041929 [28920] [asl-help] Searching for module with names: mono.dll, mono-2.0-bdwgc.dll, GameAssembly.dll... 00000027 1.22432411 [28920] LiveSplit.exe Information: 0 : 00000028 1.22441983 [28920] [asl-help] => No module found yet. 00000029 1.22456026 [28920] LiveSplit.exe Information: 0 : 00000030 1.22466743 [28920] [asl-help] => Retrying 2 more times in 1000ms... 00000031 1.32553744 [28920] LiveSplit.exe Information: 0 : 00000032 1.32556355 [28920] [ASL/22411807] Running exit 00000033 1.33599234 [4720] D:\JenkinsWorkspace\workspace\client_build_installer\client\products\hub\hub\GameStartPipe.cpp(82) : Accepted connection. 00000034 1.33602536 [4720] D:\JenkinsWorkspace\workspace\client_build_installer\client\products\hub\hub\GameStartPipe.cpp(83) : Starting game session. 00000035 1.45574081 [4720] D:\JenkinsWorkspace\workspace\client_build_installer\client\products\hub\hub\views\StartView.cpp(921) : 00000036 1.77414405 [4720] D:\JenkinsWorkspace\workspace\client_build_installer\client\shared\libs\biz\misc\mg\biz\misc\AchievementsDownload.cpp(254) : Unknown file extension for achievement. 00000037 1.80495942 [4720] D:\JenkinsWorkspace\workspace\client_build_installer\client\shared\libs\biz\misc\mg\biz\misc\AchievementsRead.cpp(100) : Can't find achievement image, skipped (achievement id: 21, game id: 6145) 00000038 2.03324509 [4720] D:\JenkinsWorkspace\workspace\client_build_installer\client\shared\libs\biz\misc\mg\biz\misc\CloudSaveSyncGameStart.cpp(309) : Migrate to new cloud save system. 00000039 2.37327719 [4720] D:\JenkinsWorkspace\workspace\client_build_installer\client\shared\libs\biz\misc\mg\biz\misc\CloudSaveMigration.cpp(166) : There's no savegames to migrate. 00000040 2.41646934 [28920] LiveSplit.exe Information: 0 : 00000041 2.41654730 [28920] [ASL/22411807] Connected to game: TheLostCrown_plus (using default state descriptor) 00000042 2.41661549 [28920] LiveSplit.exe Information: 0 : 00000043 2.41667008 [28920] [ASL/22411807] Initializing 00000044 2.41790724 [28920] LiveSplit.exe Error: 0 : 00000045 2.41793752 [28920] Exception thrown: 'System.ComponentModel.Win32Exception' in 'init' method: 00000046 2.41793752 [28920] Only part of a ReadProcessMemory or WriteProcessMemory request was completed 00000047 2.41793752 [28920] 00000048 2.41793752 [28920] at ASL line 30 in 'init' 00000049 2.41793752 [28920] 00000050 2.41793752 [28920] at LiveSplit.ASL.ASLMethod.Call(LiveSplitState timer, ExpandoObject vars, String& version, Double& refreshRate, Object settings, ExpandoObject old, ExpandoObject current, Process game) 00000051 2.41793752 [28920] at LiveSplit.ASL.ASLScript.RunMethod(ASLMethod method, LiveSplitState state, String& version) 00000052 2.41793752 [28920] at LiveSplit.ASL.ASLScript.DoInit(LiveSplitState state) 00000053 2.41793752 [28920] at LiveSplit.UI.Components.ASLComponent.UpdateScript() 00000054 2.43429804 [28920] LiveSplit.exe Information: 0 : 00000055 2.43434811 [28920] [ASL/22411807] Initializing 00000056 2.43461728 [28920] LiveSplit.exe Error: 0 : 00000057 2.43463635 [28920] Exception thrown: 'System.ComponentModel.Win32Exception' in 'init' method: 00000058 2.43463635 [28920] Only part of a ReadProcessMemory or WriteProcessMemory request was completed 00000059 2.43463635 [28920] 00000060 2.43463635 [28920] at ASL line 30 in 'init' 00000061 2.43463635 [28920] 00000062 2.43463635 [28920] at LiveSplit.ASL.ASLMethod.Call(LiveSplitState timer, ExpandoObject vars, String& version, Double& refreshRate, Object settings, ExpandoObject old, ExpandoObject current, Process game) 00000063 2.43463635 [28920] at LiveSplit.ASL.ASLScript.RunMethod(ASLMethod method, LiveSplitState state, String& version) 00000064 2.43463635 [28920] at LiveSplit.ASL.ASLScript.DoInit(LiveSplitState state) 00000065 2.43463635 [28920] at LiveSplit.UI.Components.ASLComponent.UpdateScript() 00000066 2.45160604 [28920] LiveSplit.exe Information: 0 : 00000067 2.45163274 [28920] [ASL/22411807] Initializing 00000068 2.45893478 [28920] LiveSplit.exe Information: 0 : 00000069 2.45895624 [28920] [asl-help] Searching for module with name: UnityPlayer.dll... 00000070 2.45900416 [28920] LiveSplit.exe Information: 0 : 00000071 2.45902228 [28920] [ASL/22411807] Init completed, running main methods 00000072 2.45930743 [28920] LiveSplit.exe Information: 0 : 00000073 2.45932651 [28920] [asl-help] => Found UnityPlayer.dll. 00000074 2.45952010 [28920] LiveSplit.exe Information: 0 : 00000075 2.45954609 [28920] [asl-help] Looking for g_runtimeSceneManager... 00000076 2.46077251 [7820] D:\JenkinsWorkspace\workspace\client_build_installer\client\products\overlay\mg\overlay\Hooks.cpp(43) : --- Overlay started --- (C:\Program Files (x86)\Ubisoft\Ubisoft Game Launcher\games\Prince of Persia The Lost Crown\TheLostCrown_plus.exe) 00000077 2.50228667 [28920] LiveSplit.exe Information: 0 : 00000078 2.50231051 [28920] [asl-help] => Found at 0x7FFC96B2FEB0. 00000079 2.50233769 [28920] LiveSplit.exe Information: 0 : 00000080 2.50235629 [28920] [asl-help] => SceneManager will be available. 00000081 2.50239611 [28920] LiveSplit.exe Information: 0 : 00000082 2.50241876 [28920] [asl-help] Searching for module with names: mono.dll, mono-2.0-bdwgc.dll, GameAssembly.dll... 00000083 2.50705075 [28920] LiveSplit.exe Information: 0 : 00000084 2.50707793 [28920] [asl-help] => No module found yet. 00000085 2.50710368 [28920] LiveSplit.exe Information: 0 : 00000086 2.50712538 [28920] [asl-help] => Retrying 2 more times in 1000ms... 00000087 2.55469656 [7820] D:\JenkinsWorkspace\workspace\client_build_installer\client\products\overlay\mg\overlay\win\PlatformHooks.cpp(150) : 'kernel32.dll' hooked 00000088 2.59747648 [7820] D:\JenkinsWorkspace\workspace\client_build_installer\client\products\overlay\mg\overlay\win\PlatformHooks.cpp(150) : 'kernel32.dll' hooked 00000089 2.64008522 [7820] D:\JenkinsWorkspace\workspace\client_build_installer\client\products\overlay\mg\overlay\win\PlatformHooks.cpp(150) : 'shell32.dll' hooked 00000090 2.68206835 [7820] D:\JenkinsWorkspace\workspace\client_build_installer\client\products\overlay\mg\overlay\win\PlatformHooks.cpp(150) : 'xinput9_1_0.dll' hooked 00000091 2.72511959 [7820] D:\JenkinsWorkspace\workspace\client_build_installer\client\products\overlay\mg\overlay\win\PlatformHooks.cpp(150) : 'dxgi.dll' hooked 00000092 2.76680350 [7820] D:\JenkinsWorkspace\workspace\client_build_installer\client\products\overlay\mg\overlay\win\PlatformHooks.cpp(150) : 'd3d9.dll' hooked 00000093 2.81013489 [7820] D:\JenkinsWorkspace\workspace\client_build_installer\client\products\overlay\mg\overlay\win\PlatformHooks.cpp(150) : 'user32.dll' hooked 00000094 2.85239720 [7820] D:\JenkinsWorkspace\workspace\client_build_installer\client\products\overlay\mg\overlay\win\PlatformHooks.cpp(150) : 'KernelBase.dll' hooked 00000095 2.89516211 [7820] D:\JenkinsWorkspace\workspace\client_build_installer\client\products\overlay\mg\overlay\win\PlatformHooks.cpp(150) : 'CfgMgr32.dll' hooked 00000096 2.93690968 [7820] D:\JenkinsWorkspace\workspace\client_build_installer\client\products\overlay\mg\overlay\win\PlatformHooks.cpp(150) : 'ole32.dll' hooked 00000097 3.41842270 [7820] D:\JenkinsWorkspace\workspace\client_build_installer\client\shared\libs\virtualgamepad\mg\virtualgamepad\VirtualGamePadsManagerImpl.cpp(592) : Registering Win32 device change for hwnd 3418768, notification: 0 00000098 3.53111362 [28920] LiveSplit.exe Information: 0 : 00000099 3.53113317 [28920] [asl-help] => No module found yet. 00000100 3.53115797 [28920] LiveSplit.exe Information: 0 : ... (76 KB left)

On Wed, Jan 17, 2024 at 2:40 PM Zack Augustus @.***> wrote:

i got this error earlier [image: image.png] maybe it helps

On Wed, Jan 17, 2024 at 2:30 PM dotneB @.***> wrote:

Here's some more info related to TheLostCrown_plus.exe vs TheLostCrown.exe

Launching the game and LiveSplit as is, I get this in DebugView, the process running is TheLostCrown_plus.exe

00000020 13.87389088 [49668] [ASL/21644229] Running shutdown
00000025 16.75054359 [49668] LiveSplit.exe Information: 0 :
00000026 16.75055313 [49668] [ASL] Loading new script: G:_LiveSplit\Components\POPTLC.asl
00000032 17.41791916 [49668] LiveSplit.exe Information: 0 :
00000033 17.41793251 [49668] [ASL/19411308] Running startup
00000034 17.45189095 [49668] LiveSplit.exe Information: 0 :
00000035 17.45191193 [49668] Thank you for using asl-help, created by Ero! For more information, see https://github.com/just-ero/asl-help.
00000036 17.45191193 [49668] This library contains many features created for helping out ASL developers.
00000037 17.45191193 [49668]
00000038 17.45191193 [49668] If you would like to opt out of code generation, please use the following code in 'startup {}' instead.
00000039 17.45191193 [49668] Make sure to call GetType() with the name of the specific helper you would like to use.
00000040 17.45191193 [49668] var type = Assembly.Load(File.ReadAllBytes(@"Components\asl-help")).GetType("Basic");
00000041 17.45191193 [49668] vars.Helper = Activator.CreateInstance(type, args: false);
00000042 17.45191193 [49668]
00000043 17.45191193 [49668] If you have any questions, please tag @Ero#1111 in the #auto-splitters channel
00000044 17.45191193 [49668] of the Speedrun Tool Development Discord server: https://discord.gg/cpYsxz7.
00000045 17.45198250 [49668] LiveSplit.exe Information: 0 :
00000046 17.45199394 [49668] [asl-help]
00000047 17.45238113 [49668] LiveSplit.exe Information: 0 :
00000048 17.45258713 [49668] [asl-help] Loading asl-help...
00000049 17.45267105 [49668] LiveSplit.exe Information: 0 :
00000050 17.45277596 [49668] [asl-help] => Generating code...
00000051 17.45408440 [49668] LiveSplit.exe Information: 0 :
00000052 17.45409584 [49668] [asl-help] => Set helper to vars.Helper.
00000053 17.45458984 [49668] LiveSplit.exe Information: 0 :
00000054 17.45460320 [49668] [asl-help] => Created the Action vars.Log.
00000059 17.55302429 [49668] LiveSplit.exe Information: 0 :
00000060 17.55303764 [49668] [asl-help] => Added the following code to the beginning of shutdown:
00000061 17.55305481 [49668] LiveSplit.exe Information: 0 :
00000062 17.55306435 [49668] [asl-help] vars.Helper.Dispose();
00000063 17.65870476 [49668] LiveSplit.exe Information: 0 :
00000064 17.65872383 [49668] [asl-help] => Added the following code to the end of init:
00000065 17.65873909 [49668] LiveSplit.exe Information: 0 :
00000066 17.65874863 [49668] [asl-help] vars.Helper.Load();
00000067 17.75064278 [49668] LiveSplit.exe Information: 0 :
00000068 17.75067329 [49668] [asl-help] => Added the following code to the beginning of update:
00000069 17.75070190 [49668] LiveSplit.exe Information: 0 :
00000070 17.75071335 [49668] [asl-help] if (!vars.Helper.Loaded) return false; vars.Helper.MapPointers();
00000071 17.84193993 [49668] LiveSplit.exe Information: 0 :
00000072 17.84195900 [49668] [asl-help] => Added the following code to the beginning of exit:
00000073 17.84197235 [49668] LiveSplit.exe Information: 0 :
00000074 17.84198189 [49668] [asl-help] vars.Helper.Dispose();
00000075 17.84206390 [49668] LiveSplit.exe Information: 0 :
00000076 17.84207726 [49668] [asl-help] => Unity features will be available.
00000077 17.84486198 [49668] LiveSplit.exe Information: 0 :
00000078 17.84488106 [49668] [asl-help] => Will try to load SceneManager.

First dumb test I did was, renaming it to TheLostCrown_plus.exe.bak, but the game doesn't launch, so TheLostCrown.exe is just a wrapper?

00009781 140.02029419 [49668] LiveSplit.exe Information: 0 :
00009782 140.02032471 [49668] [ASL/19411308] Connected to game: TheLostCrown (using default state descriptor)
00009783 140.02088928 [49668] LiveSplit.exe Information: 0 :
00009784 140.02090454 [49668] [ASL/19411308] Initializing
00009785 140.03350830 [49668] LiveSplit.exe Information: 0 :
00009786 140.03353882 [49668] [ASL/19411308] Init completed, running main methods
00009787 140.04164124 [49668] LiveSplit.exe Information: 0 :
00009788 140.04165649 [49668] [asl-help] Searching for module with name: UnityPlayer.dll...
00009789 140.04550171 [49668] LiveSplit.exe Information: 0 :
00009790 140.04553223 [49668] [asl-help] => Found UnityPlayer.dll.
00009791 140.04762268 [49668] LiveSplit.exe Information: 0 :
00009792 140.04762268 [49668] [asl-help] Looking for g_runtimeSceneManager...
00009793 140.08558655 [49668] LiveSplit.exe Information: 0 :
00009794 140.08560181 [49668] [asl-help] => Found at 0x7FFB8E3CFEB0.
00009795 140.08598328 [49668] LiveSplit.exe Information: 0 :
00009796 140.08599854 [49668] [asl-help] => SceneManager will be available.
00009797 140.08605957 [49668] LiveSplit.exe Information: 0 :
00009798 140.08607483 [49668] [asl-help] Searching for module with names: mono.dll, mono-2.0-bdwgc.dll, GameAssembly.dll...
00009799 140.08741760 [49668] LiveSplit.exe Information: 0 :
00009800 140.08741760 [49668] [asl-help] => Found GameAssembly.dll.
00009801 140.08845520 [49668] LiveSplit.exe Information: 0 :
00009802 140.08845520 [49668] [asl-help] Retrieving Unity version...
00009803 140.08917236 [49668] LiveSplit.exe Information: 0 :
00009804 140.08917236 [49668] [asl-help] => Unity 2021.3.29f1.
00009805 140.08918762 [49668] LiveSplit.exe Information: 0 :
00009806 140.08920288 [49668] [asl-help] => Doesn't look right? You can set the helper's UnityVersion manually in 'startup {}':
00009807 140.08921814 [49668] LiveSplit.exe Information: 0 :
00009808 140.08923340 [49668] [asl-help] vars.Helper.UnityVersion = new Version(2017, 2);
00009809 140.08973694 [49668] LiveSplit.exe Information: 0 :
00009810 140.08975220 [49668] [asl-help] Retrieving IL2CPP version...
00009811 140.09001160 [49668] LiveSplit.exe Information: 0 :
00009812 140.09002686 [49668] [asl-help] => IL2CPP 29.
00009813 140.09368896 [49668] LiveSplit.exe Information: 0 :
00009814 140.09370422 [49668] [asl-help] Loading Unity il2cpp.2020 structs...
00009815 140.11734009 [49668] LiveSplit.exe Information: 0 :
00009816 140.11737061 [49668] [asl-help] => Success.
00009817 140.11744690 [49668] LiveSplit.exe Information: 0 :
00009818 140.11746216 [49668] [asl-help]
00009819 140.12271118 [49668] LiveSplit.exe Information: 0 :
00009820 140.12274170 [49668] [asl-help] Executing TryLoad...
00009821 140.13388062 [49668] LiveSplit.exe Information: 0 :
00009822 140.13388062 [49668] [asl-help] Searching for image 'Alkawa.Gameplay'...
00009823 140.17259216 [49668] LiveSplit.exe Information: 0 :
00009824 140.17274475 [49668] [asl-help] Aborting due to error.
00009825 140.17274475 [49668] AslHelp.MemUtils.Exceptions.FatalNotFoundException: Could not find assemblies table!
00009826 140.17274475 [49668] at AslHelp.Mono.Managers.Il2CppManager.FindAssemblies()
00009827 140.17274475 [49668] at AslHelp.Mono.Managers.Il2CppManager.d6.MoveNext()
00009828 140.17274475 [49668] at AslHelp.Mono.Models.ImageCache.d
2.MoveNext()
00009829 140.17274475 [49668] at AslHelp.Collections.CachedEnumerable2.TryGetValue(TKey key, TValue& value) 00009830 140.17274475 [49668] at AslHelp.Mono.Models.ImageCache.get_Item(String imageName) 00009831 140.17274475 [49668] at CallSite.Target(Closure , CallSite , Object , String , String ) 00009832 140.17274475 [49668] at System.Dynamic.UpdateDelegates.UpdateAndExecute3[T0,T1,T2,TRet](CallSite site, T0 arg0, T1 arg1, T2 arg2) 00009833 140.17274475 [49668] at CompiledScript.<>c__DisplayClass6c.<Execute>b__69(Object mono) in c:\Users\benoi\AppData\Local\Temp\zwktdnhf.0.cs:line 72 00009834 140.17274475 [49668] at AslHelp.HelperBase1.b__32_0(TaskBuilderContext1 ctx) 00009835 140.17274475 [49668] at AslHelp.Tasks.BuilderFunc1.Invoke(TaskBuilderContext1 ctx, Object[] args) 00009836 140.17274475 [49668] at AslHelp.Tasks.TaskBuilder1.<AslHelp-Tasks-IFinalizeStage-RunAsync>d25.MoveNext()
00009837 140.17274475 [49668] --- End of stack trace from previous location where exception was thrown ---
00009838 140.17274475 [49668] at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
00009839 140.17274475 [49668] at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
00009840 140.17274475 [49668] at AslHelp.HelperBase`1.d
32.MoveNext()
00009841 140.17274475 [49668] --- End of stack trace from previous location where exception was thrown ---
00009842 140.17274475 [49668] at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
00009843 140.17274475 [49668] at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
00009844 140.17274475 [49668] at AslHelp.HelperBase`1.<b__31_0>d.MoveNext()
00009845 140.17312622 [49668] LiveSplit.exe Information: 0 :
00009846 140.17314148 [49668] [ASL/19411308] Running exit

In a quick test, I opened POPTLC.asl and modified the first line to state("TheLostCrown_plus") { } These logs seems to indicate that it's picking the game up, but still has errors, might be that the offsets are different for that binary or something like that?

00023740 253.31269836 [49668] LiveSplit.exe Information: 0 :
00023741 253.31269836 [49668] [ASL/19411308] Running shutdown
00023742 253.32302856 [49668] LiveSplit.exe Information: 0 :
00023743 253.32305908 [49668] [ASL] Loading new script: G:_LiveSplit\Components\POPTLC.asl
00023744 253.97235107 [49668] LiveSplit.exe Information: 0 :
00023745 253.97235107 [49668] [ASL/36554565] Running startup
00023747 254.00637817 [49668] LiveSplit.exe Information: 0 :
00023748 254.00645447 [49668] Thank you for using asl-help, created by Ero! For more information, see https://github.com/just-ero/asl-help.
00023749 254.00645447 [49668] This library contains many features created for helping out ASL developers.
00023750 254.00645447 [49668]
00023751 254.00645447 [49668] If you would like to opt out of code generation, please use the following code in 'startup {}' instead.
00023752 254.00645447 [49668] Make sure to call GetType() with the name of the specific helper you would like to use.
00023753 254.00645447 [49668] var type = Assembly.Load(File.ReadAllBytes(@"Components\asl-help")).GetType("Basic");
00023754 254.00645447 [49668] vars.Helper = Activator.CreateInstance(type, args: false);
00023755 254.00645447 [49668]
00023756 254.00645447 [49668] If you have any questions, please tag @Ero#1111 in the #auto-splitters channel
00023757 254.00645447 [49668] of the Speedrun Tool Development Discord server: https://discord.gg/cpYsxz7.
00023758 254.00653076 [49668] LiveSplit.exe Information: 0 :
00023759 254.00653076 [49668] [asl-help]
00023760 254.00675964 [49668] LiveSplit.exe Information: 0 :
00023761 254.00680542 [49668] [asl-help] Loading asl-help...
00023762 254.00691223 [49668] LiveSplit.exe Information: 0 :
00023763 254.00709534 [49668] [asl-help] => Generating code...
00023764 254.00862122 [49668] LiveSplit.exe Information: 0 :
00023765 254.00865173 [49668] [asl-help] => Set helper to vars.Helper.
00023766 254.00910950 [49668] LiveSplit.exe Information: 0 :
00023767 254.00914001 [49668] [asl-help] => Created the Action vars.Log.
00023768 254.12446594 [49668] LiveSplit.exe Information: 0 :
00023769 254.12449646 [49668] [asl-help] => Added the following code to the beginning of shutdown:
00023770 254.12451172 [49668] LiveSplit.exe Information: 0 :
00023771 254.12454224 [49668] [asl-help] vars.Helper.Dispose();
00023772 254.22418213 [49668] LiveSplit.exe Information: 0 :
00023773 254.22419739 [49668] [asl-help] => Added the following code to the end of init:
00023774 254.22422791 [49668] LiveSplit.exe Information: 0 :
00023775 254.22422791 [49668] [asl-help] vars.Helper.Load();
00023776 254.32557678 [49668] LiveSplit.exe Information: 0 :
00023777 254.32557678 [49668] [asl-help] => Added the following code to the beginning of update:
00023778 254.32560730 [49668] LiveSplit.exe Information: 0 :
00023779 254.32565308 [49668] [asl-help] if (!vars.Helper.Loaded) return false; vars.Helper.MapPointers();
00023780 254.47091675 [49668] LiveSplit.exe Information: 0 :
00023781 254.47485352 [49668] [asl-help] => Added the following code to the beginning of exit:
00023782 254.47631836 [49668] LiveSplit.exe Information: 0 :
00023783 254.48353577 [49668] [asl-help] vars.Helper.Dispose();
00023784 254.48583984 [49668] LiveSplit.exe Information: 0 :
00023785 254.49098206 [49668] [asl-help] => Unity features will be available.
00023786 254.49320984 [49668] LiveSplit.exe Information: 0 :
00023787 254.49482727 [49668] [asl-help] => Will try to load SceneManager.
00023807 262.96136475 [49668] LiveSplit.exe Information: 0 :
00023808 262.96139526 [49668] [ASL/36554565] Connected to game: TheLostCrown_plus (using default state descriptor)
00023809 262.96139526 [49668] LiveSplit.exe Information: 0 :
00023810 262.96142578 [49668] [ASL/36554565] Initializing
00023811 262.96774292 [49668] LiveSplit.exe Error: 0 :
00023812 262.96777344 [49668] Exception thrown: 'System.ComponentModel.Win32Exception' in 'init' method:
00023813 262.96777344 [49668] Only part of a ReadProcessMemory or WriteProcessMemory request was completed
00023814 262.96777344 [49668]
00023815 262.96777344 [49668] at ASL line 30 in 'init' 00023816 262.96777344 [49668]
00023817 262.96777344 [49668] at LiveSplit.ASL.ASLMethod.Call(LiveSplitState timer, ExpandoObject vars, String& version, Double& refreshRate, Object settings, ExpandoObject old, ExpandoObject current, Process game)
00023818 262.96777344 [49668] at LiveSplit.ASL.ASLScript.RunMethod(ASLMethod method, LiveSplitState state, String& version)
00023819 262.96777344 [49668] at LiveSplit.ASL.ASLScript.DoInit(LiveSplitState state)
00023820 262.96777344 [49668] at LiveSplit.UI.Components.ASLComponent.UpdateScript()
00023821 262.98538208 [49668] LiveSplit.exe Information: 0 :
00023822 262.98538208 [49668] [ASL/36554565] Initializing
00023823 262.99203491 [49668] LiveSplit.exe Information: 0 :
00023824 262.99206543 [49668] [ASL/36554565] Init completed, running main methods
00023825 263.00076294 [49668] LiveSplit.exe Information: 0 :
00023826 263.00079346 [49668] [asl-help] Searching for module with name: UnityPlayer.dll...
00023828 263.00509644 [49668] LiveSplit.exe Information: 0 :
00023829 263.00509644 [49668] [asl-help] => Found UnityPlayer.dll.
00023830 263.00747681 [49668] LiveSplit.exe Information: 0 :
00023831 263.00747681 [49668] [asl-help] Looking for g_runtimeSceneManager...
00023832 263.04055786 [49668] LiveSplit.exe Information: 0 :
00023833 263.04055786 [49668] [asl-help] => Found at 0x7FFB8E3CFEB0.
00023834 263.04092407 [49668] LiveSplit.exe Information: 0 :
00023835 263.04095459 [49668] [asl-help] => SceneManager will be available.
00023836 263.04098511 [49668] LiveSplit.exe Information: 0 :
00023837 263.04098511 [49668] [asl-help] Searching for module with names: mono.dll, mono-2.0-bdwgc.dll, GameAssembly.dll...
00023838 263.04254150 [49668] LiveSplit.exe Information: 0 :
00023839 263.04257202 [49668] [asl-help] => No module found yet.
00023840 263.04257202 [49668] LiveSplit.exe Information: 0 :
00023841 263.04257202 [49668] [asl-help] => Retrying 2 more times in 1000ms...
00023842 263.12567139 [49668] LiveSplit.exe Information: 0 :
00023843 263.12573242 [49668] [ASL/36554565] Running exit
00028441 266.36740112 [49668] LiveSplit.exe Information: 0 :
00028442 266.36752319 [49668] [ASL/36554565] Connected to game: TheLostCrown_plus (using default state descriptor)
00028443 266.36801147 [49668] LiveSplit.exe Information: 0 :
00028444 266.36813354 [49668] [ASL/36554565] Initializing
00028445 266.36828613 [49668] LiveSplit.exe Error: 0 :
00028446 266.36831665 [49668] Exception thrown: 'System.ComponentModel.Win32Exception' in 'init' method:
00028447 266.36831665 [49668] Only part of a ReadProcessMemory or WriteProcessMemory request was completed
00028448 266.36831665 [49668]
00028449 266.36831665 [49668] at ASL line 30 in 'init' 00028450 266.36831665 [49668]
00028451 266.36831665 [49668] at LiveSplit.ASL.ASLMethod.Call(LiveSplitState timer, ExpandoObject vars, String& version, Double& refreshRate, Object settings, ExpandoObject old, ExpandoObject current, Process game)
00028452 266.36831665 [49668] at LiveSplit.ASL.ASLScript.RunMethod(ASLMethod method, LiveSplitState state, String& version)
00028453 266.36831665 [49668] at LiveSplit.ASL.ASLScript.DoInit(LiveSplitState state)
00028454 266.36831665 [49668] at LiveSplit.UI.Components.ASLComponent.UpdateScript()
00028455 266.37509155 [49668] LiveSplit.exe Information: 0 :
00028456 266.37512207 [49668] [ASL/36554565] Initializing
00028457 266.37527466 [49668] LiveSplit.exe Error: 0 :
00028458 266.37527466 [49668] Exception thrown: 'System.ComponentModel.Win32Exception' in 'init' method:
00028459 266.37527466 [49668] Only part of a ReadProcessMemory or WriteProcessMemory request was completed
00028460 266.37527466 [49668]
00028461 266.37527466 [49668] at ASL line 30 in 'init' 00028462 266.37527466 [49668]
00028463 266.37527466 [49668] at LiveSplit.ASL.ASLMethod.Call(LiveSplitState timer, ExpandoObject vars, String& version, Double& refreshRate, Object settings, ExpandoObject old, ExpandoObject current, Process game)
00028464 266.37527466 [49668] at LiveSplit.ASL.ASLScript.RunMethod(ASLMethod method, LiveSplitState state, String& version)
00028465 266.37527466 [49668] at LiveSplit.ASL.ASLScript.DoInit(LiveSplitState state)
00028466 266.37527466 [49668] at LiveSplit.UI.Components.ASLComponent.UpdateScript()
00028467 266.39065552 [49668] LiveSplit.exe Information: 0 :
00028468 266.39068604 [49668] [ASL/36554565] Initializing
00028469 266.39089966 [49668] LiveSplit.exe Error: 0 :
00028470 266.39089966 [49668] Exception thrown: 'System.ComponentModel.Win32Exception' in 'init' method:
00028471 266.39089966 [49668] Only part of a ReadProcessMemory or WriteProcessMemory request was completed
00028472 266.39089966 [49668]
00028473 266.39089966 [49668] at ASL line 30 in 'init' 00028474 266.39089966 [49668]
00028475 266.39089966 [49668] at LiveSplit.ASL.ASLMethod.Call(LiveSplitState timer, ExpandoObject vars, String& version, Double& refreshRate, Object settings, ExpandoObject old, ExpandoObject current, Process game)
00028476 266.39089966 [49668] at LiveSplit.ASL.ASLScript.RunMethod(ASLMethod method, LiveSplitState state, String& version)
00028477 266.39089966 [49668] at LiveSplit.ASL.ASLScript.DoInit(LiveSplitState state)
00028478 266.39089966 [49668] at LiveSplit.UI.Components.ASLComponent.UpdateScript()
00028479 266.40731812 [49668] LiveSplit.exe Information: 0 :
00028480 266.40734863 [49668] [ASL/36554565] Initializing
00028482 266.41186523 [49668] LiveSplit.exe Information: 0 :
00028483 266.41186523 [49668] [ASL/36554565] Init completed, running main methods
00028484 266.41207886 [49668] LiveSplit.exe Information: 0 :
00028485 266.41213989 [49668] [asl-help] Searching for module with name: UnityPlayer.dll...
00028486 266.41241455 [49668] LiveSplit.exe Information: 0 :
00028487 266.41244507 [49668] [asl-help] => Found UnityPlayer.dll.
00028488 266.41250610 [49668] LiveSplit.exe Information: 0 :
00028489 266.41259766 [49668] [asl-help] Looking for g_runtimeSceneManager...
00028490 266.45074463 [49668] LiveSplit.exe Information: 0 :
00028491 266.45550537 [49668] [asl-help] => Found at 0x7FFB8E3CFEB0.
00028492 266.45635986 [49668] LiveSplit.exe Information: 0 :
00028493 266.45809937 [49668] [asl-help] => SceneManager will be available.
00028494 266.45892334 [49668] LiveSplit.exe Information: 0 :
00028495 266.45980835 [49668] [asl-help] Searching for module with names: mono.dll, mono-2.0-bdwgc.dll, GameAssembly.dll...
00028496 266.46151733 [49668] LiveSplit.exe Information: 0 :
00028497 266.46154785 [49668] [asl-help] => No module found yet.
00028498 266.46157837 [49668] LiveSplit.exe Information: 0 :
00028499 266.46157837 [49668] [asl-help] => Retrying 2 more times in 1000ms...
00028512 267.47561646 [49668] LiveSplit.exe Information: 0 :
00028513 267.47567749 [49668] [asl-help] => No module found yet.
00028514 267.47579956 [49668] LiveSplit.exe Information: 0 :
00028515 267.47579956 [49668] [asl-help] => Retrying 1 more time in 1000ms...
00028527 268.49145508 [49668] LiveSplit.exe Information: 0 :
00028528 268.49145508 [49668] [asl-help] => No module found yet.
00028529 268.49215698 [49668] LiveSplit.exe Information: 0 :
00028530 268.49218750 [49668] [asl-help] Aborting due to error.
00028531 268.49218750 [49668] AslHelp.MemUtils.Exceptions.FatalNotFoundException: Mono module was not found.
00028532 268.49218750 [49668] at Unity.MakeManager()
00028533 268.49218750 [49668] at AslHelp.HelperBase`1.<b__31_0>d.MoveNext()
00036976 340.81619263 [49668] LiveSplit.exe Information: 0 :
00036977 340.81649780 [49668] [ASL/36554565] Running exit

— Reply to this email directly, view it on GitHub https://github.com/LiterallyMetaphorical/LiveSplit.POPTLC/issues/9#issuecomment-1896398945, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEVYIBXPMPC2YFE42JNZDNLYPAKF5AVCNFSM6AAAAABB5B3RSGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOJWGM4TQOJUGU . You are receiving this because you authored the thread.Message ID: @.***>

BIaidan commented 8 months ago

I also have this issue and made another video if that helps: https://youtu.be/0qSpYw5bFNk

Log Output

[6148] D:\JenkinsWorkspace\workspace\client_build_installer\client\products\hub\hub\views\ConnectView.cpp(1259) : Console message, , Browser id: 19 https://overlay.cdn.ubisoft.com/default/assets/index-507770b6.js Shell/Configuration.reducer/[configuration] Micro App Configurations are loaded  details: {"gameApplicationId":"20adeb9c-6dad-404e-af1e-b12b4594e86e","gameSpaceId":"0a706b37-4b88-4437-b8f4-4ed2458c9518"}  moreInfo: {"gameApplicationId":"20adeb9c-6dad-404e-af1e-b12b4594e86e","gameSpaceId":"0a706b37-4b88-4437-b8f4-4ed2458c9518"}, line: 1
[6148] D:\JenkinsWorkspace\workspace\client_build_installer\client\products\hub\hub\views\StartView.cpp(921) : 
[29460] D:\JenkinsWorkspace\workspace\client_build_installer\client\products\uplay_service\src\win\UplayService.cpp(1341) : Dependency installation failed: process C:/Program Files (x86)/Ubisoft/Ubisoft Game Launcher/games/Prince of Persia The Lost Crown/Support/Software/VCRedist/VC_redist.x64.exe exited with code 1638.
[14860] LiveSplit.exe Information: 0 : 
[14860] [ASL/4410728] Connected to game: TheLostCrown_plus (using default state descriptor) 
[14860] LiveSplit.exe Information: 0 : 
[14860] [ASL/4410728] Initializing 
[14860] LiveSplit.exe Information: 0 : 
[14860] [ASL/4410728] Init completed, running main methods 
[14860] LiveSplit.exe Information: 0 : 
[14860] [asl-help] Searching for module with name: UnityPlayer.dll... 
[14860] LiveSplit.exe Information: 0 : 
[14860] [asl-help]   => Found UnityPlayer.dll. 
[14860] LiveSplit.exe Information: 0 : 
[14860] [asl-help] Looking for g_runtimeSceneManager... 
[14860] LiveSplit.exe Information: 0 : 
[14860] [asl-help]   => Found at 0x7FF8F24EFEB0. 
[14860] LiveSplit.exe Information: 0 : 
[14860] [asl-help]     => SceneManager will be available. 
[14860] LiveSplit.exe Information: 0 : 
[14860] [asl-help] Searching for module with names: mono.dll, mono-2.0-bdwgc.dll, GameAssembly.dll... 
[14860] LiveSplit.exe Information: 0 : 
[14860] [asl-help]   => No module found yet. 
[14860] LiveSplit.exe Information: 0 : 
[14860] [asl-help]   => Retrying 2 more times in 1000ms... 
[14860] LiveSplit.exe Error: 0 : 
[14860] Exception thrown: 'System.ComponentModel.Win32Exception' in 'update' method:
[14860] Only part of a ReadProcessMemory or WriteProcessMemory request was completed
[14860] 
[14860]    at ASL line 239 in 'update'
[14860] 
[14860]    at LiveSplit.ASL.ASLMethod.Call(LiveSplitState timer, ExpandoObject vars, String& version, Double& refreshRate, Object settings, ExpandoObject old, ExpandoObject current, Process game) 
[14860]    at LiveSplit.ASL.ASLScript.RunMethod(ASLMethod method, LiveSplitState state, String& version) 
[14860]    at LiveSplit.ASL.ASLScript.DoUpdate(LiveSplitState state) 
[14860]    at LiveSplit.UI.Components.ASLComponent.UpdateScript() 
[6148] D:\JenkinsWorkspace\workspace\client_build_installer\client\products\hub\hub\GameStartPipe.cpp(82) : Accepted connection.
[6148] D:\JenkinsWorkspace\workspace\client_build_installer\client\products\hub\hub\GameStartPipe.cpp(83) : Starting game session.
[14860] LiveSplit.exe Information: 0 : 
[14860] [ASL/4410728] Running exit 
[6148] D:\JenkinsWorkspace\workspace\client_build_installer\client\shared\libs\biz\misc\mg\biz\misc\AchievementsDownload.cpp(254) : Unknown file extension for achievement.
[6148] D:\JenkinsWorkspace\workspace\client_build_installer\client\shared\libs\biz\misc\mg\biz\misc\AchievementsRead.cpp(100) : Can't find achievement image, skipped (achievement id: 21, game id: 6145)
[6148] D:\JenkinsWorkspace\workspace\client_build_installer\client\shared\libs\biz\misc\mg\biz\misc\CloudSaveSyncGameStart.cpp(309) : Migrate to new cloud save system.
[6148] D:\JenkinsWorkspace\workspace\client_build_installer\client\shared\libs\biz\misc\mg\biz\misc\CloudSaveMigration.cpp(166) : There's no savegames to migrate.
[14860] LiveSplit.exe Information: 0 : 
[14860] [ASL/4410728] Connected to game: TheLostCrown_plus (using default state descriptor) 
[14860] LiveSplit.exe Information: 0 : 
[14860] [ASL/4410728] Initializing 
[14860] LiveSplit.exe Error: 0 : 
[14860] Exception thrown: 'System.ComponentModel.Win32Exception' in 'init' method:
[14860] Only part of a ReadProcessMemory or WriteProcessMemory request was completed
[14860] 
[14860]    at ASL line 31 in 'init'
[14860] 
[14860]    at LiveSplit.ASL.ASLMethod.Call(LiveSplitState timer, ExpandoObject vars, String& version, Double& refreshRate, Object settings, ExpandoObject old, ExpandoObject current, Process game) 
[14860]    at LiveSplit.ASL.ASLScript.RunMethod(ASLMethod method, LiveSplitState state, String& version) 
[14860]    at LiveSplit.ASL.ASLScript.DoInit(LiveSplitState state) 
[14860]    at LiveSplit.UI.Components.ASLComponent.UpdateScript() 
[14860] LiveSplit.exe Information: 0 : 
[14860] [ASL/4410728] Initializing 
[14860] LiveSplit.exe Information: 0 : 
[14860] [ASL/4410728] Init completed, running main methods 
[14860] LiveSplit.exe Information: 0 : 
[14860] [asl-help] Searching for module with name: UnityPlayer.dll... 
[14860] LiveSplit.exe Information: 0 : 
[14860] [asl-help]   => Found UnityPlayer.dll. 
[14860] LiveSplit.exe Information: 0 : 
[14860] [asl-help] Looking for g_runtimeSceneManager... 
[664] D:\JenkinsWorkspace\workspace\client_build_installer\client\products\overlay\mg\overlay\Hooks.cpp(43) : --- Overlay started --- (C:\Program Files (x86)\Ubisoft\Ubisoft Game Launcher\games\Prince of Persia The Lost Crown\TheLostCrown_plus.exe)
[14860] LiveSplit.exe Information: 0 : 
[14860] [asl-help]   => Found at 0x7FF8F24EFEB0. 
[14860] LiveSplit.exe Information: 0 : 
[14860] [asl-help]     => SceneManager will be available. 
[14860] LiveSplit.exe Information: 0 : 
[14860] [asl-help] Searching for module with names: mono.dll, mono-2.0-bdwgc.dll, GameAssembly.dll... 
[14860] LiveSplit.exe Information: 0 : 
[14860] [asl-help]   => No module found yet. 
[14860] LiveSplit.exe Information: 0 : 
[14860] [asl-help]   => Retrying 2 more times in 1000ms... 
[664] D:\JenkinsWorkspace\workspace\client_build_installer\client\products\overlay\mg\overlay\win\PlatformHooks.cpp(150) : 'kernel32.dll' hooked
[664] D:\JenkinsWorkspace\workspace\client_build_installer\client\products\overlay\mg\overlay\win\PlatformHooks.cpp(150) : 'kernel32.dll' hooked
[664] D:\JenkinsWorkspace\workspace\client_build_installer\client\products\overlay\mg\overlay\win\PlatformHooks.cpp(150) : 'shell32.dll' hooked
[664] D:\JenkinsWorkspace\workspace\client_build_installer\client\products\overlay\mg\overlay\win\PlatformHooks.cpp(150) : 'xinput9_1_0.dll' hooked
[664] D:\JenkinsWorkspace\workspace\client_build_installer\client\products\overlay\mg\overlay\win\PlatformHooks.cpp(150) : 'dxgi.dll' hooked
[664] D:\JenkinsWorkspace\workspace\client_build_installer\client\products\overlay\mg\overlay\win\PlatformHooks.cpp(150) : 'd3d9.dll' hooked
[664] D:\JenkinsWorkspace\workspace\client_build_installer\client\products\overlay\mg\overlay\win\PlatformHooks.cpp(150) : 'user32.dll' hooked
[664] D:\JenkinsWorkspace\workspace\client_build_installer\client\products\overlay\mg\overlay\win\PlatformHooks.cpp(150) : 'KernelBase.dll' hooked
[664] D:\JenkinsWorkspace\workspace\client_build_installer\client\products\overlay\mg\overlay\win\PlatformHooks.cpp(150) : 'CfgMgr32.dll' hooked
[664] D:\JenkinsWorkspace\workspace\client_build_installer\client\products\overlay\mg\overlay\win\PlatformHooks.cpp(150) : 'ole32.dll' hooked
[664] D:\JenkinsWorkspace\workspace\client_build_installer\client\shared\libs\virtualgamepad\mg\virtualgamepad\VirtualGamePadsManagerImpl.cpp(592) : Registering Win32 device change for hwnd 72748544, notification: 0
[14860] LiveSplit.exe Information: 0 : 
[14860] [asl-help]   => No module found yet. 
[14860] LiveSplit.exe Information: 0 : 
[14860] [asl-help]   => Retrying 1 more time in 1000ms... 
[6148] D:\JenkinsWorkspace\workspace\client_build_installer\client\products\hub\hub\ApiProcessConnection.cpp(124) : Game with process id 664 connected.
[6148] D:\JenkinsWorkspace\workspace\client_build_installer\client\products\hub\hub\ApiProcessConnection.cpp(136) : Game with process id 664 has been started with product id 6145 (branch: 'default').
[664] D:\JenkinsWorkspace\workspace\client_build_installer\client\products\overlay\mg\overlay\win\PlatformHooks.cpp(150) : 'xinput1_4.dll' hooked
[664] D:\JenkinsWorkspace\workspace\client_build_installer\client\products\overlay\mg\overlay\win\PlatformHooks.cpp(150) : 'xinput1_3.dll' hooked
[664] D:\JenkinsWorkspace\workspace\client_build_installer\client\shared\libs\virtualgamepad\mg\virtualgamepad\VirtualGamePadsManagerImpl.cpp(592) : Registering Win32 device change for hwnd 72748544, notification: 1993295772096
[664] D:\JenkinsWorkspace\workspace\client_build_installer\client\products\overlay\mg\overlay\win\D3d11Render.cpp(388) : D3D11 device created
[664] D:\JenkinsWorkspace\workspace\client_build_installer\client\shared\libs\virtualgamepad\mg\virtualgamepad\VirtualGamePadsManagerImpl.cpp(592) : Registering Win32 device change for hwnd 72748544, notification: 1992131718288
[664] D:\JenkinsWorkspace\workspace\client_build_installer\client\shared\libs\virtualgamepad\mg\virtualgamepad\VirtualGamePadsManagerImpl.cpp(592) : Registering Win32 device change for hwnd 9506376, notification: 0
[664] D:\JenkinsWorkspace\workspace\client_build_installer\client\shared\libs\virtualgamepad\mg\virtualgamepad\VirtualGamePadsManagerImpl.cpp(592) : Registering Win32 device change for hwnd 72748544, notification: 1992131411600
[664] D:\JenkinsWorkspace\workspace\client_build_installer\client\shared\libs\virtualgamepad\mg\virtualgamepad\VirtualGamePadsManagerImpl.cpp(592) : Registering Win32 device change for hwnd 72748544, notification: 1993295628368
[664] D:\JenkinsWorkspace\workspace\client_build_installer\client\products\overlay\mg\overlay\win\AudioHooks.cpp(558) : Audio hooks initialized
[664] D:\JenkinsWorkspace\workspace\client_build_installer\client\products\overlay\mg\overlay\Overlay.cpp(780) : Sending overlay start request
[664] D:\JenkinsWorkspace\workspace\client_build_installer\client\products\overlay\mg\overlay\win\PlatformHooks.cpp(150) : 'dinput8.dll' hooked
[14860] LiveSplit.exe Information: 0 : 
[14860] [asl-help]   => No module found yet. 
[14860] LiveSplit.exe Information: 0 : 
[14860] [asl-help] Aborting due to error. 
[14860] AslHelp.MemUtils.Exceptions.FatalNotFoundException: Mono module was not found. 
[14860]    at Unity.MakeManager() 
[14860]    at AslHelp.HelperBase`1.<<Load>b__31_0>d.MoveNext() 
[6148] D:\JenkinsWorkspace\workspace\client_build_installer\client\products\hub\hub\UplayGameConnectionHandler.cpp(401) : Game with process id 664 connected (API version: 2.11.0).
[6148] D:\JenkinsWorkspace\workspace\client_build_installer\client\shared\libs\biz\misc\mg\biz\misc\AchievementsRead.cpp(100) : Can't find achievement image, skipped (achievement id: 21, game id: 6145)
[6148] D:\JenkinsWorkspace\workspace\client_build_installer\client\products\hub\hub\UplayGameConnectionHandler.cpp(401) : Game with process id 664 connected (API version: 2.10.0).
[14860] LiveSplit.exe Information: 0 : 
[14860] [Prince of Persia: The Lost Crown] True 
[14860] LiveSplit.exe Error: 0 : 
[14860] 'System.Dynamic.ExpandoObject' does not contain a definition for 'isPaused'
[14860] 
[14860]    at System.Windows.Forms.Control.MarshaledInvoke(Control caller, Delegate method, Object[] args, Boolean synchronous) 
[14860]    at System.Windows.Forms.Control.Invoke(Delegate method, Object[] args) 
[14860]    at LiveSplit.View.TimerForm.<>c__DisplayClass181_0.<hook_KeyOrButtonPressed>b__1() 
[14860] LiveSplit.exe Information: 0 : 
[14860] [Prince of Persia: The Lost Crown] True 
[14860] LiveSplit.exe Error: 0 : 
[14860] 'System.Dynamic.ExpandoObject' does not contain a definition for 'isPaused'
[14860] 
[14860]    at System.Windows.Forms.Control.MarshaledInvoke(Control caller, Delegate method, Object[] args, Boolean synchronous) 
[14860]    at System.Windows.Forms.Control.Invoke(Delegate method, Object[] args) 
[14860]    at LiveSplit.View.TimerForm.<>c__DisplayClass181_0.<hook_KeyOrButtonPressed>b__1() 
[17964] [2024.01.17-19.40.55:767][984]LogEOSMessageService: Error: Port had been cleared and not yet reset. 
[6148] D:\JenkinsWorkspace\workspace\client_build_installer\client\shared\libs\biz\misc\mg\biz\misc\JobHttp.cpp(173) : Http status code is 404 for url https://public-ubiservices.ubi.com/v2/profiles/6b9bc112-3b2c-4658-ad93-f816727f6e08/club/progression/title?locale=en&spaceId=aa6b1778-f274-4b52-8fce-f642173aa0e1.
[6148] D:\JenkinsWorkspace\workspace\client_build_installer\client\shared\libs\biz\misc\mg\biz\misc\UbiServicesClubProgressionGet.cpp(118) : Get club progression failed with code 1003.
[6148] D:\JenkinsWorkspace\workspace\client_build_installer\client\shared\libs\biz\misc\mg\biz\misc\JobHttp.cpp(173) : Http status code is 404 for url https://public-ubiservices.ubi.com/v2/profiles/6b9bc112-3b2c-4658-ad93-f816727f6e08/club/progression/title?locale=en&spaceId=aa6b1778-f274-4b52-8fce-f642173aa0e1.
[6148] D:\JenkinsWorkspace\workspace\client_build_installer\client\shared\libs\biz\misc\mg\biz\misc\UbiServicesClubProgressionGet.cpp(118) : Get club progression failed with code 1003.
[6148] D:\JenkinsWorkspace\workspace\client_build_installer\client\shared\libs\biz\misc\mg\biz\misc\JobHttp.cpp(173) : Http status code is 404 for url https://public-ubiservices.ubi.com/v2/profiles/6b9bc112-3b2c-4658-ad93-f816727f6e08/club/progression/title?locale=en&spaceId=aa6b1778-f274-4b52-8fce-f642173aa0e1.
[6148] D:\JenkinsWorkspace\workspace\client_build_installer\client\shared\libs\biz\misc\mg\biz\misc\UbiServicesClubProgressionGet.cpp(118) : Get club progression failed with code 1003.
[17964] [2024.01.17-19.45.55:804][426]LogEOSMessageService: Error: Port had been cleared and not yet reset. 
[6148] D:\JenkinsWorkspace\workspace\client_build_installer\client\shared\libs\biz\misc\mg\biz\misc\JobHttp.cpp(173) : Http status code is 404 for url https://public-ubiservices.ubi.com/v2/profiles/6b9bc112-3b2c-4658-ad93-f816727f6e08/club/progression/title?locale=en&spaceId=aa6b1778-f274-4b52-8fce-f642173aa0e1.
[6148] D:\JenkinsWorkspace\workspace\client_build_installer\client\shared\libs\biz\misc\mg\biz\misc\UbiServicesClubProgressionGet.cpp(118) : Get club progression failed with code 1003.
mitchell-merry commented 8 months ago

@zaxxorr @dotneB Interesting about the _plus.exe - it looks like maybe I can just add a separate state block and it will help that, but you have the same issue as BIaidan below

@BIaidan The autosplitter appears to not be loading at all from your video - it can't find any mono module information. If you try to deactivate + re-activate the autosplitter while the game is open, does that help anything?

The issue lies here:

00028496    266.46151733    [49668] LiveSplit.exe Information: 0 :  
00028497    266.46154785    [49668] [asl-help]   => No module found yet.    
00028498    266.46157837    [49668] LiveSplit.exe Information: 0 :  
00028499    266.46157837    [49668] [asl-help]   => Retrying 2 more times in 1000ms...  
00028512    267.47561646    [49668] LiveSplit.exe Information: 0 :  
00028513    267.47567749    [49668] [asl-help]   => No module found yet.    
00028514    267.47579956    [49668] LiveSplit.exe Information: 0 :  
00028515    267.47579956    [49668] [asl-help]   => Retrying 1 more time in 1000ms...   
00028527    268.49145508    [49668] LiveSplit.exe Information: 0 :  
00028528    268.49145508    [49668] [asl-help]   => No module found yet.

It can't load the autosplitter because it can't find the mono modules. This is pretty crucial to anything about the autosplitter working at all.

mitchell-merry commented 8 months ago

I presume everyone here is running the plus version. If it straight up does not work, then I am sorry, because I have no idea what the problem is. Why they have a special version is beyond me, and why it doesn't work with asl-help is also very confusing.

If anyone here is able to connect this game to Cheat Engine, and then show the full list of modules from there, that would be helpful I suppose. It's claiming it can't find the modules that it needs

mitchell-merry commented 8 months ago

I understand. The GameAssembly.dll file being called GameAssembly_plus.dll is the issue...

mitchell-merry commented 8 months ago

I will contribute back to the base library a potential fix, then report back here. Sorry for the issues.

mitchell-merry commented 8 months ago

But still I would really like to know if anyone can, if there's a module "GameAssembly_plus.dll" in the module list

You can view the list in a drop down under Memory Scan Options in cheat engine

mitchell-merry commented 8 months ago

Okay have a potential fix. Could you guys please try installing this?:

  1. Deactivate the autosplitter in LiveSplit.
  2. Download the .asl file from GitHub (Go here and click the download button on the right, near "Raw" and the pencil)
  3. Download the asl-help file from GitHub (here) as well and replace the one in LiveSplit/Components. I updated the version of the library to allow us to specify custom module names for the mono module.
  4. Right click LiveSplit -> Edit Layout -> Add -> Scriptable Autosplitter
  5. Edit the component and set the path to the .asl you downloaded
  6. Try again and see if it helps.

If it doesn't (or somehow makes it worse), I could use another DebugView recording.

BIaidan commented 8 months ago

@mitchell-merry Unfortunately the fix doesn't work for me: https://youtu.be/4meABdpH6is

[6148] D:\JenkinsWorkspace\workspace\client_build_installer\client\products\hub\hub\views\ConnectView.cpp(1259) : Console message, , Browser id: 19 https://overlay.cdn.ubisoft.com/default/assets/index-507770b6.js Shell/Configuration.reducer/[configuration] Micro App Configurations are loaded  details: {"gameApplicationId":"20adeb9c-6dad-404e-af1e-b12b4594e86e","gameSpaceId":"0a706b37-4b88-4437-b8f4-4ed2458c9518"}  moreInfo: {"gameApplicationId":"20adeb9c-6dad-404e-af1e-b12b4594e86e","gameSpaceId":"0a706b37-4b88-4437-b8f4-4ed2458c9518"}, line: 1
[6148] D:\JenkinsWorkspace\workspace\client_build_installer\client\products\hub\hub\views\StartView.cpp(921) : 
[29112] D:\JenkinsWorkspace\workspace\client_build_installer\client\products\uplay_service\src\win\UplayService.cpp(1341) : Dependency installation failed: process C:/Program Files (x86)/Ubisoft/Ubisoft Game Launcher/games/Prince of Persia The Lost Crown/Support/Software/VCRedist/VC_redist.x64.exe exited with code 1638.
[16284] LiveSplit.exe Information: 0 : 
[16284] [ASL/58602024] Connected to game: TheLostCrown_plus (using default state descriptor) 
[16284] LiveSplit.exe Information: 0 : 
[16284] [ASL/58602024] Initializing 
[16284] LiveSplit.exe Information: 0 : 
[16284] [ASL/58602024] Init completed, running main methods 
[16284] LiveSplit.exe Information: 0 : 
[16284] [asl-help] Searching for module with name: UnityPlayer.dll... 
[16284] LiveSplit.exe Information: 0 : 
[16284] [asl-help]   => Found UnityPlayer.dll. 
[16284] LiveSplit.exe Information: 0 : 
[16284] [asl-help] Looking for g_runtimeSceneManager... 
[16284] LiveSplit.exe Information: 0 : 
[16284] [asl-help]   => Found at 0x7FF8D2A2FEB0. 
[16284] LiveSplit.exe Information: 0 : 
[16284] [asl-help]     => SceneManager will be available. 
[16284] LiveSplit.exe Information: 0 : 
[16284] [asl-help] Searching for module with names: GameAssembly.dll, GameAssembly_plus.dll... 
[16284] LiveSplit.exe Information: 0 : 
[16284] [asl-help]   => Found GameAssembly_plus.dll. 
[16284] LiveSplit.exe Information: 0 : 
[16284] [asl-help] Retrieving Unity version... 
[16284] LiveSplit.exe Information: 0 : 
[16284] [asl-help] [WARNING]   => Version not found. 
[16284] LiveSplit.exe Information: 0 : 
[16284] [asl-help] Aborting due to error. 
[16284] AslHelp.MemUtils.Exceptions.FatalNotFoundException: Unity version was not found. Consider setting it manually. 
[16284]    at Unity.MakeManager() 
[16284]    at AslHelp.HelperBase`1.<<Load>b__31_0>d.MoveNext() 
[16284] LiveSplit.exe Information: 0 : 
[16284] [ASL/58602024] Running exit 
[6148] D:\JenkinsWorkspace\workspace\client_build_installer\client\products\hub\hub\GameStartPipe.cpp(82) : Accepted connection.
[6148] D:\JenkinsWorkspace\workspace\client_build_installer\client\products\hub\hub\GameStartPipe.cpp(83) : Starting game session.
[6148] D:\JenkinsWorkspace\workspace\client_build_installer\client\shared\libs\biz\misc\mg\biz\misc\AchievementsDownload.cpp(254) : Unknown file extension for achievement.
[6148] D:\JenkinsWorkspace\workspace\client_build_installer\client\shared\libs\biz\misc\mg\biz\misc\AchievementsRead.cpp(100) : Can't find achievement image, skipped (achievement id: 21, game id: 6145)
[6148] D:\JenkinsWorkspace\workspace\client_build_installer\client\shared\libs\biz\misc\mg\biz\misc\CloudSaveSyncGameStart.cpp(309) : Migrate to new cloud save system.
[6148] D:\JenkinsWorkspace\workspace\client_build_installer\client\shared\libs\biz\misc\mg\biz\misc\CloudSaveMigration.cpp(166) : There's no savegames to migrate.
[16284] LiveSplit.exe Information: 0 : 
[16284] [ASL/58602024] Connected to game: TheLostCrown_plus (using default state descriptor) 
[16284] LiveSplit.exe Information: 0 : 
[16284] [ASL/58602024] Initializing 
[16284] LiveSplit.exe Error: 0 : 
[16284] Exception thrown: 'System.ComponentModel.Win32Exception' in 'init' method:
[16284] Only part of a ReadProcessMemory or WriteProcessMemory request was completed
[16284] 
[16284]    at ASL line 32 in 'init'
[16284] 
[16284]    at LiveSplit.ASL.ASLMethod.Call(LiveSplitState timer, ExpandoObject vars, String& version, Double& refreshRate, Object settings, ExpandoObject old, ExpandoObject current, Process game) 
[16284]    at LiveSplit.ASL.ASLScript.RunMethod(ASLMethod method, LiveSplitState state, String& version) 
[16284]    at LiveSplit.ASL.ASLScript.DoInit(LiveSplitState state) 
[16284]    at LiveSplit.UI.Components.ASLComponent.UpdateScript() 
[16284] LiveSplit.exe Information: 0 : 
[16284] [ASL/58602024] Initializing 
[16284] LiveSplit.exe Error: 0 : 
[16284] Exception thrown: 'System.ComponentModel.Win32Exception' in 'init' method:
[16284] Only part of a ReadProcessMemory or WriteProcessMemory request was completed
[16284] 
[16284]    at ASL line 32 in 'init'
[16284] 
[16284]    at LiveSplit.ASL.ASLMethod.Call(LiveSplitState timer, ExpandoObject vars, String& version, Double& refreshRate, Object settings, ExpandoObject old, ExpandoObject current, Process game) 
[16284]    at LiveSplit.ASL.ASLScript.RunMethod(ASLMethod method, LiveSplitState state, String& version) 
[16284]    at LiveSplit.ASL.ASLScript.DoInit(LiveSplitState state) 
[16284]    at LiveSplit.UI.Components.ASLComponent.UpdateScript() 
[16284] LiveSplit.exe Information: 0 : 
[16284] [ASL/58602024] Initializing 
[16284] LiveSplit.exe Information: 0 : 
[16284] [ASL/58602024] Init completed, running main methods 
[16284] LiveSplit.exe Information: 0 : 
[16284] [asl-help] Searching for module with name: UnityPlayer.dll... 
[16284] LiveSplit.exe Information: 0 : 
[16284] [asl-help]   => Found UnityPlayer.dll. 
[16284] LiveSplit.exe Information: 0 : 
[16284] [asl-help] Looking for g_runtimeSceneManager... 
[17356] D:\JenkinsWorkspace\workspace\client_build_installer\client\products\overlay\mg\overlay\Hooks.cpp(43) : --- Overlay started --- (C:\Program Files (x86)\Ubisoft\Ubisoft Game Launcher\games\Prince of Persia The Lost Crown\TheLostCrown_plus.exe)
[16284] LiveSplit.exe Information: 0 : 
[16284] [asl-help]   => Found at 0x7FF8D2A2FEB0. 
[16284] LiveSplit.exe Information: 0 : 
[16284] [asl-help]     => SceneManager will be available. 
[16284] LiveSplit.exe Information: 0 : 
[16284] [asl-help] Searching for module with names: GameAssembly.dll, GameAssembly_plus.dll... 
[16284] LiveSplit.exe Information: 0 : 
[16284] [asl-help]   => No module found yet. 
[16284] LiveSplit.exe Information: 0 : 
[16284] [asl-help]   => Retrying 2 more times in 1000ms... 
[17356] D:\JenkinsWorkspace\workspace\client_build_installer\client\products\overlay\mg\overlay\win\PlatformHooks.cpp(150) : 'kernel32.dll' hooked
[17356] D:\JenkinsWorkspace\workspace\client_build_installer\client\products\overlay\mg\overlay\win\PlatformHooks.cpp(150) : 'kernel32.dll' hooked
[17356] D:\JenkinsWorkspace\workspace\client_build_installer\client\products\overlay\mg\overlay\win\PlatformHooks.cpp(150) : 'shell32.dll' hooked
[17356] D:\JenkinsWorkspace\workspace\client_build_installer\client\products\overlay\mg\overlay\win\PlatformHooks.cpp(150) : 'xinput9_1_0.dll' hooked
[17356] D:\JenkinsWorkspace\workspace\client_build_installer\client\products\overlay\mg\overlay\win\PlatformHooks.cpp(150) : 'dxgi.dll' hooked
[17356] D:\JenkinsWorkspace\workspace\client_build_installer\client\products\overlay\mg\overlay\win\PlatformHooks.cpp(150) : 'd3d9.dll' hooked
[17356] D:\JenkinsWorkspace\workspace\client_build_installer\client\products\overlay\mg\overlay\win\PlatformHooks.cpp(150) : 'user32.dll' hooked
[17356] D:\JenkinsWorkspace\workspace\client_build_installer\client\products\overlay\mg\overlay\win\PlatformHooks.cpp(150) : 'KernelBase.dll' hooked
[17356] D:\JenkinsWorkspace\workspace\client_build_installer\client\products\overlay\mg\overlay\win\PlatformHooks.cpp(150) : 'CfgMgr32.dll' hooked
[17356] D:\JenkinsWorkspace\workspace\client_build_installer\client\products\overlay\mg\overlay\win\PlatformHooks.cpp(150) : 'ole32.dll' hooked
[17356] D:\JenkinsWorkspace\workspace\client_build_installer\client\shared\libs\virtualgamepad\mg\virtualgamepad\VirtualGamePadsManagerImpl.cpp(592) : Registering Win32 device change for hwnd 3018956, notification: 0
[16284] LiveSplit.exe Information: 0 : 
[16284] [asl-help]   => Found GameAssembly_plus.dll. 
[16284] LiveSplit.exe Information: 0 : 
[16284] [asl-help] Retrieving Unity version... 
[16284] LiveSplit.exe Information: 0 : 
[16284] [asl-help] [WARNING]   => Version not found. 
[16284] LiveSplit.exe Information: 0 : 
[16284] [asl-help] Aborting due to error. 
[16284] AslHelp.MemUtils.Exceptions.FatalNotFoundException: Unity version was not found. Consider setting it manually. 
[16284]    at Unity.MakeManager() 
[16284]    at AslHelp.HelperBase`1.<<Load>b__31_0>d.MoveNext() 
[6148] D:\JenkinsWorkspace\workspace\client_build_installer\client\products\hub\hub\ApiProcessConnection.cpp(124) : Game with process id 17356 connected.
[6148] D:\JenkinsWorkspace\workspace\client_build_installer\client\products\hub\hub\ApiProcessConnection.cpp(136) : Game with process id 17356 has been started with product id 6145 (branch: 'default').
[17356] D:\JenkinsWorkspace\workspace\client_build_installer\client\products\overlay\mg\overlay\win\PlatformHooks.cpp(150) : 'xinput1_4.dll' hooked
[17356] D:\JenkinsWorkspace\workspace\client_build_installer\client\products\overlay\mg\overlay\win\PlatformHooks.cpp(150) : 'xinput1_3.dll' hooked
[17356] D:\JenkinsWorkspace\workspace\client_build_installer\client\shared\libs\virtualgamepad\mg\virtualgamepad\VirtualGamePadsManagerImpl.cpp(592) : Registering Win32 device change for hwnd 3018956, notification: 1652826502800
[17356] D:\JenkinsWorkspace\workspace\client_build_installer\client\products\overlay\mg\overlay\win\D3d11Render.cpp(388) : D3D11 device created
[17356] D:\JenkinsWorkspace\workspace\client_build_installer\client\shared\libs\virtualgamepad\mg\virtualgamepad\VirtualGamePadsManagerImpl.cpp(592) : Registering Win32 device change for hwnd 3018956, notification: 1652826507520
[17356] D:\JenkinsWorkspace\workspace\client_build_installer\client\shared\libs\virtualgamepad\mg\virtualgamepad\VirtualGamePadsManagerImpl.cpp(592) : Registering Win32 device change for hwnd 2562994, notification: 0
[17356] D:\JenkinsWorkspace\workspace\client_build_installer\client\shared\libs\virtualgamepad\mg\virtualgamepad\VirtualGamePadsManagerImpl.cpp(592) : Registering Win32 device change for hwnd 3018956, notification: 1652826514720
[17356] D:\JenkinsWorkspace\workspace\client_build_installer\client\shared\libs\virtualgamepad\mg\virtualgamepad\VirtualGamePadsManagerImpl.cpp(592) : Registering Win32 device change for hwnd 3018956, notification: 1652826509440
[17356] D:\JenkinsWorkspace\workspace\client_build_installer\client\products\overlay\mg\overlay\win\AudioHooks.cpp(558) : Audio hooks initialized
[17356] D:\JenkinsWorkspace\workspace\client_build_installer\client\products\overlay\mg\overlay\Overlay.cpp(780) : Sending overlay start request
[17356] D:\JenkinsWorkspace\workspace\client_build_installer\client\products\overlay\mg\overlay\win\PlatformHooks.cpp(150) : 'dinput8.dll' hooked
[6148] D:\JenkinsWorkspace\workspace\client_build_installer\client\products\hub\hub\UplayGameConnectionHandler.cpp(401) : Game with process id 17356 connected (API version: 2.11.0).
[6148] D:\JenkinsWorkspace\workspace\client_build_installer\client\shared\libs\biz\misc\mg\biz\misc\AchievementsRead.cpp(100) : Can't find achievement image, skipped (achievement id: 21, game id: 6145)
[6148] D:\JenkinsWorkspace\workspace\client_build_installer\client\products\hub\hub\UplayGameConnectionHandler.cpp(401) : Game with process id 17356 connected (API version: 2.10.0).
[6148] D:\JenkinsWorkspace\workspace\client_build_installer\client\shared\libs\biz\misc\mg\biz\misc\JobHttp.cpp(173) : Http status code is 404 for url https://public-ubiservices.ubi.com/v2/profiles/6b9bc112-3b2c-4658-ad93-f816727f6e08/club/progression/title?locale=en&spaceId=aa6b1778-f274-4b52-8fce-f642173aa0e1.
[6148] D:\JenkinsWorkspace\workspace\client_build_installer\client\shared\libs\biz\misc\mg\biz\misc\UbiServicesClubProgressionGet.cpp(118) : Get club progression failed with code 1003.
[16284] LiveSplit.exe Information: 0 : 
[16284] [Prince of Persia: The Lost Crown] True 
[16284] LiveSplit.exe Error: 0 : 
[16284] 'System.Dynamic.ExpandoObject' does not contain a definition for 'isPaused'
[16284] 
[16284]    at System.Windows.Forms.Control.MarshaledInvoke(Control caller, Delegate method, Object[] args, Boolean synchronous) 
[16284]    at System.Windows.Forms.Control.Invoke(Delegate method, Object[] args) 
[16284]    at LiveSplit.View.TimerForm.<>c__DisplayClass181_0.<hook_KeyOrButtonPressed>b__1() 
dotneB commented 8 months ago

We're getting there, it's loading the custom list of mono modules but can't find the Unity version.

00006306    617.00677490    [32560] LiveSplit.exe Information: 0 :  
00006307    617.00677490    [32560] [ASL/65361777] Running shutdown     
00006308    617.01348877    [32560] LiveSplit.exe Information: 0 :  
00006309    617.01348877    [32560] [ASL] Loading new script: C:\Users\benoi\Downloads\POPTLC.asl   
00006311    617.61401367    [32560] LiveSplit.exe Information: 0 :  
00006312    617.61407471    [32560] [ASL/55472867] Running startup  
00006313    617.64672852    [32560] LiveSplit.exe Information: 0 :  
00006314    617.64678955    [32560] Thank you for using asl-help, created by Ero! For more information, see https://github.com/just-ero/asl-help.   
00006315    617.64678955    [32560] This library contains many features created for helping out ASL developers.     
00006316    617.64678955    [32560]     
00006317    617.64678955    [32560] If you would like to opt out of code generation, please use the following code in 'startup {}' instead.     
00006318    617.64678955    [32560] Make sure to call GetType() with the name of the specific helper you would like to use.     
00006319    617.64678955    [32560]     var type = Assembly.Load(File.ReadAllBytes(@"Components\asl-help")).GetType("Basic");   
00006320    617.64678955    [32560]     vars.Helper = Activator.CreateInstance(type, args: false);  
00006321    617.64678955    [32560]     
00006322    617.64678955    [32560] If you have any questions, please tag @Ero#1111 in the #auto-splitters channel  
00006323    617.64678955    [32560] of the Speedrun Tool Development Discord server: https://discord.gg/cpYsxz7.    
00006324    617.64685059    [32560] LiveSplit.exe Information: 0 :  
00006325    617.64685059    [32560] [asl-help]  
00006326    617.64691162    [32560] LiveSplit.exe Information: 0 :  
00006327    617.64691162    [32560] [asl-help] Loading asl-help...  
00006328    617.64697266    [32560] LiveSplit.exe Information: 0 :  
00006329    617.64697266    [32560] [asl-help]   => Generating code...  
00006330    617.64855957    [32560] LiveSplit.exe Information: 0 :  
00006331    617.64855957    [32560] [asl-help]     => Set helper to vars.Helper.    
00006332    617.64910889    [32560] LiveSplit.exe Information: 0 :  
00006333    617.64910889    [32560] [asl-help]     => Created the Action<object> vars.Log.  
00006334    617.73840332    [32560] LiveSplit.exe Information: 0 :  
00006335    617.73840332    [32560] [asl-help]     => Added the following code to the beginning of shutdown:    
00006336    617.73840332    [32560] LiveSplit.exe Information: 0 :  
00006337    617.73846436    [32560] [asl-help]        `vars.Helper.Dispose();`  
00006338    617.82135010    [32560] LiveSplit.exe Information: 0 :  
00006339    617.82147217    [32560] [asl-help]     => Added the following code to the end of init:  
00006340    617.82159424    [32560] LiveSplit.exe Information: 0 :  
00006341    617.82177734    [32560] [asl-help]        `vars.Helper.Load();`     
00006342    617.93493652    [32560] LiveSplit.exe Information: 0 :  
00006343    617.93493652    [32560] [asl-help]     => Added the following code to the beginning of update:  
00006344    617.93493652    [32560] LiveSplit.exe Information: 0 :  
00006345    617.93499756    [32560] [asl-help]        `if (!vars.Helper.Loaded) return false; vars.Helper.MapPointers();`   
00006346    618.01800537    [32560] LiveSplit.exe Information: 0 :  
00006347    618.01806641    [32560] [asl-help]     => Added the following code to the beginning of exit:    
00006348    618.01812744    [32560] LiveSplit.exe Information: 0 :  
00006349    618.01812744    [32560] [asl-help]        `vars.Helper.Dispose();`  
00006350    618.01818848    [32560] LiveSplit.exe Information: 0 :  
00006351    618.01818848    [32560] [asl-help]   => Unity features will be available.   
00006352    618.02124023    [32560] LiveSplit.exe Information: 0 :  
00006353    618.02124023    [32560] [asl-help]   => Will try to load SceneManager.  
00006354    618.02221680    [32560] LiveSplit.exe Information: 0 :  
00006355    618.02221680    [32560] [asl-help]   => Will try to load the mono modules GameAssembly.dll, GameAssembly_plus.dll.      
00006356    618.04901123    [32560] LiveSplit.exe Information: 0 :  
00006357    618.04907227    [32560] [ASL/55472867] Connected to game: TheLostCrown_plus (using default state descriptor)    
00006358    618.04907227    [32560] LiveSplit.exe Information: 0 :  
00006359    618.04907227    [32560] [ASL/55472867] Initializing     
00006360    618.14611816    [32560] LiveSplit.exe Information: 0 :  
00006361    618.14617920    [32560] [ASL/55472867] Init completed, running main methods     
00006362    618.14642334    [32560] LiveSplit.exe Information: 0 :  
00006363    618.14648438    [32560] [asl-help] Searching for module with name: UnityPlayer.dll...   
00006364    618.15148926    [32560] LiveSplit.exe Information: 0 :  
00006365    618.15148926    [32560] [asl-help]   => Found UnityPlayer.dll.  
00006366    618.15380859    [32560] LiveSplit.exe Information: 0 :  
00006367    618.15380859    [32560] [asl-help] Looking for g_runtimeSceneManager...     
00006369    618.20495605    [32560] LiveSplit.exe Information: 0 :  
00006370    618.20501709    [32560] [asl-help]   => Found at 0x7FFB8E3CFEB0.    
00006371    618.20538330    [32560] LiveSplit.exe Information: 0 :  
00006372    618.20544434    [32560] [asl-help]     => SceneManager will be available.   
00006373    618.20556641    [32560] LiveSplit.exe Information: 0 :  
00006374    618.20556641    [32560] [asl-help] Searching for module with names: GameAssembly.dll, GameAssembly_plus.dll...  
00006375    618.20764160    [32560] LiveSplit.exe Information: 0 :  
00006376    618.20764160    [32560] [asl-help]   => Found GameAssembly_plus.dll.    
00006377    618.20843506    [32560] LiveSplit.exe Information: 0 :  
00006378    618.20843506    [32560] [asl-help] Retrieving Unity version...  
00006379    618.20880127    [32560] LiveSplit.exe Information: 0 :  
00006380    618.20880127    [32560] [asl-help] [WARNING]   => Version not found.    
00006381    618.20904541    [32560] LiveSplit.exe Information: 0 :  
00006382    618.20904541    [32560] [asl-help] Aborting due to error.   
00006383    618.20904541    [32560] AslHelp.MemUtils.Exceptions.FatalNotFoundException: Unity version was not found. Consider setting it manually.  
00006384    618.20904541    [32560]    at Unity.MakeManager()   
00006385    618.20904541    [32560]    at AslHelp.HelperBase`1.<<Load>b__31_0>d.MoveNext()  
mitchell-merry commented 8 months ago

thanks! will take a look on my lunch break

dotneB commented 8 months ago

If I understand asl-help code correctly, I think it's because that now the MainModule is GameAssembly_plus, it tries to check inside of TheLostCrown_plus_Data?

string data = MainModule.FilePath[..^4] + "_Data"; in src/Unity/Helper/Unity.Data.cs

added: Yeah, so if I copy the TheLostCrown_Data folder and name it TheLostCrown_plus_Data, I get a bit farther

[...snipped..]
00007940    1366.74975586   [32560] LiveSplit.exe Information: 0 :  
00007941    1366.74975586   [32560] [asl-help] Searching for module with names: GameAssembly.dll, GameAssembly_plus.dll...  
00007942    1366.75537109   [32560] LiveSplit.exe Information: 0 :  
00007943    1366.75537109   [32560] [asl-help]   => Found GameAssembly_plus.dll.    
00007944    1366.75683594   [32560] LiveSplit.exe Information: 0 :  
00007945    1366.75695801   [32560] [asl-help] Retrieving Unity version...  
00007946    1366.75781250   [32560] LiveSplit.exe Information: 0 :  
00007947    1366.75781250   [32560] [asl-help]   => Unity 2021.3.29f1.  
00007948    1366.75781250   [32560] LiveSplit.exe Information: 0 :  
00007949    1366.75781250   [32560] [asl-help]   => Doesn't look right? You can set the helper's `UnityVersion` manually in 'startup {}':   
00007950    1366.75781250   [32560] LiveSplit.exe Information: 0 :  
00007951    1366.75793457   [32560] [asl-help]      `vars.Helper.UnityVersion = new Version(2017, 2);`  
00007952    1366.75805664   [32560] LiveSplit.exe Information: 0 :  
00007953    1366.75805664   [32560] [asl-help] Aborting due to error.   
00007954    1366.75805664   [32560] System.NotSupportedException: This version of Unity does not appear to be supported.    
00007955    1366.75805664   [32560]    at Unity.MakeManager()   
00007956    1366.75805664   [32560]    at AslHelp.HelperBase`1.<<Load>b__31_0>d.MoveNext()  

Manually setting vars.Helper.UnityVersion = new Version(2021, 3); in startup, give same logs

[...snipped..]
00007857    1359.96557617   [32560] LiveSplit.exe Information: 0 :  
00007858    1359.96557617   [32560] [asl-help] Searching for module with names: GameAssembly.dll, GameAssembly_plus.dll...  
00007859    1359.97143555   [32560] LiveSplit.exe Information: 0 :  
00007860    1359.97143555   [32560] [asl-help]   => Found GameAssembly_plus.dll.    
00007861    1359.97290039   [32560] LiveSplit.exe Information: 0 :  
00007862    1359.97290039   [32560] [asl-help] Aborting due to error.   
00007863    1359.97290039   [32560] System.NotSupportedException: This version of Unity does not appear to be supported.    
00007864    1359.97290039   [32560]    at Unity.MakeManager()   
00007865    1359.97290039   [32560]    at AslHelp.HelperBase`1.<<Load>b__31_0>d.MoveNext()  

added: Looks like it's again the different MonoModule.Name not being the expected GameAssembly.dll that's causing issue further in src/Unity/Helper/Unity.Load.cs when switching and deciding if it's mono or il2cpp

mitchell-merry commented 8 months ago

Thanks for the investigation! Will look when I am on my lunch break

mitchell-merry commented 8 months ago

I pushed up new versions of both. Try now?

dotneB commented 8 months ago

It works, at least the auto start of the run, I'll get to the first split to confirm splitting isn't broken, but that should have been impacted by that fix

updated: confirmed first split worked as well

mitchell-merry commented 8 months ago

Awesome!!! I will clean up the PRs when I can and get them in, but for now happy speedrunning!

dotneB commented 8 months ago

Damn, I'm sorry, I had the folder TheLostCrown_plus_Data leftover I had crated for my previous test/investigation. After removing it to make sure I was testing clean it's back to Version not found. My bad... At least, we know it works if it can find the correct _Data folder

[15324] [asl-help]   => Unity features will be available. 
[15324] LiveSplit.exe Information: 0 : 
[15324] [asl-help]   => Will try to load SceneManager. 
[15324] LiveSplit.exe Information: 0 : 
[15324] [asl-help]   => Will use the IL2CPP modules GameAssembly.dll, GameAssembly_plus.dll.  
[15324] LiveSplit.exe Information: 0 : 
[15324] [ASL/46632549] Connected to game: TheLostCrown_plus (using default state descriptor) 
[15324] LiveSplit.exe Information: 0 : 
[15324] [ASL/46632549] Initializing 
[15324] LiveSplit.exe Information: 0 : 
[15324] [ASL/46632549] Init completed, running main methods 
[15324] LiveSplit.exe Information: 0 : 
[15324] [asl-help] Searching for module with name: UnityPlayer.dll... 
[15324] LiveSplit.exe Information: 0 : 
[15324] [asl-help]   => Found UnityPlayer.dll. 
[15324] LiveSplit.exe Information: 0 : 
[15324] [asl-help] Looking for g_runtimeSceneManager... 
[15324] LiveSplit.exe Information: 0 : 
[15324] [asl-help]   => Found at 0x7FFB89C7FEB0. 
[15324] LiveSplit.exe Information: 0 : 
[15324] [asl-help]     => SceneManager will be available. 
[15324] LiveSplit.exe Information: 0 : 
[15324] [asl-help] Searching for module with names: mono.dll, mono-2.0-bdwgc.dll, GameAssembly.dll, GameAssembly_plus.dll... 
[15324] LiveSplit.exe Information: 0 : 
[15324] [asl-help]   => Found GameAssembly_plus.dll. 
[15324] LiveSplit.exe Information: 0 : 
[15324] [asl-help] Retrieving Unity version... 
[15324] LiveSplit.exe Information: 0 : 
[15324] [asl-help] [WARNING]   => Version not found. 
[15324] LiveSplit.exe Information: 0 : 
[15324] [asl-help] Aborting due to error. 
[15324] AslHelp.MemUtils.Exceptions.FatalNotFoundException: Unity version was not found. Consider setting it manually. 
[15324]    at Unity.MakeManager() 
[15324]    at AslHelp.HelperBase`1.<<Load>b__31_0>d.MoveNext() 
mitchell-merry commented 8 months ago

Very interesting... I think it uses the process name. We can probably just override this as well

mitchell-merry commented 8 months ago

I have pushed a potential fix.

dotneB commented 8 months ago
[19956] LiveSplit.exe Information: 0 : 
[19956] [asl-help]   => Unity features will be available. 
[19956] LiveSplit.exe Information: 0 : 
[19956] [asl-help]   => Will try to load SceneManager. 
[19956] LiveSplit.exe Information: 0 : 
[19956] [asl-help]   => Will use the IL2CPP modules GameAssembly.dll, GameAssembly_plus.dll.  
[19956] LiveSplit.exe Information: 0 : 
[19956] [asl-help] Will use TheLostCrown_Data as the DataFolder 
[19956] LiveSplit.exe Information: 0 : 
[19956] [ASL/66384370] Connected to game: TheLostCrown_plus (using default state descriptor) 
[19956] LiveSplit.exe Information: 0 : 
[19956] [ASL/66384370] Initializing 
[19956] LiveSplit.exe Information: 0 : 
[19956] [ASL/66384370] Init completed, running main methods 
[19956] LiveSplit.exe Information: 0 : 
[19956] [asl-help] Searching for module with name: UnityPlayer.dll... 
[19956] LiveSplit.exe Information: 0 : 
[19956] [asl-help]   => Found UnityPlayer.dll. 
[19956] LiveSplit.exe Information: 0 : 
[19956] [asl-help] Looking for g_runtimeSceneManager... 
[19956] LiveSplit.exe Information: 0 : 
[19956] [asl-help]   => Found at 0x7FFB897FFEB0. 
[19956] LiveSplit.exe Information: 0 : 
[19956] [asl-help]     => SceneManager will be available. 
[19956] LiveSplit.exe Information: 0 : 
[19956] [asl-help] Searching for module with names: mono.dll, mono-2.0-bdwgc.dll, GameAssembly.dll, GameAssembly_plus.dll... 
[19956] LiveSplit.exe Information: 0 : 
[19956] [asl-help]   => Found GameAssembly_plus.dll. 
[19956] LiveSplit.exe Information: 0 : 
[19956] [asl-help] Retrieving Unity version... 
[19956] LiveSplit.exe Information: 0 : 
[19956] [asl-help] [WARNING]   => Version not found. 
[19956] LiveSplit.exe Information: 0 : 
[19956] [asl-help] Aborting due to error. 
[19956] AslHelp.MemUtils.Exceptions.FatalNotFoundException: Unity version was not found. Consider setting it manually. 
[19956]    at Unity.MakeManager() 
[19956]    at AslHelp.HelperBase`1.<<Load>b__31_0>d.MoveNext() 
dotneB commented 8 months ago

Oh MainModule.FilePath[..^4] + "_Data"; gives the full file path So if I edit the asl to vars.Helper.DataFolder = "N:\\Ubisoft Games\\Prince of Persia The Lost Crown\\TheLostCrown_Data"; it works

mitchell-merry commented 8 months ago

Ah gotcha gotcha. Okay, that'll require slightly more thinking to fix, because I'm not a C# wiz, but this is good news

(It's very simple probably but it will take more than a couple seconds).

Thanks again for your quick responses and investigation

dotneB commented 8 months ago

Something like that (2nd try)? string data = String.IsNullOrEmpty(DataFolder) ? MainModule.FilePath[..^4] + "_Data" : Path.Combine(Path.GetDirectoryName(MainModule.FilePath), DataFolder);

mitchell-merry commented 8 months ago

Pushed that up, it works for me with that, I presume it wouldn't've before

just-ero commented 8 months ago

literally meta SNORE ical

just-ero commented 8 months ago

@dotneB and @BIaidan, could you please try the following?

  1. Deactivate the auto splitter from LiveSplit's splits editor.
  2. Download the version of asl-help located at mitchell-merry/asl-help#feat/custom-mono-modules and replace the one located in your LiveSplit/Components directory.
  3. Download the testing ASL I've created at just-ero/LiveSplit.POPTLC#main by clicking the Download button in the top-right of the file and place it anywhere on your computer.
  4. Open DebugView or Trace Spy.
  5. Open and right-click LiveSplit -> add or edit an existing Scriptable Auto Splitter component -> point it to the script you just downloaded.
  6. View the output.

Please report back with any insights.

dotneB commented 8 months ago

Works, here's the output for just-ero/LiveSplit.POPTLC#main with the new asl-help

[35900] LiveSplit.exe Information: 0 : 
[35900] [ASL/40412562] Initializing 
[35900] LiveSplit.exe Information: 0 : 
[35900] [ASL/40412562] Init completed, running main methods 
[35900] LiveSplit.exe Information: 0 : 
[35900] [asl-help] Searching for module with names: mono.dll, mono-2.0-bdwgc.dll, GameAssembly.dll, GameAssembly_plus.dll... 
[35900] LiveSplit.exe Information: 0 : 
[35900] [asl-help]   => No module found yet. 
[35900] LiveSplit.exe Information: 0 : 
[35900] [asl-help]   => Retrying 2 more times in 1000ms... 
[35900] LiveSplit.exe Information: 0 : 
[35900] [asl-help]   => Found GameAssembly_plus.dll. 
[35900] LiveSplit.exe Information: 0 : 
[35900] [asl-help] Retrieving Unity version... 
[35900] LiveSplit.exe Information: 0 : 
[35900] [asl-help]   => Unity 2021.3.29f1. 
[35900] LiveSplit.exe Information: 0 : 
[35900] [asl-help]   => Doesn't look right? You can set the helper's `UnityVersion` manually in 'startup {}': 
[35900] LiveSplit.exe Information: 0 : 
[35900] [asl-help]      `vars.Helper.UnityVersion = new Version(2017, 2);` 
[35900] LiveSplit.exe Information: 0 : 
[35900] [asl-help] Retrieving IL2CPP version... 
[35900] LiveSplit.exe Information: 0 : 
[35900] [asl-help]   => IL2CPP 29. 
[35900] LiveSplit.exe Information: 0 : 
[35900] [asl-help] Loading Unity il2cpp.2020 structs... 
[35900] LiveSplit.exe Information: 0 : 
[35900] [asl-help]   => Success. 
[35900] LiveSplit.exe Information: 0 : 
[35900] [asl-help] 
[35900] LiveSplit.exe Information: 0 : 
[35900] [asl-help] Executing TryLoad... 
[35900] LiveSplit.exe Information: 0 : 
[35900] [asl-help] Searching for image 'Alkawa.Gameplay'... 
[35900] LiveSplit.exe Error: 0 : 
[35900] Exception thrown: 'System.ComponentModel.Win32Exception' in 'update' method:
[35900] The handle is invalid
[35900] 
[35900]    at ASL line 28 in 'update'
[35900] 
[35900]    at LiveSplit.ASL.ASLMethod.Call(LiveSplitState timer, ExpandoObject vars, String& version, Double& refreshRate, Object settings, ExpandoObject old, ExpandoObject current, Process game) 
[35900]    at LiveSplit.ASL.ASLScript.RunMethod(ASLMethod method, LiveSplitState state, String& version) 
[35900]    at LiveSplit.ASL.ASLScript.DoUpdate(LiveSplitState state) 
[35900]    at LiveSplit.UI.Components.ASLComponent.UpdateScript() 
[35900] LiveSplit.exe Information: 0 : 
[35900] [asl-help]   => Found at 0x212915187A0. 
[35900] LiveSplit.exe Information: 0 : 
[35900] [asl-help]     => typeCount is 4847. 
[35900] LiveSplit.exe Information: 0 : 
[35900] [asl-help]     => typeStart at 0x0. 
[35900] LiveSplit.exe Information: 0 : 
[35900] [asl-help] Searching for class 'PauseManager'... 
[35900] LiveSplit.exe Information: 0 : 
[35900] [asl-help]   => Not found! 
[35900] LiveSplit.exe Information: 0 : 
[35900] [asl-help]   => Class 'PauseManager' could not be found. 
[35900] LiveSplit.exe Information: 0 : 
[35900] [asl-help] TryLoad not successful. 
[35900] LiveSplit.exe Information: 0 : 
[35900] [asl-help]   => Retrying in 3000ms... 
[35900] LiveSplit.exe Information: 0 : 
[35900] [asl-help] Searching for class 'PauseManager'... 
[35900] LiveSplit.exe Information: 0 : 
[35900] [asl-help]   => Found at 0x212D3E83790. 
[35900] LiveSplit.exe Information: 0 : 
[35900] [asl-help]   => Static field table at 0x21291833A40. 
[35900] LiveSplit.exe Information: 0 : 
[35900] [asl-help]     => 0x000: static OnPauseChanged 
[35900] LiveSplit.exe Information: 0 : 
[35900] [asl-help]     => 0x008: static m_canCutCineSoundRefCount 
[35900] LiveSplit.exe Information: 0 : 
[35900] [asl-help]     => 0x00C: static m_forcePausedRefCount 
[35900] LiveSplit.exe Information: 0 : 
[35900] [asl-help]     => 0x010: static m_paused 
[35900] LiveSplit.exe Information: 0 : 
[35900] [asl-help]     => 0x014: static TimeScaleToRestore 
[35900] LiveSplit.exe Information: 0 : 
[35900] [asl-help]     => 0x018: static m_slaveTimeScaleBeforePause 
[35900] LiveSplit.exe Information: 0 : 
[35900] [asl-help]     => 0x020: static wasInputLocked 
[35900] LiveSplit.exe Information: 0 : 
[35900] [asl-help]     => 0x021: static wasInputStickLocked 
[35900] LiveSplit.exe Information: 0 : 
[35900] [asl-help]     => 0x022: static isSelfUpdate 
[35900] LiveSplit.exe Information: 0 : 
[35900] [asl-help]     => 0x023: static wasTimelinePaused 
[35900] LiveSplit.exe Information: 0 : 
[35900] [asl-help]     => 0x028: static m_PlayerComponent 
[35900] LiveSplit.exe Information: 0 : 
[35900] [asl-help]     => 0x030: static wasInputLockedUpdater 
[35900] LiveSplit.exe Information: 0 : 
[35900] [asl-help]     => 0x038: static wasInputStickLockedUpdater 
[35900] LiveSplit.exe Information: 0 : 
[35900] [asl-help] TryLoad successful. 
[35900] LiveSplit.exe Information: 0 : 
[35900] [asl-help] 
[35900] LiveSplit.exe Information: 0 : 
[35900] [asl-help] Unity loading complete. 

Here's the output from this MR POPTLC.asl, with those 2 lines updated to the new asl-help API

    vars.Helper.Il2CppModules.Add("GameAssembly_plus.dll");
    vars.Helper.DataDirectory = "TheLostCrown_Data";
[35900] LiveSplit.exe Information: 0 : 
[35900] [ASL/34213602] Running startup 
[35900] LiveSplit.exe Information: 0 : 
[35900] Thank you for using asl-help, created by Ero! For more information, see https://github.com/just-ero/asl-help. 
[35900] This library contains many features created for helping out ASL developers. 
[35900]  
[35900] If you would like to opt out of code generation, please use the following code in 'startup {}' instead. 
[35900] Make sure to call GetType() with the name of the specific helper you would like to use. 
[35900]     var type = Assembly.Load(File.ReadAllBytes(@"Components\asl-help")).GetType("Basic"); 
[35900]     vars.Helper = Activator.CreateInstance(type, args: false); 
[35900]  
[35900] If you have any questions, please tag @Ero#1111 in the #auto-splitters channel 
[35900] of the Speedrun Tool Development Discord server: https://discord.gg/cpYsxz7. 
[35900] LiveSplit.exe Information: 0 : 
[35900] [asl-help] 
[35900] LiveSplit.exe Information: 0 : 
[35900] [asl-help] Loading asl-help... 
[35900] LiveSplit.exe Information: 0 : 
[35900] [asl-help]   => Generating code... 
[35900] LiveSplit.exe Information: 0 : 
[35900] [asl-help]     => Set helper to vars.Helper. 
[35900] LiveSplit.exe Information: 0 : 
[35900] [asl-help]     => Created the Action<object> vars.Log. 
[35900] LiveSplit.exe Information: 0 : 
[35900] [asl-help]     => Added the following code to the beginning of shutdown: 
[35900] LiveSplit.exe Information: 0 : 
[35900] [asl-help]        `vars.Helper.Dispose();` 
[35900] LiveSplit.exe Information: 0 : 
[35900] [asl-help]     => Added the following code to the end of init: 
[35900] LiveSplit.exe Information: 0 : 
[35900] [asl-help]        `vars.Helper.Load();` 
[35900] LiveSplit.exe Information: 0 : 
[35900] [asl-help]     => Added the following code to the beginning of update: 
[35900] LiveSplit.exe Information: 0 : 
[35900] [asl-help]        `if (!vars.Helper.Loaded) return false; vars.Helper.MapPointers();` 
[35900] LiveSplit.exe Information: 0 : 
[35900] [asl-help]     => Added the following code to the beginning of exit: 
[35900] LiveSplit.exe Information: 0 : 
[35900] [asl-help]        `vars.Helper.Dispose();` 
[35900] LiveSplit.exe Information: 0 : 
[35900] [asl-help]   => Unity features will be available. 
[35900] LiveSplit.exe Information: 0 : 
[35900] [asl-help]   => Will try to load SceneManager. 
[35900] LiveSplit.exe Information: 0 : 
[35900] [ASL/34213602] Connected to game: TheLostCrown_plus (using default state descriptor) 
[35900] LiveSplit.exe Information: 0 : 
[35900] [ASL/34213602] Initializing 
[35900] LiveSplit.exe Information: 0 : 
[35900] [ASL/34213602] Init completed, running main methods 
[35900] LiveSplit.exe Information: 0 : 
[35900] [asl-help] Searching for module with name: UnityPlayer.dll... 
[35900] LiveSplit.exe Information: 0 : 
[35900] [asl-help]   => Found UnityPlayer.dll. 
[35900] LiveSplit.exe Information: 0 : 
[35900] [asl-help] Looking for g_runtimeSceneManager... 
[35900] LiveSplit.exe Information: 0 : 
[35900] [asl-help]   => Found at 0x7FFB8F5EFEB0. 
[35900] LiveSplit.exe Information: 0 : 
[35900] [asl-help]     => SceneManager will be available. 
[35900] LiveSplit.exe Information: 0 : 
[35900] [asl-help] Searching for module with names: mono.dll, mono-2.0-bdwgc.dll, GameAssembly.dll, GameAssembly_plus.dll... 
[35900] LiveSplit.exe Information: 0 : 
[35900] [asl-help]   => Found GameAssembly_plus.dll. 
[35900] LiveSplit.exe Information: 0 : 
[35900] [asl-help] Retrieving Unity version... 
[35900] LiveSplit.exe Information: 0 : 
[35900] [asl-help]   => Unity 2021.3.29f1. 
[35900] LiveSplit.exe Information: 0 : 
[35900] [asl-help]   => Doesn't look right? You can set the helper's `UnityVersion` manually in 'startup {}': 
[35900] LiveSplit.exe Information: 0 : 
[35900] [asl-help]      `vars.Helper.UnityVersion = new Version(2017, 2);` 
[35900] LiveSplit.exe Information: 0 : 
[35900] [asl-help] Retrieving IL2CPP version... 
[35900] LiveSplit.exe Information: 0 : 
[35900] [asl-help]   => IL2CPP 29. 
[35900] LiveSplit.exe Information: 0 : 
[35900] [asl-help] Loading Unity il2cpp.2020 structs... 
[35900] LiveSplit.exe Information: 0 : 
[35900] LiveSplit.exe Information: 0 : 
[35900] [asl-help] 
[35900] LiveSplit.exe Information: 0 : 
[35900] [asl-help] Executing TryLoad... 
[35900] LiveSplit.exe Information: 0 : 
[35900] [asl-help] Searching for image 'Alkawa.Gameplay'... 
[35900] LiveSplit.exe Information: 0 : 
[35900] [asl-help]   => Found at 0x212915187A0. 
[35900] LiveSplit.exe Information: 0 : 
[35900] [asl-help]     => typeCount is 4847. 
[35900] LiveSplit.exe Information: 0 : 
[35900] [asl-help]     => typeStart at 0x0. 
[35900] LiveSplit.exe Information: 0 : 
[35900] [asl-help] Searching for class 'PauseManager'... 
[35900] LiveSplit.exe Information: 0 : 
[35900] [asl-help]   => Found at 0x212D3E83790. 
[35900] LiveSplit.exe Information: 0 : 
[35900] [asl-help]   => Static field table at 0x21291833A40. 
[35900] LiveSplit.exe Information: 0 : 
[35900] [asl-help]     => 0x000: static OnPauseChanged 
[35900] LiveSplit.exe Information: 0 : 
[35900] [asl-help]     => 0x008: static m_canCutCineSoundRefCount 
[35900] LiveSplit.exe Information: 0 : 
[35900] [asl-help]     => 0x00C: static m_forcePausedRefCount 
[35900] LiveSplit.exe Information: 0 : 
[35900] [asl-help]     => 0x010: static m_paused 
[35900] LiveSplit.exe Information: 0 : 
[35900] [asl-help]     => 0x014: static TimeScaleToRestore 
[35900] LiveSplit.exe Information: 0 : 
[35900] [asl-help]     => 0x018: static m_slaveTimeScaleBeforePause 
[35900] LiveSplit.exe Information: 0 : 
[35900] [asl-help]     => 0x020: static wasInputLocked 
[35900] LiveSplit.exe Information: 0 : 
[35900] [asl-help]     => 0x021: static wasInputStickLocked 
[35900] LiveSplit.exe Information: 0 : 
[35900] [asl-help]     => 0x022: static isSelfUpdate 
[35900] LiveSplit.exe Information: 0 : 
[35900] [asl-help]     => 0x023: static wasTimelinePaused 
[35900] LiveSplit.exe Information: 0 : 
[35900] [asl-help]     => 0x028: static m_PlayerComponent 
[...snipped...]

And it does auto-start

BIaidan commented 8 months ago

@just-ero Here's my output with your fix. It still does not seem to be auto-starting for me. I also noticed there are no options to check start/stop/splits on the ASL if that's an indication of anything.

[24056] [ASL] Loading new script: C:\Users\gamin\Downloads\POPTLC.asl 
[24056] LiveSplit.exe Information: 0 : 
[24056] [ASL/52859449] Running startup 
[24056] LiveSplit.exe Information: 0 : 
[24056] Thank you for using asl-help, created by Ero! For more information, see https://github.com/just-ero/asl-help. 
[24056] This library contains many features created for helping out ASL developers. 
[24056]  
[24056] If you would like to opt out of code generation, please use the following code in 'startup {}' instead. 
[24056] Make sure to call GetType() with the name of the specific helper you would like to use. 
[24056]     var type = Assembly.Load(File.ReadAllBytes(@"Components\asl-help")).GetType("Basic"); 
[24056]     vars.Helper = Activator.CreateInstance(type, args: false); 
[24056]  
[24056] If you have any questions, please tag @Ero#1111 in the #auto-splitters channel 
[24056] of the Speedrun Tool Development Discord server: https://discord.gg/cpYsxz7. 
[24056] LiveSplit.exe Information: 0 : 
[24056] [asl-help] 
[24056] LiveSplit.exe Information: 0 : 
[24056] [asl-help] Loading asl-help... 
[24056] LiveSplit.exe Information: 0 : 
[24056] [asl-help]   => Generating code... 
[24056] LiveSplit.exe Information: 0 : 
[24056] [asl-help]     => Set helper to vars.Helper. 
[24056] LiveSplit.exe Information: 0 : 
[24056] [asl-help]     => Created the Action<object> vars.Log. 
[24056] LiveSplit.exe Information: 0 : 
[24056] [asl-help]     => Added the following code to the beginning of shutdown: 
[24056] LiveSplit.exe Information: 0 : 
[24056] [asl-help]        `vars.Helper.Dispose();` 
[24056] LiveSplit.exe Information: 0 : 
[24056] [asl-help]     => Added the following code to the end of init: 
[24056] LiveSplit.exe Information: 0 : 
[24056] [asl-help]        `vars.Helper.Load();` 
[24056] LiveSplit.exe Information: 0 : 
[24056] [asl-help]     => Added the following code to the beginning of update: 
[24056] LiveSplit.exe Information: 0 : 
[24056] [asl-help]        `if (!vars.Helper.Loaded) return false; vars.Helper.MapPointers();` 
[24056] LiveSplit.exe Information: 0 : 
[24056] [asl-help]     => Added the following code to the beginning of exit: 
[24056] LiveSplit.exe Information: 0 : 
[24056] [asl-help]        `vars.Helper.Dispose();` 
[24056] LiveSplit.exe Information: 0 : 
[24056] [asl-help]   => Unity features will be available. 
just-ero commented 8 months ago

Your output doesn't include anything from after the game started.

You can also see, that my test script doesn't feature any blocks besides startup and init. It is therefore not going to include start, split, and reset features.

BIaidan commented 8 months ago

Sorry, I thought you only wanted the output after adding the autosplitter. Here's the output with starting the game:

[25552] D:\JenkinsWorkspace\workspace\client_build_installer\client\products\hub\hub\views\ConnectView.cpp(1259) : Console message, , Browser id: 26 https://overlay.cdn.ubisoft.com/default/assets/index-507770b6.js Shell/LifeGuard/[microAppLifecycle] Request deactivation for spotlight  details: {"moreInfo":{"appConfig":{"appName":"spotlight","bundleUrl":"https://spotlight.cdn.ubisoft.com/prod/app/bundle.js","manifestUrl":"https://spotlight.cdn.ubisoft.com/prod/app/manifest.json","spaceId":"eab7865a-4192-494d-bf85-ba08e76182f8","meta":{"iconUrl":"https://ubiservices.cdn.ubi.com/eab7865a-4192-494d-bf85-ba08e76182f8/spaceCardAsset/icon2.svg","label":"Spotlight"},"preload":false,"parentAppName":null,"order":3,"defaultPlacement":"modal","allowedPlacements":["modal"],"placement":"modal","isHidden":true},"version":"0.0.21"},"version":"0.0.21"}  moreInfo: {"appConfig":{"appName":"spotlight","bundleUrl":"https://spotlight.cdn.ubisoft.com/prod/app/bundle.js","manifestUrl":"https://spotlight.cdn.ubisoft.com/prod/app/manifest.json","spaceId":"eab7865a-4192-494d-bf85-ba08e76182f8","meta":{"iconUrl":"https://ubiservices.cdn.ubi.com/eab7865a-4192-494d-bf85-ba08e76182f8/spaceCardAsset/icon2.svg","label":"Spotlight"},"preload":false,"parentAppName":null,"order":3,"defaultPlacement":"modal","allowedPlacements":["modal"],"placement":"modal","isHidden":true},"version":"0.0.21"}, line: 1
[25552] D:\JenkinsWorkspace\workspace\client_build_installer\client\products\hub\hub\views\ConnectView.cpp(1259) : Console message, , Browser id: 26 https://overlay.cdn.ubisoft.com/default/assets/index-507770b6.js Shell/LifeGuard/[microAppLifecycle] Blur spotlight.  details: {"moreInfo":{"appConfig":{"appName":"spotlight","bundleUrl":"https://spotlight.cdn.ubisoft.com/prod/app/bundle.js","manifestUrl":"https://spotlight.cdn.ubisoft.com/prod/app/manifest.json","spaceId":"eab7865a-4192-494d-bf85-ba08e76182f8","meta":{"iconUrl":"https://ubiservices.cdn.ubi.com/eab7865a-4192-494d-bf85-ba08e76182f8/spaceCardAsset/icon2.svg","label":"Spotlight"},"preload":false,"parentAppName":null,"order":3,"defaultPlacement":"modal","allowedPlacements":["modal"],"placement":"modal","isHidden":true},"version":"0.0.21"},"version":"0.0.21"}  moreInfo: {"appConfig":{"appName":"spotlight","bundleUrl":"https://spotlight.cdn.ubisoft.com/prod/app/bundle.js","manifestUrl":"https://spotlight.cdn.ubisoft.com/prod/app/manifest.json","spaceId":"eab7865a-4192-494d-bf85-ba08e76182f8","meta":{"iconUrl":"https://ubiservices.cdn.ubi.com/eab7865a-4192-494d-bf85-ba08e76182f8/spaceCardAsset/icon2.svg","label":"Spotlight"},"preload":false,"parentAppName":null,"order":3,"defaultPlacement":"modal","allowedPlacements":["modal"],"placement":"modal","isHidden":true},"version":"0.0.21"}, line: 1
[25552] D:\JenkinsWorkspace\workspace\client_build_installer\client\products\hub\hub\views\ConnectView.cpp(1259) : Console message, , Browser id: 26 https://overlay.cdn.ubisoft.com/default/assets/index-507770b6.js Shell/LifeGuard/[microAppLifecycle] Deactivating spotlight.  details: {"moreInfo":{"appConfig":{"appName":"spotlight","bundleUrl":"https://spotlight.cdn.ubisoft.com/prod/app/bundle.js","manifestUrl":"https://spotlight.cdn.ubisoft.com/prod/app/manifest.json","spaceId":"eab7865a-4192-494d-bf85-ba08e76182f8","meta":{"iconUrl":"https://ubiservices.cdn.ubi.com/eab7865a-4192-494d-bf85-ba08e76182f8/spaceCardAsset/icon2.svg","label":"Spotlight"},"preload":false,"parentAppName":null,"order":3,"defaultPlacement":"modal","allowedPlacements":["modal"],"placement":"modal","isHidden":true},"version":"0.0.21"},"version":"0.0.21"}  moreInfo: {"appConfig":{"appName":"spotlight","bundleUrl":"https://spotlight.cdn.ubisoft.com/prod/app/bundle.js","manifestUrl":"https://spotlight.cdn.ubisoft.com/prod/app/manifest.json","spaceId":"eab7865a-4192-494d-bf85-ba08e76182f8","meta":{"iconUrl":"https://ubiservices.cdn.ubi.com/eab7865a-4192-494d-bf85-ba08e76182f8/spaceCardAsset/icon2.svg","label":"Spotlight"},"preload":false,"parentAppName":null,"order":3,"defaultPlacement":"modal","allowedPlacements":["modal"],"placement":"modal","isHidden":true},"version":"0.0.21"}, line: 1
[25552] D:\JenkinsWorkspace\workspace\client_build_installer\client\products\hub\hub\views\ConnectView.cpp(1259) : Console message, , Browser id: 26 https://overlay.cdn.ubisoft.com/default/assets/index-507770b6.js Shell/MicroApps.reducer/[microAppLifecycle] MicroApp spotlight in modal was deactivated, line: 1
[25552] D:\JenkinsWorkspace\workspace\client_build_installer\client\products\hub\hub\views\ConnectView.cpp(1259) : Console message, , Browser id: 26 https://overlay.cdn.ubisoft.com/default/assets/index-507770b6.js Shell/Configuration.reducer/[configuration] Micro App Configurations are loaded  details: {"gameApplicationId":"20adeb9c-6dad-404e-af1e-b12b4594e86e","gameSpaceId":"0a706b37-4b88-4437-b8f4-4ed2458c9518"}  moreInfo: {"gameApplicationId":"20adeb9c-6dad-404e-af1e-b12b4594e86e","gameSpaceId":"0a706b37-4b88-4437-b8f4-4ed2458c9518"}, line: 1
[25552] D:\JenkinsWorkspace\workspace\client_build_installer\client\products\hub\hub\views\ConnectView.cpp(1259) : Console message, , Browser id: 26 https://overlay.cdn.ubisoft.com/default/assets/index-507770b6.js Shell/Configuration.reducer/[configuration] Micro App Configurations are loaded  details: {"gameApplicationId":"20adeb9c-6dad-404e-af1e-b12b4594e86e","gameSpaceId":"0a706b37-4b88-4437-b8f4-4ed2458c9518"}  moreInfo: {"gameApplicationId":"20adeb9c-6dad-404e-af1e-b12b4594e86e","gameSpaceId":"0a706b37-4b88-4437-b8f4-4ed2458c9518"}, line: 1
[25552] D:\JenkinsWorkspace\workspace\client_build_installer\client\products\hub\hub\views\StartView.cpp(921) : 
[16756] D:\JenkinsWorkspace\workspace\client_build_installer\client\products\uplay_service\src\win\UplayService.cpp(1341) : Dependency installation failed: process C:/Program Files (x86)/Ubisoft/Ubisoft Game Launcher/games/Prince of Persia The Lost Crown/Support/Software/VCRedist/VC_redist.x64.exe exited with code 1638.
[828] LiveSplit.exe Information: 0 : 
[828] [ASL/56034750] Connected to game: TheLostCrown_plus (using default state descriptor) 
[828] LiveSplit.exe Information: 0 : 
[828] [ASL/56034750] Initializing 
[828] LiveSplit.exe Information: 0 : 
[828] [ASL/56034750] Init completed, running main methods 
[828] LiveSplit.exe Information: 0 : 
[828] [asl-help] Searching for module with names: mono.dll, mono-2.0-bdwgc.dll, GameAssembly.dll, GameAssembly_plus.dll... 
[828] LiveSplit.exe Information: 0 : 
[828] [asl-help]   => No module found yet. 
[828] LiveSplit.exe Information: 0 : 
[828] [asl-help]   => Retrying 2 more times in 1000ms... 
[828] LiveSplit.exe Error: 0 : 
[828] Exception thrown: 'System.ComponentModel.Win32Exception' in 'update' method:
[828] Only part of a ReadProcessMemory or WriteProcessMemory request was completed
[828] 
[828]    at ASL line 28 in 'update'
[828] 
[828]    at LiveSplit.ASL.ASLMethod.Call(LiveSplitState timer, ExpandoObject vars, String& version, Double& refreshRate, Object settings, ExpandoObject old, ExpandoObject current, Process game) 
[828]    at LiveSplit.ASL.ASLScript.RunMethod(ASLMethod method, LiveSplitState state, String& version) 
[828]    at LiveSplit.ASL.ASLScript.DoUpdate(LiveSplitState state) 
[828]    at LiveSplit.UI.Components.ASLComponent.UpdateScript() 
[828] LiveSplit.exe Information: 0 : 
[828] [ASL/56034750] Running exit 
[25552] D:\JenkinsWorkspace\workspace\client_build_installer\client\products\hub\hub\GameStartPipe.cpp(82) : Accepted connection.
[25552] D:\JenkinsWorkspace\workspace\client_build_installer\client\products\hub\hub\GameStartPipe.cpp(83) : Starting game session.
[25552] D:\JenkinsWorkspace\workspace\client_build_installer\client\shared\libs\biz\misc\mg\biz\misc\AchievementsDownload.cpp(254) : Unknown file extension for achievement.
[25552] D:\JenkinsWorkspace\workspace\client_build_installer\client\shared\libs\biz\misc\mg\biz\misc\AchievementsRead.cpp(100) : Can't find achievement image, skipped (achievement id: 21, game id: 6145)
[25552] D:\JenkinsWorkspace\workspace\client_build_installer\client\shared\libs\biz\misc\mg\biz\misc\CloudSaveSyncGameStart.cpp(309) : Migrate to new cloud save system.
[25552] D:\JenkinsWorkspace\workspace\client_build_installer\client\shared\libs\biz\misc\mg\biz\misc\CloudSaveMigration.cpp(166) : There's no savegames to migrate.
[828] LiveSplit.exe Information: 0 : 
[828] [ASL/56034750] Connected to game: TheLostCrown_plus (using default state descriptor) 
[828] LiveSplit.exe Information: 0 : 
[828] [ASL/56034750] Initializing 
[828] LiveSplit.exe Information: 0 : 
[828] [ASL/56034750] Init completed, running main methods 
[828] LiveSplit.exe Information: 0 : 
[828] [asl-help] Searching for module with names: mono.dll, mono-2.0-bdwgc.dll, GameAssembly.dll, GameAssembly_plus.dll... 
[828] LiveSplit.exe Information: 0 : 
[828] [asl-help]   => No module found yet. 
[828] LiveSplit.exe Information: 0 : 
[828] [asl-help]   => Retrying 2 more times in 1000ms... 
[18776] D:\JenkinsWorkspace\workspace\client_build_installer\client\products\overlay\mg\overlay\Hooks.cpp(43) : --- Overlay started --- (C:\Program Files (x86)\Ubisoft\Ubisoft Game Launcher\games\Prince of Persia The Lost Crown\TheLostCrown_plus.exe)
[18776] D:\JenkinsWorkspace\workspace\client_build_installer\client\products\overlay\mg\overlay\win\PlatformHooks.cpp(150) : 'kernel32.dll' hooked
[18776] D:\JenkinsWorkspace\workspace\client_build_installer\client\products\overlay\mg\overlay\win\PlatformHooks.cpp(150) : 'kernel32.dll' hooked
[18776] D:\JenkinsWorkspace\workspace\client_build_installer\client\products\overlay\mg\overlay\win\PlatformHooks.cpp(150) : 'shell32.dll' hooked
[18776] D:\JenkinsWorkspace\workspace\client_build_installer\client\products\overlay\mg\overlay\win\PlatformHooks.cpp(150) : 'xinput9_1_0.dll' hooked
[18776] D:\JenkinsWorkspace\workspace\client_build_installer\client\products\overlay\mg\overlay\win\PlatformHooks.cpp(150) : 'dxgi.dll' hooked
[18776] D:\JenkinsWorkspace\workspace\client_build_installer\client\products\overlay\mg\overlay\win\PlatformHooks.cpp(150) : 'd3d9.dll' hooked
[18776] D:\JenkinsWorkspace\workspace\client_build_installer\client\products\overlay\mg\overlay\win\PlatformHooks.cpp(150) : 'user32.dll' hooked
[18776] D:\JenkinsWorkspace\workspace\client_build_installer\client\products\overlay\mg\overlay\win\PlatformHooks.cpp(150) : 'KernelBase.dll' hooked
[18776] D:\JenkinsWorkspace\workspace\client_build_installer\client\products\overlay\mg\overlay\win\PlatformHooks.cpp(150) : 'CfgMgr32.dll' hooked
[18776] D:\JenkinsWorkspace\workspace\client_build_installer\client\products\overlay\mg\overlay\win\PlatformHooks.cpp(150) : 'ole32.dll' hooked
[18776] D:\JenkinsWorkspace\workspace\client_build_installer\client\shared\libs\virtualgamepad\mg\virtualgamepad\VirtualGamePadsManagerImpl.cpp(592) : Registering Win32 device change for hwnd 462480, notification: 0
[25552] D:\JenkinsWorkspace\workspace\client_build_installer\client\products\hub\hub\views\ConnectView.cpp(1259) : Console message, , Browser id: 26 https://overlay.cdn.ubisoft.com/default/assets/index-507770b6.js Unable to focus element with ID [modal] after a timeout of [5000]ms. This could be because the element does not exist or is not focusable., line: 2
[25552] D:\JenkinsWorkspace\workspace\client_build_installer\client\products\hub\hub\views\ConnectView.cpp(1259) : Console message, , Browser id: 26 https://overlay.cdn.ubisoft.com/default/assets/index-507770b6.js Shell/ShellFocus.reducer/[focus] Unable to move focus to container  details: {"error":{},"containerFocusId":"modal","errorCode":"unableToMoveFocusToContainerWarning"}  moreInfo: {"containerFocusId":"modal"}, line: 1
[25552] D:\JenkinsWorkspace\workspace\client_build_installer\client\products\hub\hub\ApiProcessConnection.cpp(124) : Game with process id 18776 connected.
[25552] D:\JenkinsWorkspace\workspace\client_build_installer\client\products\hub\hub\ApiProcessConnection.cpp(136) : Game with process id 18776 has been started with product id 6145 (branch: 'default').
[828] LiveSplit.exe Information: 0 : 
[828] [asl-help]   => Found GameAssembly_plus.dll. 
[828] LiveSplit.exe Information: 0 : 
[828] [asl-help] Retrieving Unity version... 
[828] LiveSplit.exe Information: 0 : 
[828] [asl-help]   => Unity 2021.3.29f1. 
[828] LiveSplit.exe Information: 0 : 
[828] [asl-help]   => Doesn't look right? You can set the helper's `UnityVersion` manually in 'startup {}': 
[828] LiveSplit.exe Information: 0 : 
[828] [asl-help]      `vars.Helper.UnityVersion = new Version(2017, 2);` 
[828] LiveSplit.exe Information: 0 : 
[828] [asl-help] Loading Unity il2cpp.2020 structs... 
[828] LiveSplit.exe Information: 0 : 
[828] [asl-help]   => Success. 
[828] LiveSplit.exe Information: 0 : 
[828] [asl-help] 
[828] LiveSplit.exe Information: 0 : 
[828] [asl-help] Executing TryLoad... 
[828] LiveSplit.exe Information: 0 : 
[828] [asl-help] Searching for image 'Alkawa.Gameplay'... 
[18776] D:\JenkinsWorkspace\workspace\client_build_installer\client\products\overlay\mg\overlay\win\PlatformHooks.cpp(150) : 'xinput1_4.dll' hooked
[18776] D:\JenkinsWorkspace\workspace\client_build_installer\client\products\overlay\mg\overlay\win\PlatformHooks.cpp(150) : 'xinput1_3.dll' hooked
[18776] D:\JenkinsWorkspace\workspace\client_build_installer\client\shared\libs\virtualgamepad\mg\virtualgamepad\VirtualGamePadsManagerImpl.cpp(592) : Registering Win32 device change for hwnd 462480, notification: 2604380667312
[18776] D:\JenkinsWorkspace\workspace\client_build_installer\client\products\overlay\mg\overlay\win\D3d11Render.cpp(388) : D3D11 device created
[828] LiveSplit.exe Information: 0 : 
[828] [asl-help]   => Found at 0x25E1ABDAF90. 
[828] LiveSplit.exe Information: 0 : 
[828] [asl-help]     => typeCount is 4847. 
[828] LiveSplit.exe Information: 0 : 
[828] [asl-help]     => typeStart at 0x0. 
[828] LiveSplit.exe Information: 0 : 
[828] [asl-help] Searching for class 'PauseManager'... 
[18776] D:\JenkinsWorkspace\workspace\client_build_installer\client\shared\libs\virtualgamepad\mg\virtualgamepad\VirtualGamePadsManagerImpl.cpp(592) : Registering Win32 device change for hwnd 462480, notification: 2604380672832
[18776] D:\JenkinsWorkspace\workspace\client_build_installer\client\shared\libs\virtualgamepad\mg\virtualgamepad\VirtualGamePadsManagerImpl.cpp(592) : Registering Win32 device change for hwnd 462488, notification: 0
[18776] D:\JenkinsWorkspace\workspace\client_build_installer\client\shared\libs\virtualgamepad\mg\virtualgamepad\VirtualGamePadsManagerImpl.cpp(592) : Registering Win32 device change for hwnd 462480, notification: 2604380675552
[828] LiveSplit.exe Information: 0 : 
[828] [asl-help]   => Found at 0x25E615A9F90. 
[828] LiveSplit.exe Information: 0 : 
[828] [asl-help]   => Static field table at 0x0. 
[828] LiveSplit.exe Information: 0 : 
[828] [asl-help]     => No fields. 
[828] LiveSplit.exe Information: 0 : 
[828] [asl-help]   => Address to static fields for class PauseManager was 0. 
[828] LiveSplit.exe Information: 0 : 
[828] [asl-help] TryLoad not successful. 
[828] LiveSplit.exe Information: 0 : 
[828] [asl-help]   => Retrying in 3000ms... 
[18776] D:\JenkinsWorkspace\workspace\client_build_installer\client\shared\libs\virtualgamepad\mg\virtualgamepad\VirtualGamePadsManagerImpl.cpp(592) : Registering Win32 device change for hwnd 462480, notification: 2604380670992
[18776] D:\JenkinsWorkspace\workspace\client_build_installer\client\products\overlay\mg\overlay\win\AudioHooks.cpp(558) : Audio hooks initialized
[18776] D:\JenkinsWorkspace\workspace\client_build_installer\client\products\overlay\mg\overlay\Overlay.cpp(780) : Sending overlay start request
[18776] D:\JenkinsWorkspace\workspace\client_build_installer\client\products\overlay\mg\overlay\win\PlatformHooks.cpp(150) : 'dinput8.dll' hooked
[828] LiveSplit.exe Information: 0 : 
[828] [asl-help] Searching for class 'PauseManager'... 
[828] LiveSplit.exe Information: 0 : 
[828] [asl-help]   => Found at 0x25E615A9F90. 
[828] LiveSplit.exe Information: 0 : 
[828] [asl-help]   => Static field table at 0x25E1AF03F00. 
[828] LiveSplit.exe Information: 0 : 
[828] [asl-help]     => 0x000: static OnPauseChanged 
[828] LiveSplit.exe Information: 0 : 
[828] [asl-help]     => 0x008: static m_canCutCineSoundRefCount 
[828] LiveSplit.exe Information: 0 : 
[828] [asl-help]     => 0x00C: static m_forcePausedRefCount 
[828] LiveSplit.exe Information: 0 : 
[828] [asl-help]     => 0x010: static m_paused 
[828] LiveSplit.exe Information: 0 : 
[828] [asl-help]     => 0x014: static TimeScaleToRestore 
[828] LiveSplit.exe Information: 0 : 
[828] [asl-help]     => 0x018: static m_slaveTimeScaleBeforePause 
[828] LiveSplit.exe Information: 0 : 
[828] [asl-help]     => 0x020: static wasInputLocked 
[828] LiveSplit.exe Information: 0 : 
[828] [asl-help]     => 0x021: static wasInputStickLocked 
[828] LiveSplit.exe Information: 0 : 
[828] [asl-help]     => 0x022: static isSelfUpdate 
[828] LiveSplit.exe Information: 0 : 
[828] [asl-help]     => 0x023: static wasTimelinePaused 
[828] LiveSplit.exe Information: 0 : 
[828] [asl-help]     => 0x028: static m_PlayerComponent 
[828] LiveSplit.exe Information: 0 : 
[828] [asl-help]     => 0x030: static wasInputLockedUpdater 
[828] LiveSplit.exe Information: 0 : 
[828] [asl-help]     => 0x038: static wasInputStickLockedUpdater 
[828] LiveSplit.exe Information: 0 : 
[828] [asl-help] TryLoad successful. 
[828] LiveSplit.exe Information: 0 : 
[828] [asl-help] 
[828] LiveSplit.exe Information: 0 : 
[828] [asl-help] Unity loading complete. 
[25552] D:\JenkinsWorkspace\workspace\client_build_installer\client\products\hub\hub\UplayGameConnectionHandler.cpp(401) : Game with process id 18776 connected (API version: 2.11.0).
[25552] D:\JenkinsWorkspace\workspace\client_build_installer\client\shared\libs\biz\misc\mg\biz\misc\AchievementsRead.cpp(100) : Can't find achievement image, skipped (achievement id: 21, game id: 6145)
[25552] D:\JenkinsWorkspace\workspace\client_build_installer\client\products\hub\hub\UplayGameConnectionHandler.cpp(401) : Game with process id 18776 connected (API version: 2.10.0).
[19588] ALWAYS| AppBackground: AppBackground::PollJobs()
[19588]   OKAY| AppBackground: AppBackground::CheckOutOfDateStatus Checking all Game States
[19588]   OKAY| AppBackground: Attempting to fetch proper config for product ID league_of_legends and patchline ID live.
[19588]   OKAY| AppBackground: Stored player's region: NA
[19588]   OKAY| AppBackground: Acquired matching config for product ID league_of_legends and patchline ID live with ID: NA
[19588]   OKAY| AppBackground: Loading manifest C:/ProgramData/Riot Games/Metadata/league_of_legends.live/league_of_legends.live.manifest for release ID 2073769BBB91BA3C
[19588]   OKAY| AppBackground: Loading patch database C:/ProgramData/Riot Games/Metadata/league_of_legends.live/league_of_legends.live.db
[19588]   OKAY| AppBackground: Verification completed after 0.0 secs with 161 existing files (48 directories) and excluded 550 paths after 0.0 CPU-secs
[19588]   OKAY| AppBackground: Creating update plan
[19588]   OKAY| AppBackground: Check completed in 0.1 secs
[19588] ALWAYS| AppBackground: AppBackground: league_of_legends.live is up of date.
[19588]   OKAY| AppBackground: Attempting to fetch proper config for product ID valorant and patchline ID live.
[19588]   OKAY| AppBackground: Stored player's shard: na
[19588]   OKAY| AppBackground: Acquired matching config for product ID valorant and patchline ID live with ID: na
[19588]   OKAY| AppBackground: Loading manifest C:/ProgramData/Riot Games/Metadata/valorant.live/valorant.live.manifest for release ID D15AAF88C760E377
[19588]   OKAY| AppBackground: Loading patch database C:/ProgramData/Riot Games/Metadata/valorant.live/valorant.live.db
[19588]   OKAY| AppBackground: Verification completed after 0.1 secs with 1073 existing files (40 directories) and excluded 0 paths after 0.0 CPU-secs
[19588]   OKAY| AppBackground: Creating update plan
[19588]   OKAY| AppBackground: Check completed in 0.3 secs
[19588] ALWAYS| AppBackground: AppBackground: valorant.live is up of date.
[19588]   OKAY| AppBackground: Attempting to fetch proper config for product ID bacon and patchline ID live.
[19588]   OKAY| AppBackground: Stored player's shard: americas
[19588]   OKAY| AppBackground: Acquired matching config for product ID bacon and patchline ID live with ID: default
[19588] ALWAYS| AppBackground: AppBackground: bacon.live is uninstalled.
[19588]   OKAY| AppBackground: AppBackground::Kicking off background patching jobs if any
[19588] ALWAYS| AppBackground: BackgroundPatching::KickoffPatchingIfAny - No patch request with delays
[19588]   OKAY| AppBackground: AppBackground::PollJobs(): Next execution will be at 1705588290

I can test more later in about 4-5 hours when I get home.

zaxxorr commented 8 months ago

@dotneB and @BIaidan, could you please try the following?

  1. Deactivate the auto splitter from LiveSplit's splits editor.
  2. Download the version of asl-help located at mitchell-merry/asl-help#feat/custom-mono-modules and replace the one located in your LiveSplit/Components directory.
  3. Download the testing ASL I've created at just-ero/LiveSplit.POPTLC#main by clicking the Download button in the top-right of the file and place it anywhere on your computer.
  4. Open DebugView or Trace Spy.
  5. Open and right-click LiveSplit -> add or edit an existing Scriptable Auto Splitter component -> point it to the script you just downloaded.
  6. View the output.

Please report back with any insights.

appears to be working but i cant do a run right now to test the loadskip/autosplit . i don't see any settings is that normal? will test in about 30 minutes

DESKTOP-6L92GF4.LOG

mitchell-merry commented 8 months ago

Yes, it's normal for Ero's one to not have anything.

I'm pretty confident this change will work, so whenever we can merge the PRs will be when the problem is solved

mitchell-merry commented 8 months ago

Everything is merged up. Please let me know if it works!

(You can use the autosplitter from within livesplit's edit splits screen now - make sure you remove the scriptable autosplitter component)

dotneB commented 8 months ago

Works great for me, awesome job @mitchell-merry!

zaxxorr commented 8 months ago

works great thanks to everyone who helped

mitchell-merry commented 8 months ago

Awesome, I'm closing this issue then!