New Help Desk

From Valve Developer Community
Revision as of 08:55, 30 March 2021 by Bastian92 (talk | contribs) (How can I get a ClientID?)
Jump to: navigation, search

Click Add topic to make a new post. Please sign your post with four tildes (~~~~).
Valve does not check this. You may want to submit an issue to a Valve repo.

Setting the game directory

I have a fully compiled and working copy of Source SDK Base 2013 running and i have been asking this question for ages but how do you change the game directory name from "hl2" to something else and get it to launch the game correctly?

Techgames101 (talk) 00:48, 8 August 2018 (UTC)

I've never done anything with 2013, so somebody else probably has a better solution. I just got it to work by doing this:
  • Change every instance of "hl2" in hl2's gameinfo.txt to "test".
  • Rename the hl2 folder from "hl2" to "test".
  • Add -game test in the launch parameters.
The only issue I noticed in the first map (d1_trainstation_01) was missing chapter titles. Pinsplash (talk) 01:09, 8 August 2018 (UTC)
Crossing out, because that was bad advice. Pinsplash (talk) 03:22, 8 August 2018 (UTC)
Please don't listen to this guy above, he is horridly incorrect.
Do not edit hl2's gameinfo, it will not help you. If you need to change your mod title/appid/etc to your own, check in your OWN gameinfo.txt.
Do not change every reference of hl2 in the gameinfo to test as you need to mount hl2 VPKs.
I'd recommend copying the mod_hl2 folder to test instead of replacing it, for easy access if you need reference to stuff you changed.
-game test is 50% correct. You need to either launch the base with -game "C:\PathToMyMod\test" OR you can symlink your game folder to the sourcemods folder in Steam
Re: chapter titles, you need to go into mymod/resource, and rename hl2_language.txt (where language can be any language) to mymod_language.txt (where mymod is the name of your mod) OR you can load hl2's language files manually in your mod source code, which may be cleaner (that's what I do.)
Getting real sick of your shitty, uninformed contributions, Pinsplash. - JoshuaAshton (talk) 03:04, 8 August 2018 (UTC)

audio input setting for mic

Valve games have seem to become a trend not to include separate input selections for audio playback (speakers) and audio recording (mic) devices. It has even been removed from the new friends list GUI and they've stopped putting such a selection for both in game options like for CSGO and many other newer Valve titles. Is there a command line to set the audio input (mic) and output (speakers) devices? If there is I have been unable to find it and would appreciate someone letting me know what it is.

Reason being: Not everyone uses the same device for both. For example I use an HDTV for my speakers through HDMI and an onboard sound device for my mic so not having a setting selection for both in-games options is a huge inconvenience that stops me from being able to use voice chat in a lot of games. I'm not the only one experiencing this difficulty.

What is the command line to force a game to use a specific device for audio input (mic), and audio output (speakers)? -Bort

Never heard of any Source game having options for which input and output to use. Kinda more of an OS-side thing, isn't it..? Pinsplash (talk) 00:54, 3 October 2018 (UTC)

Replacing the new glove/hand FBX model with a custom FBX model

I am currently trying to find documentation on how I can replace the VR slim glove model with a custom model but still use the skeleton behavior on it. When I import my model into Unity and attach the hand motions to it I get some undesirable scaling to the model and most of the time doesn't even resemble my mesh. I have weight painted my model the same and even used the same armature however I still have no success. If you could provide some instructions or a guide I think that could be very helpful.

Thank you in advance for any insight you could provide.


3GNAB (talk) 19:49, 12 October 2018 (UTC) 3GNAB

No mdl files.

Hello everyone, I have recently gotten into mapping for garry's mod, but have quickly ran into a big obstacle. So here is my problem: When I want to add a prop to my map, I add an entity, which I double click with my selector. I got to prop_static, because that is where I need a prop from. I click on world model, and on the little window where you filter for the model you want, it says: No mdl. files. I haven't found a solution for this on the internet, so it is probably a small little mistake I have made. Anyways, I hope someone can help me with this. Thanks! Unsigned comment added by Void skillzworld (talkcontribs). Please use four tildes (~~~~) to sign your username.

Changing the players default health in source sdk 2013 Episodic

Ok if someone could kindly point me the right way to change players default health (i.e. 100 -> 50) That'd be appreciated -GildedKinesis (talk) 03:11, 19 December 2018 (UTC)

A Couple of Problems

These are questions that I've already asked on this discussion page, but I think this might possibly be a better place to post it. (If I should remove it from the other page, please let me know.)

