Skip to content
DailyShana edited this page Dec 15, 2019 · 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/

Running

to run the ygopro(.exe) at least the following files are necessary:

  • /textures
  • cards.cdb
  • lflist.conf
  • strings.conf
  • system.conf with the right path to fonts

the simplest way is to copy the executable and cards.cdb to the root directory of this repository
the full functionality of ygopro need the following in addition:

  • /pics
  • /pics/thumbnail
  • /script

Card Scripting

to be added

Contribution Guidelines

to be added

Sidbar

Clone this wiki locally