FAQ for Building - Fluorohydride/ygopro GitHub Wiki
Program Closes Immediately After Startup
Please run the program from the project root directory and check the error.log
file.
- If the database file (
cards.cdb
) is not found, please obtain and copy it from any YGOPro release. - If fonts are not found, rename two TTF/TTC/OTF font files to textFont and numFont and place them in the fonts directory in the project root, or manually specify font paths by modifying the
system.conf
configuration file.
SSH Errors When Cloning Repository
Please refer to the official documentation for setting up SSH keys, or use HTTPS protocol to clone the repository, or directly download the source code as a zip file.
DirectX SDK Related Errors
After installing the DirectX SDK, restart your computer to ensure the PATH environment variable is properly applied.
_inflate_copyright and Other Symbol Redefinition Errors
Freetype version 2.12.0 has compatibility issues; it is recommended to use version 2.11.1 or higher.
swprintf_s is Not a Member of std Namespace
The original Irrlicht engine forcibly redefines the swprintf
function, which needs to be removed. Additionally, the original Irrlicht does not support Chinese input and paste functionality. Please use the modified Irrlicht.
Missing Header Files or Library Files
Some package managers may place these files in different directories. During the Premake step, you can manually specify the paths to header and library files via parameters. Please refer to the premake5.lua
file for details.
Multiple Lua Function Linking Failures
This project uses C++, and the Lua library must also be compiled with a C++ compiler, not a C compiler. Many pre-compiled Lua libraries are built with C compilers and are therefore not suitable for this project.
Chinese Input Method Not Working on Linux
The Irrlicht engine does not support this feature. We welcome community contributions to solve this issue.
Issues with Generating Project Files Using CMake
Currently, CMake support is stalled. It is recommended to use Premake for building.
About EDOPro
EDOPro is not fully compatible with YGOPro. For more details, please refer to EDOPro's official project page.