Page 1 of 1

[Solved] BEX error after installung update 2.1

Posted: Fri Apr 23, 2021 12:50 am
by Omadon
Hello,

after installing update 2.1 the game crashes asap on the .exe file. I can't even get it it to the first screen.

The error details are the following:

Problem signature:
Problem Event Name: BEX
Application Name: XWingAlliance.exe
Application Version: 2.0.0.2
Application Timestamp: 3765a9b7
Fault Module Name: XWingAlliance.exe
Fault Module Version: 2.0.0.2
Fault Module Timestamp: 3765a9b7
Exception Offset: 0019cd60
Exception Code: c0000005
Exception Data: 00000008
OS Version: 6.1.7601.2.1.0.256.1
Locale ID: 2057
Additional Information 1: 0a9e
Additional Information 2: 0a9e372d3b4ad19135b953a78882e789
Additional Information 3: 0a9e
Additional Information 4: 0a9e372d3b4ad19135b953a78882e789

Any suggestions ?

Re: BEX error after installung update 2.1

Posted: Fri Apr 23, 2021 8:28 pm
by JeremyaFr
Hello,
Did you try reinstalling the game from a clean install?

Which version of the game do you use? GoG, Steam, CD?

Re: BEX error after installung update 2.1

Posted: Tue Apr 27, 2021 10:45 pm
by Omadon
I am using GOG version 2.0.0.9.

It was a clean install.

Re: BEX error after installung update 2.1

Posted: Thu Apr 29, 2021 4:27 pm
by JeremyaFr
Hello,
Can you create a crash dump?
See viewtopic.php?p=180489#p180489

Re: BEX error after installung update 2.1

Posted: Sat May 01, 2021 2:11 pm
by Omadon
XWA.JPG

Re: BEX error after installung update 2.1

Posted: Sat May 01, 2021 2:15 pm
by Omadon
XWA 02.JPG
This what I get.

I changed the .exe to Alliance.EXE which is the name of the .exe file for executing the game after the Update 2.1 and the only thing that is added is one line:

Exception 0000071A

Re: BEX error after installung update 2.1

Posted: Sat May 01, 2021 3:06 pm
by DarHan
XWingAlliance.exe is the game.
Alliance.exe is the launcher.

Those are meant to be two different files.

Re: BEX error after installung update 2.1

Posted: Sat May 01, 2021 10:18 pm
by Omadon
I finally made it work.

It did not work as it should several times, but after the 10th try, it finally worked.

This is the dump file.

Let me know, if you can't download it.

https://c.gmx.net/@324895094161277843/3 ... XXhNv9RpPg

Re: BEX error after installung update 2.1

Posted: Sun May 02, 2021 12:00 pm
by JeremyaFr
Thanks for the crash dump.
It is under investigation.

Re: BEX error after installung update 2.1

Posted: Sun May 02, 2021 12:02 pm
by JeremyaFr
Hello,
Here is something you can try:

- rename dinput.dll with a different extension
- download xwa_hook_main_no_dinput.zip from xwa_hook_main_no_dinput
- copy hooks_main.dll in your xwa directory
- run XwaExePatcher and apply the patch to XWingAlliance.exe

Re: BEX error after installung update 2.1

Posted: Sun May 02, 2021 10:42 pm
by Omadon
Tried this fix.

Unfortunately, the same result.

Can someone post the 2.0 Update (which seemed to work)...

Re: BEX error after installung update 2.1

Posted: Tue May 04, 2021 7:48 pm
by MDarkbladeM
I'm also experiencing same sort of problems with Omadon. Using the 2.0/2.1/3.0 mega patch makes the game not start and Windows Event Viewer says the following:

Windows Error Reporting:
Fault bucket 1921425042254406929, type 5
Event Name: BEX
Response: Not available
Cab Id: 0

Problem signature:
P1: XwingAlliance.exe
P2: 2.0.0.2
P3: 3765a9b7
P4: XwingAlliance.exe
P5: 2.0.0.2
P6: 3765a9b7
P7: 0019cd60
P8: c0000005
P9: 00000008
P10:

