Can't use the run button for ANY map on hammer (and won't convert to bsp)

Trevorus

L1: Registered
Jan 19, 2024
11
0
(The image has the settings I used, these settings used to work before)

I haven't used hammer in maybe 4-5 months so idk, 64 bit update did something to it?
 

Attachments

  • Screenshot (207).png
    Screenshot (207).png
    19 KB · Views: 17
Solution
** Command: "C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\hl2.exe"
Hammer is trying to open the old TF2 exe, in hammer go to Tools > Options > Build programs > Game executable and find the new 64 bit TF2 executable in the same folder
* Could not execute the command:
"C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\bin\x64" -game "C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\tf" "C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\sourcesdk_content\tf\mapsrc\Dustmountain.vmf"
* Windows gave the error message:
"The operation completed successfully."
Not exactly sure what this is but if it is what I think it is try making a new vmf, copy pasting everything from the...

Trevorus

L1: Registered
Jan 19, 2024
11
0
Without any error messages, it's very hard to help. Did you follow the readme in the updated download? You have to install things under /bin/x64/ now.
I'll paste what it said

** Executing...
** Command: "C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\bin\vbsp.exe"
** Parameters: -game "C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\tf" "C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\sourcesdk_content\tf\mapsrc\Dustmountain.vmf"

Valve Software - vbsp.exe (Apr 22 2024)
12 threads
Using shader api: shaderapiempty.dll
materialPath: C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\tf\materials
Loading C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\sourcesdk_content\tf\mapsrc\Dustmountain.vmf
fixing up env_cubemap materials on brush sides...
ProcessBlock_Thread: 0...1...2...3...4...5...6...7...8...9...10 (0)
ProcessBlock_Thread: 0...1...2...3...4...5...6...7...8...9...10 (0)
Processing areas...done (0)
Building Faces...done (0)
Chop Details...done (0)
Find Visible Detail Sides...
Merged 2 detail faces...done (0)
Merging details...done (0)
FixTjuncs...
PruneNodes...
WriteBSP...
done (0)
writing C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\sourcesdk_content\tf\mapsrc\Dustmountain.prt...Building visibility clusters...
done (0)
Creating default LDR cubemaps for env_cubemap using skybox materials:
skybox/sky_hydro_01*.vmt
! Run buildcubemaps in the engine to get the correct cube maps.
Creating default HDR cubemaps for env_cubemap using skybox materials:
skybox/sky_hydro_01*.vmt
! Run buildcubemaps in the engine to get the correct cube maps.
Finding displacement neighbors...
Finding lightmap sample positions...
Displacement Alpha : 0...1...2...3...4...5...6...7...8...9...10
Building Physics collision data...
done (0) (96607 bytes)
Placing detail props : 0...1...2...3...4...5...6...7...8...9...10
Compacting texture/material tables...
Reduced 549 texinfos to 351
Reduced 14 texdatas to 14 (309 bytes to 309)
Writing C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\sourcesdk_content\tf\mapsrc\Dustmountain.bsp
Wrote ZIP buffer, estimated size 105893, actual size 105679
1 second elapsed
0.130485 -0.022887 0.000000
-0.348282 -0.006133 0.000000
-0.348282 -0.006133 0.000000
-0.361837 -0.022887 0.000000
make_triangles:calc_triangle_representation: Cannot convert
0.130485 -0.022887 0.000000
-0.348282 -0.006133 0.000000
-0.348282 -0.006133 0.000000
-0.361837 -0.022887 0.000000
make_triangles:calc_triangle_representation: Cannot convert

** Executing...
** Command: "C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\bin\vvis.exe"
** Parameters: -game "C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\tf" "C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\sourcesdk_content\tf\mapsrc\Dustmountain"

Valve Software - vvis.exe (Apr 22 2024)
12 threads
reading c:\program files (x86)\steam\steamapps\common\team fortress 2\sourcesdk_content\tf\mapsrc\Dustmountain.bsp
reading c:\program files (x86)\steam\steamapps\common\team fortress 2\sourcesdk_content\tf\mapsrc\Dustmountain.prt
571 portalclusters
1399 numportals
BasePortalVis: 0...1...2...3...4...5...6...7...8...9...10 (0)
PortalFlow: 0...1...2...3...4...5...6...7...8...9...10 (2)
Optimized: 442 visible clusters (0.29%)
Total clusters visible: 153731
Average clusters visible: 269
Building PAS...
Average clusters audible: 560
visdatasize:83617 compressed from 82224
writing c:\program files (x86)\steam\steamapps\common\team fortress 2\sourcesdk_content\tf\mapsrc\Dustmountain.bsp
2 seconds elapsed

