A super awesome C# console application that can:
- Rip data from Valve's game files (*.VPK, *.VMT, *.VTF, *.BSP)
- Compile that data into files that Roblox can work with (*.RBXM, *.RBXL, *.MESH, *.PNG)
This program is still in development and isn't user-friendly.
But if you're feeling brave enough, you can set it up with the following steps:
- Install Visual Studio 2019 with
Visual C#
and.NET Framework 4.7.2
- Fork the following GitHub repositories into a single directory:
- Open the solution file
Source2Roblox.sln
- Right click on the
Source2Roblox
project and click Properties - Navigate to the
Debug
tab, and use some of the following command line arguments to get things up and running:
Argument | Required? | Example |
---|---|---|
-game "PATH/TO/GAME/FOLDER" |
YES | -game "C:\Program Files (x86)\Steam\steamapps\common\Half-Life 2\hl2" |
-model "path/to/local/model.mdl" |
No | -model for real-time model searching,-model gman_high for a specific model |
-vtf "path/to/local/image.vtf" |
No | -vtf "editor/obsolete.vtf" |
-map "map_name" |
No | -map d1_trainstation_01 |
With the command line arguments set, press the Debug
button to run the program and have it work some magic!
- PNG files generated from
-vtf
will be sent to a new folder on your desktop calledExamineVTF
- OBJ/MTL files generated from
-map
will be sent to a new folder on your desktop calledSourceMaps
- OBJ/MTL files generated from
-model
will be sent to a new folder on your desktop calledSourceModels
- RBXL/RBXM/PNG files generated from either
-map
or-model
will be sent to%localappdata%\Roblox Studio\content\source
.
As such, this assumes you are using the Roblox Studio Mod Manager!