Skip to content
DailyShana edited this page Nov 26, 2018 · 18 revisions

ygopro

A script engine for "yu-gi-oh!" and sample gui

User Manual

see wiki page.

Build (CMake)

First get dependences, for details, see wiki (to be added).
Then generate project files to build:

# get source code
git clone https://github.com/Fluorohydride/ygopro.git
cd ygopro
#you may need to change .gitmodules to url's to https://github.com/Fluorohydride/ygopro-core.git and https://github.com/Fluorohydride/ygopro-scripts.git
git submodule update --init --recursive

# Download Required libs
-libevent[event]
-libirrlicht[irrlicht]
-libsqlite3[sqlite3]
-liblua[lua]
-libfreetype[freetype]

# out-of-source build
mkdir build && cd build  

# Linux
# generate make file
cmake -DCMAKE_BUILD_TYPE=Release -G "Unix Makefiles" ..  
# build
cmake --build .

# Windows
# generate visual studio project
# to target WinXP, add -T "v141_xp"
cmake -G "Visual Studio 15 2017" ..
# build
cmake --build . --config Release
# or open \build\ygopro.sln to build


# or use cmake GUI(ccmake or cmake-gui) to config and generate project files
# see https://cmake.org/runningcmake/

Card Scripting

to be added

Contribution Guidelines

to be added

Sidbar

Clone this wiki locally