|
How to Download, Compile and Run simcraft on Windows for Patch 3.1.2
How to download, compile and use simulationcraft using Windows for patch 3.1.2.
**This guide is specific to using simcraft for patch 3.1.2. Once the simulationcraft devs release a binary for 3.1.2 this thread will no longer be completely accurate but it will give you a general idea on how to download, compile and run simulationcraft on windows.
This was all done on Vista x64 but it will work exactly the same on Vista x32 or Windows XP.
This is a Warlock specific how-to. I don't know how to do this for any of the other classes but I figure it's a similar process.
The links don't show up unless you register. Just Google "rapidsvn" and "microsoft visual c++ 2008 express"
1. Download RapidSVN and install it.
rapidsvn.tigris.org
2. Download Microsoft Visual C++ 2008 Express and install it. You do not need to install the SQL Server Express portion so uncheck it during the setup.
Visual C++ 2008 Express Edition
3. Use RapidSVN to download the source code for simulationcraft.
Choose Repository, Checkout

For URL use simulationcraft - Revision 2461: /trunk
For Destination Directory create a new folder on your desktop named "source"
Click OK and the files will download to the source directory.
Close RapidSVN when it's done.


4. Open VisualC++ 2008 Express. To build the files.
Choose Open, Project/Solution.

Then browse to the "source" directory on your desktop and find the "simcraft.vcproj" file.

Choose Build, Build simcraft.

You should see something similar once it's built.

5. Move the simcraft.exe from the Debug directory to the souce directory.

6. Delete all the files and directories other than these. The Warlock_T8_xx_xx_xx.simcraft files represent each individual spec. Keep only the specs in which you are interested.

7. Edit the simcraft.bat file and add "patch=3.1.2" (this sets the simcraft program for 3.1.2), "iterations=10000" (this tells simcraft to run the simulation 10000 times) and set "optimal_raid=0" (this will run simcraft in a non raid environment). Save the file.

8. Next find the "Warlock_T8_Gear.simcraft" file, make a copy of it and rename both the files to Gear.simcraft and Gear-Current.simcraft. I do this because it's easier to edit and I can keep a copy of a current gear set.


9. Now go to chardev.org to pull up your character. chardev.org v6 ~ a World of Warcraft character planner Click the armory tab and put in your info and click send. All your specific stats will populate on the left. You can hover over Crit and Haste to get the specific values.

10. Open the Gear-Current.simcraft file and fill in all of your stats. For trinkets you can uncomment (delete the #) the list. I don't know all of the trinkets that simcraft recognizes but I have a few in there. If you have any set bonuses change the tier7_2pc=1 and tier7_4=1 to match what you have. If you have tier 8 gear change the lines to tier8_2pc=1 and tier8_4=1. Save the file.

11. Open the file for your appropriate spec. In this example I'm using Warlock_T8_00_13_53.simcraft. Change the line where it points to the file you are using for your gear selections and change it to Gear-Current.simcraft. Save the file.


12. To run simcraft click and drag the Warlock_T8_00_13_53.simcraft file on to the SIMCRAFT.BAT file and the program will start computing your results.


13. This may take a few minutes depending on the speed of your computer but in the end you will get your results.

14. To see what kind of a difference new gear or items will make just go back to chardev.org and change out your gear. You can also add gems and enchants. The chardev.org site will update all of the stats.




15. Put all these new stats into the Gear.simcraft file (this way you have two files the Gear-Current.simcraft and Gear-simcraft files) keeping your Gear-Current.simcraft file in tact. Don't forget to add the tier bonus if you have it like in step 10. Save the file.


You will also have to edit the Warlock_T8_00_13_53.simcraft file and change the gear line to reflect the Gear.simcraft file. Save the file.


16. Drag and drop the Warlock_T8_00_13_53.simcraft file on to the SIMCRAFT.BAT file like in step 12 and your new stats will be calculated.

There are many more options available in simcraft but this is an easy way to quickly figure out which gear upgrades yield the best dps.
Enjoy!
Last edited by texhex; May 27, 2009 at 09:10 AM..
|