Problem with Loading Skybox File

NotGsuper

L1: Registered
Dec 19, 2022
26
1
I've run into an issue while compiling my map which seems to be caused by the usage of an invalid skybox texture. This is quite odd considering that the tutorial video I was watching, linkie here, instructed me to use this very especific skybox texture and didn't seem to run into any issues. Funnily enough this same error message showed up before I even had any skybox textures, how can you have the wrong skybox texture if there is no skybox texture in the map?

Anyways, I used that interlopers compile log checker in search of an answer, and, although it did find a potential solution, I cannot begin to understand what is that I need to do, especially when it mentions editing file, no way I'm touching those without knowing what I'm doing.

I think it is important to note that I did install A Boojum Snark's ultimate resource pack. Just feel like I should say it.

I attached the .vmf file of the map, it's just a box with not much in it.

I don't really know what else I should say so here's the compile log:
** 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\experimental_map_learning.vmf"

Valve Software - vbsp.exe (Dec 9 2022)
4 threads
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\experimental_map_learning.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)
FixTjuncs...
PruneNodes...
WriteBSP...
done (0)
writing C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\sourcesdk_content\tf\mapsrc\experimental_map_learning.prt...Building visibility clusters...
done (0)
*** Error: Skybox vtf files for skybox/sky_tf2_04 weren't compiled with the same size texture and/or same flags!
Can't load skybox file skybox/sky_tf2_04 to build the default cubemap!
*** Error: Skybox vtf files for skybox/sky_tf2_04 weren't compiled with the same size texture and/or same flags!
Can't load skybox file skybox/sky_tf2_04 to build the default cubemap!
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) (4207 bytes)
Placing detail props : 0...1...2...3...4...5...6...7...8...9...10
Compacting texture/material tables...
Reduced 13 texinfos to 7
Reduced 3 texdatas to 3 (69 bytes to 69)
Writing C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\sourcesdk_content\tf\mapsrc\experimental_map_learning.bsp
ZIP Output overshot buffer estimate: Estimated 0, actual 54
0 seconds elapsed

** 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\experimental_map_learning"

Valve Software - vvis.exe (Dec 9 2022)
4 threads
reading c:\program files (x86)\steam\steamapps\common\team fortress 2\sourcesdk_content\tf\mapsrc\experimental_map_learning.bsp
reading c:\program files (x86)\steam\steamapps\common\team fortress 2\sourcesdk_content\tf\mapsrc\experimental_map_learning.prt
6 portalclusters
8 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 (0)
Optimized: 0 visible clusters (0.00%)
Total clusters visible: 36
Average clusters visible: 6
Building PAS...
Average clusters audible: 6
visdatasize:64 compressed from 96
writing c:\program files (x86)\steam\steamapps\common\team fortress 2\sourcesdk_content\tf\mapsrc\experimental_map_learning.bsp
ZIP Output overshot buffer estimate: Estimated 0, actual 54
0 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\experimental_map_learning"

Valve Software - vrad.exe SSE (Dec 9 2022)

Valve Radiosity Simulator
4 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\experimental_map_learning.bsp
Setting up ray-trace acceleration structure... Done (0.00 seconds)
31 faces
9111 square feet [1312049.38 square inches]
0 Displacements
0 Square Feet [0.00 Square Inches]
31 patches before subdivision
769 patches after subdivision
sun extent from map=0.000000
2 direct lights
BuildFacelights: 0...1...2...3...4...5...6...7...8...9...10 (0)
BuildVisLeafs: 0...1...2...3...4...5...6...7...8...9...10 (0)
transfers 39014, max 145
transfer lists: 0.3 megs
GatherLight: 0...1...2...3...4...5...6...7...8...9...10 (0)
Bounce #1 added RGB(620, 255, 115)
GatherLight: 0...1...2...3...4...5...6...7...8...9...10 (0)
Bounce #2 added RGB(88, 22, 5)
GatherLight: 0...1...2...3...4...5...6...7...8...9...10 (0)
Bounce #3 added RGB(19, 2, 0)
GatherLight: 0...1...2...3...4...5...6...7...8...9...10 (0)
Bounce #4 added RGB(4, 0, 0)
GatherLight: 0...1...2...3...4...5...6...7...8...9...10 (0)
Bounce #5 added RGB(1, 0, 0)
Build Patch/Sample Hash Table(s).....Done<0.0001 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 (0)
Writing leaf ambient...done
Ready to Finish