I've followed this tutorial, as well as one other in regards to custom menu features, and I simply cannot get my mod to display the image I set as a background image instead of the default Episode 2 background map, nor can I get my chapter thumbnail to show over the default Episode 2 thumbnail. I initially managed to get the background image to work when I first started working on the mod, but then I mounted content for Lost Coast and the Episodes following the information provided here and I've had this issue ever since. Any clue why this is happening?

Another issue I'm having is trying to figure out why my game over messages aren't displaying properly, if at all, when I trigger them. In my test level, I'm fiddling around with triggering a "stuck" game over. I've put the env_message value as both "GAMEOVER_STUCK" and "HL2REP_GAMEOVER_STUCK", in every variant of case sensitive/all caps and with and without a # at the beginning. I've yet to get the desired message to display. In some cases, I get "#HL2_GameOver_Stuck" as the message, in others I get nothing at all. Is there some sort of file compiling I've failed to do?

The first image is the relevant text in my hl2rep_english.txt file, renamed from hl2_english.txt. The second is the relevant text in my titles.txt file.

Mod Titles Error 1.png
Mod Titles Error 2.png

I sincerely appreciate any and all help anyone may be able to offer. Arrowing (talk) 00:14, 20 December 2018 (UTC)

B.d (talk) 11:22, 25 December 2018 (UTC) Connection to a Server hosted in same client's network

Good morning. This probably is not the right place but i need a place where to start. I am talking of a Left 4 Dead 2 dedicated server. So Source Engine,and this is why I am here. Naturally I have already tried and asked many times before to try here. I hope to solve a problem that afflicts me from years. Playing at L4D2 I loved the idea to have a server. I have also written a partial tutorial.

The problem is that having the server on the same network of the client(me) i cannot connect to it through the normal game's option. No problem to connect through command like "connect" but i do not want this. In that tutorial I have already deal with this issue but not found a definitive solution. The command mm_force_dedicated_server was a good option till it was working but without apparently modification it do not works anymore or it works random. I thinks that this happens when the server are updated and something are changed with no control from the user. What i have understood is that the server is not able to handle a request of connection from a client that the server would expect from a remote IP but it arrive from an IP that is the same of the server itself. Hope someone can guide me in the right way. Thanks anyway.

Integration of Steam Community Announcements through API

It appears this question was posed here:
It does not appear that there was ever a response to this question/request.
Is there a method I am missing to utilize the API to make community announcements?
My end goal is to create a Discord Bot which accepts inputs (from discord) and immediately pushes that to our community page on Steam, shortening the amount of steps our community managers need to perform.

Semihazard (talk) 17:15, 20 January 2019 (UTC)

vpk.exe is bad

vpk.exe does not work, i tried to convert a file to a vpk file but it does not work, vpk.exe just closes after 10 minutes and it does nothing. is there a way to convert a file to a vpk file without vpk.exe or is there a way to fix vpk.exe?

Loading api fails steamcmd most likely because you are missing a 32-bit dependency of steamclient.dll (the Steam client is a 32-bit app)?

Hi There,

it's me Brainless Soul, i finished creating a mod with our local busses for bus simulator 18, now i want to upload it to the steamworkshop using the unreal engine and steamcmd, but steamcmd gives me this error:

packaging ...

LogPakFile: Display: Loading response file C:\Users\shaad\Desktop\20181221\ModToolRelease\Plugins\EVT\PakList.txt LogPakFile: Display: Added 10 entries to add to pak file. LogPakFile: Display: Collecting files to add to pak file... LogPakFile: Display: Collected 10 files in 0.00s. LogPakFile: Display: Added 10 files, 11794411 bytes total, time 0.07s. LogPakFile: Display: Unreal pak executed in 0.094523 seconds

Redirecting stderr to 'C:\logs\stderr.txt' ILocalize::AddFile() failed to load file "public/steambootstrapper_english.txt". ILocalize::AddFile() failed to load file "public/steambootstrapper_dutch.txt". [ 0%] Checking for available update... [----] Applying update... [----] Verifying installation... [ 0%] Downloading Update... [ 0%] Checking for available update... [----] Download Complete. Steam Console Client (c) Valve Corporation -- type 'quit' to exit -- Loading Steam API...\src\common\steam\client_api.cpp (471) : Assertion Failed: ClientAPI_InitGlobalInstance: InternalAPI_Init_Internal failed, most likely because you are missing a 32-bit dependency of steamclient.dll (the Steam client is a 32-bit app).


Press any key to continue . . .

So what can i do to fix and upload it? i Googled the issue but no usefullness out there?

(Brainlesssoul (talk) 13:19, 28 February 2019 (UTC))

opening error

when i start SFM and i choose the session the SFM page result "invisible" if i try to move the mouse on sfm icon i see only a little piece of the real interface... how i can fix it?

