home *** CD-ROM | disk | FTP | other *** search
/ Quake 'em / QUAKEEM.BIN / nba / cc2c / expert.txt next >
Encoding:
Text File  |  1995-08-06  |  12.4 KB  |  273 lines

  1. EXPERT TIPS FOR USING NBA-ED
  2.  
  3. This document describes some useful hints that you can use when working
  4. with NBA-ED 2.0, the NBA Live 95 Player Editor. It also describes how
  5. you can make your own league patches. Also included are some useful
  6. resources for player data. It is assumed you are familiar with the
  7. workings of NBA-ED 2.0.
  8.  
  9. HINTS AND TIPS
  10.  
  11. The purpose of this section is to help the NBA-ED user create leagues
  12. that are free of statistical anomalies and potential crash situations.
  13. Most of these problems arise from the use of the Copy function in the
  14. Trade/Copy option of NBA-ED, and the use of the Image ID editor.
  15.  
  16. *** Image IDs and Player Photos:
  17.  
  18. Every player in the default league of NBA Live 95 has an Image ID
  19. number. This includes All-Stars, and fake player slots. Counting all
  20. these players there are 395 players in the league, assigned a number
  21. from 0 to 394. The numbers are assigned by team (alpabetically, Atlanta
  22. being 0, Boston 1, etc... on to 28 for ASW), then by roster slot
  23. (starting center 0, starting PF 1, etc... on to 11). Fake slots start
  24. after ASW, and there are 47 of them.
  25.  
  26. The default Image ID for a roster slot can be determined with the following:
  27.  
  28. Default_Image_ID = (12 * team_number) + slot_number
  29.  
  30. Fake slot Image IDs can be determined this way:
  31.  
  32. Fake_Slot_Image_ID = (12 * 29) + slot_number
  33.  
  34. The most visible use of the Image ID numbers in the game is that the ID
  35. is used to assign portraits to a particular player slot. However, the
  36. Image ID apparently is used for more than that in Season play. Any
  37. reassigning of Image IDs must be carefully done to avoid statistical
  38. anomalies and system crashes. Both the Copy function of NBA-ED and the
  39. Image ID editor can assign Image IDs such that these situations arise.
  40. These problems affect Season/Playoff play only and not Exhibition play,
  41. or the All-Star Teams.
  42.  
  43. The most serious problem is assigning improper Image IDs which can
  44. lead to a crash. This can be done in 2 basic ways:
  45.  
  46. 1. Using the Image ID Editor to assign the Image IDs 345 and 394 to
  47. a player on one of the league teams (not counting All-Stars).
  48.  
  49. 2. Copying player data to a player in the league from two specific
  50. slots: All Star West 10, and Fake 47. This indirectly transfers the IDs
  51. 345 and 394.
  52.  
  53. If you'll notice, in gameplay this Image ID signifies the 'no photo
  54. available' image. Some older patches use this photo in place of the
  55. image of previously missing players. While this works in exhibition
  56. mode, using this Image ID indicates that the player has no stats
  57. available, either. With no stats available, this causes a crash when
  58. Season play tries to project a players performance using their stats.
  59.  
  60. To fix this problem, the Image ID editor flags any improperly assigned
  61. Image IDs, and allows you to assign any Image ID to any player. Note
  62. that you can still assign 345 and 394 to any player, but it is not
  63. recommended you do so unless you intend only to play exhibition games.
  64. Note that you may assign any Image ID to any All-Star slot.
  65.  
  66. The second problem arises when the same Image ID is assigned to more
  67. than one player. The problem occurs when one of the players using the
  68. common Image ID uses fake stats. Then all players using that Image ID
  69. use the Fake Stats in Season play, causing them to give identical
  70. performance in Season play. It is recommended that every league player
  71. have a unique Image ID. Any problems with Image IDs are flagged when
  72. using the Copy Players option, when using the Image ID Editor, and
  73. when exiting NBA-ED. You may use the Image ID Editor to fix such problems.
  74.  
  75. *** Adding and Changing Names:
  76.  
  77. The most powerful new feature of NBA-ED 2.0 is its name editing features.
  78. This feature allows you to add the name of almost any player, and assign
  79. it to any roster slot. The main problem is that you have a limited amount
  80. of space to store names. Here are some tips to keep note of when working
  81. with names.
  82.  
  83. The Name Pointer Editor allows you to associate any roster slot's first,
  84. last and nick names with any string used in the game. The Name Pointer
  85. Editor searches all strings used in the game, including college names,
  86. credits, error messages and internal symbols (but none of the strings
  87. used by the DOS extender). Take advantage of this feature. Players named
  88. Joe Montana, Indiana Jones, Magic Johnson, John Wayne ("Duke"), and
  89. Tony Orlando could all be created with the Name Pointer Editing feature.
  90.  
  91. If possible try and use the places in the list of player name strings of
  92. any players you have replaced.
  93.  
  94. Exploit the redundancies in the player name list. Some players share
  95. common last names, such as Johnson, Smith, Miller, Malone, Harper,
  96. Wilkins, Hardaway, and Williams. However, some of these names are
  97. duplicated in the names list, but have a first initial added for
  98. different players. For example, Reggie Miller's full last name is
  99. R. Miller, and Oliver Miller's is O. Miller. This is presumably for
  100. indicating substitutions during gameplay. If you can live without
  101. the first initial indication on substitutions, create one copy of
  102. the name (some already have one uninitialled copy) and have all the
  103. players sharing that name use the single copy. You will then have
  104. many, many slots with which to add players names.
  105.  
  106. Mark off any free slots you may have in the player name list with a
  107. unique character (a punctuation symbol for example). This makes it
  108. easier to do a search on free spaces in the name list.
  109.  
  110. If you like, forego the use of nicknames, or perhaps some of the less
  111. well known ones, and use the spaces in the name list for 'real' names.
  112. This is especially useful for longer names.
  113.  
  114. Use unused slots in the college name list. This can be especially useful
  115. if you have done a lot of editing of the entire league. Again, be sure
  116. you are overwriting a college name that is not being used by any player,
  117. as any player using that college will have the edited name show up as
  118. his college.
  119.  
  120. If you still can't find enough room, you can always use some other
  121. part of the string space in the .EXE file to store names. This is
  122. not supported in NBA-ED 2.0, so you will have to add them with a hex
  123. editor. NBA-ED 2.0 allows only for editing the string spaces in the
  124. .EXE file containing college names and player names. Each name
  125. must be terminated with a zero byte. You can then use the Name Pointer
  126. Editor to have a player's name point to the added string. This method
  127. is not recommended as it may cause the game to crash on some systems.
  128.  
  129. *** Making Your Own Patches
  130.  
  131. Now that you have created your own super league with NBA-ED, perhaps you'd
  132. like to share it with others. Distributing the .EXE file, even compressed,
  133. results in a large file that takes a long time to transfer and takes up
  134. a good deal of disk space. It is much better to create and distribute a
  135. small 'patch' file of your changes that you can apply to the original.
  136. It would also be useful to create patches for both the original and the
  137. official PAS-16 fix. This version of NBA-ED contains all the tools necessary
  138. to create and convert patches for NBA95.EXE Here are the steps:
  139.  
  140. 1. Make sure you have two copies of an *unmodified* NBA95.EXE. One will
  141. be a source from which you will create the patch (I will call this
  142. NBA95OLD.EXE) , the other will be the copy which contains your changes made
  143. by NBA-ED (I will call this NBA95NEW.EXE). You can get an unmodified copy
  144. of the original NBA95.EXE off the CD-ROM, but you must make sure yourself
  145. that you have an unmodified copy of the PAS-16 version of NBA95.EXE.
  146.  
  147. 2. Make your changes to NBA95NEW.EXE (you can use the filename switch
  148. NBA-ED -F NBA95NEW.EXE to edit NBA95NEW.EXE rather than NBA95.EXE)
  149.  
  150. 3. Once you have finished all your changes, use the BINDIFF program to
  151. generate a patch file. The command is:
  152.  
  153. BINDIFF NBA95OLD.EXE NBA95NEW.EXE MYPAT.PAT
  154.  
  155. This will create a small file MYPAT.PAT containing the differences
  156. between NBA95OLD.EXE and NBA95NEW.EXE to create NBA95NEW.EXE from
  157. NBA95OLD.EXE.
  158.  
  159. 4. To create a PAS-16 compatible version of your patch, you need two
  160. unmodified copies of the PAS-16 version of NBA95.EXE, one source
  161. (NBAPAOLD.EXE) and one to change (NBAPANEW.EXE)
  162.  
  163. 5. Run the NBACOPY program to convert the data for the original NBA95.EXE
  164. to the PAS-16 version of NBA95.EXE (Actually NBACOPY will do the same
  165. thing in the other direction as well (PAS-16 to original) automatically).
  166. Any missing names will be indicated on-screen. To capture the list of
  167. missing names, redirect the output to a file. The command in this case is:
  168.  
  169. NBACOPY NBA95NEW.EXE NBAPANEW.EXE > CONVERT.LOG
  170.  
  171. This will copy all the player data, player names list, and college names
  172. list from NBA95NEW.EXE to the proper places in NBAPANEW.EXE. Any missing
  173. names will be logged to the file CONVERT.LOG. You can then use the String
  174. Editor in NBA-ED to add these names.
  175.  
  176. NOTE: Some patches may use parts of the .EXE file outside of the college
  177. and player name lists to store player names. NBACOPY does not copy these
  178. areas, as they may not exist in future official patches, or introduce some
  179. other side effects in gameplay. NBACOPY treats these as missing names. You
  180. will have to use a hex editor to add these names manually to some part of
  181. the target .EXE file, and use the Name Pointer Editor in NBA-ED to set the
  182. pointers to the added names. If you do decide to use a hex editor to add
  183. names, make sure each name ends in a byte value of 00.
  184.  
  185. 6. Apply BINDIFF to NBAPANEW.EXE to create a PAS-16 version of your
  186. patch:
  187.  
  188. BINDIFF NBAPAOLD.EXE NBAPANEW.EXE MYPATP16.PAT
  189.  
  190. Applying the patch:
  191.  
  192. You can use the BINPATCH program to apply the patch files you created to
  193. an unmodified copy of NBA95.EXE to create a version of NBA95.EXE that
  194. contains all the changes you made and saved in the patch.
  195.  
  196. The command for using BINPATCH is:
  197.  
  198. BINPATCH <oldfile> <patchfile>
  199.  
  200. You must be careful to use 'original version' patches with *only* the
  201. original NBA95.EXE and PAS-16 patches with the PAS-16 version of NBA95.EXE.
  202. Using the wrong patch on the wrong .EXE file will cause crashes!
  203. If you intend to distribute your patches, it is suggested that you write
  204. a batch file to back up your original NBA95.EXE, determine which version of
  205. NBA95.EXE you have, and apply the correct patch. Included with this version
  206. of NBA-ED is a small utility (FST.EXE) that can compare a file with a size
  207. given as part of the command line of FST.EXE. This can be used to determine
  208. which version of NBA95.EXE you are running. The syntax of FST.EXE is:
  209.  
  210. FST <file> <size>
  211.  
  212. The errorlevel returned by FST is 1 if the size of <file> in bytes is 
  213. equal to the number <size>. If the size of <file> is greater than <size>,
  214. the errorlevel returned is 2, if less, the errorlevel is 3.
  215.  
  216. Here is a sample batch file that creates a patched version of NBA95.EXE:
  217.  
  218. @echo off
  219. if not exist nba95.exe goto xit
  220. copy nba95.exe nbapatch.exe
  221. fst nbapatch.exe 1101579
  222. if errorlevel 2 goto try2
  223. if errorlevel 1 goto old
  224. :try2
  225. fst nbapatch.exe 1097483
  226. if errorlevel 2 goto err
  227. if errorlevel 1 goto p16
  228. :old
  229. echo You have an old version of NBA95.EXE.
  230. binpatch nbapatch.exe superpat.pat
  231. goto xit
  232. :p16
  233. echo You have the PAS-16 version of NBA95.EXE.
  234. binpatch nbapatch.exe superp16.pat
  235. goto xit
  236. :err
  237. echo The size of NBA95.EXE is not correct
  238. :xit
  239.  
  240. *** Resources
  241.  
  242. Here are some good resources for player stats (parts taken from the
  243. rec.sport.basketball.pro FAQ List)
  244.  
  245. Media Resources
  246.  
  247. - the annual Sporting News NBA Guide and NBA Register.
  248. - the NBA Encyclopedia
  249. Both available at fine bookstores everywhere.
  250.  
  251. - any team Media Guide, especially the Philadelphia 76ers',
  252. which has all sorts of odd stuff.
  253.         
  254. - Microsoft Complete NBA Basketball CD-ROM
  255. This disc truly lives up to its name. I couldn't imagine basketball fan
  256. with a system capable of running NBA Live 95 to be without this disc,
  257. despite what you might think of Bill Gates. An excellent resource for
  258. finding older players' stats, and lots of cool multimedia to boot.
  259.  
  260. Internet Resources
  261.  
  262. - NBA Stats project (FTP)
  263. The Usenet newsgroup rec.sport.basketball.pro has its own archive 
  264. available via anonymous ftp at wuarchive.wustl.edu in the directory
  265. /doc/misc/sports/nba
  266.  
  267. - ESPNET SportsZone (WWW)
  268. A WWW site catering to the sports fan. Presented by the ESPN sports
  269. network and Starwave Corporation. Features continually updated scores,
  270. stats, news, and features for all major sports. Has excellent college
  271. basketball and NBA sections. Great source for current players. You can
  272. get to it through your Web Browser at http://espnet.sportszone.com
  273.