Object names Objects/Maxobjs Memory / Maxmem Fullness
------------ --------------- --------------- --------
models 1/1024 48/49152 ( 0.1%)
brushes 12/8192 144/98304 ( 0.1%)
brushsides 73/65536 584/524288 ( 0.1%)
planes 52/65536 1040/1310720 ( 0.1%)
vertexes 60/65536 720/786432 ( 0.1%)
nodes 32/65536 1024/2097152 ( 0.0%)
texinfos 7/12288 504/884736 ( 0.1%)
texdata 3/2048 96/65536 ( 0.1%)
dispinfos 0/0 0/0 ( 0.0%)
disp_verts 0/0 0/0 ( 0.0%)
disp_tris 0/0 0/0 ( 0.0%)
disp_lmsamples 0/0 0/0 ( 0.0%)
faces 31/65536 1736/3670016 ( 0.0%)
hdr faces 0/65536 0/3670016 ( 0.0%)
origfaces 15/65536 840/3670016 ( 0.0%)
leaves 34/65536 1088/2097152 ( 0.1%)
leaffaces 34/65536 68/131072 ( 0.1%)
leafbrushes 35/65536 70/131072 ( 0.1%)
areas 2/256 16/2048 ( 0.8%)
surfedges 191/512000 764/2048000 ( 0.0%)
edges 118/256000 472/1024000 ( 0.0%)
LDR worldlights 2/8192 176/720896 ( 0.0%)
HDR worldlights 0/8192 0/720896 ( 0.0%)
leafwaterdata 0/32768 0/393216 ( 0.0%)
waterstrips 1/32768 10/327680 ( 0.0%)
waterverts 0/65536 0/786432 ( 0.0%)
waterindices 12/65536 24/131072 ( 0.0%)
cubemapsamples 0/1024 0/16384 ( 0.0%)
overlays 0/512 0/180224 ( 0.0%)
LDR lightdata [variable] 11256/0 ( 0.0%)
HDR lightdata [variable] 0/0 ( 0.0%)
visdata [variable] 64/16777216 ( 0.0%)
entdata [variable] 623/393216 ( 0.2%)
LDR ambient table 34/65536 136/262144 ( 0.1%)
HDR ambient table 34/65536 136/262144 ( 0.1%)
LDR leaf ambient 96/65536 2688/1835008 ( 0.1%)
HDR leaf ambient 34/65536 952/1835008 ( 0.1%)
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/12 ( 8.3%)
pakfile [variable] 54/0 ( 0.0%)
physics [variable] 4207/4194304 ( 0.1%)
physics terrain [variable] 2/1048576 ( 0.0%)

Level flags = 0

Total triangle count: 70
Writing c:\program files (x86)\steam\steamapps\common\team fortress 2\sourcesdk_content\tf\mapsrc\experimental_map_learning.bsp
ZIP Output overshot buffer estimate: Estimated 0, actual 54
0 seconds elapsed

** Executing...
** Command: Copy File
** Parameters: "C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\sourcesdk_content\tf\mapsrc\experimental_map_learning.bsp" "C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\tf\maps\experimental_map_learning.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" +map "experimental_map_learning" -steam
 

Attachments

  • experimental_map_learning.vmf
    20.7 KB · Views: 82
Solution
Aparently the problem had nothing to do with the skybox, its just my computer being bad. Just had to check the "Don't run the game after compiling" box and open the map using the console in game.
D

Deleted member 27649

you can ignore those skybox errors. unless there is any issue with the map besides that?

bonus: that forum thread is from before hl2ep1 even released, seems to be just some people confused about the then new hdr skybox stuff until they eventually figure out that the errors they were getting were meaningless. the fix someone gives 4 years later is just for completeness' sake and only useful for folk making custom skyboxes. lovely time capsule, though
 

NotGsuper

L1: Registered
Dec 19, 2022
26
1
you can ignore those skybox errors. unless there is any issue with the map besides that?

bonus: that forum thread is from before hl2ep1 even released, seems to be just some people confused about the then new hdr skybox stuff until they eventually figure out that the errors they were getting were meaningless. the fix someone gives 4 years later is just for completeness' sake and only useful for folk making custom skyboxes. lovely time capsule, though
First of all thank you for the response, but yes there is another issue, which is the fact that, when I compile the map and open it in the game, it spends a few moments on the loading screen and then just closes itself. No other warnings or errors, it just closes itself. I assumed that the only error that showed up on the compile log must had been the problem, but as you say it shouldn't be.
 
D

Deleted member 27649

without literally being the owner of your compy I can only recommend standard troubleshooting, such as loading the game / compiling the map with no custom content mounted, deleting .cache files, making sure your configs aren't doing anything funny, making sure your compy isn't doing anything funny or running out of resources, trying different maps, file integrity check etc

i've downloaded and compiled the map with vbps, vvis, and vrad -both -final, and got no issues running it
 

NotGsuper

L1: Registered
Dec 19, 2022
26
1
Aparently the problem had nothing to do with the skybox, its just my computer being bad. Just had to check the "Don't run the game after compiling" box and open the map using the console in game.
 
Solution