Jump to content

Pandora engine crash


Recommended Posts

Posted

Reinstallig Skyrim AE I installed Pandora Engine  last version.

When I try to run it Pandora crash with the following message:

[..] unknown exception 0xe0434352 [..] position 0x00007FFA799E79A

After google search the only solution is to unistall & resinstall MS NET, but without results

My MS NET version is 9.3 Pandora Engine is the last version on Nexus

Any suggestion ?

Thank in advance

|<afhir

Posted (edited)
1 hour ago, cafiero said:

After google search the only solution is to unistall & resinstall MS NET

 

I see you've been to the Microsoft support forum. Was it Mr.Smith, the totally-not-a-bot who gave that answer?

 

1 hour ago, cafiero said:

Any suggestion ?

 

The exception offset is absolute, meaning without knowing where all modules were loaded there's nothing anyone can do with it. Every time you load a program, the memory offsets get scrambled. It's a security feature that's been in all sane OS' since the 2000's.

 

The only usable hint in that is the exception code. Search for one of the following in the Pandora source code and you might find the answer:

 

e0434352

3762504530

-532462766

 

Otherwise your only options will be:

  1. Using a debugger to catch the exception.
  2. Writing or otherwise obtaining a crash logger, and injecting it into Pandora before the crash. When you have the relative address of the crash, someone else with the same version of Pandora can look it over in a debugger.

I have a self-made dll injector here, but no generic crash logger. Plenty of almost-generic ones to copy from though so I imagine making one would only take a few minutes. Let me know if you want some of that.

Edited by traison
Posted

Woah every time you post something you open a door on a mystic world ...

Thanks for your answer but I dont have the skill that maybe is required to inject a carsh logger in Pandora.

Just another silly question: before the last problem that move me to reinstall Skyrim I have used Pandora (first version on nexus) without problems with MS NET 8.x

