Import Source game content into Source 2
MIT License
Set of scripts for importing Source 1 assets such as materials, models, and particle effects into Source 2. Inspired by Valve's own import utility also named source1import.
The main difference is this one is open source so you can customize it (i.e. use different shader sets).
Based off of source2utils.
[!WARNING] This tool has a number of disadvantages over the built-in CS2 Import Scripts. Including:
- No PBR material conversion. So your textures will look dark and flat.
- No map converter.
- Cannot filter assets by map.
[!Note] However there may be some features you might find useful such as:
- Support for texture ANIMATION
- Support for SKYBOX materials
- Support for material proxies (quite basic, but this one for example works)
models
folder to content/
before importing.sound
folder to content/
and rename it to sounds
. No import necessary.gameinfo.txt
present in Import Game.cd utils
python scripts_import.py -i "C:/.../Team Fortress 2/tf" -e "D:/Games/steamapps/common/sbox/addons/tf_source2" -b sbox
python particles_import.py -i "C:/.../Portal 2/portal2" -e "C:/.../Half-Life Alyx/game/hlvr_addons/portal2"
python scenes_import.py -i "C:/.../Half-Life Alyx/game/lostcoast" -e hlvr_addons/lostcoast
python models_import.py -i "C:/.../Half-Life Alyx/game/l4d2" -e l4d2_source2
python materials_import.py -i "C:/.../Half-Life Alyx/game/ep2" -e hlvr "materials/skybox"
-e portal2_imported
, provided the game folders sit next to eachother)hlvr
. Other branches include steamvr
adj
sbox
cs2
dota2
, ordered by magnitude of support.pip install -r requirements.txt