Opened 5 years ago

Last modified 5 years ago

#143 assigned enhancement

Correct Oni's sprite-drawing for widescreen resolutions — at Version 3

Reported by: Iritscen Owned by: Christian
Priority: major Component: Daodan/Win
Keywords: Cc:

Description (last modified by Iritscen)

There is a fix on PCGamingWiki for the drawing of sprites such as weapon sights in widescreen resolutions. The Daodan DLL could accomplish this much more elegantly. So far, the DLL only has a fix for talking heads in widescreen resolutions, as far as I know.

Change History (3)

comment:1 by Christian, 5 years ago

Owner: changed from Christian to Iritscen
Status: newassigned

Daodan has [graphics] displayenum patch that should already properly handle this stuff with all display modes reported as supported from the OS.

comment:2 by Iritscen, 5 years ago

Clarification: the patch above is "to make proper aspect ratio for weapon sight and some lighting effects" (source). (I have edited the original ticket to clarify this.) The patchers already know that the AE unlocks widescreen resolutions, but apparently certain sprites drawn on-screen are getting stretched in these wider resolutions. This was also a problem in the Mac Intel build when Feral unlocked widescreen resolutions — weapon sights, lens flares, and fly-in portraits were getting stretched. Their patch alters an aspect ratio represented as a float constant within Oni's code. While I know that fly-in portraits are supposed to be fixed in the Daodan DLL, I haven't tested the other effects mentioned above but presumably they're out of aspect ratio or these guys wouldn't still be patching them after installing the AE.

comment:3 by Iritscen, 5 years ago

Description: modified (diff)
Owner: changed from Iritscen to Christian
Summary: Patch Oni to support widescreen resolutionsCorrect Oni's sprite-drawing for widescreen resolutions
Note: See TracTickets for help on using tickets.