The Game Modding Community - Since 2001

Decompile a Goldsrc .MDL file without UV shifts

A Tutorial for Counter-Strike 1.6

Tired of having your perfect UVs shifting upon decompiling? Here's a way to prevent it!

Ladies and Gentlemen, I'd like to announce to you that me, AleKKDNIO071, and other people from Sven Co-op's discord, while we were discussing UV shifting issues, have finally discovered the way to decompile any goldsrc model while keeping the UVs 100% stable! Which Ends our major problem in Goldsrc skinning..

Requirements:


Steps:

  1. So first of all you decompile the model with Valve's MDLDecompiler as usual
  2. Now open Crowbar tools and choose the .mdl file you want to decompile, make sure the output folder is located away from files dumped by Valve's MDLD
  3. Now go to the output file where crowbar put the decompiled files (the one you chose obviously) And Copy the reference .SMDs ONLY and paste them to a new folder
  4. Copy Valve's dumped .qc file to the new folder You've put the .SMDs in.Now you're in front of 2 ways, they're pretty much the same result, but I'll explain them anyway:1- First Method here is to compare the .SMD file names you copied with the ones in Valve's .qc file format and rename the .SMDs one by one and make sure to follow the same order in the .qc file2- The second method is to rename the references mentioned inside the .qc file to match the ones you decompiled with crowbar
  5. Now copy the Animation .SMD files into the new folder along with the texture files
  6. Now do the edits you want to the skin (like dead frames removal, re-origin, bla bla..)
  7. Recompile your .mdl again, but DOn'T use Valve's StudioMDL because it'll shift the UV again! So better use the StudioMDL I linked in the requirement section on top of the tutorial
  8. Lastly, enjoy your skinning! :D

If you've got any questions comment below and I'll try to answer asap, also please rate this tutorial to make it featured on the homepage for a few days so it'll arrive to all the modders in the site, also if you know any other Goldsrc modding community please share this tutorial there so we reach everyone possible!

Posts

  • 3mo
    Bloody Death Skull avatar
    Bloody Death Skull username pic Joined 3y ago
    Killing Demons
    3,006 points Ranked 1630th
    23 medals 1 legendary 5 rare
    • 2017 Top Contributor Medal icon
    • 10 submissions featured Medal icon
    • Returned 1000 times Medal icon
    • Reached 50 subscribers Medal icon
    • Thanked 50 submitters Medal icon
    • Received thanks 50 times Medal icon
    i load the qc file and later the program saids the qc file doesnt exist? how i solve that?

    10

    I Dont Give Fucks I Give Shots
  • 7mo
    euni_qho.15 avatar
    euni_qho.15 Joined 1y ago
    Sex with my GF
     ..thanks for this tut men.. ill try this ^.^

    9

     avatar
    Mantra
  • 9mo
    Ezequiel-TM avatar
    Ezequiel-TM username pic Joined 4y ago
    MUGEN Manager HL Manager SC Manager CS1.6 Manager
    you do not see
    Life Tree Flag Affiliation: Life Tree
    5,018 points Ranked 986th
    45 medals 4 legendary 13 rare
    • Submitted 100 Skins Medal icon
    • 30 submissions featured Medal icon
    • 2017 Top Contributor Medal icon
    • Returned 5000 times Medal icon
    • Submitted 50 Skins Medal icon
    • Returned 1000 times Medal icon
    Ezequiel-TM avatar
    Ezequiel-TM
    Life Tree Flag
    Affiliation
    Life Tree
    Thank you

    10

    say what you want, I'm crazy! avatar
    Mantra
    say what you want, I'm crazy!
  • 9moEdited 9mo
    CS PRO avatar
    CS PRO username pic Joined 4y ago
    HL Manager CS:CZ Manager
    Catch Me L8r
    CS:GO Ports Flag Affiliation: CS:GO Ports
    9,952 points Ranked 470th
    37 medals 4 legendary 5 rare
    • Submitted 100 Skins Medal icon
    • 30 submissions featured Medal icon
    • Reached 100 subscribers Medal icon
    • 2017 Top Contributor Medal icon
    • Returned 1000 times Medal icon
    • 10 submissions featured Medal icon
    CS PRO avatar
    CS PRO
    CS:GO Ports Flag
    Affiliation
    CS:GO Ports
    schiff. MasterEmile

    So you guys aren't believing this tutorial actually makes sense?

    I can prove to you that the UV barely moves using this tutorial! Here's a comparison between the P250 model's I decompiled to remove some dead frames and the one after recompiling using this tutorial:
    Original:

    Recompiled:


    As you can see it's 99% the same.
    Also it's not always easy to fix UVs through MS3D or other programs, you'll still have some differences and honestly it gave me headaches few times!
    Still Alive.. avatar
    Mantra
    Still Alive..
  • 9mo
    DoyenEmile avatar
    DoyenEmile username pic Joined 5y ago
    Offline
    798 points Ranked 6204th
    17 medals 2 rare
    • Returned 1000 times Medal icon
    • 10 submissions featured Medal icon
    • Unlocked Treehouse VIP clearance Medal icon
    • One month a member Medal icon
    • 6 months a member Medal icon
    • 1 year a member Medal icon
    You do know the decompiler and compiler we have today are out dated. You still have to fix the uv map on textures either way.

    I hate to break your tutorial but your just adding more work on a simple task that can be done by Milkshape itself. 
    • Agree x 4
    Ex-Master, Retired, History
  • 9mo
    schiff. avatar
    schiff. username pic Joined 8y ago
    CS1.6 Manager
    away
    Cell 1 Flag Affiliation: Cell 1
    25,607 points Ranked 175th
    45 medals 5 legendary 9 rare
    • Submitted 100 Skins Medal icon
    • 30 submissions featured Medal icon
    • Reached 100 subscribers Medal icon
    • Returned 5000 times Medal icon
    • 2017 Top Contributor Medal icon
    • Submitted 50 WiPs Medal icon
    schiff. avatar
    schiff.
    Cell 1 Flag
    Affiliation
    Cell 1

       
    • Funny x 2
    • Correct x 2
    im not scared

