Cycling Targeting Computer @ Very High Resolution, Crashes

A Forum dedicated to the Suggestion, Creation and Editing of XWA Dynamic Link Library Files

Moderator: JeremyaFr

Re: Cycling Targeting Computer @ Very High Resolution, Crash

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

Post by JeremyaFr » Thu Nov 09, 2017 7:37 pm

Hello,
By default, the game doesn't support resolution height greater than 1200.
If you use a custom ddraw.dll (already included in the craft pack), the game is rendered in screen's native resolution.

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

Post by JeremyaFr » Thu Jan 10, 2019 5:08 pm

Here is a solution. I've done a quick test. Without it, the game crashes. With it, the game hasn't crashed.
Please download xwa_hook_res1200.zip
This hook replaces a static buffer with a dynamic one in initializing 2d buffer. It fixes a crash when resolution height > 1200 is used.

Related topic: viewtopic.php?f=10&t=12033

Post Reply