_GOFSHBUILDFILE 'a buildfile tells GoFSH how to construct a set of FSH, it will recurse a set of directories looking for things to do 'before setting off if all steps pass muster. It will use these settings for this directory and use settings in each build step for that directory only 'this is a comment line 'so is this, the blank lines above and below are ignored 'options and parameters are to be typed as shown, mixed case is OK but no spaces in parameters. Items in {} are defaults 'SRCDIR= [ * | *\foldername | path] 'required Directory must exist, if "embedded spaces quote" 'DESTDIR=[ * | *\foldername | # | #\foldername | path] 'required Directory must exist, if "embedded spaces quote" 'Use a set of these 'GENERATE= [{NONE} | W13 | W16 | W17] 'MAKEFSH= [{TRUE} | FALSE], will also make _ReaderLoadList in DESTDIR if TRUE 'FSHFORMAT= [{AUTO} | DXT1 | DXT3] 'COMPRESS= [{TRUE} | FALSE] 'MIPMAPS= [{HALVE} | NONE] (LATER MAYBE = BAT or BATHALVE or 4TILE or TERRAIN) 'NUMBERED= [{TRUE} | FALSE], only actioned if MAKEFSH is true 'PROOFSET= [{TRUE} | FALSE] 'OR 'NOTE THAT PACKING IS A DISTINCT OPERATION FROM GENERATION 'PACK=Filename.dat 'FSH in SRCdir will be packed into DestDir/Filename.dat 'On the startup of the script the options are set as follows 'TOPDIR = Dir that this file is in, will always make a processing log in here 'SRCDIR = 'ie Must be declared and to start a new block 'DESTDIR = 'ie Must be declared will be flagged in error if not following a SRCDIR 'GENERATE=NONE 'FSHFORMAT=AUTO 'any of these take effect between src/dest dir pairs 'COMPRESS=TRUE 'MIPMAPS=HALVE 'MAKEFSH=TRUE 'NUMBERED=FALSE 'PROOFSET=FALSE 'now for every sub directory we can define what to do by overriding what is active 'after execution these revert to the original settings. '# moves with depth in the tree, * always stays the same 'eg 'SRCDIR=*\Foldername1 'DSTDIR=*\WORK 'GENERATE=W13 'MIPMAPS=HALVE 'takes everything eligible in SRCDIR and generates wealth 1-3 and mipmaps in TOPDIR\WORK which must exist 'SRCDIR=*\Foldername2 'DSTDIR=#\WORK_EU 'GENERATE=W16 'MIPMAPS=NONE 'takes everything eligible in SRCDIR and generates wealth 1-6 and saves x4.Fsh in TOPDIR\Foldername2\WORK_EU which must exist 'Should be put at the end of a set of builds to package the .fsh files produced 'SRCDIR=#\WORK_EU 'DSTDIR=#\zRelease 'PACK NewExample.dat 'takes the _ReaderLoadlist.txt in THISDIR\SRCDIR and copies the FSH refrred to into THISDIR\DestDir\Filename.dat 'etc etc. '================ CORE TILES ============= SRCDIR=*\Base w13 DESTDIR=*\WORK\Common Base GENERATE=W13 NUMBERED=TRUE SRCDIR=*\Base w13 EU DESTDIR=*\WORK\EU Base GENERATE=W13 NUMBERED=TRUE SRCDIR=*\Base w13 US DESTDIR=*\WORK\US Base GENERATE=W13 NUMBERED=TRUE SRCDIR=*\Base w16 EU DESTDIR=*\WORK\EU Base GENERATE=W16 NUMBERED=TRUE SRCDIR=*\Base w16 RailX DESTDIR=*\WORK\Common Base GENERATE=W16 NUMBERED=TRUE SRCDIR=*\Base w16 US DESTDIR=*\WORK\US Base GENERATE=W16 NUMBERED=TRUE SRCDIR=*\Base XStreet w16 DESTDIR=*\WORK\Common Base GENERATE=W16 NUMBERED=TRUE SRCDIR=*\Base XStreet w16 Rounded DESTDIR=#\WORK GENERATE=W16 NUMBERED=TRUE SRCDIR=*\Cul de Sac w13 DESTDIR=#\WORK GENERATE=W13 NUMBERED=TRUE '=============================== NAM FROM HERE SRCDIR=*\NAM Diagonal w13 DESTDIR=*\WORK\Common NAM Diagonal GENERATE=W13 NUMBERED=TRUE SRCDIR=*\NAM Diagonal w13 EU DESTDIR=*\WORK\EU NAM Diagonal GENERATE=W13 NUMBERED=TRUE SRCDIR=*\NAM Diagonal w13 US DESTDIR=*\WORK\US NAM Diagonal GENERATE=W13 NUMBERED=TRUE SRCDIR=*\NAM Diagonal w16 RailX DESTDIR=*\WORK\Common NAM Diagonal GENERATE=W16 NUMBERED=TRUE SRCDIR=*\NAM Draggable WRC w13 DESTDIR=*\WORK\Common NAM Uses GENERATE=W13 NUMBERED=TRUE SRCDIR=*\NAM FAR w13 EU DESTDIR=*\WORK\EU NAM Uses GENERATE=W13 NUMBERED=TRUE SRCDIR=*\NAM FAR w13 US DESTDIR=*\WORK\US NAM Uses GENERATE=W13 NUMBERED=TRUE SRCDIR=*\NAM NWM EU DESTDIR=*\WORK\EU NAM Uses SRCDIR=*\NAM NWM US DESTDIR=*\WORK\US NAM Uses SRCDIR=*\NAM RHW Odds DESTDIR=*\WORK\Common NAM Uses SRCDIR=*\NAM RHW w16 DESTDIR=*\WORK\Common NAM Uses GENERATE=W16 NUMBERED=TRUE SRCDIR=*\NAM Roundabouts w17 DESTDIR=*\WORK\Common NAM Uses GENERATE=W17 NUMBERED=TRUE SRCDIR=*\NAM Roundabouts w17 EU DESTDIR=*\WORK\EU NAM Uses GENERATE=W17 NUMBERED=TRUE SRCDIR=*\NAM Roundabouts w17 US DESTDIR=*\WORK\US NAM Uses GENERATE=W17 NUMBERED=TRUE SRCDIR=*\NAMX w13 DESTDIR=*\WORK\Common NAM Uses GENERATE=W13 NUMBERED=TRUE SRCDIR=*\NAMX w13 EU DESTDIR=*\WORK\EU NAM Uses GENERATE=W13 NUMBERED=TRUE SRCDIR=*\NAMX w13 US DESTDIR=*\WORK\US NAM Uses GENERATE=W13 NUMBERED=TRUE SRCDIR=*\NAMXOdds DESTDIR=*\WORK\Common NAM Uses SRCDIR=*\NAMXOdds EU DESTDIR=*\WORK\EU NAM Uses SRCDIR=*\NAMXOdds US DESTDIR=*\WORK\US NAM Uses SRCDIR=*\NAMXOdds NoMips DESTDIR=*\WORK\Common NAM Uses MIPMAPS=NONE SRCDIR=*\NAMXOdds EU NoMips DESTDIR=*\WORK\EU NAM Uses MIPMAPS=NONE SRCDIR=*\NAMXOdds US NoMips DESTDIR=*\WORK\US NAM Uses MIPMAPS=NONE '======= PACKAGING ======================= ' the files containing Paths,FLUPs and Parking are stored in _Release prior to running 'Common textures SRCDIR=*\WORK\Common Base DESTDIR=*\_Release\RVT Streets PACK=RVT Tarsealed Streets - Base.dat SRCDIR=*\Base XStreet w16 Rounded\WORK DESTDIR=*\_Release\RVT Streets PACK=RVT Tarsealed Streets - Base_Optional Rounded XT.dat SRCDIR=*\Cul de Sac w13\WORK DESTDIR=*\_Release\RVT Streets PACK=RVT Tarsealed Streets - Base_Optional Cul de Sac.dat SRCDIR=*\WORK\Common NAM Diagonal DESTDIR=*\_Release\RVT Streets PACK=RVT Tarsealed Streets - NAM Diagonal.dat SRCDIR=*\WORK\Common NAM Uses DESTDIR=*\_Release\RVT Streets PACK=RVT Tarsealed Streets - NAM Uses.dat 'Euro textures SRCDIR=*\WORK\EU Base DESTDIR=*\_Release\RVT Streets PACK=RVT Tarsealed Streets - zEU Base.dat SRCDIR=*\WORK\EU NAM Diagonal DESTDIR=*\_Release\RVT Streets PACK=RVT Tarsealed Streets - zEU NAM Diagonal.dat SRCDIR=*\WORK\EU NAM Uses DESTDIR=*\_Release\RVT Streets PACK=RVT Tarsealed Streets - zEU NAM Uses.dat 'US textures SRCDIR=*\WORK\US Base DESTDIR=*\_Release\RVT Streets PACK=RVT Tarsealed Streets - zUS Base.dat SRCDIR=*\WORK\US NAM Diagonal DESTDIR=*\_Release\RVT Streets PACK=RVT Tarsealed Streets - zUS NAM Diagonal.dat SRCDIR=*\WORK\US NAM Uses DESTDIR=*\_Release\RVT Streets PACK=RVT Tarsealed Streets - zUS NAM Uses.dat '==== Installation Instructions ======= 'Put everything into Z___RVT Modds\RVT Streets 'Delete what you dont use - e.g. if Euro delete the zUS files