https://github.com/ccbrown/xiv-sim
Simulator for Final Fantasy 14.
https://github.com/ccbrown/xiv-sim
Last synced: 7 months ago
JSON representation
Simulator for Final Fantasy 14.
- Host: GitHub
- URL: https://github.com/ccbrown/xiv-sim
- Owner: ccbrown
- License: mit
- Created: 2014-05-23T10:22:32.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2015-07-10T10:05:03.000Z (almost 11 years ago)
- Last Synced: 2025-10-25T11:50:01.364Z (8 months ago)
- Language: C++
- Homepage:
- Size: 890 KB
- Stars: 12
- Watchers: 7
- Forks: 11
- Open Issues: 18
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
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 player 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.