-
Notifications
You must be signed in to change notification settings - Fork 4
Build
Because YGOFabrica is written in Lua - which is a scripting language -, its code doesn't need to be compiled for each platform. However, an adequate Lua interpreter (specifically LuaJIT) needs to be installed, and there are dependencies which need to be compiled. So, this guide is aimed at preparing a build environment for those dependencies, which will be used later to also run YGOFabrica itself.
Also, it must be emphasized that one of the main features of this tool - card pic generation -, depends on a library, libvips, that only works on 64-bit operating systems. As such, even though you can build and install YGOFabrica even on a 32-bit system, trying to use that feature will result in an error. For those reasons, this guide assumes you're using a 64-bit system.
In general terms, you need the following software properly installed in your machine:
And after having LuaJIT, LuaRocks and vips available in your PATH
, you should download the source code from the latest release, unzip it, open your terminal inside the unzipped folder, and run:
$ luajit make.lua build
For detailed build instructions, follow one of these links, according to your platform: