Home » MODDING HQ 1.13 » v1.13 General Development Talk » Quick Guide for Compiling and Debugging Source Code in Visual Studio
Re: Quick Guide for Compiling and Debugging Source Code in Visual Studio[message #361479 is a reply to message #301086] Mon, 05 October 2020 10:06 Go to previous messageGo to previous message
Kitty

 
Messages:492
Registered:October 2017
Location: Germany
As supplement for Haydents allready good Guide for Compiling, I added some pictures (based on Visual Studio 2019).

Also with description on how to compile a MapEditor and UB.


haydent wrote on Tue, 06 March 2012 06:16
Open Corresponding .sln solution file for you VS version ie ja2_VS2008.sln
--
01
--
The following examples are based on Visual Studio 2019. The solution-file (in download from SVN Source) should look something like this:
--
--
Quote:
Once Open Click Menu At Top: Project -> Properties
--
02-03 additional explaination on steps before 04
--
04
--
open drop-down at Tab Project, there click at Properties
--
https://i.imgur.com/94od1f3.png
--
05
--
Quote:
Change "Configuration" dropdown to "All Configurations"
--
Click "Configuration Properties" -> General
--
https://i.imgur.com/tozs4zV.png
--
06
--
Quote:
Change "Output Directory" to you game directory (where ja2.exe is)
--
It doesn't have to be the game directory, you can define any directory as an output-directory.
At least, that's what I'm doing. So far the compiles have been working.
I can't see, why the former exe or the GameDir would be nescessary to compile the code.
Correct me if I'm wrong, so that I could adjust this description, if so.
--
https://i.imgur.com/IoUogeL.png
--
07
--
During the compiling, some intermediate files are created. Those need an output-directory as well.
--
07
--
08
--
Do check, if configuration type is .exe
--
--
09
--
Quote:
Click OK, Save.
--
Confirm changes, click ok to close.
--
https://i.imgur.com/sxTmdmA.png
--
10
--
Quote:
To Choose if you build a debug or release exe use the dropdown in top menu near green play button.
--
Use the build menu to just build, use green play button to build with debugging.
In that drop-down (of quote, not picture) you can also choose the MapEditor later on.
--
For anything else then debug, to build choose Tab "Build" at top and in drop-down (picture) of this then choose "Build ja2".
--
https://i.imgur.com/Ya27RGc.png
--

[Updated on: Wed, 14 December 2022 02:31]




How to get: latest 1.13, 7609 and more | 7609 SCI (eng) | Compiling+SVN

I need more details. (Didi Hallervorden)

Report message to a moderator

Master Sergeant
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Jagged Alliance Deadly Games Mercs with all speech for 1.13
Next Topic: The king is dead! long live the king! (v1.13 GitHub)
Goto Forum:
  


Current Time: Fri Feb 14 06:49:57 GMT+2 2025

Total time taken to generate the page: 0.00861 seconds