Skip to content

uSource is a plugin for importing MDL / BSP / VMT / VTF and etc... resources to Unity!

Notifications You must be signed in to change notification settings

DeadZoneLuna/uSource

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

uSource

uSource is a plugin for importing MDL / BSP / VMT / VTF and etc... resources to Unity!

Screenshot

Supported formats (1.1 Beta):

Source

Format Type of content Import Export to Unity
.MDL Studio Models ✔️
.VCD Choreography Scenes (scenes.image) In the future
.BSP Map Files (Compiled) ✔️
.VMF Map Files (Hammer format) In the future
.VPK Valve Packages ✔️
.GCF Grid Cache Files In the future
.NCF No Cache Files In the future
.DMX Datamodels
.PCF Particles
.DMX SFM Sessions
.VTF Textures ✔️ ✔️
.VMT Materials ✔️ ✔️

GoldSource

Format Type of content Import Export to Unity
NOT SUPPORTED YET NOT SUPPORTED YET NOT SUPPORTED YET NOT SUPPORTED YET

Source 2

Format Type of content Import Export to Unity
NOT SUPPORTED YET NOT SUPPORTED YET NOT SUPPORTED YET NOT SUPPORTED YET

Supported features (1.1 Beta):

Studio Models (MDL / VVD / VTX / PHY / ANI / VHV)

Feature Supported
Versions 44 - 49 (Some older versions can load too, but possible errors!)
Bones ✔️
Hitboxes ✔️
Animations / Sequences (Partial)
Procedural Bones
Materials ✔️
Skinfamilies
Attachments
Flexes / Vertex Animations
Meshes (With skinning) ✔️ (Some mdl version 49 may not have meshes!)
Physics Model
Vertex Lighting (Static props)

BSP / Map Files

Feature Supported
Versions 19 (possible errors!), 20, 21
PAK ✔️
LZMA Lumps ❌ (TF2 Updated maps)
Models ✔️
Physics (Not a stable implementation, the code is "disabled")
Displacements (Partial, neighbor disps not supported yet)
Visibility
Occlusion
Entities ✔️
Static / Dynamic Props ✔️
WorldLights ✔️
Decals (Partial, overlays still not supported)
Cubemaps
Lightmaps (Partial, light style not supported yet)
Ambient cubes

Textures

Feature Supported
Versions 7.1 - 7.5 (Maybe 7.0?)
Envmaps (Cubemaps) ✔️
Convert to BGRA32 ✔️
Texture Formats Supported
RGBA8888 ✔️
ABGR8888 ✔️
RGB888 ✔️
BGR888 ✔️
RGB565 ✔️
I8 ✔️
IA88 ✔️
P8 ✔️
A8 ✔️
RGB888_BLUESCREEN ✔️
BGR888_BLUESCREEN ✔️
DXT1 ✔️
DXT3 ✔️
DXT5 ✔️
BGR565 ✔️
BGRX5551 ✔️
BGRA4444 ✔️
DXT1_ONEBITALPHA ✔️
UV88 ✔️
UVWQ8888 ✔️
RGBA16161616F ✔️
RGBA16161616 ✔️
R32F ✔️
RGB323232F ✔️
RGBA32323232F ✔️
NV_DST16 (Not Tested)
NV_DST24 (Not Tested)
NV_INTZ (Not Tested)
NV_RAWZ (Not Tested)
ATI_DST16 (Not Tested)
ATI_DST24 (Not Tested)
NV_NULL (Not Tested)
ATI_2N (Not Tested)
ATI_1N (Not Tested)

Materials (In Progress rework!)

Shaders Supported
LightmappedGeneric (Use Default / Generic)
LightmappedReflective (Use Default / Generic)
LightmappedTwoTexture (Use Default / Generic)
Lightmapped_4WayBlend (Use Default / Generic)
Multiblend (Use Default / Generic)
WorldTwoTextureBlend ✔️
WorldVertexTransition (Partial)
WindowImposter (Use Default)
Water (Use Default)
UnlitGeneric (Partial)
UnlitTwoTexture (Use Default / Generic)
WorldGGX (Use Default / Generic)
ParallaxTest (Use Default / Generic)
Sky ✔️
Core (Use Default)
SpriteCard (Use Default)
Cable (Use Default)
SplineRope (Use Default)
Refract (Use Default)
MonitorScreen (Use Default)
Modulate (Use Default)
VertexLitGeneric (Use Default / Generic)
Eyes (Use Default)
EyeRefract (Use Default)
VortWarp (Use Default)
Aftershock (Use Default)
Teeth (Use Default)
SurfaceGGX (Use Default)
Character (Use Default / Generic)
SolidEnergy (Use Default)
VolumeCloud (Use Default)
DecalModulate (Use Default)
Shadow (Use Default)
Subrect (Use Default)

VPK

Feature Supported
Version 1 ✔️
Version 2 ✔️

Datamodels (DMX)

Feature Supported
NOT SUPPORTED YET NOT SUPPORTED YET

Particles (PCF)

Feature Supported
NOT SUPPORTED YET NOT SUPPORTED YET

SFM Sessions (DMX)

Feature Supported
NOT SUPPORTED YET NOT SUPPORTED YET