Talk:Main Page

From Valve Developer Community
Revision as of 09:47, 2 March 2006 by ^Ben (talk | contribs)
Jump to: navigation, search

Archive 1: 19:28, 28 Nov 2005 (PST)

Welcome to the discussion page for the Main Page! To start a new section, click on the "+" tab. To respond in an existing section, click on the "edit" link to the right of the section title. Please don't forget to sign your comments, using either three tildes (~~~) for your name, or four tildes (~~~~) for your name and a timestamp.

If you have a question about developing, please visit the Help Desk first!

News discussion page?

I expect not being the only one wanting to discuss a few news posts on the main page, and I don't think we have a standardised page for that yet.

I'd appreciate if the source code part of the new SDK could be made available for the Linux Steam client, too. I'm currently funneling my efforts into making the HL2 code compile happily with GCC 4 without -fpermissive and with -Wall -Werror, and I find it a bit painful having to reboot to Windows, let Steam update, run the wizard to extract the code, reboot and transfer the stuff onto my Linux partition. I don't mind this being "restricted content" to e.g. only HL2 buyers; I have a registered copy of HL2 and the readiness to supply my username and password to the steam binary.

I might send an e-mail to [hlcoders] quite soon, asking for this explicitly... just wanted to know if any DevCommunity members have already tried and were denied the wish, or if anybody else thinks this would be a good idea. Thanks a lot. ~~Ravu 08:09, 14 Nov 2005 (PST)

Multibyte character(especially Japanese & Chinese) contents corruption by the Wiki update

After the wiki update, all previous contents in Japanese got corrupted, near impossible to read parts from parts. This includes Greg's test contents.

It seems to me it's a charcode issue. It could be database content itself(MySQL setting?), or input/output charcode conversions(php setting and MediaWiki script). Please fix it or we won't be able to continue our translation project - n-neko 00:34, 19 Nov 2005 (PST)

Also I'm not 100% sure(I can read Chinese characters because they are also used in Japanese, but can't read/speak the language Chinese), but Chinese document also looks something wrong compared with google cache original version. Some characters have been changed, making less sense. - n-neko 01:24, 19 Nov 2005 (PST)

It was probably a wiki charset setting that changed. I saw this on another wiki, even though it was still English, things got messed up. You'll probably have to go rewrite the articles.. :( --AndrewNeo 08:26, 19 Nov 2005 (PST)

That would be too much work... Well, I used my page to test Japanese contents addition. It looks ok.
So I think there was a screw up while update process and database content corrupted. I feel really depressed... I really hope there is an working database content backup... - n-neko 08:47, 19 Nov 2005 (PST)

Update, Water Shader indicates ”character was also got corrupted. -n-neko 06:40, 21 Nov 2005 (PST)

Don't get depressed yet. If Google cached everything, we can make an automated (or semi-automated) solution. —Maven (talk) 12:48, 21 Nov 2005 (PST)
Wait... what update? —Maven (talk) 12:53, 21 Nov 2005 (PST)
  • The guys at Valve updated the wiki to a slightly newer version. --AndrewNeo 16:33, 21 Nov 2005 (PST)
MediaWiki from 1.4.5 to 1.4.12, ok. Were the PHP or MySQL versions changed? It would be lovely to rule out database corruption. —Maven (talk) 18:30, 21 Nov 2005 (PST)
If I've got time tomorrow I'll have a closer look to see if there's actual data been lost, or if it's just got mangled into another form. I know a little about UTF-8 and other character encoding systems so if the information is still there, it should be possible to retrieve it in a semi-automated manner... --Cargo Cult (info, talk) 16:40, 21 Nov 2005 (PST)

Here's a sample of what's different, from GregCoomer's Talk page. (Google cache here)

(partial hex dump removed; see below instead)

That's for text 2005年8月6日「MMBBオンラインゲームフェスタ」開催! (bad version: 2005年8月6日「MMBBオンラインゲームフェスタ�?開催�?—notice the very end)

I haven't checked meta tags and Content-Type stuff yet. I don't know enough about the matter to be useful except perhaps to implement a solution that someone else suggests. —Maven (talk) 16:48, 21 Nov 2005 (PST)

