Wierd source SDK errors

Wierd source SDK errors

Re: Wierd source SDK errors Posted by ckslayer22 on Mon Aug 21st 2006 at 4:05am
ckslayer22
7 posts
Posted 2006-08-21 4:05am
7 posts 1 snarkmarks Registered: Aug 21st 2006
Okay When I go into My SDK launcher the one with the tools and what not.
I get an error when i try to load Hammer that says "%1 is not a valid win32 application". Okay correct me if Im wrong but doesnt a percent sign in a file or folder mean its Temporary.See going on this idea i tried to reinstall th sdk thinking its just got corrupted during the download but I still get the same error.
Re: Wierd source SDK errors Posted by midkay on Mon Aug 21st 2006 at 6:19am
midkay
398 posts
Posted 2006-08-21 6:19am
midkay
member
398 posts 120 snarkmarks Registered: Apr 15th 2005 Location: United States
I have no idea why it doesn't work, but just for the record, a "%" doesn't indicate temporary, it indicates a variable (for example, one I use daily: %appdata% which would bring you to your c:\documents and settings\username\application data folder).
-- midkay
Re: Wierd source SDK errors Posted by ckslayer22 on Mon Aug 21st 2006 at 6:25am
ckslayer22
7 posts
Posted 2006-08-21 6:25am
7 posts 1 snarkmarks Registered: Aug 21st 2006
wow thanks for clearing up that confusion for me. but then that means the SDK is trying to load a varible?
Re: Wierd source SDK errors Posted by wil5on on Mon Aug 21st 2006 at 9:38am
wil5on
1733 posts
Posted 2006-08-21 9:38am
wil5on
member
1733 posts 570 snarkmarks Registered: Dec 12th 2003 Occupation: Mapper Location: Adelaide
Looks like they just screwed up coding that dialog. Try refreshing your SDK content, sounds like your hammer.exe might be broken somehow.
"If you talk at all during this lesson, you have detention. Do you understand?"
  • My yr11 Economics teacher
Re: Wierd source SDK errors Posted by ckslayer22 on Mon Aug 21st 2006 at 4:06pm
ckslayer22
7 posts
Posted 2006-08-21 4:06pm
7 posts 1 snarkmarks Registered: Aug 21st 2006
I thought that maybe the dialouge was busted so i tried running the exe through its directoray but when i do that i get a different error messages one is could not load gameinfo.txt and could not load steam app user info.
Re: Wierd source SDK errors Posted by fishy on Mon Aug 21st 2006 at 4:28pm
fishy
2623 posts
Posted 2006-08-21 4:28pm
fishy
member
2623 posts 1476 snarkmarks Registered: Sep 7th 2003 Location: glasgow
the different engine versions that run the various mods were causing editing problems. so part the last update was to make it so that when you run hammer, the sdk launcher would load the most up to date versions of dll's etc, even if the mod you are editing for still has the old dll's etc. that's why double clicking the exe, or using a desktop shortcut is borked.

the other error message about gameinfo.txt looks like the one you'd get if you re-install the game and don't actually play it before you load hammer.
i eat paint
Re: Wierd source SDK errors Posted by ckslayer22 on Mon Aug 21st 2006 at 11:11pm
ckslayer22
7 posts
Posted 2006-08-21 11:11pm
7 posts 1 snarkmarks Registered: Aug 21st 2006
I dont now if this will help but heres the gameinfo.txt for half life 2:
"GameInfo"
{
game "HALF-LIFE 2"
title "HALF-LIFE'"
type singleplayer_only

FileSystem
{
SteamAppId 220 // This will mount all the GCFs we need (240=CS:S, 220=HL2).
ToolsAppId 211 // Tools will load this (ie: source SDK caches) to get things like materials\debug, materials\editor, etc.

//
// The code that loads this file automatically does a few things here:
//
// 1. For each "Game" search path, it adds a "GameBin" path, in <dir>\bin
// 2. For each "Game" search path, it adds another "Game" path in front of it with _<langage> at the end.
// For example: c:\hl2\cstrike on a french machine would get a c:\hl2\cstrike_french path added to it.
// 3. For the first "Game" search path, it adds a search path called "MOD".
// 4. For the first "Game" search path, it adds a search path called "DEFAULT_WRITE_PATH".
//

//
// Search paths are relative to the base directory, which is where hl2.exe is found.
//
// |gameinfo_path| points at the directory where gameinfo.txt is.
// We always want to mount that directory relative to gameinfo.txt, so
// people can mount stuff in c:\mymod, and the main game resources are in
// someplace like c:\program files\valve\steam\steamapps\half-life 2.
//
SearchPaths
{
Game |gameinfo_path|.
Game hl2
}
}
}