Skip to content

Simulationcraft

Sidoine De Wispelaere edited this page Jul 26, 2021 · 2 revisions

Importing from Simulationcraft

You may want to import the scripts from Simulationcraft.

  • You need to clone the Simulationcraft github somewhere on your computer.

      git clone git@github.com:simulationcraft/simc-publish.git
    
  • The C++ build tools must be installed: https://visualstudio.microsoft.com/fr/visual-cpp-build-tools/ (check C++ desktop development). It's used by the bitarray package.

  • Python3 needs to be installed: https://www.python.org/downloads/windows/ and you'll need some python packages:

      py -3 -m pip install requests fixedint bitarray
    
  • Run the DBC extract scripts from Simulationcraft (in the casc_extract directory):

      cd casc_extract
      .\WinGenerateSpellData.bat
    
  • Compile the Ovale project to Javascript:

      tsc build-tools
    
  • Run the import tools

      yarn dbc ../simc
      yarn simc ../simc
    

Scripts should be imported and if there is any error or warning you must fix them before creating a pull request.

Clone this wiki locally