Both versions have the same meta http-equiv="Content-Type" in the HTML header. As far as I know, that overrides the Content-Type given by the server (although I'm not sure about that). —Maven (talk) 16:58, 21 Nov 2005 (PST)

Oops, the corrupted version has Content-Type "text/html; charset=utf-8", with "utf-8" in lowercase, whereas the cached version has it in all caps. Probably doesn't make a difference, but with browsers being as they are, one never knows. —Maven (talk) 17:02, 21 Nov 2005 (PST)
Not sure how you're comparing UTF-16 strings - you can't copy-and-paste from a corrupted UTF-8 stream! ;-)
I did some lower-level comparisons, and it looks like there's actually been information loss occurring. Here's a fragment of an original from Google's cache, separated into bytes and characters:
(3c) (75) (6c) (3e) (3c) (6c) (69) (3e) (20) (e9,80,9a) (e6,b0,97) (e5,8f,a3) (e3,81,af) (e6,8e,a7) (e3,81,88) (e3,82,81) (e3,81, etc)
Here's what the Wiki's currently sending. Different bytes are marked in bold.
(3c) (75) (6c) (3e) (3c) (6c) (69) (3e) (20) (e9,80,9a) (e6,b0,97) (e5,3f,a3) (e3,3f,af) (e6,8e,a7) (e3,3f,88) (e3,82,3f) (e3,3f, etc)
There's both an 81 and an 8f being turned into a 3f - there's definitely information gone missing. Coincidentally, 3f corresponds to a question mark in ASCII. I suspect something's tried converting to Windows-1252 because in my comparison paragraph, all the 'forbidden' bytes (marked in green on the chart) have been squished...
I think this can be summarised with 'oh dear'. :-( --Cargo Cult (info, talk) 04:09, 22 Nov 2005 (PST)
Oh dear... I need to grab Google caches of all documents before it's too late... -n-neko 04:53, 22 Nov 2005 (PST)
I had been wondering why what's supposed to be UTF-8 was coming out UCS-2. I figured that it was a case of things being intentionally mislabeled in order to workaround the faults of some non-compliant browser. Anyway, I didn't copy-paste—I saved both webpages and opened them in a hex editor. I figured that would preserve the Unicode, but I guess there was some conversion during the HTML save. —Maven (talk) 05:57, 22 Nov 2005 (PST)
Grumble... my hex editor was converting to UCS-2! I liked that program, but this is nearly unpardonable. Anyway, sorry about the munged data. —Maven (talk) 08:18, 22 Nov 2005 (PST)

Well, backups are the best solution. Failing that, the only possible solution I can think of is to use digram (and trigram, if available) frequency analysis to reconstruct the corrupted bytes. I have some old cryptanalysis code that can be adapted for that purpose with the addition of a UTF-8/UCS-2 converter. However, I certainly don't have digram data for Japanese, and I've never actually tried frequency analyses on such a large character set, so I don't know what theoretical reliability we'd get. If there are fewer Chinese-language articles (I think there are?) then they can be corrected by hand. In any case, this is a last resort. —Maven (talk) 06:30, 22 Nov 2005 (PST)

Can't find the data I'd need, so I'd have to generate it. If we have to do this, I'll need some help from someone familiar with Japanese-language writing. —Maven (talk) 06:45, 22 Nov 2005 (PST)
I do keep many(not all, though) of original translation data in raw text. Also I've grabbed uncorrupted google caches. They can be used as references when backup doesn't work... -n-neko 09:20, 22 Nov 2005 (PST)
We have backups of the database before the upgrade, and one of our system administrators in analyzing the issue. My current understanding is that it's not a simple restore from backup, or it would have already have been done. --JeffLane 08:46, 22 Nov 2005 (PST)
Thanks for looking into this issue, Jeff. My fear is that the backup data itself could have got corrupted through database/php/whatever backup app's charset configuration. I hope this is not the case... -n-neko 09:20, 22 Nov 2005 (PST)
Jeff, do you think that you can fix this before Dec 2? On that day Robin Walker will speak at Ritsumei Univ, also HL2 GOTY package will be released in Japan. If you don't think so, I'll start manual copy and paste stub articles...The document state right now is miserable... -n-neko 18:44, 24 Nov 2005 (PST)

Important update regarding multibyte language data

Unfortunately, what n-neko has suggested appears to be what has occurred. Due to recent changes in language parameter options in mysqldump between MySQL 4.0 and 4.1, the backups we have been creating also do not have the correct character conversions, so the data has been irrecoverably lost. You can read more about this issue with MySQL and MediaWiki databases here.

We are correcting our backup procedures to prevent this from happening again in the future.

For now, please hold off on correcting or adding the multibyte character articles. Multibyte languages should work correctly now, but we are going to take the server offline and perform some tests to make sure the data is being backed up correctly. This process should be completed during the downtime later today. We'll post another update here when it is all clear to post multibyte data again.

We apologize for any inconvenience this unfortunate loss of data has caused. --JeffLane 14:42, 25 Nov 2005 (PST)

Hi, Jeff. Thanks for making the situation clear and preventing future corruptions.
I decided to set up a mirror site for Japanese documents on my server using google cache. Fortunately I could secure most of the articles(before the data loss) in html, and edits went well so far(I hope). So here is less inconvenience for Japanese readers...
The site calls VDC for its images, so I should have asked your permissions first...But please forgive me for setting it up for now as a temporary solution. As soon as I find an automated way converting these secured html files back into Wiki codes(and posting them back), then I'll stop the mirror if you don't want it continue. -n-neko 02:41, 26 Nov 2005 (PST)
I've converted two articles over using copy-and-paste, just to see how much work would be involved in doing it manually - it's s rather dull task, but doesn't need any knowledge of Japanese (fortunately!). I think something which converts the HTML backup to Wiki-format with a simple look-up-table might prove simpler - I'll have a go at writing such a thing if you like. —Cargo Cult (info, talk) 07:34, 26 Nov 2005 (PST)
Great! Your Copy&Paste edits look perfect:) HTML backup to wiki converter will be really helpful. Thanks in advance -n-neko 09:00, 26 Nov 2005 (PST)
Yes, that's fine with the images for now, good work. We'll let you know if that changes.
This may be of assistance: --JeffLane 08:47, 26 Nov 2005 (PST)
Thanks Jeff. Let me know when it becomes inappropriate, then I'll remove or replace image links. -n-neko 09:00, 26 Nov 2005 (PST)

