"How to Automate Turn Submission (with Pegasus)" by Alan Beale 1996 n/a

From Stars!wiki
Jump to: navigation, search

HOWTO: Automate Turn File Submission with Pegasus Mail

by: Alan Beall

Introduction


I was reading the strategy newsgroup one day, and I saw a post by Stephane Picard. It gave barebones description of how to easily submit turn files if you are using Pegasus.


This is a more detailed explanation of how to put this process into action to make your turn submission woes much less woeful. You'll be able to get into a lot more games because you won't have to whine about how hard it is to submit files. ;)


Step One


Compose a new message to your host. Do all the things you normally do by hand (Address, Subject, and the tedious job of attaching the turn file). Takes a bit of work, doesn't it?


Step Two


Click on Message | Save Message. This brings up a dialog box.


Type a Title into the text box.

Click on OK.


Pegasus will give the file a random name with a .PMO extension. Pegasus saves these files in the home directory. My copy uses the \SAVED directory. You can open this file with Notepad, to see what it looks like. Here is an example.


Rename the file as GAMENAME.PMO(GAMENAME = the file name your host assigned to the game).


Move the file to your main Pegasus directory.


Step Three


Now it is time to make a new icon for the automated process. You need to put this icon in a place that is convenient for you. I put mine in the folder with all of my Winsock applications, but another good place would be in the folder where your Stars! icon is located.


In the folder where you want the new icon, click on File | New | New Item (shortcut in Win95).


Specify where WINPMAIL.EXE is, use the -j switch, and tell it where the .PMO file is. Depending on where you keep Pegasus, the command line will look like this:


c:\pegasus_directory\winpmail.exe -j c:\pegasus_directory\gamename.pmo


Finis


When you double-click on the icon, Pegasus will automatically compose the message and send it (to the queue or directly, depending on how you have the program configured). You will never have to go through the pain of manually submitting a turn file, again.


If you would like more information about this powerful tool, you can look at Help | Commandline Options | Advanced Job Submission in Pegasus.


If you are ready to upgrade to the most powerful (and least expensive) e-mail client in the world, you need to check out the Pegasus Homepage.


If you have questions or comments about this document, send a message to: Alan Beall


Example .PMO file


GameName .PMO File

SY:1

TO:"Host Name"

SU:bd file 12

CC:

EN:0

CS:1

RC:0

DC:0

UR:0

SS:1

EX:0

AT:c:\games\stars\m_bd\bd.x12,Binary,3

FL:0


This document and all its contents are © Copyrighted, 1996 by Alan Beall. Distribution is allowed as long as you give me credit and distribute it in its entirety. All other trademarks are the property of their respective owners.