Help with Hammer Created 11 years ago2013-10-17 11:00:48 UTC by Dawley Dawley

Created 11 years ago2013-10-17 11:00:48 UTC by Dawley Dawley

Posted 11 years ago2013-10-17 11:00:48 UTC Post #316311
Hey guys!

First post here in years, so I'll sum it up in a sentence or two: real life took me away from Hammer for a while, and not being able to select textures in 3D view was frustrating to a large degree.

Anywho, this week I decided to have another go at mapping, and surprise - the Half-Life SDK is on Steam! In trying to run this I've hit a few snags. Actually creating blocks works fine, but when I try to run a map I've made the game starts up and says it can't find the map file.

I know I've done something wrong in setting up Hammer, but I have no idea what that is, exactly. Here's the log:
** Executing...
** Command: Change Directory
** Parameters: C:Program Files (x86)SteamsteamappscommonHalf-Life

** Executing...
** Command: Copy File
** Parameters: "C:Program Files (x86)SteamsteamappscommonHalf-Life SDKHammer Editormapstest5.map" "C:Program Files (x86)SteamsteamappscommonHalf-Lifevalvemapstest5.map"

** Executing...
** Command: C:PROGRA~2SteamSTEAMA~1commonHALF-L~2HAMMER~1toolsqcsg.exe
** Parameters: "C:Program Files (x86)SteamsteamappscommonHalf-Lifevalvemapstest5"

qcsg.exe v2.8 (Jan 31 2000)
-- qcsg --
entering C:Program Files (x86)SteamsteamappscommonHalf-Lifevalvemapstest5.map

********** ERROR **********
Token too large on line 5

** Executing...
** Command: C:PROGRA~2SteamSTEAMA~1commonHALF-L~2HAMMER~1toolsqbsp2.exe
** Parameters: "C:Program Files (x86)SteamsteamappscommonHalf-Lifevalvemapstest5"

qbsp2.exe v2.2 (Dec 28 1998)
-- qbsp2 --

********** ERROR **********
Can't open C:Program Files (x86)SteamsteamappscommonHalf-Lifevalvemapstest5.p0

** Executing...
** Command: C:PROGRA~2SteamSTEAMA~1commonHALF-L~2HAMMER~1toolsvis.exe
** Parameters: "C:Program Files (x86)SteamsteamappscommonHalf-Lifevalvemapstest5"

vis.exe v1.3 (Dec 30 1998)
-- vis --
4 thread(s)

********** ERROR **********
Error opening C:Program Files (x86)SteamsteamappscommonHalf-Lifevalvemapstest5.bsp: No such file or directory

** Executing...
** Command: C:PROGRA~2SteamSTEAMA~1commonHALF-L~2HAMMER~1toolsqrad.exe
** Parameters: "C:Program Files (x86)SteamsteamappscommonHalf-Lifevalvemapstest5"

qrad.exe v 1.5 (Apr 6 2000)
--- Radiosity --
4 threads
[Reading texlights from 'C:PROGRA~2SteamSTEAMA~1commonHALF-L~2HAMMER~1toolslights.rad']
[1 texlights parsed from 'C:PROGRA~2SteamSTEAMA~1commonHALF-L~2HAMMER~1toolslights.rad']

********** ERROR **********
Error opening C:Program Files (x86)SteamsteamappscommonHalf-Lifevalvemapstest5.bsp: No such file or directory
Any help is greatly appreciated. Thanks!
Posted 11 years ago2013-10-17 12:55:14 UTC Post #316312
Hey Dawley - Welcome back!

I'm not sure about using the Half-Life SDK - I think its generally accepted here at TWHL to use Hammer 3.5 with the new VHLT compile tools.
Hammer
http://twhl.info/links.php
Latest VHLT Compile Tools
http://twhl.info/forums.php?thread=17830

Maybe try a batch compiler? The Mighty Atom coded a great user interface for compiling.
Compilator
http://twhl.info/forums.php?thread=14161
Tetsu0 Tetsu0Positive Chaos
Posted 11 years ago2013-10-17 21:53:25 UTC Post #316324
Hey man, thanks for the tips!

I went for the Source SDK because when I tried Hammer 3.5, a Trojan got onto my comp. The main problem I've got with this one is I'm not sure where the maps are going - the prebuilt maps in the SDK and one of the test maps have compiled and loaded fine, so I have no idea what I'm doing wrong.
Posted 11 years ago2013-10-17 22:02:16 UTC Post #316325
Hammer 3.5 is just an executable that you patch on top of 3.4 - you can download it at The Mighty Atom's website which I can assure you is virus-free :)

Definitely set up VHLT and it will probably fix your error.

The error you're getting is:
Token too large on line 5

In a .map file, line 5 seems around the spot the WAD files would go, how many WADs have you set up in Hammer? How long are the file paths? The old compile tools may not be able to handle large paths. Without seeing the map file that would be my initial guess.
Penguinboy PenguinboyHaha, I died again!
Posted 11 years ago2013-10-17 22:11:05 UTC Post #316326
Wait.. source sdk?
Are you mapping for Source or GoldSource?

Also, What Pengy said.

I've found it easier to relocate all your tools and maps to a folder right in the C drive. (or whichever storage drive you're using)

I have a THOR folder so mine is C:|THOR|Maps or |Tools etc..
Tetsu0 Tetsu0Positive Chaos
Posted 11 years ago2013-10-18 10:52:02 UTC Post #316336
I'm mapping Goldsource. There's a Half-Life 1 SDK available on Steam.

Anywho! I removed most of the wads that were being used, and now the maps are testing fine. I have another problem, though; when I add the Absolut Vodka texture wad, it comes up with an error message about halfway through loading the map saying the file couldn't be opened.

Any idea what that's all about?
Posted 11 years ago2013-10-18 12:30:44 UTC Post #316340
My initial guess would be a missing file or incorrect texture resolution.
Without an actual error message however, i can't help much.
Double-check to make sure the wads are in the valve folder?

Maybe post a screenshot of the error?
Tetsu0 Tetsu0Positive Chaos
Posted 11 years ago2013-10-20 11:52:47 UTC Post #316379
The wad files weren't in the Valve folder. All solved!
You must be logged in to post a response.