Source2Roblox
A toolset that can 100% automatically port Source Engine levels into clumps of Roblox assets and models.
Install / Use
/learn @MaximumADHD/Source2RobloxREADME
Source2Roblox
⚠️ NO LONGER BEING MAINTAINED ⚠️
This project is no longer being maintained due to misuse by bad actors. While you are free to continue using this project as is, I will not be providing any support or assistance in getting it working. This is intended as a reference and showcase of technical feat, nothing more. Do not use this code to rip levels for use in monetized experiences without explicit permission to use them on Roblox.
<hr/>Source2Roblox is 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)
Usage
This program is not user-friendly and will not be made easier to use.<br/> But if you're feeling brave enough, you can set it up with the following steps:
- You'll need to install the Roblox Studio Mod Manager since the program currently targets
%localappdata%\Roblox Studio\contentfor deploying local files. - Install Visual Studio 2019 with
Visual C#and.NET Framework 4.7.2 - Clone the following GitHub repositories into a single directory on your file system:
- https://github.com/MaximumADHD/Source2Roblox
- https://github.com/MaximumADHD/ValveKeyValue
- https://github.com/MaximumADHD/Roblox-File-Format
- Open the solution file
Source2Roblox.sln - Right click on the
Source2Robloxproject and click Properties - Navigate to the
Debugtab, 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,<br/>-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!
File Generation Notes
- PNG files generated from
-vtfwill be sent to a new folder on your desktop calledExamineVTF - OBJ/MTL files generated from
-mapwill be sent to a new folder on your desktop calledSourceMaps - OBJ/MTL files generated from
-modelwill be sent to a new folder on your desktop calledSourceModels - RBXL/RBXM/PNG files generated from either
-mapor-modelwill be sent to%localappdata%\Roblox Studio\content\source.
