Difference between revisions of "Increasing StarCraft Speed"
(Created page with "This page covers methods of making the Starcraft application run faster. Note that the speed can also depend on the computer's processing power. == Disable Sound == <syntaxhi...") |
(No difference)
|
Revision as of 13:29, 28 July 2015
This page covers methods of making the Starcraft application run faster. Note that the speed can also depend on the computer's processing power.
Disable Sound
[starcraft]
; Game sound engine = ON | OFF
sound = OFF
Open the BWAPI config file in bwapi-data/bwapi.ini
and set sound
to OFF
.
Muting the sound and music is not the same as disabling the entire sound engine. If the sound is muted, the functions to play sounds are still called and the sounds are still processed at Starcraft's level. When the sound engine is disabled, these are skipped entirely.
Change Game Speed
Typing /speed 0
in Starcraft will disable the delay between frames. You can perform the same action from an AI module by calling the function Game::setLocalSpeed(0)
.
Disable the GUI
Typing /nogui
in Starcraft will toggle the display of graphics. Disabling the Graphical User Interface (GUI) will prevent Starcraft from calling its drawing routines and image processing functions. The same action can be performed from an AI module by calling the function Game::setGUI(false)
.
Using this option will cause the game to remain inside of the game loop instead of returning after every game frame.
Note that when this option is enabled, the CPU Throttling option in the game menu does not impact performance.