Editing Other Batch and Resource Files

 
 
 

The sishell.bat File (Windows Only)

The sishell.bat file is used to start up a command prompt window with Softimage environment variables already loaded so that you can run your Softimage Standalones.

Sample sishell.bat file

@echo off
title "SI Command Prompt"
cmd /K call C:\Program Files\Autodesk\Softimage 2014\Application\bin\setenv.bat
echo on

The xsi.bat File

The xsi.bat file is used to start Softimage. The environment variables are sourced before the XSI executable file is launched.

To view all the options that you can add to the xsi.bat file, open a Softimage command prompt and type xsi -h.

Sample xsi.bat file

@echo off
call C:\Program Files\Autodesk\Softimage 2014\Application\bin\Setenv.bat
start "" C:\Program Files\Autodesk\Softimage 2014\Application\bin\XSI.exe %1 %2 %3 %4 %5 %6 %7 %8 %9

The DatabaseSys.rsrc File

The DatabaseSys.rsrc file contains the system database list. System databases are available to all Softimage users. If you install the XSI Samples database, the Softimage Setup program places the DatabaseSys.rsrc file in the resource directory (rsrc) by default. If you do not install any databases, DatabaseSys.rsrc is created, but is empty.

By editing this file, you can create a new database that is accessible system-wide by specifying the absolute path for the database.

For example, the Softimage Setup program adds the following statements to the DatabaseSys.rsrc file, indicating where the sample shader library is located. The following example assumes that Softimage is installed in the default installation path.

Platform

File Contents

Windows

DATABASE Shader_Lib
PATH C:\Program Files\Autodesk\Softimage 2014\Application\phenolib\Shader_Lib
TYPE SHADERLIB

Linux

DATABASE Shader_Lib
PATH /usr/Softimage/Softimage_2014Application/phenolib/Shader_Lib
TYPE SHADERLIB

Creative Commons License Except where otherwise noted, this work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License