home *** CD-ROM | disk | FTP | other *** search
/ Ultimate DOOM Companion / PowersourceMultimedia-UltimateDOOMCompanion.iso / faq / domohel2.zip / DOMOHEL2.TXT next >
Text File  |  1994-03-09  |  13KB  |  342 lines

  1.  
  2.                         DOOM Modem Help Version 2
  3.  
  4.  
  5. -------------------
  6. GENERAL INIT STRING
  7. -------------------
  8.  
  9.  
  10. Having problems with DOOM 1.2 serial?  I tried several modems and
  11. configurations.  The below init string seemed to provide the most 
  12. consistent results across the widest number of modems.  DOOM requires
  13. a 9600 bps connect speed.  A 2400 baud modem won't work.  There are
  14. some utilities which claim to allow 14.4 connect speeds, but I have
  15. not been able to get the modems to respond properly after using them.
  16. (I prefer to wait for an official patch from ID).
  17.  
  18. AT &F S46=0 &K0 &Q0 &D2 &W
  19. AT Z H0
  20.  
  21.  
  22.  
  23. --------------------------------
  24. SPECIFIC MODEM BRAND INIT STRING
  25. --------------------------------
  26.  
  27.  
  28. Here is the much requested specific modem list.  If you have PROVEN
  29. connection methods and init strings, please send them to me so I can
  30. expand the list.
  31.  
  32.  
  33. Modem:                   Init:
  34. ---------------------------------------
  35.  
  36. Infotel 14.4             &F0 \N1 &D2 S37=F8
  37.  
  38. Nuvotel IFX 14.4         &F \N1 &D2 
  39.  
  40. UDS V.3223               &F \N1 \Q &D2
  41.  
  42. UDS Fastalk 32BX         &F0 \N1 &D2
  43.  
  44. Microcom AX              &F \N1 \Q0 &D2
  45.  
  46.  
  47.  
  48. I will add to this list as soon as I get ABSOLUTE verification on other 
  49. modems.  Keep in mind, sometimes even these settings have to be tweaked 
  50. in order to work with different modems (see specific settings below).
  51. We have had some modems provide incredible smooth play when "tweaked" 
  52. properly.  If you have one you are confident with, please send me the
  53. modem vendor, version, and init string.
  54.  
  55.  
  56. ------------------
  57. CONNECTION METHODS
  58. ------------------
  59.  
  60. Bascially, there are four effective ways to connect and play DOOM dialup:
  61.  
  62. 1.  Connect via the DOOM SETUP program.
  63. 2.  Connect via command line options with the DOOM SERSETUP program.
  64. 3.  Connect via a communication program and then with SERSETUP
  65. 4.  Connect with redirected DOS commands and then with SERSETUP. 
  66.  
  67.  
  68. -----------------
  69. DOOM SETUP METHOD
  70. -----------------
  71.  
  72. a.  Edit your MODEM.CFG file.  Change the first line (MUST be the first
  73.     line) to provide the proper init string for your modem.
  74.  
  75. b.  Run the program SETUP in your DOOM directory.  Choose "Play network/
  76.     modem/serial..."
  77.  
  78. c.  Choose Modem.
  79.  
  80. d.  Tab to fields and set as desired.  The most important fields are
  81.     your COM port number.
  82.     
  83. e.  Finally, one side must "CALL" (supply phone #) and the other player 
  84.     must "Wait for Call".  
  85.     
  86. f.  After pressing F10, Your screen should clear.  Both sides should see 
  87.     the init string sent to there modem AND an exact match response.  If
  88.     you lock up no modem response or ERROR, you need to check your 
  89.     connection and modem init string.
  90.  
  91. g.  Next, one side will dial the number.  The receiving (waiting) player
  92.     should see "Waiting for Call..." displayed.
  93.  
  94. h.  Upon ring, the receiving modem should issue an ATA and the modems 
  95.     connect.
  96.  
  97. i.  This is the most common lock up point.  The modems connect, but the
  98.     game never detects the other player.  Did both sides connect at a 
  99.     true CONNECT 9600?  Did you see the connect message from your modem?
  100.     (Look at modem command X4).  Are both modems in direct mode? (Look at
  101.     modem command \N1 or &Q0).  Is there a flow control or break option
  102.     causing a problem?  (Look at modem commands &K, \Q, \G, \K, &R).  The 
  103.     modem commands are described in more detail in a later section.  Also
  104.     check the IRQ settings for your COM port.  Is everything reporting 
  105.     correctly?  You can run the utility MSD (comes with Windows) to get
  106.     precise information on your COM ports and their IRQs).
  107.  
  108. j.  After each side detects and connects, the screen will clear and the
  109.     blue ribbon will display across the top.  The normal DOOM startup and
  110.     initialization will take place.
  111.  
  112. k.  Finally, each side display a message indicating it is SENDING or
  113.     LISTENING for the other player.  The same troubleshooting points above
  114.     apply here.  This is the next point of common lock up.
  115.  
  116. l.  The last point where a lock up is encountered is right after the game
  117.     "starts".  Each player is frozen.  Look here for not enough flow 
  118.     control options set.
  119.  
  120. m.  Occasionally, I have run into CONSISTENCY FAILURES and 
  121.     NETTICS > BACKUPTICS.  I currently have no solution for consisitency
  122.     failures -- although it does seem to be more prevelant with specific 
  123.     modem combinations.  The NETTICS > BACKUPTICS seems to be due to
  124.     over-zealous modem tweaking.  Put some flow control back in and let
  125.     the program and/or modem throttle the data.
  126.  
  127.  
  128. ----------------------------
  129. COMMAND LINE SERSETUP METHOD
  130. ----------------------------
  131.  
  132. a.  This assumes you have read the standard connection information and
  133.     edited your MODEM.CFG file, etc.
  134.  
  135.  
  136. b.  The caller should start SERSETUP.  For example:
  137.  
  138.     SERSETUP -com1 -dial 555-1212
  139.  
  140. c.  The receiver should start SERSETUP.  For example:
  141.  
  142.     SERSETUP -com1 -answer
  143.  
  144. d.  Of course, you would specifiy YOUR COM port and the correct number to
  145.     dial.  Additional options can be specified, but just stick with the
  146.     basics when troubleshooting.  See the DOOM README info for more on 
  147.     command line options.
  148.  
  149.  
  150. ----------------------------
  151. COMMUNICATION PROGRAM METHOD
  152. ----------------------------
  153.  
  154. a.  This assumes you have read the standard connection information and
  155.     edited your MODEM.CFG file, etc.
  156.  
  157. b.  Each side should start a communication program like Qmodem or Procomm.
  158.     Each side should manually issue the AT commands to set the modem.  For
  159.     example:
  160.  
  161.     AT &F \N1 &D2
  162.    
  163. c.  The caller should dial the receiver.  For example:
  164.  
  165.     ATDT 555-1212
  166.  
  167. d.  When the phone rings, the receiver should issue the AT answer command.
  168.     For example:
  169.  
  170.     ATA
  171.  
  172. e.  After the modems connect, exit the program (try to leave the connection
  173.     up or leave DTR high.  You may have to alter the &D2 to a different
  174.     value to cause the modem to stay connected).
  175.  
  176. f.  Each side should start the SERSETUP.  For example:
  177.  
  178.     CD \DOOM
  179.     SERSETUP -com1
  180.  
  181. g.  Of course, you would specifiy YOUR COM port and the correct number to
  182.     dial.  Additional options can be specified, but just stick with the
  183.     basics when troubleshooting.  See the DOOM README info for more on 
  184.     command line options.
  185.  
  186.  
  187. -----------------------------
  188. REDIRECTED DOS COMMAND METHOD
  189. -----------------------------
  190.  
  191. a.  This jewel came from Cris Williams (75300,2704) on Compuserve.  It
  192.     does indeed work when other methods fail.
  193.  
  194.  
  195. b.  This assumes you have read the standard connection information and
  196.     edited your MODEM.CFG file, etc.
  197.  
  198.  
  199. c.  These examples assume COM port 1 and a phone number of 555-1212.  Alter
  200.     according to your setup and real phone numbers.
  201.  
  202. d.  Both sides issue the MODE command to the modem from the DOS (i.e. C:)
  203.     prompt:
  204.  
  205.     MODE COM1:9600,N,8,1,P
  206.  
  207. e.  Both sides issue a redirected ECHO command to set the modems to place in
  208.     direct mode and disable compression, etc...  For example:
  209.  
  210.     ECHO AT&F &Q0 &D2 > COM1
  211.  
  212. f.  The caller should issue the dial sequence.  For example:
  213.  
  214.     ECHO ATDT555-1212 > COM1
  215.  
  216. g.  When the phone rings, the receiver should issue the command:
  217.  
  218.     ECHO ATA > COM1
  219.  
  220. h.  Both sides should start SERSETUP.  For example:
  221.  
  222.     SERSETUP -com1
  223.  
  224.  
  225. ----------------------
  226. COMMAND MODEM COMMANDS
  227. ----------------------
  228.  
  229. Here are the most common settings and what they do:
  230.  
  231. &F    - This fetches the factory default in most modems.  Always a
  232.         good starting point.  Modems with multiple factory settings
  233.         may require a qualifier (i.e. &F0)
  234.  
  235. S46=0 - This register setting disables compression on many v.32 and v.42
  236.         modems.  You might also try S46=136 or %C0.
  237.  
  238. &K0   - Disable flow control between the modem (DCE) and your PC (DTE).
  239.         This was one of the most common problems -- You should look
  240.         at flow control options more closely if you connect and just hang
  241.         WITHOUT the screen clearing and displaying the blue banner.  Check
  242.         your modem documentation carefully.  The command(s) to manipulate
  243.         flow control varies quite a bit on various modems.  The commands
  244.         \G and \G0 were also quite common.
  245.  
  246. &Q0   - Places the modem in DIRECT mode.  This is by far the best method
  247.         for pumping data down those wires!  Stay away from the error
  248.         correcting and speed buffering configurations.  The command \N1 
  249.         is the next most common command to set the modem in direct mode. 
  250.  
  251. &D2   - DTR handling.  DTR is the signal (voltage) on the serial connector
  252.         on your PC that says "I'm here".  This control helps with initially
  253.         talking to the modem and disconnecting.  The &D2 in tells the modem
  254.         how to handle the loss of the DTR signal from the PC.  In this case,
  255.         the modem will go into COMMAND MODE from DATA MODE (if not already
  256.         there) and send the normal verbose response (i.e. "OK").
  257.  
  258. &W    - Write the configuration to the modem's memory.  This is optional
  259.         but I always like to do this -- just like I always like to use
  260.         the factory reset (&F) at the beginning.  
  261.  
  262.         IMPORTANT:  When you use the &W your permanently change your modem
  263.                     modem settings.  If your other communication programs
  264.                     do not set your modem each time, you may have to 
  265.                     configure your modem for those other programs again.
  266.  
  267.  
  268. S37=F8  - Another very common problem is when 14.4 modems report a connect
  269.           of CONNECT 14400.  Doom requires 9600.  Try to force the modem 
  270.           to 9600 bps.  F8 is hexadecimal notation.  Your modem 
  271.           documentation may describe the settings in decimal or 
  272.           in binary notation.  For example:
  273.  
  274.           F8        - hexadecimal
  275.           248       - decimal
  276.           11111000  - binary
  277.  
  278.           The binary notation is the most clear when interpreting the 
  279.           effect to bit registers.  Once you set your bits correctly,
  280.           you can use the calculator in Windows 3.1 to binary/hex/decimal
  281.           conversions (when in the scientific mode).
  282.           
  283.           Keep in mind the place holders and the least to most significant
  284.           bits!  It's easy to work in the wrong direction when dealing
  285.           with bit registers.  
  286.  
  287.           If binary notation is foreign to you, call your modem vendor
  288.           and describe what you need.  They will be able to give you the
  289.           proper code.
  290.  
  291.           Another common speed setting is %B.  Some modems take a value, 
  292.           i.e. %B4 while others take the speed i.e. %B9600
  293.  
  294.  
  295. Other areas which helped depending on the modem (or modem connected to)
  296. was with flow control and slave speed.  Your modem may or may not respond
  297. or allow some of these settings.  (Some modems simply locked up).
  298.  
  299. \J0     -   Slave the DTE (PC) to DCE (modem) speed.  \J is sometimes used
  300.             (no 0 qualifier required or used).
  301.  
  302. &R1     -   Force Ready-To-Send and/or Clear-To-Send high.  On a couple of
  303.             if your modem is using EIA leads for flow control, this leaves
  304.             the pipe wide open.
  305.  
  306. \K5     -   Break control.  Haven't determined how effective this is and what
  307.             effect the break and buffer flush has on DOOM.  It's worth 
  308.             experimenting with.
  309.  
  310.  
  311.  
  312.    
  313. -----------------------------------------------------------------------------
  314.  
  315. I hope this helps you frustrated serial players out there.
  316.  
  317. Finally, thanks to ID for the most awesome games I've played.  Wolf3D,
  318. SPEAR, and DOOM have provided the best value for my money.  I urge you
  319. to register your software to help support them!
  320.  
  321.  
  322. Please note I have been SWAMPED with responses and requests for help.  
  323. Please be patient for a response if you write.  If you do write, try to 
  324. give as much exact information as possible:  Modem vendor, modem model, 
  325. modem revision (use the ATI and AT&F or AT\S command).  Also include the 
  326. EXACT init strings you've used and EXACTLY where you locked up.  Write
  327. down ALL of the last 5 lines displayed on the screen before locking up.
  328. If I can, I'll try to help.  Unfortunately, I am receiving so many requests,
  329. I may have to stop responding...  Hopefully, things will slow down...
  330.  
  331. If you have found a working connect method or init string, please send it
  332. to me with the modem type and model number.  (What was used on BOTH sides
  333. would be even better!).
  334.  
  335.  
  336. Keith Turbyfill
  337. Compuserve ID: 73322,332
  338. America On Line ID: turby
  339. Internet ID: turby@aol.com
  340.  
  341.  
  342.