Author Topic: 1366: The number of the beast  (Read 1415 times)

0 Members and 1 Guest are viewing this topic.

Offline Fibonacci

1366: The number of the beast
« on: March 19, 2017, 06:19:58 PM »
Doing some trial and error attempting to get PRACX and DirectDraw=0 options to behave on my laptop I've discovered a few things. Some code in the game assumes that the resolution is divisible by 8. Whether using Windows 7, XP, WINE 2.3 on Ubuntu 16.04, XP virtualbox guest under Ubuntu 16.04, or a 7 virtualbox guest under Ubuntu 16.04 the results are identical for me. A resolution of 1366x768 results in visible artifacts when it does work, and crashes when it doesn't.

Solution for either WINE (winecfg, graphics tab, emulate a 1368x768 desktop), or Virtualbox guests (file, preferences, Display tab, Maximum Guest Screen Size set to Hint, Width 1368, Height 768) was to resize the screen to 1368x768. 1360x768 also worked, but left a visible vertical gap. 1364x768 was not an improvement over 1366x768.

Now with either Directdraw=0 or PRACX enabled, the graphical artifacts vanished, redraws are noticeably quicker, and I haven't gotten any of the crash conditions that plagued 1366x768.

The one drawback I can tell is 2 columns of pixels off the edge of the screen can interfere with edge scrolling. I have not figured out a way to force the nonstandard resolution in regular XP or 7 yet to try those combinations.

So, if you're interested in playing on an unusual screen size like mine, and have been stuck with crashes when attempting to get the full use of it, try bumping up the resolution to the next multiple of 8.

Offline Daemonjax

Re: 1366: The number of the beast
« Reply #1 on: May 08, 2017, 11:46:09 PM »
Thanks.  Had the same problem with 1366x768... 1360x768 works fine for me.  I'd have to make a custom resolution for 1368x768, and I'd rather not dick around with it (radeon) for 8 more pixels.

 

* User

Welcome, Guest. Please login or register.
Did you miss your activation email?


Login with username, password and session length

Select language:

* Community poll

SMAC v.4 SMAX v.2 (or previous versions)
-=-
24 (7%)
XP Compatibility patch
-=-
9 (2%)
Gog version for Windows
-=-
103 (32%)
Scient (unofficial) patch
-=-
40 (12%)
Kyrub's latest patch
-=-
14 (4%)
Yitzi's latest patch
-=-
89 (28%)
AC for Mac
-=-
3 (0%)
AC for Linux
-=-
6 (1%)
Gog version for Mac
-=-
10 (3%)
No patch
-=-
16 (5%)
Total Members Voted: 314
AC2 Wiki Logo
-click pic for wik-

* Random quote

We shall take only the greatest minds, the finest soldiers, the most faithful servants. We shall multiply them a thousandfold and release them to usher in a new era of glory.
~Col. Corazon Santiago 'The Council of War'

* Select your theme

*
Templates: 5: index (default), PortaMx/Mainindex (default), PortaMx/Frames (default), Display (default), GenericControls (default).
Sub templates: 8: init, html_above, body_above, portamx_above, main, portamx_below, body_below, html_below.
Language files: 4: index+Modifications.english (default), TopicRating/.english (default), PortaMx/PortaMx.english (default), OharaYTEmbed.english (default).
Style sheets: 0: .
Files included: 47 - 1280KB. (show)
Queries used: 42.

[Show Queries]