1. Forums
  2. Discord
  3. About Mapcore
  4. Patreon Supporters
  • Login
  • Register
  • Search
This Thread
  • Everywhere
  • This Thread
  • This Forum
  • Articles
  • Pages
  • Forum
  • More Options
  1. Mapcore
  2. Discussions
  3. Level Design

How to get Valve's props out of package?

  • Vinneri
  • February 11, 2015 at 4:04 PM
  • Vinneri
    • February 11, 2015 at 4:04 PM
    • #1

    Hey guys! I want to use Valves model tractor01.mdl and I want to give it another texture. I think the only way it's possible to do is to take the whole .mdl and texturefile from Valves packed form and then customize it. Any ideas how to do this? Or any better ways?

  • leplubodeslapin
    • February 11, 2015 at 4:30 PM
    • #2

    You first have to extract the files from the VPK archives in your /csgo folder (using GCFScape for example). Open the file pak01_dir.vpk with GCFScape, you'll recognise a folder tree similar to what is in your /csgo folder, follow the folders according to where hammer tells you where the model is.

    For your example of model (tractor01.mdl), you'll find :

    - In the folder models/props_vehicle, the files :

    • tractor01.dx90.vtx
    • tractor01.mdl
    • tractor01.phy
    • tractor01.vtx
    • vvd

    - In the folder materials/models/props_vehicle, the files :

    • tractor01.vmt
    • tractor01.vtf
    • tractor01_ref.vtf


    Extract all of them (with a drag and drop) in folders with the same names in your csgo directory (follow the exact same folder tree as in the VPKs).


    So, now you have the files of the compiled model, but you will not be able to just edit it (neither the geometry or the texture), firstly because it's a compiled model and secondly, if you change the texture, the one from the VPK will be loaded first anyway, so your own texture won't work.

    You have to decompile the model. Squad gave me recently a very nice software to do that : Crowbar. It will give you all the files you need : 2 SMD files (one for the geometry and another one for the collision model). It will also give you other things that can be useful (the .qc file to compile the model once again and animation files if needed).


    If you just want to change the texture, you'll need to recompile the model, with a different name and/or in a different folder, using a texture with a different name and/or different folder.


    The question now is : do you know 3D modeling or not, that is the question !


    To be continued ...

  • leplubodeslapin
    • February 11, 2015 at 4:30 PM
    • #3

    Oh ... ok i've been too slow. What have you done ?

  • Vaya
    • February 11, 2015 at 4:34 PM
    • #4

    Vinneri if you could please put the steps you used in the thread so anyone searching the forum can find them.


    you have no idea how frustrating it is searching for help for every thread to end with


    'NVM sorted myself'

  • Squad
    • February 11, 2015 at 4:36 PM
    • #5

    I can recommend WWMT to recompile the model. It comes with a smd/qc importer and easy to use tools for compiling.

  • Vinneri
    • February 11, 2015 at 4:51 PM
    • #6

    I don't know 3d modeling and I used GCFscape to get those out. Then I think I made mistake. I exported .vtf texture to .tga and customized it. Then I imported it back with new name and new folder etc. I can now find the model in my new folder by hammer, but it still has normal texture. So one part right, something wrong.

  • Vaya
    • February 11, 2015 at 4:55 PM
    • #7

    See this thread

  • Squad
    • February 11, 2015 at 4:56 PM
    • #8
    Quote from Vinneri

    I don't know 3d modeling and I used GCFscape to get those out. Then I think I made mistake. I exported .vtf texture to .tga and customized it. Then I imported it back with new name and new folder etc. I can now find the model in my new folder by hammer, but it still has normal texture. So one part right, something wrong.


    leplubodeslapin explained perfectly what you need to do. It won't work if you don't decompile, give it a different material name, rename the model and recompile.

  • Vinneri
    • February 11, 2015 at 5:17 PM
    • #9

    When I try to compile with Crowbar, it says


    Crowbar ERROR: Missing file: C:Program Files (x86)SteamsteamappscommonCounter-Strike Global Offensivebinstudiomdl.exe It obviously missing but..? E: I needed to change setting from Crowbar, so that the path is correct. Now it worked!

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!

Register Yourself Login
Discord

The Mapcore Discord is our lively IRC channel of the 2000s reborn. Chat about level design, gaming, and more.

Latest Posts

  1. Custom Gamemodes Contest

    Angel
    July 20, 2026 at 11:46 AM
  2. FAQ

    Angel
    July 20, 2026 at 10:14 AM
  3. Tangerine

    Harry Poster
    July 18, 2026 at 11:10 AM
  4. Any of the old guard still around? D:

    Warby
    July 12, 2026 at 8:23 PM
  5. About our archived forums

    Thrik
    June 30, 2026 at 2:12 PM
  6. Mapcore Discord

    mason_fan123
    June 24, 2026 at 8:52 PM
  7. [CS2] Valley

    Serialmapper
    June 22, 2026 at 11:56 AM
  8. Free Music / SFX Resource - Over 2500 Tracks

    Eric Matyas
    June 18, 2026 at 12:32 PM
  9. Pango [WIP]

    Elowen
    June 11, 2026 at 10:13 AM
  10. [CS2] Dvina

    Jeremy Rivera
    June 11, 2026 at 10:03 AM
  1. Privacy Policy
  2. Contact
Powered by WoltLab Suite™