TheModShop Forums

Full Version: CS:S Skin Changer V1
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
[Image: csskin.jpg]
About: This mod is very simple it consists of 2 batch files one for turning skins on and another for turning skins off.

Here is a quick FAQ:

Q: Will this allow me to Turn skins on and off in game?
A: No Every time you want skins on or off your going to have to close the game and restart.

Q: It says V1, why?
A: I have many plans for how to make this better and to provide better functionality.

Q: Can I update skins without turning them off first?
A: Well it depends, if they were off to begin with then yes, however if they were on you need to turn them off first and then update them. I found that when you didn't that some files don't update right.

Q: Can't I make it just do its job then close? Instead of always pressing a key to close the box?
A: Yes and I explain how to do it, I just found it was better in case any errors occurred, however this has been pretty well tested and I have pretty much found all the errors and fixed them, but you never know.

Q: Will this work on vista?
A: I made it using vista and encountered no problems, but I have an absolute administrator account and you might have to run them as administrator to get it to work. (Right click>Run as Administrator)

Ok lets start:

*WARNING* Don't do this unless you don't have any skins installed, I recommend a fresh install of CS: S, but you could possibly get away with just deleting these 4 folders: materials, models, sounds, scripts. DO THAT AT YOUR OWN RISK. If you do then go back to steam, right click CS: S>properties>local files> verify. Do that and you should be good to go, I however didn't test that.

Step 1: Locate your "cstrike" folder and if your smart you will make a shortcut to it for your desktop, I however am not so smart and didn't.For vista 64 bit: C:\Program Files (x86)\Steam\steamapps\[NAME OF ACCOUNT]\counter-strike source
Most others: C:\Program Files\Steam\steamapps\[NAME OF ACCOUNT]\counter-strike source

Now unless your drive is something different like "A:" or another letter then that's probably where its at.

Step 2: Now enter your "cstrike" folder and make 2 new folders. Name one "Skins On" and another "Skins Off". Its not important what you name them, as long as you change the code to compensate when you make your batch files.

Step 3: Now make another shortcut to your desktop of "Skins On" or your equivalent, This I did do, so trust me your gonna want to do it, however its not required.

Step 4: Copy the following folders into your "Skins Off" or your equivalent.
materials, models, sounds, scripts. If you don't have one of the folders its ok, just make it inside your "Skins Off" or equivalent.

Step 5: Now make 2 batch files in your "cstrike" folder. To make a batch file you must be able to see file extensions (google it). Make 1 for turning skins on and 1 for tuning them off. Be sure an create a short cut for both on your desktop.

Step 6: Right click your "on" file and click edit. Fix the items with brackets for your system setup.
Code:
xcopy "[on folder name]" [Drive]\[Install location]\Steam\steamapps\[Steam User Name]\"counter-strike source"\cstrike /E /Q
pause
If you want it to simply close once its done, change "pause" to "exit". Do not mess with anything except the bracket parts, unless you know what your doing.

Step 7: Now right click the "off" file and hit edit. Once again only mess with what is in the brackets for your system set up. That is of course only if you don't know what your doing.
Code:
rd [Drive]\[Install location]\Steam\steamapps\[Steam Name]\"counter-strike source"\cstrike\scripts /S /Q
rd [Drive]\[Install location]\Steam\steamapps\[Steam Name]\"counter-strike source"\cstrike\materials /S /Q
rd [Drive]\[Install location]\Steam\steamapps\[Steam Name]\"counter-strike source"\cstrike\sound /S /Q
rd [Drive]\[Install location]\Steam\steamapps\[Steam Name]\"counter-strike source"\cstrike\models /S /Q
xcopy "[off folder name]" [Drive]\[Install location]\Steam\steamapps\[Steam Name]\"counter-strike source"\cstrike /E /Q
pause
replace "pause" with "exit" if you want it to close after its done.

That should be it. Also this can be changed for any source game with just some minor tweaking.

TO DO:
Make it into 1 batch file with options.
Add Checks.
Add multiple games in 1 batch file.
Program in a real language.
GUI.
Skin management system.

DO NOT EMAIL ME. I will not respond. If you have problems put them in this thread.

Enjoy.
Reference URL's