Author Topic: SMAX won't run under Windows 10  (Read 6924 times)

0 Members and 2 Guests are viewing this topic.

Offline Kirov

Re: SMAX won't run under Windows 10
« Reply #15 on: July 12, 2017, 10:30:48 am »
I can't say I follow you, guys, but I'm certainly somewhere behind. I hope you arrive at some conclusions and then please tell me what to do in layman terms. ;)

 ;b; ;b; ;b;

Offline DrazharLn

Re: SMAX won't run under Windows 10
« Reply #16 on: July 12, 2017, 01:02:09 pm »
Thanks Quinch. Could you try again with this debug build?

I don't expect it to work, just to give me a bit more information.

Quote
...
Or anything other than <default> makes the game display properly.
On the other hand, when the turn ends on a moving unit, the End Turn button doesn't activate until the mouse is moved. Pathfinding itself seems a little slow, but that might be subjective.

I can't reproduce the end turn thing. Could you send me a save file where it occurs?

Offline DrazharLn

Re: SMAX won't run under Windows 10
« Reply #17 on: July 12, 2017, 04:42:34 pm »
Kirov,

I thought installing directplay fixed your problem?

Offline Quinch

Re: SMAX won't run under Windows 10
« Reply #18 on: July 12, 2017, 06:15:12 pm »
Here we go.

With <default> settings

49110734:..\shared\pracx.cpp:2487:DllMain   51DA0000   1   00000000
49110734:..\shared\pracx.cpp:2493:DllMain   Loaded
49110734:..\shared\pracx.cpp:2281:PRACXHook   
49110734:..\shared\pracx.cpp:2487:DllMain   51DA0000   2   00000000
49110734:..\shared\pracxsettings.cpp:550:Load   0   0   0   0   0   0
49110734:..\shared\pracx.cpp:759:PRACXGetSystemMetrics   3   17   17
49110765:..\shared\pracx.cpp:737:PRACXWinMain   00400000   00000000      1
49110765:..\shared\pracx.cpp:1357:PRACXRegisterClassA   0019F824
49110765:..\shared\pracx.cpp:759:PRACXGetSystemMetrics   0   0   1920
49110765:..\shared\pracx.cpp:759:PRACXGetSystemMetrics   1   0   1080
49110765:..\shared\pracx.cpp:630:PRACXCreateWindowEx   w: 0   h: 0   x: 0   y: 0
49110812:..\shared\pracx.cpp:759:PRACXGetSystemMetrics   13   32   32
49110812:..\shared\pracx.cpp:759:PRACXGetSystemMetrics   14   32   32
49110843:..\shared\pracx.cpp:2487:DllMain   51DA0000   2   00000000
49110859:..\shared\pracx.cpp:2487:DllMain   51DA0000   2   00000000
49110859:..\shared\pracx.cpp:2487:DllMain   51DA0000   2   00000000
49110921:..\shared\pracx.cpp:2487:DllMain   51DA0000   2   00000000
49110921:..\shared\pracx.cpp:2487:DllMain   51DA0000   2   00000000
49110921:..\shared\pracx.cpp:2487:DllMain   51DA0000   2   00000000
49110921:..\shared\pracx.cpp:2487:DllMain   51DA0000   2   00000000
49111812:..\shared\pracx.cpp:2234:PRACXMainMenuUpdateVisible   -1
49111812:..\shared\pracx.cpp:2133:GetMenuCaption   3000
49111812:..\shared\pracx.cpp:2133:GetMenuCaption   3001
49111812:..\shared\pracx.cpp:2133:GetMenuCaption   3002
49111812:..\shared\pracx.cpp:2133:GetMenuCaption   3003
49111812:..\shared\pracx.cpp:2133:GetMenuCaption   3004
49111812:..\shared\pracx.cpp:2133:GetMenuCaption   3005
49111812:..\shared\pracx.cpp:2133:GetMenuCaption   3006
49111812:..\shared\pracx.cpp:2133:GetMenuCaption   3007
49111812:..\shared\pracx.cpp:2133:GetMenuCaption   3008
49111812:..\shared\pracx.cpp:2133:GetMenuCaption   3009
49111812:..\shared\pracx.cpp:2133:GetMenuCaption   3010
49111812:..\shared\pracx.cpp:2133:GetMenuCaption   3011
49112375:..\shared\pracx.cpp:1737:PRACXLoadIcons   
49113281:..\shared\pracx.cpp:691:SetWindowed   1
49113296:..\shared\pracx.cpp:1196:PRACXWinProc   WM_USER+3
49116906:..\shared\pracx.cpp:1217:PRACXWinProc   WM_SYSCOMMAND   61536
49116906:..\shared\pracx.cpp:566:PRACXShowMovie   opening
49121515:..\shared\pracx.cpp:1117:PRACXWinProc   WM_MOVIEOVER
49123562:..\shared\pracx.cpp:1217:PRACXWinProc   WM_SYSCOMMAND   61472
49126203:..\shared\pracx.cpp:1217:PRACXWinProc   WM_SYSCOMMAND   61728
49128265:..\shared\pracx.cpp:1217:PRACXWinProc   WM_SYSCOMMAND   61536
49128328:..\shared\pracx.cpp:2487:DllMain   51DA0000   3   00000000
49128328:..\shared\pracx.cpp:2487:DllMain   51DA0000   3   00000000
49128375:..\shared\pracx.cpp:2487:DllMain   51DA0000   3   00000000
49128375:..\shared\pracx.cpp:2487:DllMain   51DA0000   3   00000000
49128375:..\shared\pracx.cpp:759:PRACXGetSystemMetrics   0   0   1920
49128375:..\shared\pracx.cpp:759:PRACXGetSystemMetrics   1   0   1080
49128390:..\shared\pracx.cpp:759:PRACXGetSystemMetrics   0   0   1920
49128390:..\shared\pracx.cpp:759:PRACXGetSystemMetrics   1   0   1080
49128421:..\shared\pracx.cpp:2487:DllMain   51DA0000   0   00000001
49128421:..\shared\pracx.cpp:2496:DllMain   Unloaded


