home *** CD-ROM | disk | FTP | other *** search
/ Ultimate DOOM Companion / PowersourceMultimedia-UltimateDOOMCompanion.iso / goodies / newipxsu.zip / NEWIPXSU.TXT < prev    next >
Text File  |  1995-02-09  |  3KB  |  89 lines

  1. 28 January  1995 (Original modification)
  2. 09 February 1995 (First update)
  3.  
  4. IPXSETUP (Master/Slave) 
  5.  
  6. In order to make network play of DOOM easier to start, I have modified the 
  7. IPXSETUP source code. One of the problems often times encountered whilst 
  8. initiating network play is that one (or more) of the nodes has not been
  9. passed the proper command line arguments; and, therefor, one (or more) of the
  10. nodes is knocked out of the game immediately and then, of course, everyone 
  11. needs to rerun IPXSETUP.  Basically what I have done is allowed for a "master"
  12. and "slave" relationship between the network nodes.  One player declares 
  13. themself the "master" and the other players are "slaves" at startup.  The
  14. "master's" command line arguments are passed along to all the slaves;  in this
  15. way, all the nodes invoke DOOM with the same command line arguments.  
  16.  
  17. What's new:
  18.  
  19. 1. Removed the "-slave" parameter.  Now if IPXSETUP is run without "-master"
  20. then the node will wait for a "master" node. Note that it is required that
  21. one of the nodes be "master" or the game will never start.
  22.  
  23. 2. Fixed a bug which lost the last command line parameter when a response file
  24. was used.
  25.  
  26. 3. Added shorthand notation for command line paramters.  These paramters are
  27. case sensative.  Paramters marked with an '*' which require a second paramter 
  28. can have an optional space (' ') between the shorthand and the required second 
  29. paramter (e.g., "-nodes 3" can now be passed as "-n 3" or "-n3").
  30.     -m = -master    
  31.     -b = -msg 
  32. *    -h = -dehack
  33. *    -n = -nodes
  34. *    -p = -port
  35. *    -v = -vector
  36. *    -f = -file
  37. *    -c = -config
  38. *    -l = -loadgame
  39.     -d = -deathmatch
  40.     -a = -altdeath
  41.     -r = -respawn
  42.     -x = -nomonsters
  43. *    -t = -timer
  44. *    -s = -skill
  45. *    -w = -warp
  46. *    -T = -turbo
  47.     -F = -fast
  48. *    -R = -record
  49. *    -P = -playdemo
  50. *    -X = -maxdemo
  51.     -J = -nojoy
  52.     -M = -nomouse
  53.     -S = -nosound
  54.     -U = -nomusic
  55.     -Y = -nosfx
  56.     
  57. Whats old:
  58.  
  59. Three switches have been added: -master, -msg, and -dehack.
  60.  
  61. -master sets a node up as the "master."  The "master's" command line arguments 
  62. are passed to ALL other nodes the nodes.  Only one node may be "master."
  63.  
  64. -msg displays the parameter following -msg on all the node's consoles prior to
  65. launching DOOM.  Use quotes ("") to encompass more than one word as a single
  66. argument(e.g., `IPXSETUP -master -msg "Prepare to die!" -deathmatch'). If -msg
  67. appears in a response file then the entire line following the -msg keyword is
  68. treated as the message and therefor quotes are not needed.
  69.  
  70. -dehack will launch the DEHACKED program to patch DOOM prior to launching DOOM.
  71. In this way, everyone plays with the same version of the DOOM executable.  The 
  72. parameter following -dehack is the patch file for DEHACKED to load (i.e., 
  73. `IPXSETUP -dehack fire.deh' will spawn the command `DEHACKED -load fire.deh' 
  74.  
  75. Another change to the code I made was to close the opened socket if the program
  76. is abnormally terminated (i.e., ctr-c).
  77.  
  78. The original IPXSETUP source was written for Borland C; I have translated it
  79. for MS C.  I think it should still be compilable under Borland C but have not
  80. verified this.
  81.  
  82. Note that when using response files, all arguments prior to the response file
  83. are ignored by IPXSETUP.  This is how it was written and I didn't change it.
  84.  
  85. I hope these modification make your network experiences a little easier.  If 
  86. you have any suggestions for other enhancements please let me know.
  87.  
  88.     Micah Nutt (74642,363 at Compuserve).
  89.