Raised This Month: $51 Target: $400
 12% 

Can't get HLDS to run on windows


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Haggy
New Member
Join Date: Jan 2022
Old 01-05-2022 , 08:04   Can't get HLDS to run on windows
Reply With Quote #1

I tried searching through stuff before asking, even google is worthless so here I am.
Trying to get back to some nostalgia as have a ton of extra space on my box.

HLDS opens and closes and wont run via .bat either. Im running server 2022, tried compatibility mode, tried to run it through steam and steamcmd as well. -console doesn't give me any logs, it just opens a console then immediately closes. Any help would be greatly appreciated.
Haggy is offline
Haggy
New Member
Join Date: Jan 2022
Old 01-05-2022 , 08:52   Re: Can't get HLDS to run on windows
Reply With Quote #2

Nevermind, I realized my IP was wrong in my batch file and caused it not to load right. Glad to see this site is still up after all these years!
Haggy is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 01-05-2022 , 08:59   Re: Can't get HLDS to run on windows
Reply With Quote #3

2. Download SteamCMD for Windows: https://steamcdn-a.akamaihd.net/clie...r/steamcmd.zip

unzip into folder:
Code:
Drive:\server\steamcmd\
create update script ...\server\steamcmd\update.txt
Code:
logout

@sSteamCmdForcePlatformType windows

//force_install_dir "../Counter-Strike Global Offensive"
//login anonymous
//app_update 740 validate
//app_update 740


logout
force_install_dir "../Half-Life"
login anonymous
app_update 90 validate


//force_install_dir "../Counter-Strike Source"
//app_update 232330 validate

//force_install_dir "../Team Fortress 2"
//app_update 232250 validate


//force_install_dir "../Left 4 Dead 2"
//login anonymous
//app_update 222860 validate
//logout

//force_install_dir "../Left 4 Dead"
//login anonymous
//app_update 222840 validate
//logout


//force_install_dir "../nmrih"
//app_update 317670 validate

//force_install_dir "../Half-Life 2 Deathmatch"
//login anonymous
//app_update 232370 validate


logout

@sSteamCmdForcePlatformType Linux


//force_install_dir "../Counter-Strike Source Linux"
//app_update 232330 validate


//force_install_dir "../Half-Life 2 Deathmatch Linux"
//login anonymous
//app_update 232370 validate

exit
create steamcmd bat file ...\server\steamcmd\steamcmd.bat
Code:
@echo off
echo.
echo SteamCMD started!
echo.

steamcmd +runscript update.txt

echo.
echo SteamCMD finished!
echo.

timeout /T 5 /nobreak

Run steamcmd.bat, let it finish update.
Again, run steamcmd.bat, let it finish update.
Again, run steamcmd.bat, let it finish update.


Go ...\server\half-life\

create hlds.bat file:
Code:
start hlds.exe -console +map frenzy +ip 0.0.0.0

If hlds start but disappear -> tinker with Windows Firewall (or else firewall) settings.
__________________
Do not Private Message @me
Bacardi is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 00:52.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode