It can be installed over Yitzi's patch--the installation will just change a few bytes of terran.exe and terranx.exe to load my dll's.
Source code: https://github.com/DrazharLn/pracx
PRACX Change Log
No big bug fixes or new features, just some minor UI tweaks for things that annoyed me. The patch is fully compatible with SMAC, SMAX, and Yitzi's patches (last tested against v3.3B).
*Toggles between Full Screen and Windowed mode;
*Window is resizable;
*Configurable Full Screen resolution (any resolution can be used);
*Automatically switches system back to native resolution when windowed;
*<TAB> key toggles for systems that don't like <ALT-TAB> (like mine for some reason);
*DirectDraw .ini setting obsolete--DirectDraw is used only for movies;
*Opening and in game movies are fully compatible and no longer block <ALT-TAB>.
*Pixel-level scrolling (previously had to scroll at least a tile at a time);
*Right-Click and drag scrolling added;
*Edge scroll zones scroll faster the closer to the edge the mouse is;
*Configurable zone sizes and scroll speed. "Min Scroll Speed" setting is the speed of scrolling when the mouse just enters the zone, and "Max" is the speed with the mouse fully against the edge of the screen/window.
*Pixel-level re-centering--no more screen zigzag when scrolling in and out;
*Automatically sets reasonable min, max, and increment values for the current resolution;
*Mouse wheel zooms in and out;
*Configurable # of increments between min and max zoom;
*Resolves black areas after zooming defect;
*Details (units, cities, improvements, etc.) are now shown even when fully zoomed out--can be turned off in Prefs if that causes anyone performance issues.
*<ALT-R> cycles between displaying:
--Current Yield: Displays what each tile would produce with its current improvements (if any);
--Potential Yield: Displays each tile's food as if it had a farm, production as if it had a mine, and energy as if it had solar panels;
*Yields are displayed as though for a faction with no current max resource per tile limits--its main purpose is to make it easier to see where to place a city.
*<ALT-T> cycles between displaying:
--Faction Ownership Mode: Displays tiles colored by who owns them, if anyone;
--Elevation Mode: Displays highest elevations as dark red and lowest as white;
--Rainfall Mode: Displays wettest areas as dark green and driest as while;
--Rockiness Mode: Displays rockiest areas as dark gray and flattest as white;
*In view mode (key <V>), mouse over for unit and terrain info (don't have to Shift-Right Click);
*In city mode, unworked tiles show their potential yields in grey. Can be turned off temporarily by holding <SHIFT>, or permanently in Prefs--in which case hold <SHIFT> will display the yields rather than hiding them;
*New in-game menu and prefs window to manage the new features.
*1st mode of existing <T> cycle now hides forests and fungus so you can see what's under them.
*Mouse wheel controls zooming when the map is shown, but controls list scrolling when a list window is shown.
PRACX Hotkey Reference
<TAB> Toggle fullscreen/windowed
<ALT-R> Cycle resource display mode
<ALT-T> Cycle terrain display mode
<SHIFT> On city screen, show or hide unworked resources depending on the default setting
The entire patch may be temporarily disabled by setting "Disabled=1" in the [PRACX] section of Alpha Centauri.Ini in the application's directory. It may be permanently disabled by deleting prac.dll and prax.dll in the application's directory or by uninstalling.
Thanks to everyone at http://alphacentauri2.info
for their comments and suggestions, and specially to Yitzi and Scient for sharing research from their patches.
Everyone is free to use, distribute, and modify this patch with no limitations, including bundling it in other patches and modifying the source code.
Minor fixes to the v1.0 release:
*Fixed "WindowsFileBox=1" .ini setting causing full screen to switch to windowed mode on load/save;
*Fixed <V>iew mode not displaying tile info on mouse-over in SMAX;
*Fixed scaling issue with resource icons in Resource Mode for wide aspect ratios;
*Fixed "Please don't leave" dialog showing up after switching between windowed and full screen mode;
*Improved Zoom Increment calculation so that 0 zoom always lies exactly in the middle. A side effect is the number of
Zoom Increments must now always be odd. Even values will be rounded up to the nearest odd number;
*Added this note that <ESC> is the key to use to skip movies now;
*Window close box now acts as though the <ESC> key was pressed instead of minimizing the window.
*Fixed incorrect resource calculation in Release build;
*Added removal of GOG <ALT-TAB> blocking to installation.
*Fixed crash when Disabled=1.
*Re-enabled scroll wheel zoom (accidentally disabled in 1.02).
*Significantly improved zoom level calculation.
*Fixed lockup when zooming very large maps.
*Fixed incorrect computation of lower vertical scroll bound.
*Statically linked RTL to remove dependency on RTL DLL.
*Compiled for XP compatibility
*Install script now actually creates the backup directory
*PRACX Preferences screen now shows the correct PRACX version
* Change: No longer becomes windowed when window loses focus.
* Change: TAB no longer toggles windowed/full-screen.
* Change: ALT+ENTER now toggles windowed/full-screen mode.
* Fix: May fix colour calibration problems.
* Feature: Can now set MoviePlayerCommand in .ini.
* Fix: Video window would lose focus after two minutes
* Fix: Yitzi's patch 3.5 includes an 'Alpha Centauri.Ini' that sets bad PRACX options. I now look for them at installation time and change them to the defaults. There will be false positives, but it's better than the status quo.
--Daemonjax and DrazharLn
* Fix: use current rather than registry display settings
* Fix: alt-tab works better
* Feature: package BUncle's Icons.pcx
* Feature: optional logging
* Some versions of the Alpha Centauri.Ini packaged with yitzi's patch disable PRACX. If you can't open the PRACX menu, check the Ini file. v1.09 and up of the PRACX installer try to fix this for you.
* PRACX will not work with the official version of the game. You need to install the unofficial patches first.