Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unnecessary files being copied #4

Open
wgetJane opened this issue May 17, 2021 · 1 comment
Open

unnecessary files being copied #4

wgetJane opened this issue May 17, 2021 · 1 comment

Comments

@wgetJane
Copy link

wgetJane commented May 17, 2021

many folders and files don't need to be copied because they're either unused or gmod already has identical versions of them

in particular, the unneeded files in models/weapons/ make it look like players are holding weapons with their crotch:
https://media.discordapp.net/attachments/538431794786336798/848156731821260830/unknown.png

these folders and everything inside them are not needed:

particles/
resource/
sound/weapons/
materials/console/
models/characters/
models/humans/

from models/player/, only the following files need to be copied:

models/player/ct_gign.sw.vtx
models/player/ct_gsg9.sw.vtx
models/player/ct_sas.sw.vtx
models/player/ct_urban.sw.vtx
models/player/t_arctic.sw.vtx
models/player/t_guerilla.sw.vtx
models/player/t_leet.sw.vtx
models/player/t_phoenix.sw.vtx

from models/weapons/, only the following files need to be copied:

models/weapons/v_c4.dx80.vtx
models/weapons/v_c4.dx90.vtx
models/weapons/v_c4.mdl
models/weapons/v_c4.sw.vtx
models/weapons/v_c4.vvd
models/weapons/v_eq_flashbang.dx80.vtx
models/weapons/v_eq_flashbang.dx90.vtx
models/weapons/v_eq_flashbang.mdl
models/weapons/v_eq_flashbang.sw.vtx
models/weapons/v_eq_flashbang.vvd
models/weapons/v_eq_fraggrenade.dx80.vtx
models/weapons/v_eq_fraggrenade.dx90.vtx
models/weapons/v_eq_fraggrenade.mdl
models/weapons/v_eq_fraggrenade.sw.vtx
models/weapons/v_eq_fraggrenade.vvd
models/weapons/v_eq_smokegrenade.dx80.vtx
models/weapons/v_eq_smokegrenade.dx90.vtx
models/weapons/v_eq_smokegrenade.mdl
models/weapons/v_eq_smokegrenade.sw.vtx
models/weapons/v_eq_smokegrenade.vvd
models/weapons/v_knife_t.dx80.vtx
models/weapons/v_knife_t.dx90.vtx
models/weapons/v_knife_t.mdl
models/weapons/v_knife_t.sw.vtx
models/weapons/v_knife_t.vvd
models/weapons/v_mach_m249para.dx80.vtx
models/weapons/v_mach_m249para.dx90.vtx
models/weapons/v_mach_m249para.mdl
models/weapons/v_mach_m249para.sw.vtx
models/weapons/v_mach_m249para.vvd
models/weapons/v_pist_deagle.dx80.vtx
models/weapons/v_pist_deagle.dx90.vtx
models/weapons/v_pist_deagle.mdl
models/weapons/v_pist_deagle.sw.vtx
models/weapons/v_pist_deagle.vvd
models/weapons/v_pist_elite.dx80.vtx
models/weapons/v_pist_elite.dx90.vtx
models/weapons/v_pist_elite.mdl
models/weapons/v_pist_elite.sw.vtx
models/weapons/v_pist_elite.vvd
models/weapons/v_pist_fiveseven.dx80.vtx
models/weapons/v_pist_fiveseven.dx90.vtx
models/weapons/v_pist_fiveseven.mdl
models/weapons/v_pist_fiveseven.sw.vtx
models/weapons/v_pist_fiveseven.vvd
models/weapons/v_pist_glock18.dx80.vtx
models/weapons/v_pist_glock18.dx90.vtx
models/weapons/v_pist_glock18.mdl
models/weapons/v_pist_glock18.sw.vtx
models/weapons/v_pist_glock18.vvd
models/weapons/v_pist_p228.dx80.vtx
models/weapons/v_pist_p228.dx90.vtx
models/weapons/v_pist_p228.mdl
models/weapons/v_pist_p228.sw.vtx
models/weapons/v_pist_p228.vvd
models/weapons/v_pist_usp.dx80.vtx
models/weapons/v_pist_usp.dx90.vtx
models/weapons/v_pist_usp.mdl
models/weapons/v_pist_usp.sw.vtx
models/weapons/v_pist_usp.vvd
models/weapons/v_rif_ak47.dx80.vtx
models/weapons/v_rif_ak47.dx90.vtx
models/weapons/v_rif_ak47.mdl
models/weapons/v_rif_ak47.sw.vtx
models/weapons/v_rif_ak47.vvd
models/weapons/v_rif_aug.dx80.vtx
models/weapons/v_rif_aug.dx90.vtx
models/weapons/v_rif_aug.mdl
models/weapons/v_rif_aug.sw.vtx
models/weapons/v_rif_aug.vvd
models/weapons/v_rif_famas.dx80.vtx
models/weapons/v_rif_famas.dx90.vtx
models/weapons/v_rif_famas.mdl
models/weapons/v_rif_famas.sw.vtx
models/weapons/v_rif_famas.vvd
models/weapons/v_rif_galil.dx80.vtx
models/weapons/v_rif_galil.dx90.vtx
models/weapons/v_rif_galil.mdl
models/weapons/v_rif_galil.sw.vtx
models/weapons/v_rif_galil.vvd
models/weapons/v_rif_m4a1.dx80.vtx
models/weapons/v_rif_m4a1.dx90.vtx
models/weapons/v_rif_m4a1.mdl
models/weapons/v_rif_m4a1.sw.vtx
models/weapons/v_rif_m4a1.vvd
models/weapons/v_rif_sg552.dx80.vtx
models/weapons/v_rif_sg552.dx90.vtx
models/weapons/v_rif_sg552.mdl
models/weapons/v_rif_sg552.sw.vtx
models/weapons/v_rif_sg552.vvd
models/weapons/v_shot_m3super90.dx80.vtx
models/weapons/v_shot_m3super90.dx90.vtx
models/weapons/v_shot_m3super90.mdl
models/weapons/v_shot_m3super90.sw.vtx
models/weapons/v_shot_m3super90.vvd
models/weapons/v_shot_xm1014.dx80.vtx
models/weapons/v_shot_xm1014.dx90.vtx
models/weapons/v_shot_xm1014.mdl
models/weapons/v_shot_xm1014.sw.vtx
models/weapons/v_shot_xm1014.vvd
models/weapons/v_smg_mac10.dx80.vtx
models/weapons/v_smg_mac10.dx90.vtx
models/weapons/v_smg_mac10.mdl
models/weapons/v_smg_mac10.sw.vtx
models/weapons/v_smg_mac10.vvd
models/weapons/v_smg_mp5.dx80.vtx
models/weapons/v_smg_mp5.dx90.vtx
models/weapons/v_smg_mp5.mdl
models/weapons/v_smg_mp5.sw.vtx
models/weapons/v_smg_mp5.vvd
models/weapons/v_smg_p90.dx80.vtx
models/weapons/v_smg_p90.dx90.vtx
models/weapons/v_smg_p90.mdl
models/weapons/v_smg_p90.sw.vtx
models/weapons/v_smg_p90.vvd
models/weapons/v_smg_tmp.dx80.vtx
models/weapons/v_smg_tmp.dx90.vtx
models/weapons/v_smg_tmp.mdl
models/weapons/v_smg_tmp.sw.vtx
models/weapons/v_smg_tmp.vvd
models/weapons/v_smg_ump45.dx80.vtx
models/weapons/v_smg_ump45.dx90.vtx
models/weapons/v_smg_ump45.mdl
models/weapons/v_smg_ump45.sw.vtx
models/weapons/v_smg_ump45.vvd
models/weapons/v_snip_awp.dx80.vtx
models/weapons/v_snip_awp.dx90.vtx
models/weapons/v_snip_awp.mdl
models/weapons/v_snip_awp.sw.vtx
models/weapons/v_snip_awp.vvd
models/weapons/v_snip_g3sg1.dx80.vtx
models/weapons/v_snip_g3sg1.dx90.vtx
models/weapons/v_snip_g3sg1.mdl
models/weapons/v_snip_g3sg1.sw.vtx
models/weapons/v_snip_g3sg1.vvd
models/weapons/v_snip_scout.dx80.vtx
models/weapons/v_snip_scout.dx90.vtx
models/weapons/v_snip_scout.mdl
models/weapons/v_snip_scout.sw.vtx
models/weapons/v_snip_scout.vvd
models/weapons/v_snip_sg550.dx80.vtx
models/weapons/v_snip_sg550.dx90.vtx
models/weapons/v_snip_sg550.mdl
models/weapons/v_snip_sg550.sw.vtx
models/weapons/v_snip_sg550.vvd
models/weapons/w_c4_planted.sw.vtx
models/weapons/w_c4.sw.vtx
models/weapons/w_defuser.sw.vtx
models/weapons/w_eq_eholster_elite.sw.vtx
models/weapons/w_eq_eholster.sw.vtx
models/weapons/w_eq_flashbang.sw.vtx
models/weapons/w_eq_flashbang_thrown.sw.vtx
models/weapons/w_eq_fraggrenade.sw.vtx
models/weapons/w_eq_fraggrenade_thrown.sw.vtx
models/weapons/w_eq_smokegrenade.sw.vtx
models/weapons/w_eq_smokegrenade_thrown.sw.vtx
models/weapons/w_knife_ct.sw.vtx
models/weapons/w_knife_t.sw.vtx
models/weapons/w_mach_m249para.sw.vtx
models/weapons/w_pist_deagle.sw.vtx
models/weapons/w_pist_elite_dropped.sw.vtx
models/weapons/w_pist_elite_single.sw.vtx
models/weapons/w_pist_elite.sw.vtx
models/weapons/w_pist_fiveseven.sw.vtx
models/weapons/w_pist_glock18.sw.vtx
models/weapons/w_pist_p228.sw.vtx
models/weapons/w_pist_usp_silencer.sw.vtx
models/weapons/w_pist_usp.sw.vtx
models/weapons/w_rif_ak47.sw.vtx
models/weapons/w_rif_aug.sw.vtx
models/weapons/w_rif_famas.sw.vtx
models/weapons/w_rif_galil.sw.vtx
models/weapons/w_rif_m4a1_silencer.sw.vtx
models/weapons/w_rif_m4a1.sw.vtx
models/weapons/w_rif_sg552.sw.vtx
models/weapons/w_shot_m3super90.sw.vtx
models/weapons/w_shot_xm1014.sw.vtx
models/weapons/w_smg_mac10.sw.vtx
models/weapons/w_smg_mp5.sw.vtx
models/weapons/w_smg_p90.sw.vtx
models/weapons/w_smg_tmp.sw.vtx
models/weapons/w_smg_ump45.sw.vtx
models/weapons/w_snip_awp.sw.vtx
models/weapons/w_snip_g3sg1.sw.vtx
models/weapons/w_snip_scout.sw.vtx
models/weapons/w_snip_sg550.sw.vtx
@wgetJane
Copy link
Author

a more correct way to install CSS assets is to not unpack the vpk file, but rather to use gmod's mounting system:
https://wiki.facepunch.com/gmod/Mounting_Content_on_a_Dedicated_Server

  1. move the cstrike folder downloaded with steamcmd to the GarrysMod install directory
  2. add its absolute path in GarrysMod/garrysmod/cfg/mount.cfg, like so:
mountcfg{
    cstrike"C:/Program Files (x86)/Steam/steamapps/common/GarrysMod/cstrike"
}

this also allows gmod's Hammer map editor to use CSS assets

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant