protonscr

[CS:S] Custom models texture issue Linux

steamclosed reviewedMOVED: Counter-Strike: Source
ValveSoftware/steam-for-linux#1298 · opened 2013-02-06 by Dasani · updated 2017-04-03 · 6 comments · github
DDasani 2013-02-06 github

Something odd is going on with custom models I'm not 100% sure but I think it might be models that use custom textures that are located in folders that differ in name to the orignal folder.

For example:

If I use a custom m4a1 model and the textures are in a folder other than rif_m4a1 then the model loads but with no textures. Tested on a Windows install and everything works fines.

Mmatthewsor 2013-02-06 github

We're going to need a lot more specific details of exactly what you are doing. Exactly what files are you installing into CS:S, where are you installing them, etc. We also need copies of the files (a link to them would be fine). Basically step by step instructions on how to do what you are doing, so we can try it exactly the same.

DDasani 2013-02-07 github

I like to replace my AK model with this one:

http://css.gamebanana.com/skins/15515

I extract the materials, models, and sound folders to the cstrike folder:

/home/myname/.local/share/Steam/SteamApps/myname/Counter-Strike Source/cstrike

This AK is looking for its texture in:

/materials/models/weapons/v_models/firegold.ak
/materials/models/weapons/w_models/w_firegold.ak

When I load CS:S on Linux the AK model is missing the textures.

Now this next model works fines but I figure to include it just in case. I use this deagle model:

http://www.mediafire.com/?i4ke5gojrot14kd

It pulls its textures from:

/materials/models/weapons/v_models/pist_deagle
/materials/models/weapons/w_models/w_pist_deagle

Now, in Linux the deagle works fine but the AK is missing textures. The AK model loads just no textures. In Windows everything works as it should no missing textures on both models.

I hope this help you guys out.

Update:

Just tried this model http://css.gamebanana.com/skins/120636 and the v textures work but not the w textures.

Mmatthewsor 2013-02-15 github

I've fixed the problem with the texture directory having a period in the path (caused that AK47 to not work on Mac and Linux due to calling the texture directory firegold.ak ). I haven't looked at the add on model with the v and w textures. You'll need to open a separate bug for that (wait till the filepath bug gets released), in general though things like that are more the mod's authors issue.

DDasani 2013-02-16 github

Thank you for looking into this. I'll be sure to report back when the update is released. I didn't take notice of it before but yes I do have other custom models that do not work and sure enough they do have a period in the folder name. Thanks again for your help on this, really appreciate it.

Wworvan 2013-05-08 github

this can be resolved by renaming all folders inside v_models and w_models to lowercase ... Unix systems are case-sensitive ;-)

Kkisak-valve maintainer 2017-04-03 github

Hello @Dasani, if you are still experiencing this issue with case-sensitivity taken in mind, please open a new issue report in the Source-1-Games issue tracker.

Nothing extracted yet.