All Clear

Maintenance on the database has been completed, and it should be safe to enter new multibyte data now. --JeffLane 17:29, 25 Nov 2005 (PST)

Repairing damaged articles

Apparently more than just multibyte character articles were messed up in the database upgrade. Searching Google for a damaged character comes up with many results. We should task-force fixing as many of these as we can. --AndrewNeo 18:37, 28 Nov 2005 (PST)

Cleaning Main Page Talk

This page now has a warning on the edit page. I recommend that we archive older discussion (at this point, probably everything before the multibyte issue) in this page once it reaches a certain length (like now). I recommend something like Talk:Main Page/Archive 1 .. Talk:Main Page/Archive 2 format for every time we archive the page. --AndrewNeo 18:37, 28 Nov 2005 (PST)

Ok. —Maven (talk) 19:29, 28 Nov 2005 (PST)

Tutorial link

The link to tutorials for modders should lead to Category:Tutorials, not Special:Categories.

Nothing in Source sdk is working

Every time i try to open something in source sdk for example hammer it says error The system cannot find the file specified.

Plz some 1 help i dont know what to do.

Counter-Strike Mod?

I am trying to make a mod for counter-strike source but I keep hitting some errors. I can load the counter-strike source screen as if i were going to play counter-strike normally, (i copied the files and fooled around with them to get this to work) but I still get the following error and I don't know how to fix it.

"client.dll init() in library client failed" then I would get another box that said this: hl2.exe - instruction at 0x242aa924 referenced memory at 0x0d48808c. the memory could not be "read".

Can you guys help me? I would greatly appreciate it. ~Will January 2, 2006

As far as i have seen, you are only able to "mod" HL2, the stripped SDK, and the stripped DM versions into a game of your own. CS is not openly mod-able. You can make smaller, less capable server plugins, but they are only really useful for manipulating the server via what has been allowed for output/listening functions. In other words, the games (HL2, HL2DM, DOD, CS, ETC) that valve release are not going to be able to be modded, they have released the 3 coding options.

As for the error, did you build your own code or rip the dll's out of the gcf?—ImaTard 03:18, 2 Jan 2006 (PST)

Hey Thanks for getting back to me so soon. Yeah, I just ripped the dll's out of the gcf file. It works fine until a couple seconds of the "loading" in the bottom right hand corner and then crashes. I appreciate your help. ~Will

There doesn't happen to be a work-around? I'm just curious.

You are unable to mod CS. Ripping the CS DLL's out of the GCF will only allow you to play CS. You may as well just jump in via steam and not bother. I dont know why it would be giving you errors, but it may be tied to how cs is loaded via steam, to force the players not to make their dlls work in their game, although i dont know why or how that would be possible. As many posters/web designers/Mappers have realized. There isnt much in the way of modding that can be done without C++, ie changing the DLL's.

Either way, fix or no fix, you are really up a creek without a paddle. I would suggest making a server plugin if you want to truely effect CSS, but it wont be anythign significant enough to call a mod.—ImaTard 03:18, 2 Jan 2006 (PST)

Please don't forget to sign your comments, using either three tildes (—ts2do (Talk | @)) for your name, or four tildes (—ts2do (Talk | @) 06:36, 3 Jan 2006 (PST)) for your name and a timestamp...ALSO: STOP WITH THE HEADERS!!'s so hard to follow with them—ts2do (Talk | @) 06:36, 3 Jan 2006 (PST)

Thanks again for getting back to me. Sorry for the headers. Just wanted to let you know that I wasn't trying to somehow cheat the system, I'm just a CS junkie and wanted to add some of my ideas to it. Thanks again. --Ninjawillis 09:58, 3 Jan 2006 (PST)

January 5th update now causing Hammer to crash

Ever since the January 5th update for the SDK, when I try to open an existing map project in Hammer it crashes. I get the standard Windows error that asks you send a report to Microsoft. I can open a new project, but no existing projects. I also tried decompiling a map and opening the .vmf, and it still crashes.

I have seen some posts on various mapping forums where others are experiencing this. The only thing people can offer is a polite recommendation to just be patient and wait for Valve to remedy the problem.

Is this a known issue, and if so, is Valve working on a resolution? When can we expect to get an update that resolves this?


Refresh the SDK content. --TomEdwards 09:54, 10 Jan 2006 (PST)

Anti-Spam Brigade

I've made somewhat of a wiki-spam detector. This is based on something that almost all spammers seem to spam the wiki with, so I hope it works/helps. It uses GreaseMonkey and can be installed from here. If people don't want to install GreaseMonkey I can convert this to a plugin of it's own. It seems to work, so far. --AndrewNeo 09:47, 10 Jan 2006 (PST)

It's free.

Ok, I just got to say this. But please, remove that "Sign up - It's Free". Of course it's free, it's a wiki and even though it may be peoples first encoutner of a wiki, they still dosen't need to be told it's free. You make it sound like some kind of commercial where you get some stuff for free but later the bills will kick in. Its almost like saying "Download the demo of Half-Life 2 today, its free!". Can't you just change it to something like "Want to be a part? Create a login - Help buidling the center of Source development" or something. Just me who thinks this? And please don't remove this because it's critisism against the wiki. --Hipshot 10:08, 10 Jan 2006 (PST)

Source SDK not ready to compile with Visual Studio 2005

The new Visual Studio 2005 gets new security features and so on many warnings and build errors if u try to compile the sources with Visual Studio 2005 (and or Visual C++ 2005 express edition)

  • Thank you, person who didn't sign their comment, but we already know this. Please use VS2003 to compile the Source SDK. --AndrewNeo 08:18, 11 Jan 2006 (PST)

sorry i forgot my sign

should i i have installed both ides on my pc at the same time? so i cant re-convert my nebula2 engine code back to vs2k3. took to mutch time... how long vs2k5 users need to wait for vs2k5 ready source sdk ? [ fibric 15:25, 11 Jan 2006 (PST) ]

  • If you want to code for Source, then yes, you should have both installed.. and we don't know. That's up to Valve to support it, they might decide not to support VS2005 express if the non-express version works. --AndrewNeo 16:25, 11 Jan 2006 (PST)

