Jump to content
Dosentti

[CS:GO] How have you set up your environment?

Recommended Posts

I worked as a web programmer for a year and  a half and during that time I had to set up myself all those environments for the projects. That was pain in the ass but after setting up the environment properly everything is so much easier. I would like to set up the hammer/csgo environment with all the custom textures, models and sounds so that I can keep those in my cloud drive and autopack it when I compile. That way I don't have to worry about deleting my work if I restore my windows or verify csgo gamefiles. (I actually managed to delete about 200h of my work because I hadn't set the environment properly.)

Few years ago when I was actively designing CS:GO maps (I'm not pro though), I tried to set up my custom gamefiles and pack them the way Tophattwaffle instructs in his blogpost Custom Content Without Contamination.   I couldn't get it to work. So yesterday I tried again without success. Now I'm looking for a fix to the Tophattwaffle's tutorial or other alternatives of how to set all content in csgo/hammer/cloud drive and autopack it when compiling.

Problem this time was with my commands I guess. I got this kind of error:

My last compile log looks like this:

Spoiler

 

8 threads
reading d:\mega_new\projects\farm2019\raw_content\maps\de_farm2019_layout.bsp
reading d:\mega_new\projects\farm2019\raw_content\maps\de_farm2019_layout.prt
 364 portalclusters
1033 numportals
0...1...2...3...4...5...6...7...8...9...100...1...2...3...4...5...6...7...8...9...10Optimized: 370 visible clusters (0.00%)
Total clusters visible: 64634
Average clusters visible: 177
Building PAS...
Average clusters audible: 352
visdatasize:34619  compressed from 34944
writing d:\mega_new\projects\farm2019\raw_content\maps\de_farm2019_layout.bsp
MSG_FILEWRITE - Filesystem was asked to write to 'd:\mega_new\projects\farm2019\raw_content\maps\de_farm2019_layout.bsp', but we don't own that location. Allowing...
2 seconds elapsed

 

[Reading texlights from 'lights.rad']
[17 texlights parsed from 'lights.rad']

Loading d:\mega_new\projects\farm2019\raw_content\maps\de_farm2019_layout.bsp
1191 faces
474564 square feet [68337312.00 square inches]
0 Displacements
0 Square Feet [0.00 Square Inches]
1191 patches before subdivision
25533 patches after subdivision
9 direct lights
0...1...2...3...4...5...6...7...8...9...100...1...2...3...4...5...6...7...8...9...10transfers 1325183, max 329
transfer lists:  10.1 megs
0...1...2...3...4...5...6...7...8...9...10    Bounce #1 added RGB(36077, 30540, 25732)
0...1...2...3...4...5...6...7...8...9...10    Bounce #2 added RGB(2551, 2115, 1638)
0...1...2...3...4...5...6...7...8...9...10    Bounce #3 added RGB(203, 166, 117)
0...1...2...3...4...5...6...7...8...9...10    Bounce #4 added RGB(18, 15, 10)
0...1...2...3...4...5...6...7...8...9...10    Bounce #5 added RGB(2, 1, 1)
0...1...2...3...4...5...6...7...8...9...10    Bounce #6 added RGB(0, 0, 0)
Build Patch/Sample Hash Table(s).....Done<0.0036 sec>
0...1...2...3...4...5...6...7...8...9...10FinalLightFace Done
0 of 0 (0% of) surface lights went in leaf ambient cubes.
0...1...2...3...4...5...6...7...8...9...10Writing leaf ambient...done
Computing static prop lighting : 00...1...2...3...4...5...6...7...8...9...10
Ready to Finish

Object names       Objects/Maxobjs  Memory / Maxmem  Fullness
------------       ---------------  ---------------  --------
models                   4/1024          192/49152    ( 0.4%)
brushes                157/8192         1884/98304    ( 1.9%)
brushsides            1081/81920        8648/655360   ( 1.3%)
planes                 642/65536       12840/1310720  ( 1.0%)
vertexes              1732/65536       20784/786432   ( 2.6%)
nodes                  732/65536       23424/2097152  ( 1.1%)
texinfos                98/12288        7056/884736   ( 0.8%)
texdata                  4/4096          128/131072   ( 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_multiblend          0/0               0/0        ( 0.0%)
disp_lmsamples           0/0               0/0        ( 0.0%)
faces                 1191/65536       66696/3670016  ( 1.8%)
hdr faces             1191/65536       66696/3670016  ( 1.8%)
origfaces              567/65536       31752/3670016  ( 0.9%)
facebrushes            121/0             242/0        ( 0.0%)
facebrushlists        1191/0            4764/0        ( 0.0%)
leaves                 737/65536       23584/2097152  ( 1.1%)
leaffaces             1337/65536        2674/131072   ( 2.0%)
leafbrushes            392/65536         784/131072   ( 0.6%)
areas                    2/1024           16/8192     ( 0.2%)
surfedges             7936/512000      31744/2048000  ( 1.5%)
edges                 4403/256000      17612/1024000  ( 1.7%)
LDR worldlights          0/8192            0/819200   ( 0.0%)
HDR worldlights          9/8192          900/819200   ( 0.1%)
leafwaterdata            0/32768           0/393216   ( 0.0%)
waterstrips            106/32768        1060/327680   ( 0.3%)
waterverts               0/65536           0/786432   ( 0.0%)
waterindices          2022/65536        4044/131072   ( 3.1%)
cubemapsamples           1/1024           16/16384    ( 0.1%)
overlays                 0/1024            0/360448   ( 0.0%)
LDR lightdata         [variable]           0/0        ( 0.0%)
HDR lightdata         [variable]      787480/0        ( 0.0%)
visdata               [variable]       34619/16777216 ( 0.2%)
entdata               [variable]        4384/393216   ( 1.1%)
LDR ambient table      737/65536        2948/262144   ( 1.1%)
HDR ambient table      737/65536        2948/262144   ( 1.1%)
LDR leaf ambient       737/65536       20636/1835008  ( 1.1%)
HDR leaf ambient      3402/65536       95256/1835008  ( 5.2%)
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/446      ( 0.2%)
pakfile               [variable]      585318/0        ( 0.0%)
physics               [variable]       64351/4194304  ( 1.5%)
physics terrain       [variable]           2/1048576  ( 0.0%)

Level flags = 7e

Total triangle count: 3276
Writing d:\mega_new\projects\farm2019\raw_content\maps\de_farm2019_layout.bsp
MSG_FILEWRITE - Filesystem was asked to write to 'd:\mega_new\projects\farm2019\raw_content\maps\de_farm2019_layout.bsp', but we don't own that location. Allowing...
10 seconds elapsed

 

In the end it also said:

"Need more parameters:

para[0] = Current output

para[1] = Output file"

But it didn't somehow save it to the logs.

 

My compiling settings look like this:

Spoiler

 

$bsp_exe -game $gamedir $path\$file

$vis_exe -game $gamedir $path\$file

$light_exe -textureshadows -hdr -StaticPropLighting -StaticPropPolys -game $gamedir $path\$file

<path_to_BSPZIPWalker.exe> "D:\Mega_new\Projects\Farm2019\Content\" "D:\Mega_new\Projects\Farm2019\Raw_Content\Maps\de_farm2019-filelist.txt"

<path_to_bspzip.exe> -addorupdatelist $path\$file.bsp $path\$file-filelist.txt $path\$file.bsp

Copy File $path\$file.bsp $bspdir\$file.bsp

($game_exe -windowed -w 1920 -h 1080 -toconsole -dev -console +sv_lan 1 -game "D:\Steam\steamapps\common\Counter-Strike Global Offensive\csgo" +map $file)

 

 

Share this post


Link to post
Share on other sites
1 hour ago, Dosentti said:

<path_to_BSPZIPWalker.exe> "D:\Mega_new\Projects\Farm2019\Content\" "D:\Mega_new\Projects\Farm2019\Raw_Content\Maps\de_farm2019-filelist.txt" 

Does it work if you remove the "\" after content?

Share this post


Link to post
Share on other sites
5 hours ago, spa said:

Does it work if you remove the "\" after content?

Dude... :D

You just humiliated me big time.. :D

But I can't be other than thankful! Thousand thanks.. I guess fresh eyes did it again :'D

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...