From: John D. G. <jd...@di...> - 2011-11-22 04:08:04
|
On 2011-11-21 19:34, Jerry Anderson wrote: > Are there instructions somewhere that explain how to run the game. I see the > batch file but I have no idea what to supply as a command line parameter. %1. Here's how I do it. 1. Download the Rails zip file, then unzip it to its own directory. (Since I want to look at the source code, I preserve old versions, so I have the latest in E:\My Documents\Programming\Rails\1.5.3 -- but that's just an example.) Make sure you preserve the subdirectories that are in the .zip file. 2. Go down through the directories until you find the .jar file, in this case "rails-1.5.3.jar". Write down the full path of its location. In my case this directory is called E:\My Documents\Programming\Rails\1.5.3\rails-1.5.3 Right-click the .jar file, then select "Create Shortcut". A shortcut icon will appear. Select (single-click) that shortcut and hit Ctrl/X ("cut"). 3. Right-click "Start" and select "Explore" (or if you're administrator, select "Explore All Users"). Navigate to an appropriate place in the Start menu subtree, and paste your shortcut there. Or just paste it on the desktop. 4. Right-click the shortcut and select Properties. Name the shortcut "Rails". Then select the Shortcut tab, and make sure it has these settings: (This assumes my folder structure, so change to match yours). Target: "E:\My Documents\Programming\Rails\1.5.3\rails-1.5.3\rails-1.5.3.jar" (The quotes are required.) Start in: "E:\My Documents\Programming\Rails\1.5.3\rails-1.5.3" (The quotes are required.) For extra credit, also go into "Change Icon" and give the shortcut an icon appropriate to a game. (I use the pair-of-dice icon found in %SystemRoot%\system32\pifmgr.dll .) I don't use any command-line arguments. I don't think you need any. |