This is ridiculous. Come on! What's keeping them?! It's can't be that hard to do! People are getting impatient. I for one can't start doing anything because 2003 is no more and 2005 is not supported. What should I do? Illegally download vs 2003 or keep waiting until the sdk upgrade project is scrapped after 6 months because it doesn't bring any money to Valve? Besides, how come a big and 'serious' company like Valve doesn't keep up with what they are releasing? It's nice they released the SDK but not looking into it and not supporting it has brought this whole situation on. They should have been ready for vs 2003 being discontinued. Somebody in Valve is not doing their job properly if you ask me... And they're not doing it AGAIN. --Eyeofaraven 04:16, 12 Feb 2006 (PST)

No installation instructions anywhere to be found

As simple as it may look... will someone please write *anything* about installation? I know I'm a dumbass but it took me a while to figure out on my own that the SDK was not a direct download but was in fact under the "Tools" tab under "My games" in steam, and this whole wiki didn't help at all. Yeah I'm an idiot... but still us idiots come in droves. --Wisgary 19:22, 11 Jan 2006 (PST)

I can't seem to find the SDK under either the "My Games" or "Tools" tab in steam, and yes, I do own and have two source games installed. Any other places I should be looking? --UrbanPredator 22:00, 13 Jan 2006 (PST)
Uhm. It's greyed out by default, I believe, and says something to the effect of "Source SDK", in the Tools submenu. You should be able to double click it to install it... I might be mistaken on this, but I think it's only visible if you have Half-Life 2 installed. If someone else has only Counter-Strike:Source or Day of Defeat:Source installed, and can verify this, I'd be much obliged. --Spektre1 23:26, 13 Jan 2006 (PST)
Currently, the HL2 is the only way to get the SDK. I'll see what I can do for you, Wisgary. --TomEdwards 01:37, 14 Jan 2006 (PST)
Thanks Tom --Wisgary 20:06, 14 Jan 2006 (PST)

*checks watch*

Err, today's Tuesday, the 17th. Might wanna fix that. --Charron 04:33, 17 Jan 2006 (PST)

Ah! This finally explains Valve's slightly eccentric approach to release dates - they're obviously using a different calendar to the rest of us... ;-) —Cargo Cult (info, talk) 06:01, Fri 17 Jan 2006 (PST)

what what?—ts2do 07:57, 17 Jan 2006 (PST)


Why is the text MOD displayed in capital letters as if it were an acronym? Its an abreviation for modification, so that makes no sense... EAi 07:44, 18 Jan 2006 (PST)

Uploading Sample Maps

Having worked on two tutorials here, I've noticed that the system disallows the uploading of .zip or .vmf files. Is this a functional limitation of the system, or can an administrator allow .vmf files to be uploaded? What does everyone else think about this? `zozart .chat @ 04:35, 21 Jan 2006 (PST)

As long as the server was configured right and didn't send the VMFs as the text mimetype, that would be a very good idea. --TomEdwards 04:38, 21 Jan 2006 (PST)

Converting a dwg/3ds file to use in Hammer

I am new to game developing, actually I am not a game developer I am just interested in finding someone who could convert either 3DS files or 3D DWG files to use them as a level in Half-life. I can supply you with a 3D file and if you could make a small level that would be playable that would be great. If you can do this email me at [email protected] Thank you for your help.

Having problems starting the tool

So I've installed the Source SDK... three times... The behavior I get is a slight pause and windows hourglass, then nothing. Absolutely nothing happens. No error, no warning, no nothing.

I am using the 64 bit version of windows, so I'm hoping it just has something to do with paths, maybe? Steam is currently set to "D:\program files(x86)\steam" etc, rather than the default C:\program files\(etc). SupaSaru 00:28, 24 Jan 2006 (PST)

It's a Known issue. --TomEdwards 00:56, 24 Jan 2006 (PST)

Issue running maps.

I can't create a multiplayer server, to test a map or otherwise. It tells me that my STEAM authentication has failed. I can join servers just fine, and start offline games. Any clues?--TheRat 15:25, 25 Jan 2006 (PST)

Link the obvious

Valve Developer Community should be linked to Valve Developer Community:About. - Roy 15:53, 25 Jan 2006 (PST)

HL2MP SDK - Unbounded use of an array in bone_setup.cpp

Models are crashing HL2MP Clients with the message "Bad sequence (661 out of 601 max) in GetSequenceLinearMotion() for model 'Eli.mdl'!". The problem was debuged (by Paul 'zero' Peloski, HL2CTF Lead) who wrote me this:

