AutoPBW Manual

What is AutoPBW?

AutoPBW is desktop client application for the PBW website, which allows for automation of PBEM-style play in turn-based strategy games such as Space Empires IV.

The current version of AutoPBW is 1.1. You can download the latest version or source code, or file a bug report or feature request at Bitbucket. Also feel free to fork this project and submit pull requests!

AutoPBW was created by Ed Kolis and is based on Jon Sorensen's PBW AutoClient.

AutoPBW runs in the background when you close the window; you can bring it up again by double-clicking the tray icon, and close it for good by right-clicking the tray icon and selecting "Exit AutoPBW" from the menu, or by clicking the "Exit AutoPBW" button in the GUI.

Configuration

There are three things you will need to configure in AutoPBW:

Configuring login information

This is fairly self-explanatory; just enter your PBW username and password on the "Settings" tab and click "Save".

Configuring game engines

AutoPBW comes with preconfigured settings for all game engines supported by PBW, but you will need to set the paths to the game executables. Note that for SE4 and SE5, you will want to use separate instances of the game for playing and hosting, as the games create temporary files which will overwrite each other if you run more than one instance of the game at once. (AutoPBW never attempts to run more than one hosted game at a time for this reason.)

If you do need to customize these settings (e.g. PBW adds support for new game engines, or I made a mistake in the configuration files), be aware that the configuration fields (except the "Code" field) support support a variety of replacement strings:

Additionally, the following replacement strings are supported only by the player fields:

Configuring mods

When AutoPBW encounters a mod being used on PBW for the first time, it automatically creates a blank configuration entry for that mod. You will, however, need to fill in a few fields:

Playing Games

The "Games I Play" tab will list all of the games that you are currently playing. It has four columns:

After selecting a game that has started, you can click the "Download" button to download the turn. You will be prompted to play the turn. After you have played the turn, you can click "Upload" to upload to PBW. If you have already downloaded a turn, but haven't had a chance to play it yet, you can click "Play" to play it without redownloading it. If the game's mod or engine isn't configured yet, you will be prompted to do so, and once you have done so, you can try to play the turn again.

Hosting Games

If you are hosting any games (or have volunteered to autohost someone else's games), they will show up in the "Games I Host" tab, but only if they are currently awaiting action from you; PBW doesn't currently report on hosted games that are not awaiting action. The "Games I Host" list has the same columns as the "Games I Play" list.

When a game is ready for turn processing, AutoPBW will automatically attempt to download, process, and upload the turn files for the game. If the game's engine or mod isn't configured yet, an error will be displayed in the tray icon. You will need to open AutoPBW by double-clicking the tray icon, find the mod or engine in question, and configure it; then the game will attempt to process again the next time AutoPBW refreshes. (The standard refresh rate is once every two minutes, but it also refreshes after uploading any files, and you can refresh manually by clicking the "Refresh" button.)

AutoPBW will never attempt to process more than one game at a time; if more than one game is awaiting processing, AutoPBW will process them sequentially. You can, however, download, play, and upload turns while a game is processing (though you will have to wait for any downloads or uploads in progress to complete in order to download or upload files).

Version History

1.1

1.0