Norbyte / ositools

Advanced scripting and mod support for Divinity Original Sin 2
MIT License
384 stars 30 forks source link

Error when launching game with Script Extender #20

Closed yanih7 closed 4 years ago

yanih7 commented 4 years ago

My friend is having issues starting his game with the Extender and can only get it to work with the original system dxgi file. The moment he replaces it with the Script Extender, he gets this error. He has redownloaded the file multiple times and it gives him the same issue every time. It's very weird because I'm using the Script Extender with no issues and installed it exactly the same way he did. Would really appreciate some help with this, thank you!

dx

zepinguoin commented 4 years ago

Hello, It's been a week, and I'm also having crash at game launch (Defenitive edition, GoG version, tried to launch with Vortex, GoG launcher and directly through the exe).

As soon as I hit the loading screen (the 1st one after the Larian logo) the game closes with no error whatsoever (just have the Larian report prompt to send their team but with no helpful information).

I updated to latest drivers (Nvidia gtx 1080) ... no changes. As soon as I remove the DXGII.dll the error goes away.....but I need it to play Divinity Unleashed mod (awesome btw)

Please advise

Norbyte commented 4 years ago

@yanih7 I've published v38.2 which should fix your issue: https://github.com/Norbyte/ositools/releases/tag/v38_2

@zepinguoin I'll need a crash dump (.dmp file) from the DefEd\bin directory to check what goes wrong, without that I can't really help.

yanih7 commented 4 years ago

@yanih7 I've published v38.2 which should fix your issue: https://github.com/Norbyte/ositools/releases/tag/v38_2

@Norbyte That's awesome I can confirm it's fixed the issue, thank you very much!

zepinguoin commented 4 years ago

Hey Norbyte,

First off, thanks for answering, feels good not to be left aside. Forgot to mention that I don't even have any dump file in my DefEd/bin directory ! I'm gonna check with the new version tonight to see whether there is a change. I'll let you know.

Even though I have not tempered with the installation of the game, is there a way that the dump file could be either hidden or turned off ?

Talked yesturday with a friend of mine who told me that it was really odd that I didn't have any dump file/log. That it might suggest that the dll would not be the issue.... but removig it is the only way I got the game to launch :'(.

Keep you posted

Norbyte commented 4 years ago

The Larian error reporting thing deletes the dump file I think. Just launch the game directly via EoCApp.exe and the dump files will be kept.

zepinguoin commented 4 years ago

Still no dump file Oo with the exe. Just put the new version you uploaded yesturday. And it's fixed... Have no idea what went wrong but thank you anyway <3. Still tho, weird that I have no dump. Do I need the Ositools ? I just put the dll in the bin folder. Maybe I did something wrong ?

zepinguoin commented 4 years ago

Well I spoke too fast. Still crashing, sometimes it works but most of the time it crashes (like I have to launch the game 20 times a row to get to the main menu, but not consistently). I still have no crash report. in the bin file.

I'm lost :'(

zepinguoin commented 4 years ago

Finally got to get a dmp file ! I don't know how I can send it to you though :S

zepinguoin commented 4 years ago

I think that I get a dmp file when I try to load a game (which happens if I can get 1 times out of 20 times), This is why I didn't have any before. Maybe the one I have now (I could get to the menu and loading a game unsuccessfully) can help you out.

Norbyte commented 4 years ago

Hmm, it might be a crash reporter issue. Do the following: Create a file named OsirisExtenderSettings.json in DefEd\bin with the following contents:

{
  "EnableExtensions": true,
  "CreateConsole": true,
  "SendCrashReports": false
}

Then try to launch the game again and check if a .dmp file was created this time.

zepinguoin commented 4 years ago

Hmm so a couple of new things here :

Picture1

Norbyte commented 4 years ago

You can upload the dump here -- https://send.firefox.com/

zepinguoin commented 4 years ago

Just did, here's the link https://send.firefox.com/download/f0679858c131b8c9/#pdR_3xrpQOc51v-HeHLBYw

Norbyte commented 4 years ago

Looks like it crashed while loading playerprofiles.lsb, it isn't clear why though.

Stack:

0x0000000141DE7724 (???)
eoc::EocProfileManager::LoadProfiles+0x501
App::LoadConfig+0x91
BaseApp::Start+0x179
WinMain+0x1C0
zepinguoin commented 4 years ago

I don't know what to make of this hmm. Thanks for looking though.