home *** CD-ROM | disk | FTP | other *** search
/ GameStar 2003 December (Special) / Gamestar-Special_2003-12_cd.bin / Adventure / dmjava.exe / install.txt < prev    next >
Text File  |  2002-08-14  |  2KB  |  43 lines

  1. These directions are for Windows. 
  2. There are two methods to run the game: with or without a command prompt.
  3.  
  4. First, install the JRE - you can just use the install defaults.
  5. Then, unzip the game WITH DIRECTORIES (if using WinZip, make sure "Use Folder Names" is checked) to any directory.
  6.  
  7. ----------------------
  8. With a command prompt:
  9. ----------------------
  10. Open a prompt and change to the directory of the DMJava game (wherever you unzipped it - there should be a bunch of .class files there and some pics).
  11.  
  12. Add the JRE bin directory to your path by typing:
  13. set PATH="%PATH%;C:\Program Files\Java\j2re1.4.0\bin"
  14. (your path to the bin directory may differ)
  15.  
  16. Run the game by typing:
  17. java dmnew
  18.  
  19. Run the editor by typing:
  20. java DMEditor
  21.  
  22. Note that this is CASE SENSITIVE! "dmnew" is all lower case, while "DMEditor" has the first three letters capitalized.
  23. (You can set up batch files or modify your autoexec.bat to avoid all this typing every time.)
  24.  
  25. -------------------------
  26. Without a command prompt:
  27. -------------------------
  28. Create a shortcut in the Start Menu, on the desktop, or wherever you want.
  29.  
  30. One way is to right click, go to New ->, and click Shortcut.
  31. It will ask for a command line. Browse for or type the path to javaw.exe. (It will be in the bin directory of the JRE.) After it, add "-cp. dmnew" or "-cp . DMEditor", depending on which you are creating a shortcut for. Depending on where you installed things, the shortcut commmand line may look like
  32. "C:\Program Files\Java\j2re1.4.0\bin\javaw.exe" "-cp . dmnew"
  33.  
  34. Click Next.
  35.  
  36. Give the shortcut a name ("Dungeon Master Java" or something).
  37.  
  38. Click Finish.
  39. (You aren't really finished. If you double click it now, it will say it can't find the main class file.)
  40.  
  41. Right click the newly created shortcut and select "Properties". Change the "Start In" field to be the DM Java game directory (wherever you unzipped it). For example, "D:\DMJava"
  42.  
  43. Now you are done. Double click to run.