I try roll back but the same error appear (I start thinking I'm cursed ..) Why ?

If you think that I could able to use a ddl injector I will try, but if I good understand this not solve the problem but could help the developer of Pandora to remove the bug ?

In the past (last century and some years ago) I used  Wdasm and I have some experience with ADA, but now on windows 11 which debugger i should use ?

In the meantime I swichted to FNIS that I hate

Again thanks and appreciate your help

|<afhir

Posted (edited)
1 hour ago, cafiero said:

before the last problem that move me to reinstall Skyrim I have used Pandora (first version on nexus) without problems with MS NET 8.x

 

Is the Nexus version up to date? I always grabbed it from GitHub. Also, Pandora is still in the stage where every version has a new problem. I'm on a slightly modified 3.0.0-beta and the only problem I've found in it is that it causes a random Havok crash during the Helgen intro. This is quite good compared to the problems previous versions had.

 

1 hour ago, cafiero said:

If you think that I could able to use a ddl injector I will try...

 

The answer to that question is whether or not you know what the Windows Terminal/PowerShell is, what a command prompt is, what a process ID is, and whether or not you can manage files.

 

1 hour ago, cafiero said:

In the past (last century and some years ago) I used  Wdasm and I have some experience with ADA, but now on windows 11 which debugger i should use ?

 

x64dbg, but finding the program to use is going to be the least of your problems there. Wdasm might be in the same ballpark.

 

1 hour ago, cafiero said:

I try roll back but the same error appear (I start thinking I'm cursed ..) Why ?

 

That error message only has meaning to Pandora. Until we know where its coming from the answer to your question could be that the moon is in the wrong orientation, or perhaps you have a mod installed that it doesn't like. One of these is more likely than the other, sure, but still we can only guess.

 

Did Pandora perhaps make a minidump when it crashed? Also what about Windows Event Viewer, does it have an AppCrash entry for Pandora?

Edited by traison
Posted

No minidump I'm looking for Pandora.log nothing. WEV no AppCrash

I am able to manage Terminal/PowerShell and also files > no problem

I remove Pandora from MO2 downloaded for Nexus, but in the GitHub site there more than one version so I download   "Pandora_Behaviour_Engine_v3.2.0-beta_win-x64_net" & "Pandora_Behaviour_Engine_v3.2.0-beta" which of them I have to install ?

Looking in the zip files seems not friendly for MO2 should I have to install manually ?

I have also to remove FNIS before installing Pandora or not ?

So in the meantime I have installed  "Pandora_Behaviour_Engine_v3.2.0-beta_win-x64_net" and voilà IS RUNNIG ! No more errors

 

 

 

image.png.a8c8cc8c00b3b17b54d53b929595dd6b.png

 

So the lesson I learned are:

  1. don't trust Nexus if the mod is on GitHub look for the last one stable version
  2. go deep inside the errors before asking for help and be smart
  3. there free tools for debugging Win11 and I will go to try them and learn some more things

Thanks for your help, suggestion and patience ! All the best

 

|<afhir

 

 

Posted (edited)
3 hours ago, cafiero said:

I remove Pandora from MO2 downloaded for Nexus, but in the GitHub site there more than one version so I download   "Pandora_Behaviour_Engine_v3.2.0-beta_win-x64_net" & "Pandora_Behaviour_Engine_v3.2.0-beta" which of them I have to install ?

 

Grab the one that doesn't specifically say "net", those versions are special.

 

3 hours ago, cafiero said:

Looking in the zip files seems not friendly for MO2 should I have to install manually ?

 

The folder structrure has to be changed a bit on the GitHub version at least, otherwise it explodes directly into the Data directory.

 

3 hours ago, cafiero said:

I have also to remove FNIS before installing Pandora or not ?

 

I have both, and Pandora is missing all FNIS scripts so you'll need those regardless.

 

3 hours ago, cafiero said:

So in the meantime I have installed  "Pandora_Behaviour_Engine_v3.2.0-beta_win-x64_net" and voilà IS RUNNIG ! No more errors

 

So if I remember correctly, that "net" version comes with some .net framework files bundled. It was explained somewhere but I can't find it anymore. If that's true then it would suggest you do actually have a corrupted or otherwise incompatible .net framework install, and the separate files fixed it for Pandora; i.e. you might run into the same problem in some other .net program, because the problem hasn't been fixed on the system level.

 

Edit: Incompatible .net framwork install could for instance mean Pandora is abusing a bug, using a deprecated function or something along these lines; i.e. it might require an older version of the framework.

 

Quite curious.

Edited by traison
Posted

If we assume the callstack info that's in the message of that exception is correct, then the short answer is that 0Harmony.dll is doing a lot of stuff it shouldn't be doing. It's basically going through the entire assembly and messing with every single method it can find. The documentation for it suggests it might be a .net variant of a hooking library.

 

Whether it actually works reliably or not is kind of irrelevant though as all bets are off when it looks like you're having system-wide .Net Framework issues.

 

You may want to do what "Mr.Smith" suggested: reinstall the .Net Framework.

Posted

No way uninstall & reinstall doesn't change the results:

Pandora ok but only the NET version

Synthesis ok NET 9.3 + NET SDK

PGPatcher crash with the same errors (ver. 8.11/12/13)

So for the moment Community Shaders without PBR ... maybe I move back to ENB

 

|<afhir 

Posted
3 hours ago, cafiero said:

...reinstall doesn't change the results...

 

In that case I'd have to see this problem for myself to figure it out.

Posted

I send a message to PGPatcher author regarding the error, this is the answer:

"Looks like an issue with reading a path in one of your plugins. There isn't a great way to narrow it down from the log unfortunately, may have to do trial and error. This happens when a path in a plugin is not formatted correctly"

You think is true ?

 

Posted (edited)

Unfortunately no, because this crash occured in the method patcher of 0Harmony.dll.

 

If you want to test it yourself, get Process Monitor from Sysinternals (Microsoft) and have it monitor file IO traffic ending with ".esp", ".esl" and ".esm". The last plugin PGPatcher reads is most likely the one that supposedly has a path error in it.

 

Edit: Also, PGMutagen according to its documentation is a C# library for interacting with Skyrim content. In its Initialize function, the 2nd line is setting up Harmony. It hasn't even considered looking at plugins at this stage.

 

public unsafe static void Initialize([C99Type("const int")] int gameType, [C99Type("const wchar_t*")] IntPtr exePath, [C99Type("const wchar_t*")] IntPtr dataPathPtr, [C99Type("const wchar_t**")] IntPtr* loadOrder, [C99Type("const unsigned int")] uint pluginLang)
{
	try
	{
		PatchBaseDirectory.BaseDirectory = (Marshal.PtrToStringUni(exePath) ?? string.Empty);
		new Harmony("com.github.hakasapl.pgpatcher.pgmutagen").PatchAll();
...

 

Edited by traison
Posted

I trust you. BTW the only thing that I noticed from the "path" hypothesis is that if I select MO2 integration PGPatcher switch bak to an old dir of Skyrim... dunno why

|<afhir

Correct one.png

Error.png

Posted (edited)

The value of m_gameLocationTextbox is retrieved by calling getGamePathFromInstanceDir. This function calls getMO2INIField, passing a key name of "gamePath". So, if I had to guess, the ModOrganizer.ini file contains a gamePath key under one of its sections, and this value is what you describe as the "old path".

 

Edit: ProcMon confirms PGPatcher is reading ModOrganizer.ini when the radio button is clicked.

Edited by traison
Posted

Hi, agian I download the new Nexus version x64 without NET elemenst inside. It's run fine but..

 

image.png.9c98a39e474cf236e15a1273ffabcf39.png

 

 

I'm worried from 0 animation added !

 

|<afhir

 

Posted

Here is the engine.log

INFO : Launching with configuration Skyrim SE/AE

INFO : Launching with patcher version 3.1.0-beta

INFO : Skyrim Patcher 3.1.0-beta

WARN : Dispatcher > "Pandora Base" > dragonproject~dragonbehavior > Replace > Element > #0885/legs/Element0/maxAnkleHeightMS > FAILED

WARN : Dispatcher > "Pandora Base" > dragonproject~dragonbehavior > Replace > Element > #0885/legs/Element0/hipIndex > FAILED

WARN : Dispatcher > "Pandora Base" > dragonproject~dragonbehavior > Replace > Element > #0885/legs/Element0/kneeIndex > FAILED

WARN : Dispatcher > "Pandora Base" > dragonproject~dragonbehavior > Replace > Element > #0885/legs/Element0/ankleIndex > FAILED

WARN : Dispatcher > "Pandora Base" > dragonproject~dragonbehavior > Replace > Element > #0885/legs/Element0/isPlantedMS > FAILED

WARN : FNIS Parser > Scan FNIS Animations > DynamicAnimationReplacer in defaultmale > FAILED

WARN : FNIS Parser > Scan FNIS Animations > DynamicAnimationReplacer in defaultfemale > FAILED

WARN : FNIS Parser > Scan FNIS Animations > OpenAnimationReplacer in defaultfemale > FAILED

WARN : FNIS Parser > Scan FNIS Animations > OpenAnimationReplacer in defaultmale > FAILED

INFO : Pandora Mod 1 : XPMSE Patch For Pandora - v.1.0.0

INFO : Pandora Mod 2 : Pandora Base - v.1.0.0

INFO : Pandora Mod 3 : Extra Drawing Animations - v.1.0.0

INFO : FNIS Mod 1 : FNIS_XPMSE_List

INFO : FNIS Mod 2 : FNIS_FNISBase_List

INFO : Mod settings saved successfully.

 

Posted
Vor 8 Minuten sagte traison:

Wahrscheinlich haben Sie das Arbeitsverzeichnis oder das Argument -tesv für Pandora falsch eingestellt.

 

When installing Pandora with MO2, the following is recommended:

- Create an empty mod folder for Pandora on the "left side"... I named it "Pandora Output"

- On the executables tab, enable the "Create files in mod directory" option for Pandora AND select the previously created empty mod directory.

 

Oh, I also used "Pandora" in my previous installation under Vortex -> WITHOUT adding "Fnis" beforehand... and I had no problems with SexLab, DD, or other mods.

It could also be that I was just lucky.

Posted
18 minutes ago, Miauzi said:

WITHOUT adding "Fnis"

 

Yes, FNIS itself isn't needed for Pandora to find animations. The only reason why I recommend people have FNIS installed alongside Pandora is that while Pandora includes the FNIS plugin, it for some reason does not include the FNIS scripts. So in order to get some errors out of your Papyrus log, and allow things like XP32 and script compiling to work properly, you need the scripts as well.

 

cafiero had issues with paths earlier in this thread. Seems like they moved their Skyrim install and forgot to update the new path everywhere. I suspect BodySlide is next once we've gotten through Pandora. 😆

 

22 minutes ago, Miauzi said:

enable the "Create files in mod directory" option for Pandora

 

The thing here that gets every rookie at least once is that this checkbox does literally what it says in its label. It will put NEW files in the specified directory. If you already built behavior files with FNIS or Nemesis, chances are no files will appear in your directory as they're not new files, they already exist elsewhere. If this is the first time you run a behavior file generator this will probably work fine. Personally I don't use this feature. I feel like it's better to have to search for all files instead of thinking all files are concentrated when there's no guarantee that they are.

Posted (edited)

Ok let me see:

1. Bodyslide is working no problem

2.Registry setting for Skyrim AE are correct

3. using Pandora with MO2

 

image.png.6d336d8127eca39a88e5b4a732a2f8c8.png

 

But the result is the same = 0 animation

 

image.png.5e5992a3a6d68a1626f783a3881828bb.png

 

So I dont know where is the problem

Edited by cafiero
Posted

I would use Process Monitor from Sysinternals (Microsoft). It can tell you where Pandora is expecting to find files. Keep in mind though that you're running Pandora through MO2, thus its usvfs redirections will show up as distinct entries in procmon.

Posted (edited)

Ok I run Process Monitor x64

Here is the log ... I know that you are more skilled than me !

 

Edited by cafiero
Posted

Check your PMs if you haven't already.

 

Based on that log I'd say you don't actually have any FNIS animation mods installed. That is if we assume this version of Pandora actually has a working FNIS mod finder; this part of Pandora has been broken in the past. Point is, it's looking in D:\Modding\MO2\mods, it found FNIS and XPMSE and nothing else.

 

Do a sanity check and filter for files ending with "_List.txt" in the Data tab in MO2. If the files are there but Pandora can't see them, then restart MO2 if you haven't already. If it still can't find them, I'd blame Pandora unfortunately.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...