Graphic problems when warheads hit

Any issues with the XWAU or X-Wing Alliance? Please let us know here!
Post Reply

Graphic problems when warheads hit

User avatar
Mark_Farlander
Rebel Alliance
Posts: 580
Joined: Tue Jan 16, 2018 10:47 pm

Post by Mark_Farlander » Tue Mar 31, 2020 2:18 am

Hello pilots,
while playing a mission I've experienced a graphic problem when a proton torpedo hit a fighter: a triangle crossing the cockpit appears.
1 Proton Torpedo hits Stavro 1.jpg


Similar effects appear when a fighter gets hit by turret laser fire.
Turret fire.jpg


I thought this was due because I added a few objects to the mission, but this happens even without such edits, though the effects are probably slightly less evident.
By the way, I see in the Modding Wiki Constraints section that any limit only applies on a per OPT or per mesh basis, I don't find anything like meshes per region or trifaces per region.

I also thought of the possibility that I didn't have all the hooks updated, so I installed the newest container pack (over the XWAUCP v1.6 I already had before), but now whenever a mission is loaded the game crashes.

Did anybody experience similar problems?
You do not have the required permissions to view the files attached to this post.
I don't judge tactics. The Battle is the best and only Judge.

User avatar
JeremyaFr
XWAU Member
Posts: 3987
Joined: Mon Jan 18, 2010 5:52 pm
Contact:

Post by JeremyaFr » Tue Mar 31, 2020 8:33 am

Hello,
Have you try to update the hooks with XwaHooksSetup?

User avatar
Mark_Farlander
Rebel Alliance
Posts: 580
Joined: Tue Jan 16, 2018 10:47 pm

Post by Mark_Farlander » Tue Mar 31, 2020 11:51 am

I've just tried by copying all the content of the Setup directory (except the Examples directory) to my X-Wing Alliance main directory.
The game still crashes when a mission is loaded, so I don't know if the hooks have fixed those graphic problems.
I don't judge tactics. The Battle is the best and only Judge.

User avatar
Mark_Farlander
Rebel Alliance
Posts: 580
Joined: Tue Jan 16, 2018 10:47 pm

Post by Mark_Farlander » Tue Mar 31, 2020 12:05 pm

I've found that when the game crashed (3/31/2020 1:53:22 PM) the following description was recorded on Event Viewer (Local)/Windows Logs/Application:
Event 1000, Application Error

Log Name: Application
Source: Application Error
Date: 3/31/2020 1:53:22 PM
Event ID: 1000
Task Category: (100)
Level: Error
Keywords: Classic
User: N/A
Computer: DESKTOP-MD1F1L5
Description:
Faulting application name: XWingAlliance.exe, version: 2.0.0.2, time stamp: 0x3765a9b7
Faulting module name: KERNELBASE.dll, version: 10.0.17134.556, time stamp: 0xadca2670
Exception code: 0xe06d7363
Fault offset: 0x001118a2
Faulting process id: 0x2e50
Faulting application start time: 0x01d60752f1621785
Faulting application path: C:\GOGGAM~1\ST38C3~1\XWingAlliance.exe
Faulting module path: C:\WINDOWS\System32\KERNELBASE.dll
Report Id: dcf93b51-b76b-4f74-a640-ffc85348cca2
Faulting package full name:
Faulting package-relative application ID:
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Application Error" />
<EventID Qualifiers="0">1000</EventID>
<Level>2</Level>
<Task>100</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2020-03-31T11:53:22.247688000Z" />
<EventRecordID>260589</EventRecordID>
<Channel>Application</Channel>
<Computer>DESKTOP-MD1F1L5</Computer>
<Security />
</System>
<EventData>
<Data>XWingAlliance.exe</Data>
<Data>2.0.0.2</Data>
<Data>3765a9b7</Data>
<Data>KERNELBASE.dll</Data>
<Data>10.0.17134.556</Data>
<Data>adca2670</Data>
<Data>e06d7363</Data>
<Data>001118a2</Data>
<Data>2e50</Data>
<Data>01d60752f1621785</Data>
<Data>C:\GOGGAM~1\ST38C3~1\XWingAlliance.exe</Data>
<Data>C:\WINDOWS\System32\KERNELBASE.dll</Data>
<Data>dcf93b51-b76b-4f74-a640-ffc85348cca2</Data>
<Data>
</Data>
<Data>
</Data>
</EventData>
</Event>