With edited windowsettings

49314609:..\shared\pracx.cpp:2487:DllMain   51DA0000   1   00000000
49314609:..\shared\pracx.cpp:2493:DllMain   Loaded
49314609:..\shared\pracx.cpp:2281:PRACXHook   
49314609:..\shared\pracxsettings.cpp:550:Load   0   0   0   0   1024   768
49314640:..\shared\pracx.cpp:2487:DllMain   51DA0000   2   00000000
49314687:..\shared\pracx.cpp:759:PRACXGetSystemMetrics   3   17   17
49314703:..\shared\pracx.cpp:737:PRACXWinMain   00400000   00000000      1
49314703:..\shared\pracx.cpp:1357:PRACXRegisterClassA   0019F824
49314703:..\shared\pracx.cpp:759:PRACXGetSystemMetrics   0   1024   1024
49314703:..\shared\pracx.cpp:759:PRACXGetSystemMetrics   1   768   768
49314703:..\shared\pracx.cpp:630:PRACXCreateWindowEx   w: 1024   h: 768   x: 0   y: 0
49314812:..\shared\pracx.cpp:759:PRACXGetSystemMetrics   13   32   32
49314812:..\shared\pracx.cpp:759:PRACXGetSystemMetrics   14   32   32
49314875:..\shared\pracx.cpp:2487:DllMain   51DA0000   2   00000000
49314890:..\shared\pracx.cpp:2487:DllMain   51DA0000   2   00000000
49314890:..\shared\pracx.cpp:2487:DllMain   51DA0000   2   00000000
49314953:..\shared\pracx.cpp:2487:DllMain   51DA0000   2   00000000
49314953:..\shared\pracx.cpp:2487:DllMain   51DA0000   2   00000000
49314953:..\shared\pracx.cpp:2487:DllMain   51DA0000   2   00000000
49314953:..\shared\pracx.cpp:2487:DllMain   51DA0000   2   00000000
49315359:..\shared\pracx.cpp:2234:PRACXMainMenuUpdateVisible   -1
49315359:..\shared\pracx.cpp:2133:GetMenuCaption   3000
49315359:..\shared\pracx.cpp:2133:GetMenuCaption   3001
49315359:..\shared\pracx.cpp:2133:GetMenuCaption   3002
49315359:..\shared\pracx.cpp:2133:GetMenuCaption   3003
49315359:..\shared\pracx.cpp:2133:GetMenuCaption   3004
49315359:..\shared\pracx.cpp:2133:GetMenuCaption   3005
49315359:..\shared\pracx.cpp:2133:GetMenuCaption   3006
49315359:..\shared\pracx.cpp:2133:GetMenuCaption   3007
49315359:..\shared\pracx.cpp:2133:GetMenuCaption   3008
49315359:..\shared\pracx.cpp:2133:GetMenuCaption   3009
49315359:..\shared\pracx.cpp:2133:GetMenuCaption   3010
49315359:..\shared\pracx.cpp:2133:GetMenuCaption   3011
49315843:..\shared\pracx.cpp:1737:PRACXLoadIcons   
49316687:..\shared\pracx.cpp:566:PRACXShowMovie   opening
49320375:..\shared\pracx.cpp:1117:PRACXWinProc   WM_MOVIEOVER
49320375:..\shared\pracx.cpp:691:SetWindowed   0
49320531:..\shared\pracx.cpp:1217:PRACXWinProc   WM_SYSCOMMAND   61488
49344796:..\shared\pracx.cpp:2487:DllMain   51DA0000   2   00000000
49344796:..\shared\pracx.cpp:2487:DllMain   51DA0000   2   00000000
49374187:..\shared\pracx.cpp:1602:PRACXZoomProcessing   0
49374343:..\shared\pracx.cpp:1602:PRACXZoomProcessing   8192
49374421:..\shared\pracx.cpp:1602:PRACXZoomProcessing   8192
49376562:..\shared\pracx.cpp:1602:PRACXZoomProcessing   8192
49376562:..\shared\pracx.cpp:1602:PRACXZoomProcessing   8192
49406328:..\shared\pracx.cpp:1217:PRACXWinProc   WM_SYSCOMMAND   61696
49406328:..\shared\pracx.cpp:691:SetWindowed   1
49406468:..\shared\pracx.cpp:1196:PRACXWinProc   WM_USER+3
49417500:..\shared\pracx.cpp:1602:PRACXZoomProcessing   8192
49417515:..\shared\pracx.cpp:1602:PRACXZoomProcessing   8192
49417546:..\shared\pracx.cpp:1602:PRACXZoomProcessing   8192
49417562:..\shared\pracx.cpp:1602:PRACXZoomProcessing   8192
49418250:..\shared\pracx.cpp:1217:PRACXWinProc   WM_SYSCOMMAND   61536
49420015:..\shared\pracx.cpp:2487:DllMain   51DA0000   3   00000000
49420015:..\shared\pracx.cpp:2487:DllMain   51DA0000   3   00000000
49420046:..\shared\pracx.cpp:2487:DllMain   51DA0000   3   00000000
49420046:..\shared\pracx.cpp:2487:DllMain   51DA0000   3   00000000
49420046:..\shared\pracx.cpp:759:PRACXGetSystemMetrics   0   1024   1920
49420062:..\shared\pracx.cpp:759:PRACXGetSystemMetrics   1   768   1080
49420093:..\shared\pracx.cpp:759:PRACXGetSystemMetrics   0   1024   1920
49420093:..\shared\pracx.cpp:759:PRACXGetSystemMetrics   1   768   1080
49420109:..\shared\pracx.cpp:2487:DllMain   51DA0000   0   00000001
49420109:..\shared\pracx.cpp:2496:DllMain   Unloaded

