login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
Some comments on GitHub
I also think you should leave it as source for the user to build so that they can check it out prior to running on their systems - to be confident of what it is actually doing.
Note also that I was testing on a Windows 11 VM with all Anti-Virus capability turned off - I did not test any AV interaction.
The program is already working, but you need to compile the source code yourself. It should compile without issue in Visual Studio, thanks to wobbli helping me ironing out issues there.
Currently, the program requires a little bit of interaction. You start up Stronghold 2, then you Alt-TAB out of the game. Open the task manager to get the Stronghold 2 PID. Then launch this program, and input the PID. The rest is handled automatically. I do have plans to let the program find the PID automatically, but I want to do a few other things first.
I do agree with wobbli that people should ideally compile the software themselves, but I also suspect a lot of people will simply avoid using it if they can't just download a .exe file. Besides, it's better that I provide an "official" download, rather than some other random person deciding to distribute executables if there is no official alternative. Besides, the option to simply compile the source code will always be there.
I should have a dedicated download page ready at some point during this week. But by all means, anyone interested in trying it already just look up information on how to compile C code on windows.
I haven't tested yet, but my concern is the AI fail to target all players properly. Has anyone checked if AI work as expected?
Admittedly, not totally familiar with this, and this isn't how I did it. I used Virtual Studio, which is...workable.
There's a written tutorial available here for Visual Studio: https://docs.microsoft.com/en-us/cpp/build/walkthrough-compile-a-c-program-on-the-command-line?view=msvc-170
In short, install Visual Studios Basic Tools. Install the add-on that adds relevant libraries.
Run the development command prompt. Set the directory to the src folder using the "cd" command. Then input "cl main.c ms_funcs.c os_wrapper.c".
If all is installed correctly, this will output 3 compiled files as well as a .exe. The .exe can be moved anywhere as everything is compiled within it. Run the application whenever you want to use it and follow the instructions.
In order to know exactly what is wrong I would need to see the exact error message.
Working off a few assumptions here: If you already have 'cd' into the src directory for the source code, then the only error is that you misspelled the name of one of the source files.
MinGW would be my tool of choice for compiling C programs on windows, but I find software like VS to be over-engineered and unnecessarily complicated. I was exposed to it many years ago and I still have not recovered.
Yeah, Virtual Studio works fine for something like this when it's installed, but my god is it tedious to set up. It's also a pretty large install given that I'm only using it to compile a few files.
I know a few people from the official Discord have asked for a compiled version that they can download. I think for the reason you said previously that it may be worth doing so yourself before unofficial ones release, which will be fairly hellish for us to monitor!