Jump to content

Using PKHeX: How to Compile The Latest Version of PKHeX


Recommended Posts

I decided to make a quick video and guide on how to compile PKHeX since most of the guides or "tutorials" I see out there are either outdated or way too complicted for the average user that just wants to quickly get the latest version of PKHeX. I know when I first started to get into the compiled versions of PKHeX, I had so much trouble getting things to work. Ill also include a video I just made explaining it too.

 

1. Go and download Microsoft Visual Studio Community 2017 Here: https://www.visualstudio.com/downloads/

001.jpg

2. Install and make sure Microsoft VS opens properly (you may need the latest .NET installed)

 

3. go to https://github.com/kwsch/PKHeX and download the latest master

 

Untitled-2.thumb.png.004d32c67d3e302e3d52cad90220e3c5.png

 

4. Unzip the "PKHeX-master" folder from the zip you just downloaded and open "PKHeX.sln"

 

Untitled-3.png.b593d36e1904094a8ef464424396fea9.png

 

5. click on "Build" and then "Build Solution"

 

Untitled-4.thumb.png.67caefab3cac87ac9ba699d072ab70a4.png

 

6. Make Sure it Says that 0 Failed. If any Files Fail to Build I Would Just Retry Step 5

 

Untitled-5.thumb.png.3b9c9f90d993ff65e4deb644c1740271.png

 

7. Go back to the "PKHeX-master" Folder from Earlier and Enter (PKHeX.WinForms>>bin>>Debug) If Everything Worked you Should see All of the PKHeX Files in this Folder. (You Only Need the PKHeX Program (the one with the PKHeX Logo) and the PKHeX.Core.dll File. The Rest of the "PKHeX-master Folder Can be Deleted.

 

Untitled-6.png.4c975f4928d3cec4d5badcccc7129678.png

 

Congrats! You Just Learned How to Compile PKHeX. If You Need Any More Clarification Just Check Out My Video Tutorial Above.B|


View full tutorial

Edited by NinFanBoyFTW
  • Like 3
Link to comment
Share on other sites

  • NinFanBoyFTW changed the title to How to Compile The Latest Version of PKHeX [Tutorial]
  • 1 year later...
1 hour ago, ViolentDarkBrown said:

I am having trouble compiling PKHeX with Visual Studio following this guide. It tells me it couldn't process the request due to the mark of the web.

Is there anyway around this or an alternative to Visual Studios?

Please I would be grateful for the help.

Before unzipping, right click the zip and properties -> unblock.

  • Thanks 1
Link to comment
Share on other sites

  • 1 month later...
  • 2 months later...
  • 9 months later...
  • 2 months later...
1 hour ago, Awacka said:

Hi,

It seems this is outdated, in my (PKHeX.WinForms>>bin>>Debug) folder there are 2 options. Do we use net46 or netcoreapp3.0 found in the debug folder?

It doesn't really matter. The net64 build requires the .NET Framework runtime and comes as a single executable that doesn't require any DLL files, while the netcoreapp3.0 build reqires the .NET Core runtime and needs some DLL files, as you can see if you compare both directories. The functionality of both builds is identical.

  • Like 1
Link to comment
Share on other sites

  • 1 month later...
3 hours ago, BigPapiBrian said:

Hey... In VS 2019, I don't see "Build." Do you mind clarifying where it's located?

The Build menu in the 2019 version is still there where it has been in the 2017 version, as shown in the picture of step 5 in the first post.

If for whatever reason the menu is not there, you could as well right click the solution in the Solution Explorer on the right and build it from there. Or even easier, just press F6.

solution-explorer.png.b38c11d800f162b14133c3d50d087ff6.png

Link to comment
Share on other sites

19 hours ago, BlackShark said:

The Build menu in the 2019 version is still there where it has been in the 2017 version, as shown in the picture of step 5 in the first post.

If for whatever reason the menu is not there, you could as well right click the solution in the Solution Explorer on the right and build it from there. Or even easier, just press F6.

solution-explorer.png.b38c11d800f162b14133c3d50d087ff6.png

Thanks for your help!

Link to comment
Share on other sites

Every file in the net46 folder that is not a .pdb or .config file is needed.

In the menu bar at the top of VS there's a dropdown where you can change the project type from Debug to Release. If you than rebuild the solution you will only get only the exe that doesn't need any dlls (you still get the pdbs and configs, but those can be deleted).

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...