The Game Modding Community - Since 2001

Decompiling TF2 v_models

A Tutorial for Team Fortress 2

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

1–10 of 22
1
Pages
Go to page:
  • 8y
    Dr. Whoop DSc avatar
    Dr. Whoop DSc Joined 9y ago
    Offline
    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
    DayShadow94 Joined 9y ago
    Offline
    2,399 points Ranked 2065th
    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
    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
  • 9y
    Inph!n!tY avatar
    Inph!n!tY Joined 10y ago
    Offline
    4,325 points Ranked 1135th
    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!!
  • 9y
    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
    krossbowkid Joined 11y ago
    Offline
    200 points Ranked 19008th
    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
    Teh Inspector Joined 10y ago
    Offline
    25,565 points Ranked 176th
    It tells me that "Unable to load model" D;
    Thoughtless avatar
    Mantra
    Thoughtless
  • 9y
    Omrikon avatar
    Omrikon Joined 11y ago
    Offline
    431 points Ranked 10597th
    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
    W1LLDAB3AST Joined 11y ago
    Offline
    26,372 points Ranked 165th
    11 medals 1 legendary 1 rare
    • 10 years a member Medal icon
    • 6 years a member Medal icon
    • Reached 1,000 Points Medal icon
    • Reached 2,500 Points Medal icon
    • Reached 7,500 Points Medal icon
    • Reached 25,000 Points Medal icon
    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
1–10 of 22
1
Pages
Go to page:

Embed

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

Credits

Key Authors
w1lldab3ast
Unknown

Submitter

W1LLDAB3AST avatar
W1LLDAB3AST Joined 11y ago
Offline
26,372 points Ranked 165th
11 medals 1 legendary 1 rare
  • 10 years a member Medal icon
  • 6 years a member Medal icon
  • Reached 1,000 Points Medal icon
  • Reached 2,500 Points Medal icon
  • Reached 7,500 Points Medal icon
  • Reached 25,000 Points Medal icon

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

Share

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

Stats

  • 19,040 Views
  • 24 Posts
  • 10y Submitted
  • 5y Modified

Scores

86 bScore
9.8 Rating

4 voters

Sign up to access this!

SEX! Ok, we got your attention. Mascot

GameBanana is one of the oldest mod sites on the net. Sign up and maximize your browsing experience.

  • Subscribe: Get notified of new submissions like this.
  • Say Thanks: Show your appreciation - send modders points.
  • Post: Give modders your thoughts on their work.
  • Vote: Help your favorite modders win monthly awards.
  • Rate: Rate mods and help them stand out.
  • Flag: Alert moderators and warn members of problems with mods.
  • Watch: Get notified when mods are updated.

Resistance is futile... Sign up now!

Already a Bananite? Login

WiPs by Submitter

bcp.crwdcntrl.net tracking pixel