home *** CD-ROM | disk | FTP | other *** search
-
-
- Implementing a RIP Graphics Door Menu
- Using Wildcat 3.9
-
- Implementing a graphical door menu with Wildcat 3.9 can be a challenge
- because the BBS does not establish text window before shelling out to run
- the door software. Undoubtedly, this is a good strategy for the door games
- expected to implement a full RIP interface with new versions, but it is
- not ideal for the older ANSI doors. I have delveloped a method to
- implement both RIP and ANSI doors while handling the screen correctly for
- either case.
-
- The first thing you need is a RIP door menu since that is the whole reason
- I am writing this. I recommend a totally graphical screen with no text
- window to avoid showing the user the door menu prompt. Note that if your
- system dynamically generates messages to the user (like a chat request
- from another node) you will need a text window. About the only thing a
- single node system will generate is 'Your time is up' type messages, in
- which case, the system will eventually hang up anyway. I chose to use a
- button for each game, giving it a title and a hot-key (totally hiding door
- number from the user). I also display the time left for the call with each
- re-draw of the menu. My DOORS.RIP is included with this archive.
-
- Another thing you need is a program that will send a file out the comm
- port from the DOS prompt with the proper handshaking and baud rate. I use
- WCREAD which is on the Wildcat HQ BBS.
-
- You may need a utility to actually alter the DOOR.SYS and/or USERINFO.DAT
- files to fake out the door and make it think the caller is using an ANSI
- terminal. I use Richard Skinner's DOORFIX which is available on the
- Wildcat HQ BBS.
-
- The last thing you need is a program that will read the DOOR.SYS dropfile
- and return a DOS errorlevel depending on whether the caller is RIP capable
- or not. ISRIP.EXE included in this archive fits the bill for this one.
-
- Install your DOORS.BBS and DOORS.RIP menus in your display directory as
- usual. Edit each of your DOORxx.BAT files that may require special
- handling to call FIXRIP.BAT before it does anything else. Doors that
- explicitly support RIP may not need this special processing.
-
- NOTE: The version of WCREAD that I have will only send file that have a
- .BBS or a .SCR extension. I simply copied my POSTRIP.RIP to POSTRIP.BBS to
- take care of it.
-
- Here is the FIXRIP.BAT that I use:
-
- REM------------------FIXRIP.BAT-----------------------
- isrip \wc30\wcwork\node1
- if errorlevel 2 goto NORIP
- if errorlevel 1 goto RIP
- goto NORIP
-
- REM------RIP detected. Send the POSTRIP.RIP file out the com port.
- REM------ NOTE: WCREAD is a utility available on the MSI HQ BBS that
- REM------ sends a file out the com port with proper handshaking.
- :RIP
- cd\wc30
- wcread postrip
-
- REM------No RIP detected. Just return to calling progrm.
- :NORIP
- REM------------------End of FIXRIP.BAT------------------
-
-
-
- And here is a sample DOORxx.BAT file:
-
- REM----------------DOOR4.BAT----------------------------
- REM Detect RIP caller and set up a text window
- call FIXRIP.BAT
-
- REM Since this is an older ANSI door, use a utility to fix the DOOR.SYS
- REM and USERINFO.DAT to make the caller look like ANSI for the time being
- doorfix IN C:\wc30\wcwork\node%WCNODEID%
-
- cd\doors\5dws
- 5dws16 5dws.cfg
-
- REM Restore DOOR.SYS and USERINFO.DAT
- doorfix OUT C:\wc30\wcwork\node%WCNODEID%
-
- REM .....That's all folks!
- REM----------------End DOOR4.BAT-------------------------
-
-