Optimizer rune builds in Summoners War https://runeoptimizer.inigovalentin.com
|
|
2 жил өмнө | |
|---|---|---|
| bin | 2 жил өмнө | |
| src | 2 жил өмнө | |
| .gitignore | 4 жил өмнө | |
| LICENSE | 4 жил өмнө | |
| Makefile | 4 жил өмнө | |
| README.md | 4 жил өмнө | |
| doxygen-cli.conf | 4 жил өмнө | |
| doxygen-gui.conf | 4 жил өмнө |
RuneOptimizer is a tool for Summoners War players. It helps players get the most of their monstesrs and units by calculating rune combinations matching user-definedcriteria.
It is indeed inspired by Xzandro's Summoners War Optimizer, wich is an amazing tool.
It's not a webapp, but a locally installable application, to get the most out of your CPU. Includes a fully functional command line utility, and a graphical interface for ease-of use.
Using the command line interface can be a bit overwhelming, but it's very powerfull.
The first thing you need to do is load the data from your json
RuneOptimizer update path-to-your-file.json --six-stars --with-runes
The parameters --six-stars and --with-runes are optional, and they are used to import only monsters at level 40 or with runes equiped.
The GUI is pretty self explanatory, but the first step is the same. From the Update menu, select the Update from JSON option to load your data.
Once it's done, you can browse your units and teams, and use the optimizer form.
Install dependencies.
apt install gcc libsqlite3-dev libjson-c-dev
For the GUI, you will also need the following dependencies:
apt install python3 python3-wxgtk4.0 python3-minidb python3-appdirs python3-sh
Just run make and sudo make install
Well, this was painfull to get right
Install MinGW for the compiler. You can follow this great tutorial.
Once it's complete and the installer runes, make sure to mark pthread for
instalation.
Get the sqlite3 libraries.
(Credit for this part and many thanks to this tutorial)
Download sqlite-amalgamation-3370200.zip. It contains four files:
They need to be copied to the compiler lib directory C:\MinGW\lib\.
Next, download sqlite-dll-win64-x64-3370200.zip (or sqlite-dll-win32-x86-3370200.zip for 32 bit versions of Windows). Extract the zip, and copy the file to these directories:
C:\MinGW\lib\C:\Windows\SysWOW64\
(or C:\Windows\System32\ for 32bit versions of Windows)Build json-c.
For this step you need VisualStudio. You can download it from here. If VisualStudio is not installed in english by default, once it's done you will also need to install the english language pack.
Once i'ts installed, follow this excelent tutorial.
When done, you will end up with a folder named vcpkg\packages\json-c_x86-windows. From there, you need to copy:
lib\json-c.lib to C:\MinGW\libinclude\json-c\ to C:\MinGW\lib\json-c\bin\json-c.dll to C:\Windows\SysWOW64\
(or C:\Windows\System32\ for 32bit versions of Windows)Compile.
Open a console and go to the project directory. From there, go to src/RuneOptimizer
To compile, use the command:
gcc runeoptimizer.c */*.c -o ../../runeoptmizer.exe -I C:\MinGW\lib -lsqlite3 -ljson-c -lpthread
Now, you'll have an executable in the project main directory.
(Optional) Install python to use the GUI.
If you want to use the program GUI, download and install Python3 for Windows from here (required minimum version is 3.6):
During instalation, make sure to check Install PIP
In a console, run py -m pip install wxPython appdirs to install the required packages.