Application Error:
Faulting application name: XwingAlliance.exe, version: 2.0.0.2, time stamp: 0x3765a9b7
Faulting module name: XwingAlliance.exe, version: 2.0.0.2, time stamp: 0x3765a9b7
Exception code: 0xc0000005
Fault offset: 0x0019cd60
Faulting process id: 0x1af8
Faulting application start time: 0x01d7410af5b3e43c
Faulting application path: E:\Pelit\Star Wars - X-Wing Alliance\XwingAlliance.exe
Faulting module path: E:\Pelit\Star Wars - X-Wing Alliance\XwingAlliance.exe
Report Id: 504d08bb-7fd7-4ea6-ab0c-2c72dd1dccdd
Faulting package full name:
Faulting package-relative application ID:

I also posted Windows generated Report.wer to PasteBin: https://pastebin.com/95mNwELr

I've tried reinstalling the game and installing the Mega Updates on a clean install but for some reason XWAU 2020 Update 2.0, 2.1 and 3.0 do not work. XWAU 2020 without patches and up to Update 1.1 work fine.

Re: BEX error after installung update 2.1

Posted: Tue May 04, 2021 8:11 pm
by Ace Antilles
Sorry you guys ae having trouble. I'm not sure what this Bex error is. Hopefully Jeremy can nail it.
Interesting it only started on Update 2. I'd have to go and check but it could be an exe patch maybe.

Have you tried this? install a fresh XWA copy. Turn off GoG, Steam etc.
Copy the entire XWA folder to a new one. Rename it XWA Upgrade for now.
So you have an XW Alliance folder and a XWA Upgrade folder.
Go back and UNINSTALL XWA from the computer. So you still have a XWA Upgrade folder.
Then install the XWAU 2020 and direct it to that folder.

I have several XWA folders on my computer and all play fine with no official installation.
It's worth a shot :)

Re: BEX error after installung update 2.1

Posted: Tue May 04, 2021 8:43 pm
by JeremyaFr
Hello,
Do you get the same exception if you unplug all game controllers and launch the game?

What is your system config?
Are you using 32-bits or 64-bits Windows?

Re: BEX error after installung update 2.1

Posted: Tue May 04, 2021 9:15 pm
by MDarkbladeM
Hey Jeremy and Ace,

Yes, I get the same exception after unplugging my game controller and other USB devices (except mouse and keyboard) on my setup.

My config:
AMD Ryzen 9 3900X
16Gb DDR4
Sound Blaster Zx
Windows 10 Pro 64-bit version 20H2

I also tried Ace's suggestion by making a clean install through GOG, copying all the files to a new folder, uninstalling the game and installing the XWAU patches to the untouched new folder but unfortunately it didn't help.

Re: BEX error after installung update 2.1

Posted: Tue May 04, 2021 9:41 pm
by Ace Antilles
MDarkbladeM wrote:
Tue May 04, 2021 9:15 pm
I also tried Ace's suggestion by making a clean install through GOG, copying all the files to a new folder, uninstalling the game and installing the XWAU patches to the untouched new folder but unfortunately it didn't help.
Well at least it removes any complications from online downloaders so it's an element that can be ignore now.

Re: BEX error after installung update 2.1

Posted: Wed May 05, 2021 4:24 pm
by MDarkbladeM
Returning back to the subject, I managed to fix this for now. There was a preview update for Windows 10 20H2, namely the KB5001391 update. After installing it and adding XWingAlliance.exe back to the DEP list the game started working. Strangely enough, it didn't work before the KB5001391 update even if the .exe file was in the DEP list.

Re: BEX error after installung update 2.1

Posted: Thu May 06, 2021 12:35 am
by Omadon
MDarkbladeM, you just nailed it, man.

It was the stupid DEP that was causing the problem.

I have Windows 7 and could not put the game .exe file on the exclusion list.

When I turned DEP off completely for all but the Windows programs (second and only other option), the game started like nothing ever happened.

Thanks a lot, mate !