Graphic errors & Crashes

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

Re: Graphic errors & Crashes

Yautja Hunter
Cadet 4th Class
Posts: 18
Joined: Tue Jun 02, 2020 6:20 pm

Post by Yautja Hunter » Sun Jun 07, 2020 11:18 am

Attached are some more screenshots of the glitch I call "black bars". This is with DSUCP 2.6, mission 1 (the very fist mission of the game). If you look closely that halo around planet has significantly less stars than the rest of the sky. And then there is a vertical bar / stripe coming off the planet's halk. I don't think it's by design.

1) I don't think the mission files are corrupted. I've tried fresh install several times.
2) I am not quite sure what exactly can cause different interpretation of the backdrop size field. The thing is that I've tried different resolutions using ingame options, starting form 640x480 and up to 1920х1080, and the glitch is always there. And yes, you are right, my monitor's native resolution of 1920x1200 is not very common. I've tried setting my monitor to 1920x1080, didn't help.

P.S. I will be out on vacation for a week, so you won't hear from me for some time. Anyway, thanks a lot for bearing with me and trying to help!
Desktop Screenshot 2020.06.07 - 13.57.14.25.jpg
Desktop Screenshot 2020.06.07 - 13.57.03.31.jpg
Desktop Screenshot 2020.06.07 - 13.56.41.70.jpg
You do not have the required permissions to view the files attached to this post.

Yautja Hunter
Cadet 4th Class
Posts: 18
Joined: Tue Jun 02, 2020 6:20 pm

Post by Yautja Hunter » Sun Jun 07, 2020 11:28 am

Here I've highlighited the borders of what I believe to be a glitch
Desktop Screenshot 2020.06.07 - 13.57.03.31_2.jpg
Desktop Screenshot 2020.06.07 - 13.56.41.70_2.jpg
You do not have the required permissions to view the files attached to this post.

User avatar
Darksaber
Vice Admiral
Posts: 10931
Joined: Mon Jan 10, 2000 12:01 am
Contact:

Post by Darksaber » Sun Jun 07, 2020 7:09 pm

This is strange, the planet images don't even radiate out that far, plus the planet image looks like crap as though it's an 8 bit image

Ok try this, replace both Planet.dat and Planet2.dat with the original versions from a vanilla gog install
“You can please some of the people all of the time, you can please all of the people some of the time, but you can’t please all of the people all of the time”.”
- John Lydgate

Good Things Come To Those Who Wait....
Darksaber's X-Wing Station

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

Post by JeremyaFr » Sun Jun 07, 2020 7:16 pm

Check that the game runs in 3d hardware in the game video settings.

User avatar
Darksaber
Vice Admiral
Posts: 10931
Joined: Mon Jan 10, 2000 12:01 am
Contact:

Post by Darksaber » Sun Jun 07, 2020 7:24 pm

Just tried turning the 3d hardware off to test, it just crashed, but this is the error I got, it might help and rule out the problem :?

Code: Select all

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: 0x00135bb8
Faulting process id: 0x3b0
Faulting application start time: 0x01d63d0054e8cf7a
Faulting application path: C:\Program Files (x86)\LucasArts\X-Wing Alliance\XWINGALLIANCE.EXE
Faulting module path: C:\Program Files (x86)\LucasArts\X-Wing Alliance\XWINGALLIANCE.EXE
Report Id: b7d888b0-a8f3-11ea-97d9-001d7d002f67
“You can please some of the people all of the time, you can please all of the people some of the time, but you can’t please all of the people all of the time”.”
- John Lydgate

Good Things Come To Those Who Wait....
Darksaber's X-Wing Station

Reimar
Cadet 1st Class
Posts: 239
Joined: Mon Jan 19, 2009 11:45 am

Post by Reimar » Wed Jun 10, 2020 9:02 pm

Not sure that's the cause, but in my fork I needed this hack: https://github.com/rdoeffinger/xwa_ddra ... ba727e439e
to be able to run in software rendering mode.
Though that's kind of unrelated to the issue discussed.
Also another hack that is in my fork is to have a special shader for textures without alpha, as it seems that doing discard on the alpha value of a RGB565 texture has different behaviour depending on what kind of graphics card you have. At least that was my conclusion, it might also be I did something stupid...

Yautja Hunter
Cadet 4th Class
Posts: 18
Joined: Tue Jun 02, 2020 6:20 pm

Post by Yautja Hunter » Sun Jun 14, 2020 8:23 pm

Darksaber wrote:
Sun Jun 07, 2020 7:09 pm
Ok try this, replace both Planet.dat and Planet2.dat with the original versions from a vanilla gog install
I assume "vanilla gog install" is the original game without modifications. I only have "Planet.dat" file there, NOT the "Planet2.dat". So I replaced "Planet.dat" and deleted "Planet2.dat". All the beautiful nebulas are gone. This is how the planets look now:
You do not have the required permissions to view the files attached to this post.

Yautja Hunter
Cadet 4th Class
Posts: 18
Joined: Tue Jun 02, 2020 6:20 pm

Post by Yautja Hunter » Sun Jun 14, 2020 8:24 pm

JeremyaFr wrote:
Sun Jun 07, 2020 7:16 pm
Check that the game runs in 3d hardware in the game video settings.
Yes, 3D mode is set to Hardware. If I set it to Software, the game crashes on mission loading.

Yautja Hunter
Cadet 4th Class
Posts: 18
Joined: Tue Jun 02, 2020 6:20 pm

Post by Yautja Hunter » Sun Jun 14, 2020 8:26 pm

Reimar wrote:
Wed Jun 10, 2020 9:02 pm
Not sure that's the cause, but in my fork I needed this hack: https://github.com/rdoeffinger/xwa_ddra ... ba727e439e
to be able to run in software rendering mode.
With this Ddraw and Software rendering the game crashes on mission loading (DSUCPv2.6).

Reimar
Cadet 1st Class
Posts: 239
Joined: Mon Jan 19, 2009 11:45 am

Post by Reimar » Thu Jun 18, 2020 4:40 pm

Ah, note that for software rendering you need to undo any xwahacker/resolution changes:
- "force 800x600 resolution" must be off
- "32-bit mode" must be off
- the first resolution must be 640x480
Otherwise it will crash.
But with the above settings in the original state software rendering works fine for me at least...

Post Reply