Embed

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

Credits

Key Authors
CS PRO avatar CS:GO Ports Flag
Affiliation
CS:GO Ports
CS PRO username pic Joined 4y ago
HL Manager CS:CZ Manager
Offline
CS:GO Ports Flag Affiliation: CS:GO Ports
9,952 points Ranked 470th
37 medals 4 legendary 5 rare
  • Submitted 100 Skins Medal icon
  • 30 submissions featured Medal icon
  • Reached 100 subscribers Medal icon
  • 2017 Top Contributor Medal icon
  • Returned 1000 times Medal icon
  • 10 submissions featured Medal icon
Figured out, Wrote, Screenshooted, tested
Contributors
AleKK avatar
AleKK username pic Joined 2y ago
Offline
3,917 points Ranked 1251st
13 medals 1 legendary 1 rare
  • 2017 Top Contributor Medal icon
  • Returned 1000 times Medal icon
  • One month a member Medal icon
  • Returned 100 times Medal icon
  • Submission featured Medal icon
  • 1 post awarded Exemplary Feedback Medal icon
"If i decompile GoldSRC model with Crowbar will it shift the UVs of .SMDs?"
DNIO071
DNIO071 Joined 11mo ago
Offline
491 points Ranked 9563rd
H2Whoa

Submitter

CS PRO avatar
CS PRO username pic Joined 4y ago
HL Manager CS:CZ Manager
Catch Me L8r
CS:GO Ports Flag Affiliation: CS:GO Ports
9,952 points Ranked 470th
37 medals 4 legendary 5 rare
  • Submitted 100 Skins Medal icon
  • 30 submissions featured Medal icon
  • Reached 100 subscribers Medal icon
  • 2017 Top Contributor Medal icon
  • Returned 1000 times Medal icon
  • 10 submissions featured Medal icon

CS PRO avatar
CS PRO
CS:GO Ports Flag
Affiliation
CS:GO Ports

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
Beginner Difficulty

Attributes

Genre
Compiling

Share

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

Stats

  • 1,355 Views
  • 14 Posts
  • 9mo Submitted
  • 9mo Modified

Scores

91 bScore
9.9 Rating

7 voters

Sign up to access this!

Attention Gamer! 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.

Join the community! Sign up now!

Already a Bananite? Login

WiPs by Submitter

bcp.crwdcntrl.net tracking pixel