---
The end turn thing should be simple to reproduce {if it does happen on your end - to clarify, this seems to be a W10-specific issue as well, didn't occur on W7} - start a new game and drag all your units to a few squares away.

Offline DrazharLn

Re: SMAX won't run under Windows 10
« Reply #19 on: July 12, 2017, 09:43:07 pm »
Cool, your real resolution is 1920x1080, right?

I'm calling EnumDisplaySettings and asking for the values in your registry for your current display, but that doesn't give sensible values on your computer. Which is pretty weird. Let's see if ENUM_CURRENT_SETTINGS gets us anything sensible.

The windows GetSystemMetrics function does seem to be successfully reporting your screen res, so that's something.

I can't reproduce the end turn button thing or the slow path-finding.

Could you load the game once with these new binaries and send me the log? It doesn't matter what's in your alpha cent.ini.

Offline TarMinyatur

Re: SMAX won't run under Windows 10
« Reply #20 on: July 14, 2017, 11:00:38 pm »
Windows 10 now opts out of a legacy component called DirectPlay. You can opt in to it to play older games. https://windowsforum.com/threads/turn-on-direct-play-to-use-older-games-windows-8-8-1-1-and-10.205952/

At least one of my copies works right now. You, sir, are a true hero of this board, I cannot tell you how grateful I am. If you ever start a cult, consider me in.

Thank you so much!!!  ;b; ;b; ;b; I mean it.

Microsoft considers DirectPlay to be a security vulnerability so they have disabled DirectPlay without your explicit approval via automatic Windows OS updates. Microsoft obviously doesn't care about 18-year-old games such as SMAC and Starfleet Command which were released for a gamer-friendly Windows 98 environment with peer-to-peer networking. They wanted DirectPlay turned off by default, and they got it.

Offline DrazharLn

Re: SMAX won't run under Windows 10
« Reply #21 on: July 17, 2017, 09:04:52 pm »
Windows 10 Creators Update is known to cause issues with SMAC.

Specifically:

 - pathfinding path drawn slowly
 - end turn icon not enabled sometimes until you move the mouse

http://alphacentauri2.info/index.php?topic=14308.330

 

* User

Welcome, Guest. Please login or register.

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
-=-
105 (33%)
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: 316
AC2 Wiki Logo
-click pic for wik-

* Random quote

Man is a rope, tied between beast and overman?a rope over an abyss. A dangerous across, a dangerous on-the-way, a dangerous looking-back, a dangerous shuddering and stopping. What is great in man is that he is a bridge and not an end: what can be loved in man is that he is an overture and a going under. I love those who do not know how to live, for they are those who cross over.
~Friedrich Nietzsche 'Thus Spoke Zarathustra', Datalinks

* 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: 45 - 1228KB. (show)
Queries used: 37.

[Show Queries]