First of all you need to download two apps from the Visual Studio 2019 download page:
https://my.visualstudio.com/Downloads?q=visual%20studio%202019&wt.mc_id=o~msft~vscom~older-downloads
![image](https://user-images.githubusercontent.com/45118493/207350972-88bbce59-58d3-4624-8f1f-602c8d282a78.png)
![image](https://user-images.githubusercontent.com/45118493/207351234-ade49802-9575-440c-b0de-d801e3cedf20.png)
2. Install the correct packages from VS2019
Instructions
when installing those apps, you may need to tick the following extra C++ packages:`
VS2019
![image](https://user-images.githubusercontent.com/45118493/207352567-553df1a8-9c79-4633-974f-1ca39570908a.png)
VS2019 Build Tools (they are the same as the one from VS2019)
![image](https://user-images.githubusercontent.com/45118493/207352923-887e1a98-bb27-48c8-a9b2-8e4f96e72e67.png)
I also suggest only installing the english translation. If something doesn't work, it will be easier to find help with the EN version of it.
![image](https://user-images.githubusercontent.com/45118493/207355118-a2f63641-85b0-488f-902a-a0f92039e00e.png)
3. Download EasyRPG Player Repository and Player Toolchain
Instructions
Now that you have those tools, download two files from the player:
- Github Repo from the player:
https://github.com/EasyRPG/Player
![image](https://user-images.githubusercontent.com/45118493/207354735-8818e551-f7d7-4dab-8f27-2a351db4c9e0.png)
- Player's Toolchain for windows:
https://ci.easyrpg.org/view/Toolchains/job/toolchain-windows/
![image](https://user-images.githubusercontent.com/45118493/207356065-299d5b60-8658-4261-92ee-0bb00fb10bab.png)
4. Put Player and Toolchair Together
Instructions
Create a `vcpkg` folder inside inside the Player Repository you just downloaded,
and put the `Toolchain Files and Folders` inside of it
![image](https://user-images.githubusercontent.com/45118493/207362632-f272e50b-f670-4c29-80c2-206c06061fd8.png)
5. Use VS2019's Prompt Window to Build the Player
Instructions
Right click the Player's Repository Folder and select `Open With Visual Studio`
![image](https://user-images.githubusercontent.com/45118493/207363711-0cd9fdfe-2864-4373-8d5f-1492279b9ab2.png)
Go to the search bar at the top of the window and type `Developer Command Prompt` and hit Enter.
![image](https://user-images.githubusercontent.com/45118493/207367253-e496fc5e-3379-4fc7-8a0e-cad0506feecb.png)
On the Command Prompt Screen, enter the following command:
```cmd
rmdir /Q /s "build" & cmake . -A x64 -B build -DVCPKG_TARGET_TRIPLET=x64-windows-static -DCMAKE_TOOLCHAIN_FILE=.\vcpkg\scripts\buildsystems\vcpkg.cmake -DCMAKE_BUILD_TYPE=Debug -DPLAYER_BUILD_LIBLCF=ON
```
After the cmd finishes its tasks, go to the new `Build` folder inside player, and double click the file `EasyRPG_Player.sln`
![image](https://user-images.githubusercontent.com/45118493/207370904-2b3ff38c-9bf3-4679-afb3-fccbca0e84b4.png)
6. Run your Build
Instructions
Once you openned `EasyRPG_Player.sln`, right click `EasyRPG_Player_exe` and select `Set as Startup Project`
![image](https://user-images.githubusercontent.com/45118493/207371388-d8f56ccc-0c40-44fe-9eb1-92ebb2730d8c.png)
![image](https://user-images.githubusercontent.com/45118493/207371395-45faad4c-db6c-43b3-bdab-622ca7ef1ab9.png)
Finally, hit the green play button on the top of the window, and you are good to go!
![image](https://user-images.githubusercontent.com/45118493/207371914-fa182dbd-8725-4b96-b4cf-0a5f84b18262.png)
1. Download Tools from Visual Studio 2019
First of all you need to download two apps from the Visual Studio 2019 download page: https://my.visualstudio.com/Downloads?q=visual%20studio%202019&wt.mc_id=o~msft~vscom~older-downloads ![image](https://user-images.githubusercontent.com/45118493/207350972-88bbce59-58d3-4624-8f1f-602c8d282a78.png) ![image](https://user-images.githubusercontent.com/45118493/207351234-ade49802-9575-440c-b0de-d801e3cedf20.png)Instructions
2. Install the correct packages from VS2019
when installing those apps, you may need to tick the following extra C++ packages:` VS2019 ![image](https://user-images.githubusercontent.com/45118493/207352567-553df1a8-9c79-4633-974f-1ca39570908a.png) VS2019 Build Tools (they are the same as the one from VS2019) ![image](https://user-images.githubusercontent.com/45118493/207352923-887e1a98-bb27-48c8-a9b2-8e4f96e72e67.png) I also suggest only installing the english translation. If something doesn't work, it will be easier to find help with the EN version of it. ![image](https://user-images.githubusercontent.com/45118493/207355118-a2f63641-85b0-488f-902a-a0f92039e00e.png)Instructions
3. Download EasyRPG Player Repository and Player Toolchain
Now that you have those tools, download two files from the player: - Github Repo from the player: https://github.com/EasyRPG/Player ![image](https://user-images.githubusercontent.com/45118493/207354735-8818e551-f7d7-4dab-8f27-2a351db4c9e0.png) - Player's Toolchain for windows: https://ci.easyrpg.org/view/Toolchains/job/toolchain-windows/ ![image](https://user-images.githubusercontent.com/45118493/207356065-299d5b60-8658-4261-92ee-0bb00fb10bab.png)Instructions
4. Put Player and Toolchair Together
Create a `vcpkg` folder inside inside the Player Repository you just downloaded, and put the `Toolchain Files and Folders` inside of it ![image](https://user-images.githubusercontent.com/45118493/207362632-f272e50b-f670-4c29-80c2-206c06061fd8.png)Instructions
5. Use VS2019's Prompt Window to Build the Player
Right click the Player's Repository Folder and select `Open With Visual Studio` ![image](https://user-images.githubusercontent.com/45118493/207363711-0cd9fdfe-2864-4373-8d5f-1492279b9ab2.png) Go to the search bar at the top of the window and type `Developer Command Prompt` and hit Enter. ![image](https://user-images.githubusercontent.com/45118493/207367253-e496fc5e-3379-4fc7-8a0e-cad0506feecb.png) On the Command Prompt Screen, enter the following command: ```cmd rmdir /Q /s "build" & cmake . -A x64 -B build -DVCPKG_TARGET_TRIPLET=x64-windows-static -DCMAKE_TOOLCHAIN_FILE=.\vcpkg\scripts\buildsystems\vcpkg.cmake -DCMAKE_BUILD_TYPE=Debug -DPLAYER_BUILD_LIBLCF=ON ``` After the cmd finishes its tasks, go to the new `Build` folder inside player, and double click the file `EasyRPG_Player.sln` ![image](https://user-images.githubusercontent.com/45118493/207370904-2b3ff38c-9bf3-4679-afb3-fccbca0e84b4.png)Instructions
6. Run your Build
Once you openned `EasyRPG_Player.sln`, right click `EasyRPG_Player_exe` and select `Set as Startup Project` ![image](https://user-images.githubusercontent.com/45118493/207371388-d8f56ccc-0c40-44fe-9eb1-92ebb2730d8c.png) ![image](https://user-images.githubusercontent.com/45118493/207371395-45faad4c-db6c-43b3-bdab-622ca7ef1ab9.png) Finally, hit the green play button on the top of the window, and you are good to go! ![image](https://user-images.githubusercontent.com/45118493/207371914-fa182dbd-8725-4b96-b4cf-0a5f84b18262.png)Instructions
For further support, talk to us at https://discord.gg/pX9Ua6gvX6