I've posted this in case it might help.
I don't judge tactics. The Battle is the best and only Judge.

User avatar
JeremyaFr
XWAU Member
Posts: 3987
Joined: Mon Jan 18, 2010 5:52 pm
Contact:

Post by JeremyaFr » Tue Mar 31, 2020 12:21 pm

Hello,

A crash in KERNELBASE.dll usually means the the game has run out of memory.

You can try to set the LARGEADDRESSAWARE flag to XWingAlliance.exe with XwaExePatcher.

User avatar
Mark_Farlander
Rebel Alliance
Posts: 580
Joined: Tue Jan 16, 2018 10:47 pm

Post by Mark_Farlander » Tue Mar 31, 2020 1:11 pm

Enabling LARGEADDRESSAWARE flag solved the crash problem.
The graphic problems are still present though.

However, I see there is also an option in XwaExePatcher-1.0.25 "show frame rate, vertices, triangles".
My idea is to enable it and see if when warheads hit a target vertices and triangles count increases dramatically.
I don't judge tactics. The Battle is the best and only Judge.

User avatar
Mark_Farlander
Rebel Alliance
Posts: 580
Joined: Tue Jan 16, 2018 10:47 pm

Post by Mark_Farlander » Tue Mar 31, 2020 6:56 pm

OK I just did a few tests: I enabled the "show frame rate, vertices, triangles" patch (I assume the first number is the frame rate and the second is the number of vertices).
I noticed that the vertices count increased from 25000 to 30000 (about) when the proton torpedo hit the target and the graphic issue occurred.
Don't know if that +20% is enough to cause that thing.
Last edited by Mark_Farlander on Tue Mar 31, 2020 7:16 pm, edited 1 time in total.
I don't judge tactics. The Battle is the best and only Judge.

User avatar
JeremyaFr
XWAU Member
Posts: 3987
Joined: Mon Jan 18, 2010 5:52 pm
Contact:

Post by JeremyaFr » Tue Mar 31, 2020 7:03 pm

Hello,
Which version of DDraw dll do you use?

User avatar
Mark_Farlander
Rebel Alliance
Posts: 580
Joined: Tue Jan 16, 2018 10:47 pm

Post by Mark_Farlander » Tue Mar 31, 2020 7:25 pm

The DDraw.dll in my X-Wing Alliance directory is Date modified 1/16/2019 6:00 PM.
Size: 253 KB (259,072 bytes)
Size on disk: 256 KB (262,144 bytes)
I don't judge tactics. The Battle is the best and only Judge.

User avatar
JeremyaFr
XWAU Member
Posts: 3987
Joined: Mon Jan 18, 2010 5:52 pm
Contact:

Post by JeremyaFr » Tue Mar 31, 2020 7:36 pm

This is version v1.3.6.

The latest version is v1.3.8:
https://github.com/JeremyAnsel/xwa_ddra ... ses/latest

User avatar
Mark_Farlander
Rebel Alliance
Posts: 580
Joined: Tue Jan 16, 2018 10:47 pm

Post by Mark_Farlander » Tue Mar 31, 2020 8:45 pm

I've updated the DDraw.dll and ddraw.cfg to v1.3.8, but there was a problem with the screen resolution: when I installed the XWAUCP v1.6 I changed the resolution from 1600x1200 to 1920x1080 using the option coming with the installer of the craft pack.
I had to remake the edit with the XWA Hacker. I downloaded the latest version at the http address found in the readme.
However, when I select the XwingAlliance.exe running the XWA Hacker, I get the message "File has unsupported modifications. Options disabled".
I see the latest update of the XWA Hacker is dated 2019-04-20. I probably installed something newer with the XwaExePatcher.
Another message I get is "To call the hook that sets full FPS" is not correctly initialized if I select more than 30 FPS.

Now after a mission is loaded I get a black screen, regardless of the resolution I choose.

I'm afraid it's better to uninstall and reinstall the game at this point.
This time I will only select the LARGEADDRESSAWARE flag to XWingAlliance.exe with XwaExePatcher.
I don't judge tactics. The Battle is the best and only Judge.

kikoliko
Recruit
Posts: 7
Joined: Sun Apr 08, 2012 8:41 pm

Post by kikoliko » Tue Apr 21, 2020 9:09 pm

Hello,
I solved the same problem re-installing the EffectsByBlueMaxv1.1.2

Post Reply