Skip to content

AeanSR/irecore

Repository files navigation

IreCore

Project Home

IreCore is a World of Warcraft simulator for the purpose of boosting large-scale theorycrafting, for fury warriors. IreCore is aimed at making the speedup as high as possible.

IreCore is derived from the LuaCL project as an initial practice. IreCore Kernel is being developed in OpenCL C for heterogeneous computing.

How to Setup (for users)

IreCore adopts OpenCL API for computing, thus it could benefit from the most powerful hardwares which support OpenCL.

If your hardware is not listed in IreCore, you should install OpenCL Runtimes or Drivers from your hardware vendor.

If you are using Intel devices (CPU/Integrated GPU/Xeon Phi Coprocessor), get your drivers from here.

Both NVIDIA GPU supports and AMD GPU supports are included in the corresponding graphic driver.

AMD CPU/APU supports are included in AMD Catalyst Driver. If you are using AMD GPU as well, the CPU/APU support should be already opened. If not, try install AMD Catalyst Driver or AMD APP SDK.

Running on GPU is not recommended currently, especially for users of Windows 7 or older operating system. If you are getting error "Display driver stopped responding and has recovered." or BSoD with bugcheck 0x00000116 0x00000117 when running on GPU, use TDR Manipulator to temporarily disable TDR mechanism of Windows, then restart your computer. It is NOT RECOMMENDED to disable TDR for a long term since that may cause damage to your hardware.

How to Build (for developers)

IreCore is built with the Qt Toolkit, but still have some dependencies on Windows platform.

To build IreCore, you should first have all of the listed toolkits installed:

  • Visual Studio 2013 Community

  • Qt 5.5, the component msvc2013 32-bit qtcreator are required at minimum. If you want to have Chinese Simplified localization, qtlinguist is required.

  • Visual Studio Add-in 1.2.4 for Qt5

  • A OpenCL SDK from your device vendor, it could be one of the listed:

Open the VS project gic.vcxproj with a text editor. Search for <QTDIR>. There are two lines beginning with <QTDIR>:

<QTDIR>E:\Qt\5.5\msvc2013</QTDIR>

Edit the directory to your Qt path. The Qt path should directly contain bin lib and include subfolders.

<QTDIR>C:\Qt\Qt5.5\msvc2013</QTDIR>

Open the batch file pack_release.bat with a text editor. Edit the directory in the second line to your Qt path.

set qt_dir=E:\Qt\5.5\msvc2013

set qt_dir=C:\Qt\Qt5.5\msvc2013

Open the VS solution irecore.sln and build the solution. A release package will be copied into a release folder.

If you have the Qt Linguist installed, you could first release the localization gic_zh.ts to gic_zh.qm for Chinese Simplified localization.