Viewport Issues

I'm having issues with my viewport. This is what it does when I try to do anything -

Screenshot -

Gyazo GIF -

If someone can help me, that would be greatly appreciated! Thanks!

~ Bear

Render (screenshot) weapon model in Counter-Strike: Global Offensive

I need to take screenshot of weapon model from screen like this, without any background. Tried to remove and change resources using mat_texture_list console command, but no success. I'd like to take this screenshots programaticaly, so I can't use image editing software each time. I think the model should be separated from other game content (background, text, etc.) using game engine, but I can't find console command or API interface to do it. Or just insert a background behind weapon model. Thank you! Vlad-Online (talk) 14:00, 2 July 2019 (UTC)

How do wranglers and sentries work in tf2?

I have been trying to figure out how the wrangler works, and in doing so I have discovered that sentryguns are wonky. The debug commands that show inputs and outpus such as ent_message and all that appear to only work on the things that are already part of the map like doors, as when I do ent_message on a sentrygun it attaches the text to the sentrygun but it just say obj_sentrygun no matter what i do to the sentrygun. ent_pause does nothing to the sentrygun, and ent_text and ent_dump are not helpful in the slightest. Ent_info does not appear to have any inputs related to the wrangler. What are some other debug commands? What is the wrangler shield? Mrmola (talk) 21:07, 19 August 2019 (UTC)

Hammer editor visual glitches

So ive been working on a map for a while, and so far there has been no issues, but lately ive been opening the editor, and in the viewport there are some weird artifacts that cause the textures from some displacements to show on all the brushes, and a lot of displacements just disappear at certain angles.

Brshvsko (talk) 13:24, 27 September 2019 (UTC)

7DTD Unable To Communicate With Steam Servers


I'm having an issue with a dedicated server hosting 7DTD that was downloaded through SteamCMD. I know, the issue isn't with SteamCMD specifically and, I place no fault on SteamCMD or, it's creators however, I'm not convinced that anyone else might be able to help. I have Googled and, tried various different solutions to no avail. The issue I'm having, should you chose to allow this post to stay, is connecting to steam servers. Below is what is in the connection log.

Now for the super awesome fun list of stuff I have tried...

Power cycle all relevant devices (Server, Application, Modem, Router etc.)

Setup port forwarding on ports 25000-26000 & 50000-56000 to a static IP address that the server is setup on

Put server in DMZ temporarily

Changed DNS servers to from private to public and, vise versa

Uninstalled & re-installed steamcmd and 7DTD server three times, fresh install each time

Allowed port exceptions via firewall, based on port address and, application

Temporarily disabled firewall in conjunction with disabling router SPI firewall

Tried moving 7DTD on different sister machine and, problem persists

Can join match when connected via LAN but, not WAN

My setup is the following:

Dedicated Server

Windows Server 2016 Domain Joined Static IP Set 7DTD Dedicated Server : appid 294420


DD-WRT v3.0 STD WRT32X SPI Firewall Port forwarding setup on ports previously mentioned

Since the issue is persistant across multiple devices, I'm betting it's the router but, I don't know what could be causing it.

Through my various searches, the one common theme I seem to find is the binding of TCP. Any thoughts / suggestions would be greatly appreciated.

If you need any additional details, please let me know. Thanks!

Snowblind (talk) 20:10, 15 October 2019 (UTC)Snow

Srcds strange network activity on Windows Server 2019

Hi Guys,

So I've been running a personal 128 tick srcds.exe for quite some time now, until yesterday, I was always running it smoothly on a Windows Server 2012R2. Since 2012R2 is getting "quite old", I upgraded my server to Windows Server 2019 standard (clean install and reconfigured everything).

Now Since 2019, via the Resource Monitor i'm seeing "suspicious network activity" on the srcds.exe process.

From the moment I start the srcds.exe, people/systems from all over the world are trying to connect/hack/ get in? Or what is this? Because of the amount and all different origins of the connections i'm a bit worried :) Screenshot:

Note that while there are so many ip's and dns entries visible in the network tab, there are 0 people connected to the game server (0/12 + its a password protected server) --> Nobody is playing on it at the moment of all activity

The only ports forwarded to the server and open in firewall are 27015 (tcp and udp).

Steam Statistics for App polling - inconsistent results

I have a development project underway based around a certain game on steam.

While people play the game, statistics get reported to steam in the background.

When the match ends, a few key statistics are reported such as "points gained" for example.

I have my application polling the Steam Web API for stats belonging to the user.

A match in this game can last up to 15 minutes.

Results related to the end of the match can take up to 15 minutes to show up, regularly more than 10 minutes.

