Studio Compiler Issues (CS:S)

-- Studio Compiler Issues --

Okay for anyone interested in modeling for CS:S, CannonFodder's StudioCompiler is practically a must-have. There are some alternatives out there, but this tool is perhaps one of the most powerful and user-friendly ones available. However, the compiler can bug a lot, especially on first-installation.

With that said, this tutorial intends to cover known bugs and solutions for them. If I missed a problem that you have had with the compiler, please let me know and I will get it added to this tutorial. From here I will breakdown the bugs I have encountered with this tool by problem type.

A: Studio Compiler Will Not Run

B: Problems Decompiling Models

Section A -- Studio Compiler Will Not Run -- Extra app ID set to 211, but no SteamappID

This is a common problem with Studio Compiler and also Source SDK. I'm not sure what causes the problem but one way of fixing it is by editing your GameInfo.txt files. In your cstrike directory you will find a file GameInfo.txt -- open it up. Near the top you will see:

ToolsAppId 211

All you need to do here is put // in front of it to comment it out. Save & Close, then try starting Studio Compiler. If that didn't solve it you might try the other GameInfo.txt for Source SDK. Go to username/sourcesdk/launcher/ and try the same steps with the GameInfo.txt there.

-- Can't load FileSystem_Steam.dll even when present in folder

FileSystem_Steam.dll

This error doesn't make sense, but it only happens to me when I try to load Studio Compiler from the sourcesdk/bin folder. If you're using this tool for Counter-Strike: Source then StudioCompiler.exe needs to be in sourcesdk/bin/ep1/bin instead.

-- Can't find steam app user info.

Steam App User Info

This is another common problem. What you do here is you go to your Program Files/Steam/config folder and copy the SteamAppData.vdf file you see there. Now go to your sourcesdk/bin/ep1/bin folder and create a new folder named config if it does not exist already. Paste SteamAppData.vdf into there and try to run Studio Compiler.

-- vstdlib.dll not found.

vstdlib.dll

Try copying the vstdlib.dll from your sourcesdk/bin folder to sourcesdk/bin/ep1/bin to solve this problem.

B: Problems Decompiling Models -- Error opening .../model▄.smd

Error with SMD

Basically what you get here is that it can't decompile the model and there is a .smd referenced with a weird name -- usually a strange character like a box or triangle at the end. This could mean one of a few things, but the main one is that the model was compiled for another hl2 mod. A possible fix that won't work every time but might work is to try opening the model's .mdl file with a hex editor. You can get one for free from google.

If you open the model and the first bit of text reads:

IDST...

This might be a solvable problem for you. Re-write it like this:

IDST,...

Studio Compiler might be able to decompile the model now. This might not work every time, but it's worth a try.

That's all I have for this tutorial so far. As I encounter more problems or they are reported to me, I will update this thread. But for now I think this should be a good starting point, especially for first-time users of Studio Compiler who are discouraged because it won't run. Please let me know if something wrong is posted here, or if you have encountered a problem that I have not identified.

Oh noes! You're not a Member!

Want access to cool stuff? As a member you can:

  • Post. Give the submitter your thoughts on this Tutorial.
  • Say Thanks. Show your appreciation by sending the submitter points.
  • Stamp Posts. Let other posters know what you think of their posts.
  • Rate. Give this Tutorial a rating out of 10.
  • Flag. Alert moderators and warn members of a problem with this Tutorial.
  • Vote. Vote the submitter for the Monthly Awards.
  • Subscribe. Get notified when this submitter submits again.

Interested? Register or Login

Comments

  • gtamike_TSGK's Levels
    • P2: Drudge
      Points: 1,754
    • C1: Member
    • A5: Veteran
      Account Age: 6 years
    Posted 8 months ago

    Notes:

    • Download 2/2/2011 - Version 0.4
    • http://www.chaosincarnate.net/cannonfodder/cftools.php?program=studiocompiler
    User Title
    HL2DM Source Mapper Since 2007
  • FLΛNK&SHΛNK.'s Levels
    • C1: Member
    • A4: Graduate
      Account Age: 3 years
    Posted 3 years ago

    OMG OMG OMG Thank you!!! Now if you could tell me why my HLMV.exe doesnt work for 2006 but works for 2007 and 2009 youd be my best friend ;). it saise "Failed with error 4, bad launch configuration"

    Bananite
  • NatalyaAF's Levels
    • P3: Peasant
      Points: 18,605
    • E2: Guide
      EF: 20
    • C1: Member
    • A6: Elder
      Account Age: 6 years
    Posted 3 years ago

    I was waiting for a post like that...

    User Title

Credits

Submitter
NatalyaAF's Levels
  • P3: Peasant
    Points: 18,605
  • E2: Guide
    EF: 20
  • C1: Member
  • A6: Elder
    Account Age: 6 years
NatalyaAF (Creator/Co-creator)
Key Authors
Natalya
Unknown
Contributors
S-Low
Model Decompiling Tip
Google
Google was helpful for solving these problems.

Rating

?/10
Not yet rated.

Additional Info

Genre
Compiling, Modelling
Difficulty Level
Beginner

Stats

Post Count
5
ViewCount
3,439
Date Added
3 years ago
Date Modified
3 years ago

Share

Embed Code
Code to use:

More embeddable images

Bookmark and Share