Decompiling TF2 v_models

A Tutorial for Team Fortress 2

SEX! Ok, we got your attention. We are one of the oldest mod sites on the Interwebs. Sign up and maximize your browsing experience.

  • Subscribe: Get notified of new submissions like this.
  • Say Thanks: Show your appreciation by sending W1LLDAB3AST points.
  • Post: Give W1LLDAB3AST your thoughts on this Tutorial.
  • Vote: Help W1LLDAB3AST win the Monthly Awards.
  • Rate: Give this Tutorial a rating out of 10.
  • Flag: Alert moderators and warn members of a problem with this Tutorial.
  • Watch: Get notified when this Tutorial is updated.
Mascot

Stop Lurking!

Sign up

Already a Bananite? Login

Detaailed step-by-step tutorial of the decompiling process for TF2 v_models.

APPLICATIONS: - GCFScape - Notepad++ - Cannonfodder's/Hooch' MDLDecompiler STEP 0 - Preparation Make a folder on your desktop called "TF2", inside that folder make two new folders called "TF2 Extracted" and "TF2 Decompiled". STEP 1 - Extraction Start GCFScape, then left-click "File" followed by "Open". Navigate to "C:\Program Files\Steam\SteamApps\common\team fortress 2\tf\tf2\_misc\_dir.vpk\models\weapons\v_models" Select all of the files for the weapon you want to decompile, then right-click your selection and left-click on "Extract". Navigate to "C:\Users\USERNAME\Desktop\TF2\TF2 Extracted" and left-click "OK". STEP 2 - Editing the MDL (Optional with Hooch' decompiler) Open "TF2 Extracted" folder and right-click on the MDL, then left-click "Edit with Notepad++". At the very beginning of the document you will see "IDST0" (without ""), change it to "IDST," (without ""). Left-click "File" then "Save". STEP 3 - Decompiling Start Cannonfodder's MDLDecompiler, choose your model file (MDL in "TF2 Extracted") and output folder ("TF2 Decompiled"), then left-click "Extract". DONE!

Posts

  • 8y
    Dr. Whoop DSc avatar
    Member Joined 9y
    35,274 points Ranked 116th
    Mdldecompiler always crashes right after it's finished, I still get the SMDs...
    Just wondering if that's a major problem..? :P
  • 8y
    DayShadow94 avatar
    Member Joined 9y
    2,399 points Ranked 1975th
    If you want MDLDecompiler to work put it in this directory:
    C:\Program Files\Steam\Steamapps\username\Sourcesdk\bin\ep1\bin
    i had the same problem. it needs the executables from the source engine to work.
  • 8y
    Akaradude avatar
    Akaradude Offline
    Member Joined 8y
    How the Eff? How did you guys manage to even get the MDLDecompiler to work?! I cant put it the in Sourcesdk file because when I open it, it takes me GCFScape

    EDIT: Ok, I was being Stupid... I know where to put it now but it says I need Q_AppendSlash... Can anyone help?

    EDIT: I have beaten that gate, now I get Unable to load Model, help? I have tried 0 , . and /
    ThrustWiggle avatar
    Mantra
    ThrustWiggle
  • 8y
    Inph!n!tY avatar
    Inph!n!tY Offline
    Member Joined 10y
    4,325 points Ranked 1079th
    I don't own TF2 :( I want to port TF2 models then rig them with different arms...
    Beer4Skids Straya C*NT!! avatar
    Mantra
    Beer4Skids Straya C*NT!!
  • 8y
    When i am installing the newest version it says to put it in steamapps/sourcesdk/bin directory but i can't find the sourcesdk folder after i have installed source sdk. the source sdk folder is inside my username but there is no bin directory folder... can someone help me?
    The ULTIMATE VEGIE!
  • 9y
    krossbowkid avatar
    Member Joined 11y
    200 points Ranked 18212th
    Posted by Teh Inspector

    It tells me that "Unable to load model" D;

    Make sure you are using Notepad ++ and not just simple notepad.
    Slow site is sloooow! avatar
    Mantra
    Slow site is sloooow!
  • 9y
    Teh Inspector avatar
    Member Joined 10y
    25,565 points Ranked 171st
    It tells me that "Unable to load model" D;
    Thoughtless avatar
    Mantra
    Thoughtless
  • 9y
    Omrikon avatar
    Omrikon Offline
    Member Joined 10y
    431 points Ranked 10171st
    MDLDecompiler causes an IMMENSE amount of stress apparently, since it's so finicky and unpleasant to deal with, even after following countless guides and Google results to no avail. There has GOT to be a more reliable method of decompiling these god damn things...
    Avatar of Belfegor
  • 9y
    O and then you put it in game like any other skin?
    Bananite
  • 9y
    W1LLDAB3AST avatar
    Member Joined 10y
    26,371 points Ranked 162nd
    Posted by GlamisDuneTrash

    What does decompiling do? because i am trying to learn how to put my own models in game.

    the models are in a format the game uses, decompiling basically converts the models into a usable format
    a.k.a. WilliamBrutality

Embed

Share banner
Image URL:
HTML embed code:
BB embed code:
Markdown embed code:

Credits

Key Authors
w1lldab3ast
Unknown

Submitter

W1LLDAB3AST avatar
Member Joined 10y
26,371 points Ranked 162nd

W1LLDAB3AST
Creator
Sign up to access this!
Sign up to access this!
Sign up to access this!
Sign up to access this!

Category

Details

Difficulty Level
Intermediate Difficulty

Attributes

Stats

Posts
24
Views
18,660
Date Added
9y
Date Modified
4y

Scores

86 bScore
9.8 Rating

4 voters

Sign up to access this!

Share

  • Share on Reddit
  • Share on Twitter
  • Share on Facebook
  • Share on Google+

WiPs by Submitter

bcp.crwdcntrl.net tracking pixel