Template:Archived page history/VMF to SMD/en: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (→‎top: clean up, replaced: {{Language subpage → {{langsp)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{langsp}}
{{APH|VMF to SMD}}
{{SoftwareBox
<!-- Basic info -->
| title    = VMF to SMD
 
<!-- Details -->
| initial_release = Nov 25, 2013
| distribution = Non-Commercial software
| type =  Map tool
<!-- Operating system(s)-->
| windows = 1
 
<!-- Target engine(s)-->
| goldsrc = 1
| source = 1
}}
 
[[File:VMFtoSMDV2.png|thumb|right|The GUI]]
 
{{v2s|4.1}} is a simple "Map to model" program created by [[User:UltimateSniper | UltimateSniper]].<br>
It can convert [[VMF|Valve Map File]]s or [[MAP_file_format|Generic Map]]s to [[Studio Model Data]] files, for use with Valve's [[Studiomdl|Studio Model Compiler]] or for use in 3D modeling software like {{Blender|4.1}}.<br>
The tool is aimed mainly at mappers, who want to create large-scale surrounding models for their maps. <br>
It is also aimed at modelers, who want to start off from a simple, Hammer-generated map-scale model, and carry on with the details from there. <br>
{{note|This program only converts brushes. Models placed within the map being converted will '''not''' be converted}}
 
== Features ==
* '''Generic Map file support''' • Supports the [[MAP_file_format|Generic Map]] format (used mainly in [[Goldsource]] map editors). Note that options will change depending on which file-type is opened.
* '''Unwanted materials/textures choice''' • Choose the materials/textures you wish the converter to disregard, meaning that all faces with that material/texture will not be converted to triangles.
* '''Convert material/texture alignment info''' • Choose whether or not to convert the material/texture alignment information. If selected, it is necessary that you choose a Materials/Textures Folder, because the dimensions of the materials/textures used are required for converting between the two types ([[VMF_documentation#U.2FV_Axis|UV vectors & shifts]] to [[UV_map|UV coordinates]]).
 
:* '''Material/texture folder''' • Select the folder from which to read the materials/textures which aren't selected in the skip list. The materials/textures may be in the filesystem as separate .[[VMT]] and .[[VTF]] files (or .[[BMP]] files for [[MAP_file_format|MAP]]s), or in compressed [[VPK]] or [[GCF]] files (or [[WAD]] files for [[MAP_file_format|MAP]]s).
:* '''Copy materials/textures''' • Copy the materials/textures found to the specified folder, with their new names (for [[VMF]]s, only .[[VMT]] files will be copied, as you can modify those to refer to the original .[[VTF]] files or create new ones). {{note|'''This only copies the base file(s) for the material - so materials with more than a single base .[[VTF]] referenced in the .[[VMT]] will not be fully copied.}}<br>
 
* '''Remove material sub-folders''' • Eliminates the sub-folders in [[VMF]] material names (as [[Studiomdl_Data#Syntax_3|valve models]] do not permit them).
 
:* '''Rename materials with same names''' • Renames materials with the same file names, to avoid conflict when in the same folder.
 
* '''Calc Error''' • In the event of non-material/texture related errors, try increasing this value. A value between 0.01 and 0.00001 is advised. Lower values improve the precision of the calculations, higher values allow for larger error in the map's plane data. If the map contains only plane vertices with integer coordinates, it is advised that this is set close to its maximum value for the lowest chance of error. If you still receive errors, try removing the most complicated and/or large objects from the map.
 
{{note|'''To read GCF/VPK/WAD files''': The supplied HLLib.dll must be in the same folder as the program. Only packages in the given folder (not subfolders) will be read.}}
{{note|'''To read materials from GCF/VPK files''': There must be a "materials" folder somewhere in the package, from which the materials will be read (eg. "cake/red.vmt" will be read from SOMEWHERE_IN_PACKAGE/materials/cake/red.vmt).}}
{{note|'''For the conversion to work''': [[UV]] vectors in the [[VMF]] CANNOT BE PARALLEL OR 0 (the map compiler would also give an error if this were the case).}}
{{note|'''If any conversion errors are encountered''': They will be put in a log file, which you will have access to at the end. <br>
The creator noted: "'''Error boxes that come up after the program has started may be caused only by bad programming on my part - if any appear, please email them to me!'''"}}
 
== Version History ==
* '''2.0.2''' &mdash; Fixed a bug where non-english systems would not correctly read floats from VMF files.
 
* '''2.0.1''' &mdash; Fixed a bug where the program would not read material/texture files from filesystem.
 
* '''2.0.0''' &mdash; Added options for [[VMF]] material names. Moved all basic conversion errors to a log file, with a notification & link at the end. Added support for reading materials/textures from [[GCF]], [[VPK]] and [[WAD]] files (using [[HLLib]] v2.4.3). Improved (and compacted) GUI (+ updated icon). Streamlined material/texture alignment conversion code. General code cleanup.
 
* '''1.1.0''' &mdash; Fixed a lot of bugs, including errors in .[[VMT]] reading. Made dev/ textures auto-select when reading .[[VMF]]s. Improved the conversion method (brush corners are now calculated, rather than assumed to be plane-defining points). Added a 'Calculation Error' field, which should help solve most errors that occur. Also, fixed some bugs in the .[[VMF]] reading.
 
* '''1.0.0''' &mdash; Initial release.
 
== External links ==
* [https://www.freewebs.com/onlynoob/index.html VMF to SMD Homepage (No longer existent)]
* [https://onlynoob.webs.com/Downloads/VMFtoSMD.zip Direct Download Link (No longer works)]
* [https://drive.google.com/file/d/1yitnj78g-eA5rRPIvyv42qANaEAyCAr8/view?usp=sharing Alternative Download Link]

Latest revision as of 18:31, 15 July 2024

Note.pngNote:Archived rest of page history of page VMF to SMD
Icon-Important.pngImportant:These pages are linked often from page history logs so Special:WhatLinksHere will not show anything.