Build YGOPro on Windows without DirectX SDK

The first time I play YGOPro is three years ago on Mycard萌卡, but unfortunately Mycard community has gone out of businesses now.
As the offical website said: YGOPRO is a free online dueling system made for playing Yu-Gi-Oh! duels, if you’re familiar with Yu-Gi-Oh!, I think you have ever heard about YGOPro software.

The original source code of YGOPro is located at Github/Fluorohydride, of which the author is from China and have learned at NTU, Singapore.(I cannot find more information about this programer except his Baidu’s home page)

Anyway, this post mainly focuses on how to build YGOPro on Windows without DirectX SDK based on YGOPro’s wiki. The original build guide is too complex and out of date for freshman, that’s why I write this post.

I’m using Windows 10 and Visual Sudio 2013 for this setup.
STEP 1: Download source code from or git clone to get source code.

STEP 2: Download the following folders from soarqin/ygopro:

Copy these 5 folders under ygopro root folder. If you haven’t installed DirectX9 SDK, please comment #define _IRR_COMPILE_WITH_DIRECT3D_9 and #define _IRR_COMPILE_WITH_DIRECTINPUT_JOYSTICK_ in IrrCompileConfig.h header file under ygopro\irrlicht\include folder.

STEP 3: Downlad Premake4 to get premake4.exe and place it under ygopro root folder. Type premake4 --help to get the supported IDE list. You can type in premake4 vs2013, however, if you meet information like [string "newaction..."]:14: attempt to index global 'vstudio' (a nil value), try premake4 vs2012 and upgrade in Visual Studio itself if you are use Visual Studio 2012 later.

STEP 4: Open ygopro\build\ygo.sln to open the ygo project in Visual Studio. Build ygopro project, and it will compile and build the 8 projects to get the target ygopro.exe under ygopro\bin\debug folder.

Completed, enjoy this game!