vinceho / smac-cpu-fix Goto Github PK
View Code? Open in Web Editor NEWSid Meier's Alpha Centauri CPU Usage Fix
License: GNU General Public License v3.0
Sid Meier's Alpha Centauri CPU Usage Fix
License: GNU General Public License v3.0
smac-cpu-fix/src/loader/loader.cpp
Line 99 in ddb0a65
e.g. loader.exe -e target.exe -- -other -args -to -target
This would be slightly useful for @induktio's thinker mod which accepts a commandline flag for choosing smac or smacx mode.
Could you go into a little detail on how the injected dll reduces cpu use?
Hello,
Thanks for your work, at first i was very happy with the smac cpu fix because it very noticably reduce the cpu usage on my modern window 10 system.
But then i noticed when playing SMAX on that modern system that the AI was -noticably- taking more time to do anything (moving units, "thinking", etc...) during gameplay in comparison to when i was playing the game on my older potato computer that had window XP.
After testing around i found out that the reason is the smac cpu fix as if i play terranx.exe (and with the loader.exe and loader.dll deleted from the smax directory) the game AI play at the same fast speed as it was supposed to be.
But if i re-add loader.exe and loader.dll (and so launch the game with loader.exe -e terranx.exe as instructed, i observe again the AI being much slower.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.