Tutorials on getting started on Half-Life programming? Created 1 year ago2022-06-09 23:52:25 UTC by jamie jamie

Created 1 year ago2022-06-09 23:52:25 UTC by jamie jamie

Posted 1 year ago2022-06-09 23:52:25 UTC Post #346611
Yes, i am fully aware that there are some here, but the problem is: My extremely potato computer doesnt run visual studio without crashing a hundred times, so someone told me that Notepad++ is a "decent" alternative. But the tutorials here at TWHL only explain how to proceed with Visual Studio, and im looking for a guide that uses Notepad++. Also, do i need a compiler for this?
Posted 1 year ago2022-06-10 00:54:32 UTC Post #346612
Visual Studio is kind of important if you want to use the SDK properly. But there's some alternative options.
Tutorials will all reference VS because that's the normal way of doing things, so not using it will make it more difficult.

First of all, and this is not optional, you must install the C++ build tools. This means that you either install Visual Studio 2022 (no need to use it, just install it), or the standalone Build Tools for Visual Studio 2022.

Option one: use halflife-updated:

You cannot add new files to the solution since this requires Visual Studio to update the project files.
Compile via the command line:
path/to/MSBuild.exe path/to/projects/vs2019/projects.sln /p:Configuration=Release /p:Platform=Win32

Option two: use halflife-updated-cmake:

Cmake is complicated and requires extra knowledge to use.
Cmake replaces the VS project system with its own. When adding a new source file, you can use cmake to build instead of VS.
Penguinboy PenguinboyHaha, I died again!
Posted 1 year ago2022-06-10 01:25:32 UTC Post #346613
Oh God... Thank you
A tutorial on how to use Cmake? (sorry if im being that much of a burden)
Posted 1 year ago2022-06-10 02:05:37 UTC Post #346614
No sorry I've never used cmake myself, but there's probably resources online that you can find.
Penguinboy PenguinboyHaha, I died again!
Posted 1 year ago2022-06-10 02:11:50 UTC Post #346615
Any other thing i should know?
Posted 1 year ago2022-06-10 10:06:18 UTC Post #346616
HL SDK 2.3 and Visual Studio C++ 6.0 works on Windows 7 quite well
You must be logged in to post a response.