Scaleform source access

We’re excited to let you know that Scaleform source code is now available on GitHub.

Access Scaleform source code

To access the Scaleform repository, you’ll need to link your Gamedev and Github accounts.

Once granted access, visit the Scaleform repo, https://github.com/AutodeskGames/scaleform-gfx. Install the software requirements as outlined in the README.md, clone the scaleform-gfx repo and create an environment variable SF_LIB_DIR to store the libraries required to build Scaleform.

Run make.rb script in the root directory of the Scaleform source code repository. The make.rb script will automatically get all the libraries it needs to build all of the targets you ask it to build. It will also generate and build projects for the Scaleform engine, tools and samples, and place them in the Bin directory in your cloned Scaleform directory.

Branch conventions

The Scaleform repository is set up with the following branches:

Scaleform submodules

If you are a registered developer for one or more "closed" console platforms, you will see these additional repositories under the Autodesk Games team:

These child repositories are submodules of the main scaleform-gfx repository, and located in the Platforms directory. To access them, initialize each submodule and update them. From a command prompt in your Scaleform repository, run the following commands (only the lines corresponding to the repos you have access to):

> git submodule init Platforms/ps4
> git submodule init Platforms/xb1
> git submodule init Platforms/switch
> git submodule update

This copies the submodule's repository locally to your computer, so that you can build the engine for that platform. You should now see some new files inside the Platform folders.

When you clone or update your Scaleform repository, your git client may report errors about updating submodules, or about being unable to access the https://github.com/AutodeskGames/ repository. As long as these errors refer to submodule repositories for platforms that you don't have access to, you can safely ignore these errors. They won't prevent you from getting any code that you need.

To avoid seeing these errors in future: