Coder Social home page Coder Social logo

simcscripts's Introduction

Mystler's SimC Scripts

This repository contains my scripts for automated simulation and data collection.

Initial Setup

Install a Ruby interpreter. On Windows you can use RubyInstaller. You will need to install the DevKit as well. As of RubyInstaller 2.4+ you can run ridk install 1 2 3.

gem install bundler
bundle install

General Configuration

In order to work with the scripts in this repository, copy the file SimcConfig_Example.yml to SimcConfig.yml and change the parameters to match your setup and needs.

General simulation settings are set in SimcGlobalConfig.simc.

If you want to access SimC default profiles, you can use the variable $(simc_profiles_path) in your simc profiles.

TrinketSimulation

Usage:

  1. Create a simulation profile file in the profiles/Templates folder. This file defines the base character to simulate.
  2. (Optional) Create a custom trinket list file called TrinketList_<NAME>.json in the profiles folder. This file defines all trinkets to simulate. (See TrinketList_Melee_Agility.json for an example.)
  3. Run TrinketSimulation.rb. It will ask you to select the profiles.
  4. Wait for the simulation to run until it says it's done.
  5. The resulting CSV file will be in the reports folder.

The result is a CSV file containing the DPS increases for each Trinket and Item Level compared to the Template profile.

Special Trinket simulation settings can be set in SimcTrinketConfig.simc.

RaceSimulation

Usage:

  1. Create a simulation profile file in the profiles/Templates folder. This file defines the base character to simulate.
  2. Run RaceSimulation.rb. It will ask you to select a profile and fightstyle.
  3. Wait for the simulation to run until it says it's done.
  4. The resulting CSV file will be in the reports folder.

Special Race simulation settings can be set in SimcRaceConfig.simc.

Combinator

This script will run a template for whatever talent and gear combinations you would like to investigate. It is an interactive script prompting for any input required.

All you have to do is create a Combinator_<PROFILENAME>.simc file in a class folder in profiles/Combinator with the baseline profile called "Template".

You can override baseline gear for certain talents setups by creating another profile in a TalentOverrides subfolder. That files name has to match the profile name and a talent permutation. (e.g. <NAME>_xxx123x) The same principle applies for legendary overrides. Create a LegendaryOverrides subfolder and name it same as the profile followed by a legendary name from the Gear file. (e.g. <NAME>_Bracers)

Also make sure gear and setup definitions are available. For an example, look at the files CombinatorGear_*.json and CombinatorSetups_*.json. These define what gear is available to the class and what setups of those to simulate.

Special Combinator simulation settings can be modified in SimcCombinatorConfig.simc.

Then, you can run the Combinator.rb script.

Log files for each combination will be written to the logs folder. The resulting CSV file can be found in reports.

Archiver

If you run Archiver, it will automatically pack all script output files in generated, logs, and reports into a time-stamped .tar.gz file in archives and delete the raw files.

simcscripts's People

Contributors

aethys256 avatar kutikuti avatar mystler avatar nianel avatar weakweak avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.