|
|
Line 7: |
Line 7: |
| [http://www.members.optusnet.com.au/~villaump/pevsoft.htm here] | | [http://www.members.optusnet.com.au/~villaump/pevsoft.htm here] |
| | | |
| + | Links to pages providing support and access to additional materials: |
| | | |
− | =AssetX Script Libraries= | + | ==[[AssetX Scripts]]== |
| | | |
− | As well as being a Help Page, this page is intended to be a source for scripts written for AssetX.
| + | ==[[Tutorials for AssetX and PEV Tools]]== |
| | | |
− | '''Please Note''' Any installers on this page must be executed separately, and AssetX opened immediately afterwards.
| + | ==[[Articles]]== |
− | | + | |
− | ==Ian Woodmore's TARDIS 2.0 Scripts== | + | |
− |
| + | |
− | During the development of AssetX, Ian Woodmore wrote an extensive set of repair and update upgrade scripts to test the scripting language.
| + | |
− |
| + | |
− | These TARDIS scripts, in conjunction with Asset X, can perform automated repair. upgrade and up-version of legacy assets to any asset trainz-build TB 2.7 or greater.
| + | |
− |
| + | |
− | The scripts cover a wide range of common config.txt tags and containers. They work fine for the bulk of early version assets. Any remaining errors must be fixed manually using CM2 or CM3 as a guide.
| + | |
− |
| + | |
− | The script installer is available from [http://www.members.optusnet.com.au/~villaump/Apps/Ians_Tardis_Scripts.exe HERE] and will automatically load the scripts into your AssetX installation.
| + | |
− | | + | |
− | | + | |
− | ==PEV's Version Upgrade Scripts==
| + | |
− | Also during the development of AssetX, PEV wrote a simple set of version upgrade scripts to test the scripting language.
| + | |
− | | + | |
− | These are a set of four AssetX scripts that, together, can perform asset version upgrades to TC1/2 (trainzbuild 2.7) or TS2009 (trainzbuild 2.9).
| + | |
− | | + | |
− | These simple scripts do no error checking, and only cover the common config.txt tags. They work fine for the bulk of early version assets. Those errors that remain must be fixed manually using CM2 or CM3 as a guide.
| + | |
− | | + | |
− | The script installer is available from [http://www.members.optusnet.com.au/~villaump/Apps/PEVs_Updating_Scripts.exe HERE]
| + | |
− | and will automatically load the scripts into your AssetX installation.
| + | |
− | | + | |
− | | + | |
− | ==Add TrainzUtil to your AssetX Menu==
| + | |
− | | + | |
− | AssetX can use TrainzUtil to verify assets and commit them into the Trainz database.
| + | |
− | | + | |
− | Please be aware that this process is quite slow, and it requires the version setting in Options/Paths be set for the target Trainz version (if you have more than one Trainz installation).
| + | |
− | | + | |
− | The menu installer is available from [http://www.members.optusnet.com.au/~villaump/Apps/TrainzUtil_Menu_Script.exe HERE]
| + | |
− | and will automatically load into your AssetX installation. This installer loads a "RunOnce" script that will execute automatically when you open AssetX and then the RunOnce will delete itself when finished. You need to close and re-open AssetX to see the new TrainzUtil menu.
| + | |
− | | + | |
− | If you wish to '''remove''' the TrainzUtil Menu use this [http://www.members.optusnet.com.au/~villaump/Apps/TrainzUtil_Menu_Delete.exe LINK]
| + | |
− | | + | |
− | | + | |
− | =Script Code for Sharing= | + | |
− | If you have written an AssetX script that you think may be useful for the community you can copy and paste it into this section.
| + | |
− | To get the text to appear in a code box, all of the lines must start with a space character. Here is a simple example:-
| + | |
− | | + | |
− | FileName "Username.axm"
| + | |
− |
| + | |
− | -If|config.txt\name!""
| + | |
− | -Save|0|config.txt\name
| + | |
− | -Update|config.txt\username|"*** NEW TAG ***"
| + | |
− | -Restore|0|config.txt\username
| + | |
− | -delete|config.txt\name
| + | |
− | -EndIf
| + | |
AssetX uses PEV's Images2TGA, PM2IM and QuickShadows as part of its toolbox. Download these from
here