Exported Scripts

Post Reply
User avatar
clintonman
Captain
Posts: 5422
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Exported Scripts

Post by clintonman »

Script for exporting scripts to xml files en-mass. It works by opening the script editor for each script, running the export and using SendKeys to type the file names into the dialog for exporting. At the end of all the exports it writes a key file to match the xml file with the location inside the trueSpace hierarchy.

There is also a link to the result of running the script on the different sections of the Nov 11 Unofficial Update. I find the best way to view the files is with Visual Studio Code and using the "find in files" feature to search through the files.


http://clintons3d.com/plugins/truespace ... riptexport


BTW windows explorer says there are 1662 files created from all those scripts in the Unofficial Updates... minus 10 for the text file listings and it comes to 1652 scripts. :shock:
Clinton Reese

http://clintons3d.com
User avatar
trueBlue
Captain
Posts: 5208
Joined: 06 Jul 2009, 22:50
Type the number ten into the box: 10

Re: Exported Scripts

Post by trueBlue »

clintonman wrote: 17 Nov 2021, 03:52 BTW windows explorer says there are 1662 files created from all those scripts in the Unofficial Updates... minus 10 for the text file listings and it comes to 1652 scripts. :shock:
I took a peak at your ExportedScripts.zip
There is 45 scripts in Commands UUv8 - 11/11/2021

In your ExportedScripts_Commands folder there is 138 xml files and 1 txt file which list the 45 scripts in Commands
Several of these xml files do not exist in Commands
There is several xml files that are duplicates with a different name
User avatar
trueBlue
Captain
Posts: 5208
Joined: 06 Jul 2009, 22:50
Type the number ten into the box: 10

Re: Exported Scripts

Post by trueBlue »

I think I know why there is all the extra scripts
It looks like your export script is picking up all the scene scripts
User avatar
clintonman
Captain
Posts: 5422
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Re: Exported Scripts

Post by clintonman »

I guess there's less than 1652 script nodes. Don't know what happened. I just ran the script fresh and it gave good results.
I'll rerun later and update the upload, thanks.

Ah, I see the problem. I think Commands was the first one I ran after testing and I forgot to remove the old tests. There's 46 files with a time around 6:00 and a bunch of files with time stamp around 4:00.

I removed the 93 junk files from ExportedScripts_Commands so the new total is still a shocking 1559 script nodes. :o
Clinton Reese

http://clintons3d.com
Post Reply