Did not cleanup PEVSoft\AssetX\scripts\4_Cleanups\AssetFilename.ax m

xcrossi

New member
Did not delete assetfilenames
Had to do 1 at a time.
Batch Script: C:\Program Files (x86)\PEVSoft\AssetX\scripts\4_Cleanups\AssetFilename.axm
9 of 9 assets processed
Saturday 30 November 2013, 07:24:29, Elapsed Time: 00:13:420
------------------------------------------------------------------------------------
f:\trainz simulator 12\UserData\editing\beacon red flash sm

f:\trainz simulator 12\UserData\editing\beacon red no flash sm

f:\trainz simulator 12\UserData\editing\beacon white flash lrg

f:\trainz simulator 12\UserData\editing\beacon white no flash lrg

f:\trainz simulator 12\UserData\editing\beacon white no flash sm

f:\trainz simulator 12\UserData\editing\beacon yellow flash lrg

f:\trainz simulator 12\UserData\editing\beacon yellow flash sm

f:\trainz simulator 12\UserData\editing\beacon yellow no flash lrg

f:\trainz simulator 12\UserData\editing\beacon yellow no flash sm
 
Same result here. I think it's because for that Trainz-build, assetfilename was still a valid tag. However, there is a way to remove it in batch mode.

First make sure each asset has a valid mesh-table added (I edited these assets a long time ago, so I can't remember if they already had mesh-tables or not). There is an AssetX mesh-table script to do that in batch mode if you go by way of the Scripts\Run Script On Tagged Assets menu.

In one of the beacons, make assetfilename an empty tag by deleting it's value (fred2) and saving.

Batch replicate that now empty tag to all the other beacons (File\Replicate to Tagged Assets).

Select all beacons and use Scripts\Run Script On Tagged Assets \5-Take Out The Garbage\Removes Empty String Tags which deletes all instances of the empty assetfilename tag.

I did this and they committed without errors in TS2010.
 
Last edited:
Back
Top