The code that crashes in the bone_setup.cpp (function SlerpBones) when compiled on the client side. The problem is the unbounded use of an array offset used to get the global-to-local bone mapping array. I have fixed it in HL2CTF with a simple IsValidIndex() check… Mrmagu 16:17, 25 Jan 2006 (PST)

Visual Studio .NET 2003

Is there a way to obtain free or trial version of the .NET 2003, i have the xpress 2005 version and have just read that it doesn't work, and have been trying for 2 days, (duh!). Any help much appreciated.

No, there are however, cheap versions found at schools, normaly around 40 bucks each.

win x64, after installing Hammer, CS acts odd (slow motion)

First of all I found no troubleshooting pages so far.

Second: I had no problems (except getting headshoots) with CS or CS:Source on x64 platform. Runs smooth and it is fun. After I installed and set up Hammer and loaded the sdk_de_cbble.vmf I tried to test it by Run the map (F9). It takes a long time to compile, but it is ok. I shut down a machine and another day dawns. Now I experienced that when I play CS or CS:CZ the game just slows down sometimes even if I just run straight. Happens with CS:CZ Deleted Scenes, online game, no matter what I do...

My guess is that some debug setting is set and CS detects that but won't warn me about thats a debug mode or something. It is also strange, that numlock just stops the client which is another hint to think it is some kind of debug mode.

The SDK has a menuitem which entitled as 'Reset Game Configurtions' but it didn't fix this issue...

Any idea how can I get back my game?

Any idea will be greatly appreciated (beside I will be driven mad with the current situation).

I could delete all local content but due I have limited internet connection (and I have to pay for EVERY BIT I download or upload) reinstalling is not an option (and I'm just not sure it will help at all :(((

Is someone going to post news on the Friends Beta? Regular K

Wiki Policy suggestion

To cut down on the amount of useless unlinked articles lost in the main namespace, I recommend a general policy of no-support, i.e. not allowing people to ask questions pertinent to individual projects of theirs directly on the wiki. We still have the Chatbear forums, and forums are a much better medium for getting help with things.
On the same note, I do suggest we post solutions to common problems, but make sure they're linked on a page. We already have a lot of dead-end pages that should be dealt with, as well as Unused images. Personally, I believe that Valve should look into having other sysops, considering they have non-employee moderators on the forums. This would give the community a better standing against trolls and other problems we face every so often, as obviously the current admins can't always be here to watch over it (they, unlike us, have jobs!) ;) --AndrewNeo 17:14, 8 Feb 2006 (PST)

64-bit windows: no SSDK?


I have a strange problem, maybe you can help me. I can't find anything similar in your support FAQ, and noone answered me on the email.

About a year ago I traveled to London, there was free broadband internet, and I downloaded full HL2, CS:S, HL2:DM, Codename: Gordon, Source SDK and Source Dedicated Server. I saved all in backup file, bring the file to my home and successfully backup(ed) steam. After that, steam downloaded about 600 mb (update) (it's about 20$ for me... :/). But it doesen't matter. I have WinXP 64-bit edition. In HL2, i saw in the top of screen sign: "64-bit mode enabled" (it's good :))... But problem is... SSDK won't work anyway! If I'm trying to run installed separetely Hammer and then configure it, Windows catching an error and Hammer closing. From steam when I'm pressing "Source SDK" I see sign "loading..." for about 5 secs, then mouse cursor with "sand clocks", and then nothing... Is there special Hammer or SDK tools for 64-bit systems? You developing them or SSDK 32-bit vers. should work on 64-bit system? Why SSDK from steam won't run? Can you help me?

Computer is:

- AMD Athlon 64 FX-55 - ATI (Sapphire) Radeon X850XT PCI-X - nVidia nForce4 motherboard/chipset (model A8N-SLI Deluxe) - Enought hard disk space and 2GB RAM.

I think that's all reasonable information. Please, answer me. Better on [email protected]


+++ SOLUTION FOUND. Thanks goes to Tyler :) To run SDK on 64-bit systems, run HL2 with console parameter -32bit. Then exit HL2. Now SDK should work! --- BUT STILL WAITING for 64-bit SDK support from VALVE!