** Executing...
** Command: "C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\bin\vrad.exe"
** Parameters: -game "C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\tf" "C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\sourcesdk_content\tf\mapsrc\Dustmountain"

Valve Software - vrad.exe SSE (Apr 22 2024)

Valve Radiosity Simulator
12 threads
[Reading texlights from 'lights.rad']
unknown light specifier type - lights

[56 texlights parsed from 'lights.rad']

Loading c:\program files (x86)\steam\steamapps\common\team fortress 2\sourcesdk_content\tf\mapsrc\Dustmountain.bsp
Setting up ray-trace acceleration structure... Done (4.04 seconds)
2238 faces
606960 square feet [87402376.00 square inches]
5 Displacements
5269 Square Feet [758814.19 Square Inches]
2238 patches before subdivision
27596 patches after subdivision
sun extent from map=0.008727
20 direct lights
BuildFacelights: 0...1...2...3...4...5...6...7...8...9...10 (1)
BuildVisLeafs: 0...1...2...3...4...5...6...7...8...9...10 (0)
transfers 2818854, max 796
transfer lists: 21.5 megs
GatherLight: 0...1...2...3...4...5...6...7...8...9...10 (0)
Bounce #1 added RGB(170569, 133202, 125803)
GatherLight: 0...1...2...3...4...5...6...7...8...9...10 (1)
Bounce #2 added RGB(37400, 25132, 20667)
GatherLight: 0...1...2...3...4...5...6...7...8...9...10 (0)
Bounce #3 added RGB(9331, 5403, 3811)
GatherLight: 0...1...2...3...4...5...6...7...8...9...10 (0)
Bounce #4 added RGB(2554, 1279, 761)
GatherLight: 0...1...2...3...4...5...6...7...8...9...10 (0)
Bounce #5 added RGB(740, 322, 161)
GatherLight: 0...1...2...3...4...5...6...7...8...9...10 (0)
Bounce #6 added RGB(226, 86, 36)
GatherLight: 0...1...2...3...4...5...6...7...8...9...10 (0)
Bounce #7 added RGB(72, 24, 8)
GatherLight: 0...1...2...3...4...5...6...7...8...9...10 (0)
Bounce #8 added RGB(24, 7, 2)
GatherLight: 0...1...2...3...4...5...6...7...8...9...10 (0)
Bounce #9 added RGB(8, 2, 0)
GatherLight: 0...1...2...3...4...5...6...7...8...9...10 (0)
Bounce #10 added RGB(3, 1, 0)
GatherLight: 0...1...2...3...4...5...6...7...8...9...10 (0)
Bounce #11 added RGB(1, 0, 0)
Build Patch/Sample Hash Table(s).....Done<0.0044 sec>
FinalLightFace: 0...1...2...3...4...5...6...7...8...9...10 (0)
FinalLightFace Done
0 of 0 (0% of) surface lights went in leaf ambient cubes.
ThreadComputeLeafAmbient: 0...1...2...3...4...5...6...7...8...9...10 (1)
Writing leaf ambient...done
Ready to Finish

