The Warlocks Den - WoW Warlock DiscussionsThe Warlocks Den - WoW Warlock Discussions

Member Login
Forgot Password?


Please Register to Remove these Ads

The Warlocks Den - WoW Warlock Discussions » Discussion Forums » User Interface, Add-ons and Macros » How to Download, Compile and Run simcraft on Windows for Patch 3.1.2

User Interface, Add-ons and Macros For any User Interface (UI), Add-on or Macro Customization and assistance.

Reply
Old May 27, 2009, 08:54 AM   #1 (permalink)

Character Info
Texhex
80 Human Warlock
Andorhal US PvP
Guild: Flaming Bunnies
Profile: Blizzard Armory
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..
texhex is offline   Reply With Quote
The Following 6 Users Say Thank You to texhex For This Useful Post:
Recommended Guide

lb1
Old May 28, 2009, 06:55 AM   #2 (permalink)

Character Info
lilsteele
80 Human Warlock
Terenas Euro PvE
Re: How to Download, Compile and Run simcraft on Windows for Patch 3.1.2

sorry to say, but the binaries for simcraft patch 3.1.2 are available now for windows and mac users.

Still this guide is valuable for explaining in easy steps how to customize simcraft. Thanks for bringing it to the den
lilsteele is offline   Reply With Quote
Old May 28, 2009, 08:14 AM   #3 (permalink)

Character Info
Evilyne
85 Human Warlock
Garona US PvE
Talent Tree: Destruction
Re: How to Download, Compile and Run simcraft on Windows for Patch 3.1.2

Great effort, even I can follow it. Thanks!
mavric240 is offline   Reply With Quote
Old May 28, 2009, 03:03 PM   #4 (permalink)

Character Info
Texhex
80 Human Warlock
Andorhal US PvP
Guild: Flaming Bunnies
Profile: Blizzard Armory
Re: How to Download, Compile and Run simcraft on Windows for Patch 3.1.2

Quote:
Originally Posted by lilsteele View Post
sorry to say, but the binaries for simcraft patch 3.1.2 are available now for windows and mac users.

Still this guide is valuable for explaining in easy steps how to customize simcraft. Thanks for bringing it to the den

Thanks. I put this together awhile back when there was no 3.1.2 simcraft binary available.

My main goal was to get something out there that Google could index which explained how to download and compile the source code on windows as well as give an explanation as to how to use simcraft and chardev.

Thanks for hosting it.
texhex is offline   Reply With Quote
Old May 28, 2009, 04:15 PM   #5 (permalink)

Character Info
Volki
85 Undead Warlock
winterhoof US PvE
Guild: Unter dem Boden
Talent Tree: Destruction
Re: How to Download, Compile and Run simcraft on Windows for Patch 3.1.2

where is the best place to find out more about simcraft, i ahve always crunched my own numbers on paper but it takes forever, and with as many changes as we keep gettuing it takes longer than changes take place to us lol, what do you guys mean binaries are already packaged? on the first page this tutorial takes youto do you ahev to dl all 3 opf the things it lists there or just one? I really want to start doing this buit need a kick in the right direction, please help!
Volki is offline   Reply With Quote
Old May 28, 2009, 04:59 PM   #6 (permalink)

Character Info
Texhex
80 Human Warlock
Andorhal US PvP
Guild: Flaming Bunnies
Profile: Blizzard Armory
Re: How to Download, Compile and Run simcraft on Windows for Patch 3.1.2

Quote:
Originally Posted by Volki View Post
where is the best place to find out more about simcraft, i ahve always crunched my own numbers on paper but it takes forever, and with as many changes as we keep gettuing it takes longer than changes take place to us lol, what do you guys mean binaries are already packaged? on the first page this tutorial takes youto do you ahev to dl all 3 opf the things it lists there or just one? I really want to start doing this buit need a kick in the right direction, please help!

The pre-packaged binaries are found on the simcraft site.
simulationcraft - Google Code

The developers of simulationcraft are constantly making changes to the software. They post all of the changes they make here:
Changes - simulationcraft - Google Code

When you download the source code you are downloading a snapshot of their program. You can compile the source code as shown in this guide and that way you have the most up to date version of the program.

The developers also post a pre-compiled version of the source code which you do not have to compile. This is also a snap shot of the code. They usually do this when they feel they have a well enough rounded version fit to release as a pre-compiled package.

The pre-compiled version can be downloaded from here under the Featured Download section on the right side of the screen.
simulationcraft - Google Code

Unzip that and start at step 6 in this guide, you just would not have to add the patch=3.1.2 section to the simcraft.bat file as shown in step 7.
texhex is offline   Reply With Quote
Old May 28, 2009, 05:40 PM   #7 (permalink)

Character Info
Volki
85 Undead Warlock
winterhoof US PvE
Guild: Unter dem Boden
Talent Tree: Destruction
Re: How to Download, Compile and Run simcraft on Windows for Patch 3.1.2

thank, dont kill me for this, im not that great with programs and what not, do i have to download all the other stuff the op listed? teh c++ program and what not or just the r2439 package from simcraft?
Volki is offline   Reply With Quote
Old May 28, 2009, 07:43 PM   #8 (permalink)

Character Info
Luxury
80 Blood Elf Warlock
Deathwing US PvP
Guild: Addiction
Profile: Blizzard Armory
Re: How to Download, Compile and Run simcraft on Windows for Patch 3.1.2

Because 3.1.2 was not released officially by SimCraft as a downloadable package until a couple days ago.
__________________
Rutiene is offline   Reply With Quote
Old May 28, 2009, 09:58 PM   #9 (permalink)

Character Info
Locktopus
80 Undead Warlock
Kel'Thuzad US PvP
Guild: Mundus Vult Decipi
Re: How to Download, Compile and Run simcraft on Windows for Patch 3.1.2

so. does this give you the max potential dps you can do? or what. im a little confused on that.
jeffuwee is offline   Reply With Quote
Old May 28, 2009, 10:47 PM   #10 (permalink)

Character Info
Deadman
80 Human Warlock
Saurfang Oceania RP Guild: Altera
Profile: Blizzard Armory
Talent Tree: Destruction
Re: How to Download, Compile and Run simcraft on Windows for Patch 3.1.2

Getting the following error..any ideas...

LINK : warning LNK4075: ignoring '/INCREMENTAL' due to '/PROFILE' specification
sc_action.obj : warning LNK4075: ignoring '/EDITANDCONTINUE' due to '/OPT:REF' specification
sc_sim.obj : error LNK2019: unresolved external symbol "public: static void __cdecl raid_event_t::init(struct sim_t *)" (?init@raid_event_t@@SAXPAUsim_t@@@Z) referenced in function "public: bool __thiscall sim_t::init(void)" (?init@sim_t@@QAE_NXZ)
C:\Documents and Settings\Scott\Desktop\source\Debug\simcraft.exe : fatal error LNK1120: 1 unresolved externals
Deadmanoz is offline   Reply With Quote
Reply

Bookmarks

Tags
312, compile, download, patch, run, simcraft, windows

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -4. The time now is 04:32 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.


SEO by vBSEO 3.3.0