Author Topic: PRACX v1.10 Release  (Read 241073 times)

0 Members and 3 Guests are viewing this topic.

Offline PlotinusRedux

Re: PRACX v1.04 Release
« Reply #90 on: December 26, 2014, 11:03:30 AM »
You are mistaken. I am Good Spock, aka Cool Spock. ^_^

Sorry, it's a universal law of alternate dimensions and twins that goatee = evil.  Not to mention the whole asking for my "agonizer" thing...

Offline Lord Avalon

Re: PRACX v1.04 Release
« Reply #91 on: December 26, 2014, 02:34:21 PM »
Isn't that a Punishment Sphere you're building over there? It seems similar to our agony booth.
Your agonizer, please.

Offline Mart

Re: PRACX v1.04 Release
« Reply #92 on: December 28, 2014, 01:39:39 AM »
Mart--I'm not able to reproduce that, and offhand I can't think of anything I changed that might cause that.  If you find a pattern that seems to make it happen or can think of anything that might help me reproduce it, please let me know--that's the kind of thing I have to be able to reproduce to track down.

It may be my mouse driver issue. It is, that it just happened around this time I started using one of the patch versions. I will have to check the driver and stuff around it.
I have Mad Catz RAT-5 at the moment (for fast text editing, which I had to do on some exam... software engineering is more demanding than a shooter game :) I played some such games occasionally, but never needed a mouse like that...). Sadly, having MSI machine does not help. Their support for Win 8.1 is lacking a bit. Yet still, this is my favourite type of hardware, having the second one from them and maybe another in the future. They just do these few little things so well, it's difficult to find anything better for medium price.

I installed 1.04 and map works smoother - this is my impression. The default zoom was below 20 (not 21) and it was 19, cause I set it so before, I think.
And wheel scrolling was 0? I do not remember now.

Offline PlotinusRedux

Re: PRACX v1.04 Release
« Reply #93 on: December 28, 2014, 02:12:40 AM »
Mart--I use the RAT 7 myself--it's the most adjustable (to fit my hand) mouse I've seen.  So I don't think it would be the RAT driver, though I'm using Windows 7, not 8.

Offline Mart

Re: PRACX v1.04 Release
« Reply #94 on: December 28, 2014, 02:59:42 AM »
Mart--I use the RAT 7 myself--it's the most adjustable (to fit my hand) mouse I've seen.  So I don't think it would be the RAT driver, though I'm using Windows 7, not 8.
There must be something in my hardware/software combination, cause I also noticed now such strange behaviour in firefox. So I am going to look for the problem over there.
... or is it nasty adware?

Offline Yitzi

Re: PRACX v1.04 Release
« Reply #95 on: December 29, 2014, 08:54:32 PM »
I noticed that the scroll wheel for zooming is not properly disabled/transferred to the menu when there is a scenario editor menu (e.g. create unit or modify techs) open.

Offline Mart

Re: PRACX v1.04 Release
« Reply #96 on: January 08, 2015, 08:47:52 PM »
I tried to play on map 180x360, but zooming by the wheel crashes the game.
Maps up to 256 size seem to work ok.
Is it expected?

There are large maps in download area:
Link

Offline PlotinusRedux

Re: PRACX v1.04 Release
« Reply #97 on: January 09, 2015, 04:08:55 AM »
Mart--what screen resolution?

Offline Mart

Re: PRACX v1.04 Release
« Reply #98 on: January 09, 2015, 06:32:28 AM »
I tried some more settings, it crashes at resolutions:
1600x900
1360x768
1024x768

and it is not the zooming by wheel, buttons "z" and "x" crash the game the same.
I could, however, flatten the view by <shift>+<ctrl>+<z>, also <TAB> worked, I could get a windowed game, play some unit moves, then return to full screen and play further.
And the game works, it seems, as long as zooming is not attempted.

I have also zoom levels set to 19, let me check other levels...
===
I tried also zoom levels: 7 and 3,
and turned off "details when zoomed out"
they crash when zooming the same.

Can it be, that some of the variables have problem with values above 256? Some 1-byte?
===
Maybe not... game works with such large maps.
I checked map dragging with right mouse button, and it works ok.

=========
I have more finds:

These work:
199x256
200x256

these does not work:
201x256
202x256

Then thinking, that it is connected to number of tiles, I tried other map ratios, that all do not work:
48x512
49x512
50x512
51x512
100x512
101x512

