-
Notifications
You must be signed in to change notification settings - Fork 599
Home
DailyShana edited this page Dec 15, 2019
·
18 revisions
A script engine for "yu-gi-oh!" and sample gui
see wiki page.
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/
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
to be added
to be added