This document explains how to unpack platform-specific Games translators.
All Alias|Wavefront platform games translators are shipped as part of the standard Alias product on the Alias distribution disk. Platform specific portions of those translators are only available through pre-authorized decryption or via game platform providers.
This subsystem is installed by default as part of your Alias installation procedure in directory tree ODS/Games.dd
The directory tree for the Game plugins/translators is found under $ALIAS_LOCATION/ODS/Games. It consists of directories for the direct translators, shared library files, executable binary and script files, PST data files and the source to the translators themselves.
Platform specific libraries can be unpacked using InstallGame:
Defaults with no options on command line is to use the $ALIAS_LOCATION/ODS/Games directory as the source directory, and to install back into the ODS/Games directory. Use absolute paths for the from and to directories.
This can override the default location of when to install from/to by using command line options.
InstallGame is located in /usr/aw/alias/ODS/Games/bin. To unpack available libraries, log in as root, and in a unix shell, type:
/usr/aw/alias/ODS/Games/bin/InstallGame Now the list of game libraries that can be installed based on the current encryption string for Alias is displayed.
========================================================
Alias | Wavefront Game Export Tool 2.0 library installer
========================================================
Enter your ALIAS_LOCATION (press enter to use /usr/aw/alias)
The following games libraries are enabled by this encryption:
Code Description
---------------------------------
N Game Library for Nintendo
...
Which game libraries would you like to install?
Enter the codes for the libraries separated by spaces
or enter "none" or "exit" to exit the installer:
The first prompt shows what the InstallGame script believes is the location of where Alias is installed and will be obtaining and installing the new Game libraries selected. If this is not where Alias is actually installed, enter the proper location. You can also override the location by using command line options.
Enter the code corresponding to the game library you want to install. Be sure that your responses are in upper case letters. Type exit to exit the installation program.
If there are no game libraries listed, check that the encryption string installed for Alias is correct.
In version 7.5 and later of PowerAnimator, game translation is done via a plug-in called MakeGame. The games functionality is shipped as an OpenAlias plug-in to allow the distribution of the source code for the translators for enhancement and extension by end users.
To access this plug-in, you can update the Plugin Path field in the Alias Preferences window.
Select Preferences
User options
Alias
preferences from the Preferences menu in the main Alias menu.
After the confirmation box is displayed, the Alias Preferences window is displayed. The bottom-most section is called Plugin Options. Single click on this title to see the plug-in options.
The Search Path option can be updated to include the following path.
$ALIAS_LOCATION/ODS/Games/plugins/lib: Single click in the Search path box, and type to add this path at the beginning of the text box.
Restart Alias to use this new plug-in search path. When you restart, Alias now also looks in the Games distribution area for game specific plug-ins.
After restarting Alias, select Utilities
Plug-in Manager from the menu bar to open the Plug-in Manager window.
This window displays a list of all known plug-ins. A plug-in called mgame.addin should be present in the list. If not, recheck your plug-in path as described above.
Clicking in the box beside mgame.addin loads the game translators. This creates a new menu item in the Utilities menu called MakeGame.
The base level of the Games area is installed with the standard installation of Alias. From this standard installation, you can run the plug-ins and translators directly.
Customization of the working environment is possible by setting environment variables and setting the path to include the Games area.
These are the environment variables that can be set to customize the use of mgame/DtExport and translators:
To have access to the GameTool plug-ins, you can edit the plug-in location path to include $GAMES_LOCATION/plugins/lib.
Select Edit User Preferences from the Preferences menu in Alias and in the Plugin Options section add the $GAMES_LOCATION/plugins to the end of the current settings.
You may also want to include the $GAMES_LOCATION/bin path to the execute path so you can find the OpenModel applications and general game scripts.
The Alias script that is used to run Alias sets up the proper environment (LD_LIBRARY_PATH) to run with the game tools (mgame, Dt translators). It also checks for a setting for GAMES_LOCATION and if it is not set, the script sets it to be $ALIAS_LOCATION/ODS/Games.
DtExport does the same for the OpenModel application that can run the Dt Translators.
DtExport is an OpenModel application used to read in a wire file and then call one of the Direct Translators (Dt) to produce the platform-specific output files. Using this translator, you can access the functionality of MakeGame in a batch environment
The Dt translators are common between DtExport, mgame (an OpenAlias plug-in) and GameExport 2.1. The newer translators do not run under the older version of GameExport due to newer functions calls not found in the old libDSOio.so.
-f [inputfile] specifies a valid Alias wire file for input. <options> are:
-e [export] export DSO to call (use actual file name)
<export options> are dependent on the translator
Retrieves a wire file and calls the requested export function
You can recompile or create new translators using the Dt API to add or change the functionality of the current versions.
If you make changes to the shipped translators, Alias|Wavefront Assist will not be able to support the translators.
The shipped translators come with source code. There is a Makefile for each translator that can be used to rebuild it. You will need to check that the Makefile has the proper settings for the environment variables ALIAS_LOCATION and GAMES_LOCATION in order for the translators to "make" correctly. These settings are found near the beginning of the Makefile, and can be easily set (similar to the standard Alias plug-in Makefile).
In order to recompile a translator, you'll find it useful to set up the following directory structure.
$HOME/games/getsgi
$HOME/games/trial/Dtplugins
By using this structure, you don't have to have root permission to create and use new versions of the translators. Just copy the new version of the translator to this location.
You should not rebuild the image of a previously loaded translator while still running Alias. This is not good and will probably core dump Alias as the DSO image is pulled from underneath Alias.
You can use the stand-alone DtExport to test out new versions of the translator quickly. It follows the same search path to find the Dt translators.
Alias has three translators, for Nintendo, Sega, and Playstation platforms that are documented but have varying levels of restrictions for customer access.
These levels of restriction are due to agreements with the respective manufacturers. The restrictions are as follows:
The translator plug-in and its documentation addendum are available to Nintendo-certified N64 developers only. The Alias|Wavefront part code for the Nintendo translator is PA-NU64N. Upon request for this part and certification of the requestee as an N64 developer is obtained, the documentation and the translator are supplied.
The Sega translator addendum (for the "Cartdev" downloader plug-in and SGL Ascii translator) are available for use with PowerAnimator through Sega's Development support directly. All documentation is included in the deliverables from Sega.
The PlayStation translator plug-in and documentation are available directly from the Sony development organization. Please contact Sony directly to obtain these.
These are, at present, the only externally restricted translators.
Copyright © 1997, Alias|Wavefront, a Silicon Graphics Company. All rights reserved.