Increasing StarCraft Speed

Revision as of 13:29, 28 July 2015 by Warwolf30 (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

Speed tut 01.gif

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

Speed tut 02.gif

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.