Code Monkey home page Code Monkey logo

xiv-sim's Introduction

Welcome

This is a combat simulator for Final Fantasy 14. You can take it for a test drive or find more info on its status at sim.ffxivguild.net.

If you're a fellow software developer and you're interested in adding models / rotations for other classes or creating a GUI or anything of that sort, please put in some pull requests.

How to Build

Install a recent version of GCC or Clang and LLVM 3.4, and run make.

On a fresh Ubuntu machine, the steps should go about like this:

  • Install the add-apt-repository command: sudo apt-get install python-software-properties
  • Add the LLVM repository. Go to http://llvm.org/apt/ to figure out which repo is right for your system, then run sudo add-apt-repository "deb http://llvm.org/apt/precise/ llvm-toolchain-precise-3.4 main" with the correct repository.
  • Add the toolchain PPA: sudo add-apt-repository ppa:ubuntu-toolchain-r/test
  • Install the GPG key for LLVM: wget -O - http://llvm.org/apt/llvm-snapshot.gpg.key|sudo apt-key add -
  • Update your sources: sudo apt-get update
  • Install the rest of the prerequisites: sudo apt-get install git make llvm-3.4-dev gcc-4.8 clang-3.4 libz-dev
  • Download the source: git clone https://github.com/ccbrown/xiv-sim.git
  • Enter the source directory: cd xiv-sim
  • Build: CXX=c++ LLVM_CONFIG=llvm-config-3.4 make (You can put those two variables in your profile to reduce the build command to simply make.)

How to Use

time ./simulator single-json --length 660 subjects/monk-bis.conf rotations/monk.sl

Runs a single 660 second simulation and spits out the detailed results formatted via JSON.

time ./simulator thorough-json subjects/monk-bis.conf rotations/monk.sl 360 660

Runs several hundred thousand simulations of lengths from 360 to 660 seconds and spits out the results formatted via JSON.

xiv-sim's People

Contributors

brpxqzme avatar ccbrown avatar inemnitable avatar zirwin 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.