![]() |
Prepared by Jim King, Bits-N-Bytes BBS
Any questions? Feel free to Email Jim
Please note that for the purposes of this explanation we will be using the Betsy Ross Solitaire Door from Sunrise Door Software. When using a different Sunrise Door product, you will have to verify the contents of the CFG file for that product. Please assume that every Sunrise Door product has a different CFG layout.
By using the supplied batch file (located at the end of this explanation; copy and edit it for your use) you can avoid having to make a separate CFG file for every Node you have. Also, changing parameters for game play only requires a single file change for each Door.
Install the game by making a directory: dir \sbbs\xtrn\betsy
Copy and save the batch file SYNC.BAT
Run SCFG32, and go to the external games section (consult the sysop docs for exact location). Make an entry for Betsy Ross (Line 1 of Fig 1-1)
SCFG will suggest BETSY as the internal code. That's fine.
Enter the game dir info for START-UP Directory. (line 3)
Command Line: Enter SYNC.BAT %f& (%f causes the BBS to send the drive\dir\ and drop file name, which includes the node number on the command line. This will be used by the batch file to supply the game with the location of the correct drop file)
Alter other lines as you see fit.
The last line of SYNC.BAT starts the game, passing the newly created configuration file name and the /FD switch. This is absolutely necessary for SYNC to work.
Fig 1-1
Betsy Ross Solitaire | |
Name | Betsy Ross Solitaire |
Internal Code | BETSY |
Start-up Directory | ..\XTRN\BETSY |
Command Line | SYNC.BAT %f |
Clean-up Command Line | |
Execution Cost | None |
Access Requirements | |
Multiple Concurrent Users | No |
Intercept I/O Interrupts | No |
Swap BBS out of Memory | No |
Modify User Data | No |
Execute on Event | No |
BBS Drop File Type | (R)GAP DOOR.SYS |
Place Drop File In | Node Directory |
Time Options... |
========================
-[SYNC.BAT]-
========================
@ECHO OFF
ECHO %1>betsy.cfg
ECHO Bits-N-Bytes BBS>>betsy.cfg
ECHO James>>betsy.cfg
ECHO King>>betsy.cfg
ECHO 00000000>>betsy.cfg
:: games per day (You can insert notes to yourself where you may make changes)
ECHO 10>>betsy.cfg
:: make up days
ECHO 15>>betsy.cfg
ECHO c:\sbbs\data\text\games\betsyTS.asc>>betsy.cfg
ECHO c:\sbbs\data\text\games\betsyTS.ans>>betsy.cfg
ECHO c:\sbbs\data\text\games\betsyHOF.asc>>betsy.cfg
ECHO c:\sbbs\data\text\games\betsyHOF.ans>>betsy.cfg
ECHO 2>>betsy.cfg
ECHO 2>>betsy.cfg
ECHO N>>betsy.cfg
ECHO Y>>betsy.cfg
ECHO 000=00/00>>betsy.cfg
ECHO 000=00/00>>betsy.cfg
ECHO 000=00/00>>betsy.cfg
ECHO 000=00/00>>betsy.cfg
ECHO 000=00/00>>betsy.cfg
ECHO 000=00/00>>betsy.cfg
ECHO 000=00/00>>betsy.cfg
ECHO 000=00/00>>betsy.cfg
ECHO 000=00/00>>betsy.cfg
ECHO 000=00/00>>betsy.cfg
ECHO 000=00/00>>betsy.cfg
ECHO 000=00/00>>betsy.cfg
ECHO 000=00/00>>betsy.cfg
ECHO 000=00/00>>betsy.cfg
ECHO 000=00/00>>betsy.cfg
ECHO 030>>betsy.cfg
ECHO N>>betsy.cfg
ECHO N>>betsy.cfg
ECHO 0>>betsy.cfg
ECHO 0>>betsy.cfg
ECHO Y>>betsy.cfg
ECHO Y>>betsy.cfg
ECHO G>>betsy.cfg
betsy.exe betsy.cfg /fd
End of Batch File