Support SFMLab on Patreon

Skybox Helper script


This is a simple script used to change the skybox on any map based on the skyboxes it finds from your search paths.

extract here:

This script also shows you a preview of the skybox if the image exists here

How to set up reading the image from the vtf file itself

  1. download VTFLib v1.3.2 Binary Archive -->

  2. extract all the files in the bin\x64 or bin/x86 to a new folder called "vtfedit"

  3. add a new folder in "vtfedit" called "skybox previews"

  4. when done move the "vtfedit" folder to "SourceFilmmaker\game\workshop\scripts\sfm\mainmenu\" and thats it. the script should now show you a preview image if it doesnt exist here:

Note: some of the skyboxes it finds may not work, you need to check the console for errors to see what the problem is.

The save skybox gets saved to here "SourceFilmmaker\game\usermod\cfg\mapname.cfg"

if you want to try to do it manually follow this guide

known issues

  1. The script doesnt show up.
    your gameinfo.txt might not be formatted right or has errors in it, it should look like this, replace yours with this one temporary to confirm.

feel free to modify the script for your own use
if you find any bugs or have suggestions message me in the comments below.



You're awesome guy! Thank you so much!

Minitiv posted 3 years, 3 months ago


ever since the update the script no longer works for me. i keep receiving [errno 10060]. please help. thanks!

w3ndy posted 3 years, 3 months ago


@w3ndy, is there more to that error msg? does the script not show up? or is it the previews imgs?

msu355 posted 3 years, 3 months ago


@msu355 it's working again, thanks so much! btw that error message on the previous build, I only saw that error on the console window and the script doesn't pop up. But seems you fixed it, so thanks!

w3ndy posted 3 years, 3 months ago


@msu355 great moves msu, keep it up, proud of ya.

MGSVBigBoss posted 3 years, 3 months ago


This might be the reason I try animating again. Thanks.

NikusuSFM posted 3 years, 3 months ago


Sorry, don't really understand the explanation , is there a tutorial on youtube that I can watch?

xboxer214 posted 2 years, 11 months ago

Leave a reply

You need to be logged in to leave a comment.

Support SFMLab on Patreon