Running the Import Script: Difference between revisions

From Thrive Developer Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 5: Line 5:
Instructions for artists are here: [[How to Import Assets]]
Instructions for artists are here: [[How to Import Assets]]


When the script is ran it will import all assets in the "shaders" folder as well as the "assets/raw_assets" folder. The tool will skip any assets that have not been modified so that it is easier to run when developing just a few assets.
When the script is ran it will import all assets in the "shaders" folder as well as the "assets/raw_assets" folder. The tool will skip any assets that have not been modified so that it is easier to run when developing just a few assets. Note that when you have ran the tool you'll want to run cmake to copy the assets to your Thrive bin folder.


== Prerequisites ==
== Prerequisites ==

Revision as of 17:31, 15 September 2019


This page has info about the asset import script "ImportAssets.rb". This tool should be preferred to importing individual files as this guarantees that different people import assets with consistent and correct settings.

Instructions for artists are here: How to Import Assets

When the script is ran it will import all assets in the "shaders" folder as well as the "assets/raw_assets" folder. The tool will skip any assets that have not been modified so that it is easier to run when developing just a few assets. Note that when you have ran the tool you'll want to run cmake to copy the assets to your Thrive bin folder.

Prerequisites

Basically the tool should always work when you have compiled Thrive from source using the setup script (SetupThrive.rb).

SVN

When committing assets to svn make sure you have used the import tool to import them, and the source file will also be included in svn, in order to not lose it.