Tutorial
#How to Build
Install:
-
Microsoft Visual Studio Community 2013 or Visual Studio Professional 2013
https://www.visualstudio.com/downloads/download-visual-studio-vs
-
Visual Leak Detector for Visual C++
-
Microsoft Windows SDK for Windows 8.1
-
Microsoft SQL Server 2014 Data Tools (required by x360ce.Data project)
-
Microsoft Internet Information Services (required by x360ce.Web project)
Control Panel > Programs and Features > Turn Windows features on
a. Check:
- Internet Information Services
b. Make sure that these options are also checked:
- NET.Extensibility 4.5
- ASP.NET 4.5
- ISAPI Extensions
- ISAPI Filters
-
Microsoft URL Rewrite 2.0 (required by x360ce.Web project)
http://www.microsoft.com/web/downloads/platform.aspx
Download and launch: Microsoft Web Platform Installer. Install Server\URL Rewrite 2.0 Module:
- Open [Game Settings] tab -> [Default Settings for Most Popular Games] tab
- Press "Import..." button, and import latest x360ce.gdb file.
- Press "Export..." button
- Select Save as Type: Compressed Game Settings (*.xml.gz)
- Save to c:\Projects\TocaEdit\x360ce.App\Resources\x360ce_Games.xml.gz
Building Application will include x360ce_Games.xml.gz as internal resource.
- Set Solution Configuration to Release\x86,
- Build x360ce Project (creates: x360ce\bin\Debug\xinput1_3.dll
- Set Solution Configuration to Release\x64,
- Build x360ce Project (creates: x360ce\bin64\Debug\xinput1_3.dll)
- Delete 3 files inside: x360ce.App\Resources
xinput.dll - Any CPU (MSIL) build - we are not using it at the moment. xinput_x64.dll - x64 build (copy from xinput_x86.dll - x86 build - Run x360ce.App\Documents<YourName>-xinput.sign.bat it will copy XInput files into resources folder and sign them: x360ce\bin\Debug\xinput1_3.dll > x360ce.App\Resources\xinput.dll x360ce\bin\Debug\xinput1_3.dll > x360ce.App\Resources\xinput_x86.dll x360ce\bin64\Debug\xinput1_3.dll > x360ce.App\Resources\xinput_x64.dll Note: My digital signature files are outside the project folder. Inside the project these files are included and marked as "Embedded Resource" So application can extract them if missing: x360ce.App\Resources\xinput.dll x360ce.App\Resources\xinput_x86.dll x360ce.App\Resources\xinput_x64.dll Default configuration files are embedded too. x360ce.App\Presets\x360ce.ini Setting files should be converted to XML at some point.
- Then build 32-bit and 64-bit application with: Solution Configuration set to: Release\x86 Solution Configuration set to: Release\x64
- Set Solution Configuration to Debug\x86,
- Build 'x360ce' Project (creates: x360ce\bin\Debug\xinput1_3.dll or
- Set Solution Configuration to Debug\x64,
- Build 'x360ce' Project (creates: x360ce\bin64\Debug\xinput1_3.dll)
- Select 'x360ce.App' project and press F5. Visual Studio will copy 'x360ce' debug files (*.dll, *.pdb) to Application's debug folder and starts debugging.
Build x360ce project in Debug x86