Repository navigation
SourceToSoF2 v1.0.0
First public build. Converts Source engine maps (.vmf) into Soldier of
Fortune II: Double Helix multiplayer maps — brushwork, displacement terrain,
props, decals and overlays, textures, shaders, collision, lighting, the 3D
skybox and the map's own ambient sounds. One window, ten steps, one button.
Tested on CS:S and CS:GO maps decompiled to .vmf (de_dust2, de_cache,
de_overpass, de_mirage, de_cbble) against SoF2 MP 1.03.
Download
SourceToSoF2.exe below is the whole tool — it carries its own Python, so
nothing else needs installing.
You also need
- A 64-bit NetRadiant q3map2. This matters: other builds (GtkRadiant 1.6.7
ships one) keep the.bspdraw lumps in fixed arrays and stop with
MAX_MAP_DRAW_INDEXESpart way through-bsp, and a 32-bit q3map2 fails in
-lightwithsafe_malloc failed on allocation. The tool checks the
q3map2.exeyou pick and warns before it runs. Editing in whichever Radiant
you prefer is fine — this is only about the build that compiles. - Your Counter-Strike: Source content, and a SoF2 install with its
basefolder. - The map as a
.vmf. For a map you only have as.bsp, decompile it with
BSPSource first.
Before you play
Set com_hunkMegs 256. SoF2 loads the whole .bsp as one block inside the
2 GB a 32-bit game can use, and a large hunk such as 1024 reserves half of
that at startup — a big map then fails with Z_Malloc(): Failed to malloc.
Known limitations
- Props: maps built mostly from props (de_cbble) cannot keep every prop at
full detail inside SoF2's limits. Expect simplified props and missing small
clutter; the step 6 log lists exactly what changed. - Prop skins: a prop placed with a skin other than the first is converted
with skin 0 — mostly visible on foliage and light fixtures. - Game logic: Source's entity I/O, bomb sites and buy zones are not converted.
- Sounds: the map's own CS soundscapes, as SoF2 speakers, capped at 32.
Reporting problems
Open an issue with the map, what you saw (a screenshot and the in-game
viewpos help a lot), and the SourceToSoF2.txt log written next to the .exe.
Add the compile window's output if it was the compile that failed.
Converted maps and their content belong to their owners; this tool is a
converter and is not affiliated with Valve, Raven Software or Activision.