This article's documentation is for anything that uses the Source engine. Click here for more information.

StudioMDL-CE

From Valve Developer Community
Jump to navigation Jump to search

English (en)Translate (Translate)

Stub

This article or section is a stub. You can help by expanding it.

StudioMDL-CE
Developer(s)
DeadZoneLuna
Initial release
Feb 27, 2025
Operating system
Windows
Type
Model compiler
Target engine(s)
Source
Distribution
Freeware
Download

StudioMDL-CE is a Modified StudioMDL with improved features

Features

  • Improved compile time.
  • Compiler is no longer tied to bin folder, it can be unpacked/used anywhere else
  • -game is no longer required; if not specified (or if gameinfo.txt is not found), models are compiled next to the QC file by default.
  • Memory usage has been optimized, improving performance and reducing memory footprint. In most cases, x86 builds should now be enough (x64 can still be used when x86 memory limits are exceeded).
  • x64 Support. (Experimental)
  • SMD parsing is now 10 times faster.
  • Support for using features from $model (flexes, Eyes, etc.) in $bodygroup / $body for more flexibility. (Experimental)
  • References (Models) can now exceed the global vertex limit (e.g. 65536) without being segmented/clamped. Only material submeshes that exceed $maxverts are clamped or split. (Use -UseLegacyClampMethod/$uselegacyclampmethod to revert old behavior)
  • Segmented/clamped models are now linked to their original bodygroups. When switching models within a bodygroup, the corresponding segmented/clamped references switch in sync and behave identically to the original model.
  • Now is possible compile more complex models without worrying about any geometry limitations by remove limits in this direction.
  • Large addresses are allowed (LARGEADDRESSAWARE) so that more complex models can be compiled (e.g. a model with 1 million vertices). (is valid for x86, x64 has no limits)
  • Removed limits for flex keys, flex controllers, flex rules, and flexes in general (65536~ flex verts in total are still a limitation of the engine. Compiler allows compiling such a model, but try to avoid large numbers of flex verts to ensure correct behavior without errors and crashes in the engine)

  • Increased flex rules operations from 512 to 2048.
  • Allow increase flexes by 10 times or by specified.
  • Weights threshload changed from 0.05 to 0.001.
  • Removed limits for $jigglebone.
  • Allow $scale scaling vertex animations, eyes, procedural bones, attachments & etc. (Experimental)
  • No limits for writing VVD/VTX buffers.
  • Added manual MDL/ANI output buffer size control (default: 64 MB). Use -OutputBufferSize/$outputbuffersize (shared) or -MDLOutputBufferSize/$mdloutputbuffersize/-ANIOutputBufferSize/$anioutputbuffersize (per-file type). (Temporary solution, will be replaced by auto sizing in the near future)
  • Improved compilation time when generating indices (re-sorting) by replace nvtristrip to meshoptimizer (nvtristrip can be reuse by using -UseLegacyStripify/$uselegacystripify commands).
  • Flex processing behavior (primarily DMX) has been copied from SFM StudioMDL.
  • Materials limit increased to 128 (MAXSTUDIOSKINS - this limit will be removed in the near future)
Warning.pngWarning:Exceeding 64 materials (96 in Garry's Mod) will cause memory leaks in-game.

Supported games

StudioMDL-CE is currently available for all games.

External links