During this delay, results related to a newly started match are already being reported by the steam API.

Sometimes, the results for the match are detected properly, then entirely reverted a few minutes later in a later result poll that shows prior results as if new results were not reported yet.

This reversion can happen multiple times over a 20 minute span, detecting the new results, then a few minutes later getting older results (seemingly), then a few minutes later the new results again, etc.

Is there something I can do to improve the consistency of my statistics polling? I have tried increasing the amount of time between polling to see if I am triggering some type of cached responses but this has ultimately not resolved the issue and obviously it is important to receive at least one statistics update every few minutes, as sometimes a match may only last a few minutes.

A visual representation of the issue being described.

an error connect my Dedicated Server eg :" Couldn't find encrypted codec /home/steam/.steam/steamcmd/linux32/"

I have a question about connect dedicated server

when I use steam client connect the dedicated server on the system of linux unbuntu ,get this error message "Couldn't find encrypted codec /home/steam/.steam/steamcmd/linux32/",does not know how to solve this problem. I need help ,stay online .

Best Regards .

Hammer Editor not opening...

So the other day I began making a map for Gmod in hammer editor, I used the hammer editor for Half Life Episode 2. I then realized the Counter Strike Global Offensive hammer editor was far more useful because it allowed for prop scaling, so I saved my map file, and went to "C:\Program Files (x86)\Steam\steamapps\common\Counter-Strike Global Offensive\bin" and clicked on hammer.exe, my cursor is shown as a loading sign for a second but after that, nothing happens. Would any of you know how to fix this? Ive run the hammer tool in Gmods bin, and it only seems to show the wireframe, and not the textures, im assuming it would do this for CSGO as well, How would i be able to import the textures then?

You should use gmod's hammer for gmod (unless there's some working method of using csgo's hammer for gmod, can't find anything on google). If you load a csgo map in gmod you can see the two games seem to have very different ideas on skyboxes and lighting. Loudslappingsounds (talk) 01:23, 2 May 2020 (UTC)
Maybe it can't open because GameConfig.txt in C:\Program Files (x86)\Steam\steamapps\common\Counter-Strike Global Offensive\bin is damaged. For fix it you can remove this file and click button check game file integrity in steam.Kpabik (talk) 23:56, 1 Jun 2020 (UTC)
Also try to open "C:\Program Files (x86)\Steam\steamapps\common\Counter-Strike Global Offensive\bin\hammer.bat". Kpabik (talk) 06:39, 5 July 2020 (UTC)
When you use the Garry's Mod Hammer Editor, you're most likely seeing wireframe because that version of hammer defaults to the wireframe mode. Click on "Camera" at the top of the 'viewport' and choose '3D Shaded Textured Polygons', otherwise if you want to use the CS:GO Hammer Editor, enter through the Steam executable listed as 'Counter-Strike: Global Offensive SDK'. Textures that don't register will show as solid-white, and will need to be put in the directory. Brshvsko (talk) 12:08, 9 July 2020 (UTC)

SMOD Redux Page in wiki

SMOD Redux Version 10 (v2) is a mod for HL2. I am not SMOD Redux author but can i make SMOD Redux page in Valve Developer Community?

Removing/Adding Options to Game Menu

Need a bit of a hand here, hopefully someones Source Engine-savvy?...

Trying to figure out how to add/move video options from the settings menu, specifically things like the Display Mode (going to try and add Borderless Windowed mode) as well as add more options for aspect ratio (3:2, 21:9)

The game crashes after loading the map

When my map loads, the game crashes. It compiles fine, but it then a Windows error message says 'hl2.exe has stopped working'. And I'm making a map for Portal! Sometimes it crashes without an error message as well. 56KPK (talk) 10:52, 23 September 2020 (UTC)

I've tried copying the map into a new file, but it still happens. 56KPK (talk) 23:03, 23 September 2020 (UTC)

It seems to be something wrong with 'ntdll.dll'. Does anyone know what it does and why it's crashing my map? 56KPK (talk) 10:08, 24 September 2020 (UTC)

Game State Integration

I've recently started looking into Game State Integration, but I've been unable to find any resource on it. I'm specifically looking for all the data points supported by DotA 2. Currently, I see: "buildings", "provider", "map", "player", "hero", "abilities", "items", "draft", "wearables" & "previously" from various Reddit posts & GitHub repositories. But there has to be a better way to identify what the game exposes. Does anyone know how to go about figuring out the supported data points for GSI?

1nv1n (talk) 09:16, 3 February 2021 (PST)1nv1n

How can I get a ClientID?

I would like to get a ClientID in order to be able to use my steam account to sign in to my web application. How can I get it?