Search
Username:
Password:

Register or Reset Password

SUBMISSIONS
Counter Strike
   New Maps
   New Tutorials
   New Skins
   New GUI's
   New Sounds
   New Threads
Other
   Media
   Gamers
   Clans
   Studios
 
 
Search Tutorials:           Advanced
 
 
 
Uninstalling CSS Skins
Difficulty: Beginner
Category: CS:S > InstallationAuthor(s): xz64

Update 4:20 PM 6/5/2007 : Added support for shotguns.

DISCLAIMER: Many redundancies for clarification, do not think of it as poor English.
If you spot a typo or something wrong, PM me and I'll see what I can do.


Tutorial by: xz64

WARNING: I added many redundancies just for clarification.

Ignore the </ br> stuff in the textboxes, if anyone knows how to fix this please tell me.



Have these downloaded/done:



Before you install skins, you should learn how to uninstall them first.

As an example we will use Dual Elite II on Batman Anims.

Double click cstrike after you open the archive to see these folders/files.

Let's review the files: (yes this is long but not complicated)


  • materials

    • models

      • weapons


        • v_models

          • pist_elite

            • frame.vmt

            • frame.vtf

            • slide.vmt

            • slideblack.vtf


            • slidesil_ref.vtf

            • slidesilver.vtf

            • slidesteel.vtf






        • w_models

          • w_pist_elite

            • frame.vmt

            • slide.vmt












  • models


    • weapons

      • v_pist_elite.dx80.vtx

      • v_pist_elite.dx90.vtx

      • v_pist_elite.mdl

      • v_pist_elite.sw.vtx


      • v_pist_elite.vvd

      • w_pist_elite.dx80.vtx

      • w_pist_elite.dx90.vtx

      • w_pist_elite.mdl

      • w_pist_elite.phy

      • w_pist_elite.sw.vtx


      • w_pist_elite.vvd

      • w_pist_elite_dropped.dx80.vtx

      • w_pist_elite_dropped.dx90.vtx

      • w_pist_elite_dropped.mdl

      • w_pist_elite_dropped.phy

      • w_pist_elite_dropped.sw.vtx


      • w_pist_elite_dropped.vvd

      • w_pist_elite_single.dx80.vtx

      • w_pist_elite_single.dx90.vtx

      • w_pist_elite_single.mdl

      • w_pist_elite_single.phy

      • w_pist_elite_single.sw.vtx


      • w_pist_elite_single.vvd





  • scripts

    • game_sounds_manifest.txt
    • weapons


      • elites.txt






  • sound

    • weapons


      • elite

        • elite-1.wav

        • elite-2.wav

        • elite_clipout.wav

        • elite_deploy.wav

        • elite_draw.wav


        • elite_hit1.WAV

        • elite_hit2.WAV

        • elite_holster.wav

        • elite_leftclipin.wav

        • elite_reloadstart.wav

        • elite_rightclipin.wav


        • elite_sliderelease.wav

        • elite_throw.wav

        • magin.wav

        • magout.wav

        • p210_hammerback.wav

        • p210_leftmagin.wav


        • p210_leftmagout.wav

        • p210_magbash.wav

        • p210_ready.wav

        • p210_rightmagin.wav

        • p210_rightmagout.wav

        • p210_sliderelease.wav


        • slidepull.wav

        • sliderelease.wav

        • vun_spindraw.wav











  • To make the uninstall data, you need to recognize when directories can be deleted and when files should be deleted.


    • Folders such as pist_elite, w_pist_elite, elite can be deleted as a directory.

    • Files such as scripts\weapons\elites.txt need to be deleted as a file.


    • NOTE: game_sounds_manifest.txt should not be deleted after you install it. Therefore, the uninstall data will not include game_sounds_manifest.txt

  • Since your environment variable (you did make one, correct?) redirects to your cstrike folder,

    (e.g. %cstrike% = "C:\Program Files\Valve\Steam\SteamApps\accountname\counter-strike source\cstrike\") NOTE the \ after cstrike

    you can save a lot of time when creating your uninstall data.

  • Your uninstall data is simply a .bat file that deletes a list of files/directories that you enter in the .bat file.

  • For this skin shown, here is an explanation on how to make the uninstall data:





      1. Open up notepad (or whatever text editor you prefer.)

      2. In the first line add "@echo off" (without quotes.) This cleans up your processing screen.

      3. As you should know, this release comes with four main folders: materials, models, scripts, and weapons.

      4. Let's take a look at some basic commands that you are going to use:



        • Functions

          • del - This simply means delete. It is used for deleting files or all files in a directory. You cannot remove a directory with it, but you can remove all files in a directory.

          • rmdir - This command means "remove directory". It only works on empty folders though. (Recall that del can delete all files in a folder so you can use this after using the del command.)





      5. MATERIALS   Enter these four lines of text (into your text file) exactly as they are seen below:


        del "%cstrike%materials\models\weapons\v_models\pist_elite\"

        rmdir "%cstrike%materials\models\weapons\v_models\pist_elite\" /s

        del "%cstrike%materials\models\weapons\w_models\w_pist_elite\"

        rmdir "%cstrike%materials\models\weapons\w_models\w_pist_elite\"




        Explanation: The first line says to remove all files in the pist_elite directory.

        The second line says to remove the directory pist_elite, which you just cleared of data. (Remember how rmdir only works on empty folders?)


        UPDATE:The /S removes all subdirectories.

        The third and fourth lines are the same thing as lines 1 & 2 except they are for the w_models folder.

        There is no \ after %cstrike% because it already translates with the \. (see the note.)


        Now your file should look like this so far:



      6. MODELS   You do not need to remove any directories in this section.

        An asterisk (*) is used as a wildcard in the command prompt (and your text file). This will be helpful because if you look at the models\weapons folder, there are many files that have the same prefix.


        Add these two lines of text exactly as they are seen below:


        del "%cstrike%models\weapons\v_pist_elite*"

        del "%cstrike%models\weapons\w_pist_elite*"



        Explanation: The first line deletes all files relating to the view model, and the second line deletes all files relating to the world models.

        This is what your file should look like now:




      7. SCRIPTS   There is only one file to delete here: elites.txt.

        Just add this line of text into your file:


        del "%cstrike%scripts\weapons\elites.txt"




        Explanation: This deletes the sound script for the elites.

        Here is what you should have now:



      8. SOUND    All you do here is delete the contents of a directory and then the directory itself.


        Enter these two lines into your text file:


        del "%cstrike%sound\weapons\elite"

        rmdir "%cstrike%sound\weapons\elite"



        Explanation: This gets rid of all the files in the "elite" folder, and then it gets rid of the "elite" folder itself.

        Add the word pause to the last line of your text file.


        Your final product:



      9. Now, you could just save this as "uninstallelites.bat" and execute it to remove your elites, but we'll stay more organized.

      10. Open up the dualies.bat in notepad. Alternatively, you can just right click dualies.bat and click edit.

      11. Copy and paste your final result into dualies.bat.


      12. Save dualies.bat and exit.

      13. To uninstall your skin:

      14. Launch my skin uninstaller.

      15. Select dualies from the drop-down list.

      16. Click Remove

      17. As the script is doing its thing, you will be prompted with a yes or no prompt frequently. Just press y and enter every time you get prompted with this.
        At the end press any key to exit.

      18. Voilą! Your skin is uninstalled. You are not done yet though.

      19. If your uninstall was successful, the program says to clear the .bat file.

      20. To do this, open up dualies.bat in notepad.

      21. Remove all of the text in dualies.bat

      22. Save dualies.bat & quit notepad.








































©2007- xz64. No part of this tutorial may be reused or reproduced without the explicit consent of xz64.

Added: 12 months agoTags: uninstalling, css, skins
Uninstalling CSS Skins
Added by...
Images

Submitter Identity
Tutorial Stats
Statistics on tutorial submissions by xz64 .
Submissions: 3
    Independent: 3
    Studio: 0
    Redistributions: 3
Total Views: 1,309,491
Total Feedback: 273 posts
Average Rating: 9.3/10
Unrated Tutorials: 2
Total Favs: 252
First Submission: 3 years ago
Latest Submission: 12 months ago
Favorite Category: CS:S > Installation (3 releases)
Statistics
This tut's scores and traffic.
Rating: ?/10
Skill Band: Undefined (0)
Assessments: 3
Views: 21,252
Favorites: 1
Feedback: 11
New Tutorials: Installation
More tuts in this category.
How to : install skins.
Difficulty: Beginner
A complete guide to installing custom CS:S content
Difficulty: Beginner
Installing a Gungame
Difficulty: Advanced
Share It!
Get HTML Code
Get BBCode
Tell a Friend
Assessment
The community's verdict.
7/10
Detail
7
Usefulness
7
Readability
7
Stamps
This tutorial in a nutshell...
Confusing
Assess Tutorial
Tutorials are community moderated.
You cannot assess yet!
Moderating FPSB is in your hands - when you assess a submission your vote determines its success or failure.

To vote on this submission register or login.
Stamp Tutorial
How would you describe this tutorial in a few words?
You cannot stamp yet!
Stamps let you apply characteristics to submissions to help others understand them.

To stamp this submission register or login.
Messages
Provide constructive feedback. What is "constructive"?
Page of 2   1 2 Next Page
tj 70073 .
Bananite | Y2M
Posted 2 months ago
Im why your skin render was
- Bananite
AsianBorat .
I Rofl with Waffles | Y2M
Posted 4 months ago
Wtf is with all these readme's and variables? This can be done a lot easily....just read the post below mine.
xz64 .
? | Y2M
Posted 7 months ago
1) I didn't say you couldn't highlight what you want and press delete.
2) If you really want that method, check out this tutorial : http://www.fpsbanana.com/tuts/3966
-
HalfEvil333 .
? | Y2M
Posted 7 months ago
Why can't we just highlight what we want to delete and press the "delete" key?
-
xz64 .
? | Y2M
Posted 9 months ago
Did u add any text in dualies.bat?
-
sajdood .
This SITE IS VAC-Secured | Y2M
Posted 9 months ago
Notes: when i "launch the skin uninstaller" and select dualies from the drop down list and click "remove" it just saids.. "no uninstall data for dualies" :?

N0o0o!>>.<<
Assessment: [+] Approved - 6
- This SITE IS VAC-Secured
garrett30328 .
Bananite | Y2M
Posted 9 months ago
Hurts my head.
- Bananite
xz64 .
? | Y2M
Posted 9 months ago
There's a message place for a reason. If you have problems post them and I will try to respond.
-
Corey174 .
Stay Sic. | Y2M
Posted 9 months ago
Well i'm sure this is a very helpful tutorial for people that know what all of the bits in it mean. But for people like me it's a too confusing =S.
Assessment: [+] Approved - 5
xz64 .
? | Y2M
Posted 12 months ago
You make the variable before you start the uninstalling css skins tutorial.
-
Page of 2   1 2 Next Page
Add Message
You must login or register to access this!