Object names Objects/Maxobjs Memory / Maxmem Fullness
------------ --------------- --------------- --------
models 2/1024 96/49152 ( 0.2%)
brushes 258/8192 3096/98304 ( 3.1%)
brushsides 1993/65536 15944/524288 ( 3.0%)
planes 1282/65536 25640/1310720 ( 2.0%)
vertexes 3891/65536 46692/786432 ( 5.9%)
nodes 1195/65536 38240/2097152 ( 1.8%)
texinfos 351/12288 25272/884736 ( 2.9%)
texdata 14/2048 448/65536 ( 0.7%)
dispinfos 5/0 880/0 ( 0.0%)
disp_verts 405/0 8100/0 ( 0.0%)
disp_tris 640/0 1280/0 ( 0.0%)
disp_lmsamples 13608/0 13608/0 ( 0.0%)
faces 2238/65536 125328/3670016 ( 3.4%)
hdr faces 0/65536 0/3670016 ( 0.0%)
origfaces 767/65536 42952/3670016 ( 1.2%)
leaves 1198/65536 38336/2097152 ( 1.8%)
leaffaces 2495/65536 4990/131072 ( 3.8%)
leafbrushes 1101/65536 2202/131072 ( 1.7%)
areas 2/256 16/2048 ( 0.8%)
surfedges 13563/512000 54252/2048000 ( 2.6%)
edges 7601/256000 30404/1024000 ( 3.0%)
LDR worldlights 20/8192 1760/720896 ( 0.2%)
HDR worldlights 0/8192 0/720896 ( 0.0%)
leafwaterdata 0/32768 0/393216 ( 0.0%)
waterstrips 152/32768 1520/327680 ( 0.5%)
waterverts 0/65536 0/786432 ( 0.0%)
waterindices 2799/65536 5598/131072 ( 4.3%)
cubemapsamples 0/1024 0/16384 ( 0.0%)
overlays 0/512 0/180224 ( 0.0%)
LDR lightdata [variable] 1020080/0 ( 0.0%)
HDR lightdata [variable] 0/0 ( 0.0%)
visdata [variable] 83617/16777216 ( 0.5%)
entdata [variable] 11263/393216 ( 2.9%)
LDR ambient table 1198/65536 4792/262144 ( 1.8%)
HDR ambient table 1198/65536 4792/262144 ( 1.8%)
LDR leaf ambient 5328/65536 149184/1835008 ( 8.1%)
HDR leaf ambient 1198/65536 33544/1835008 ( 1.8%)
occluders 0/0 0/0 ( 0.0%)
occluder polygons 0/0 0/0 ( 0.0%)
occluder vert ind 0/0 0/0 ( 0.0%)
detail props [variable] 1/12 ( 8.3%)
static props [variable] 1/12776 ( 0.0%)
pakfile [variable] 105679/0 ( 0.0%)
physics [variable] 96607/4194304 ( 2.3%)
physics terrain [variable] 1457/1048576 ( 0.1%)

Level flags = 0

Total triangle count: 6031
Writing c:\program files (x86)\steam\steamapps\common\team fortress 2\sourcesdk_content\tf\mapsrc\Dustmountain.bsp
7 seconds elapsed

** Executing...
** Command: Copy File
** Parameters: "C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\sourcesdk_content\tf\mapsrc\Dustmountain.bsp" "C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\tf\maps\Dustmountain.bsp"


** Executing...
** Command: "C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\hl2.exe"
** Parameters: -game "C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\tf" -windowed -noborder -w 1920 -h 1080 -novid +map "Dustmountain" -steam


Also i'll add a image of my build programs if that helps at all
 

Attachments

  • Screenshot (209).png
    Screenshot (209).png
    81 KB · Views: 5
Last edited:

spruce

L2: Junior Member
Aug 14, 2022
96
27
** Command: "C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\hl2.exe"
Hammer is trying to open the old TF2 exe, in hammer go to Tools > Options > Build programs > Game executable and find the new 64 bit TF2 executable in the same folder
* Could not execute the command:
"C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\bin\x64" -game "C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\tf" "C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\sourcesdk_content\tf\mapsrc\Dustmountain.vmf"
* Windows gave the error message:
"The operation completed successfully."
Not exactly sure what this is but if it is what I think it is try making a new vmf, copy pasting everything from the previous vmf and save the new one with a different name then try compiling, if it works It's probably hammer not being able to overwrite files, but don't quote me on that
 
Solution

Trevorus

L1: Registered
Jan 19, 2024
11
0
Hammer is trying to open the old TF2 exe, in hammer go to Tools > Options > Build programs > Game executable and find the new 64 bit TF2 executable in the same folder

Not exactly sure what this is but if it is what I think it is try making a new vmf, copy pasting everything from the previous vmf and save the new one with a different name then try compiling, if it works It's probably hammer not being able to overwrite files, but don't quote me on that
* Could not execute the command:
"C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\bin\x64" -game "C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\tf" "C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\sourcesdk_content\tf\mapsrc\Dustmountain.vmf"
* Windows gave the error message:
"The operation completed successfully."


That was just a small mistake that I undid right after sending the message lol, anyway hammer trying to open the old TF2 was correct and it now works :>