and there is a catch - to make such maps, they must be declared in alphax.txt, what I did, cause otherwise in "custom size" when you enter a value larger than 256, game defaults to 256.
« Last Edit: January 09, 2015, 09:41:00 AM by Mart »

Offline PlotinusRedux

Re: PRACX v1.05 Release
« Reply #99 on: January 17, 2015, 03:49:41 AM »
v1.05 released, fixes zooming with very large maps (the issue Mart found above) and a minor issue with calculating the lower scroll bound of the map.

If you're curious, Mart, I hadn't considered that maps could be large enough to not fit completely on the screen at any zoom level given rounding the game does when zooming.  In such cases, the attempt to find a zoom level at which the entire map map fit led to a zoom level so low that the pixel size of each tile rounded down to 0, leading to a division by 0 fault.  To fix, I just honored the game's existing clamp at 1/8th zoom.  If you're trying to get screen shots of a very large map, note that the higher your resolution, the larger the map you can completely fit on the screen even with the 1/8th zoom clamp.
« Last Edit: January 17, 2015, 04:06:37 AM by PlotinusRedux »

Offline new2ac

Re: PRACX v1.05 Release
« Reply #100 on: January 17, 2015, 12:21:40 PM »
I can not apply this patch with 32 bit Windows XP.  I know it is a somewhat older unsupported OS, but it is still in use by many.  I have 64 bit OSs on the same PC, but I installed this on 32 bit Windows XP because this is a Win98 game and have many old apps I use with 32 bit Windows XP.  I would prefer not to have to reinstall this on 64 bit XP or 64 bit Win7.

I had to go into 64 bit Win7 just to manually apply this patch using pracxpatch.exe at the cmd command line prompt, as pracxpatch.exe is not a valid Win32 application.  However, this patch's DLLs are also 64 bit, as I get an exception about not being able to use GetTickCount64 with Kernel32.dll when starting SMACX and loading this patch's DLLs.  I verifed that the DLLs are the problem with WinDbg.

Therefore, I need 32 bit versions of the EXEs and DLLs in this patch.  Worst case I could compile the source for 32 bit, but I found source code for version 1.04 of this patch, not this 1.05 one.

Offline PlotinusRedux

Re: PRACX v1.05 Release
« Reply #101 on: January 17, 2015, 12:30:25 PM »
This was all  compiled as 32-bit, new2ac.  I've been up all night, I'll look into this more once I've slept.  In the meantime, if you would, turn off your anti-virus, re-download the install, and run it, and tell me if that solves your issue or not.  If you're not comfortable doing that, I understand.

GetTickCount64 refers to the return value, not the library--it is supposed to exist in Kernel32.dll.
« Last Edit: January 17, 2015, 12:45:56 PM by PlotinusRedux »

Offline new2ac

Re: PRACX v1.05 Release
« Reply #102 on: January 17, 2015, 01:05:56 PM »
No automatic anti-virus scanning was enabled, and this patch I downloaded does not seem corrupt.  MD5sum of what I downloaded from this post is:

06680cd830c0d6b4a575197535ef4b7d  PRACXv105.exe

Also, there would not be a GetTickCount64 message from a 32 bit DLL.  I remember a posting by Microsoft that recent Visual Studio compilers can not create code for XP, or if that is not the problem, then you may have just mistakenly configured your compiler for 64 bit when you thought is was otherwise, then posted that 64 bit patch.  Remember, pracxpatch.exe only worked in 64 bit OS for me.

Offline PlotinusRedux

Re: PRACX v1.05 Release
« Reply #103 on: January 17, 2015, 02:18:14 PM »
Also, there would not be a GetTickCount64 message from a 32 bit DLL.

Like I said, the 64 refers to the return value, not the library, it's a function in kernel32.dll.  If I compiled it as 64 bit it wouldn't work at all as it is merged with the 32-bit SMAX code without a processor mode switch.

Googling GetTickCount64 shows the problem though--the function only exists on Windows Vista and later.  I'll switch it to run time loading with an OS version check later today--that should fix it.  I must sleep now.

Offline DrazharLn

Re: PRACX v1.05 Release
« Reply #104 on: January 18, 2015, 12:45:41 PM »
@new2ac,

Function reference for GetTickCount64: http://msdn.microsoft.com/en-us/library/windows/desktop/ms724411%28v=vs.85%29.aspx

Definitely in kernel32.

 

* 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

A brave little theory, and actually quite coherent for a system of five or seven dimensions ? if only we lived in one.
~Academician Prokhor Zakharov 'Now We Are Alone'

* 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: 42.

[Show Queries]