The Wiki for Tale 6 is in read-only mode and is available for archival and reference purposes only. Please visit the current Tale 11 Wiki in the meantime.

If you have any issues with this Wiki, please post in #wiki-editing on Discord or contact Brad in-game.

Difference between revisions of "TaleScripts"

From ATITD6
Jump to navigationJump to search
 
(115 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 +
== Latest Updates ==
 +
<table border=1 cellspacing=0 cellpadding=4 bordercolor=#eaeaea>
 +
<TR>
 +
<TD>Latest <b>Talescript</b> Update:</td>
 +
<TD><b><font color=blue>July 23, 2012</font></b></td>
 +
<TD>[[TaleScripts/Updates|History]]</td>
 +
</tr>
 +
<TR>
 +
<TD>Latest <b>VeggieTale</b> Update:</td>
 +
<TD><b><font color=blue>July 7, 2012</font></b></td>
 +
<TD>[http://bigscreensmallgames.com/ATITD/ History]</td>
 +
</tr>
 +
</table>
 +
 +
Note the update dates are no longer being updated on this page, but doesn't mean Veggie Tales isn't being updated anymore ;)
 +
 +
== News ==
 +
 +
The issue of renaming files with case sensitivity has been fixed on last release. Thanks again Jimbly!
 +
 +
 
== Summary ==
 
== Summary ==
  
Talescripts is a community driven project to develop, build and maintain a standard distribution of macros for ATITD.  The problem, currently, is that each macro user must piecemeal together scripts from various sources, and there's no automatic way to sync up and acquire new scripts and bugfixes.
+
Talescripts is a community driven project to develop, build and maintain a standard distribution of macros for ATITD.  The problem, currently, is that each macro user must piecemeal together scripts from various sources, and there's no automatic way to sync up and acquire new scripts and bug fixes.
  
  
== Solution ==
+
== Recommended Solutions ==
  
 
Currently, only VeggieTales is supported, but support for AHK and ACTools is provided, if we can get some maintainers for those scripts.
 
Currently, only VeggieTales is supported, but support for AHK and ACTools is provided, if we can get some maintainers for those scripts.
  
We need layperson testers for these options:
+
 
 +
=== VeggieTales Updater ===
 +
 
 +
Recommended:
 +
 
 +
#Run VeggieTales
 +
#Click the Update button (when it glows green in the Luascripts menu or when you see the "Update Talescripts" button in the Main menu.
 +
#Otherwise clicking the Update button will sync your folder back to the last known Talescripts version (undo and backup any locally modified files).
  
  
Line 17: Line 45:
 
# use https://github.com/Vaevictusnet/Talescripts as your target
 
# use https://github.com/Vaevictusnet/Talescripts as your target
 
# go into your c:\TaleScripts\trunk\VeggieTales folder and enjoy!
 
# go into your c:\TaleScripts\trunk\VeggieTales folder and enjoy!
 
  
  
 
=== Git option ===
 
=== Git option ===
 
# Install msysgit: http://code.google.com/p/msysgit/downloads/list
 
# Install msysgit: http://code.google.com/p/msysgit/downloads/list
#* Should be the file that looks like: msysGit-netinstall-1.7.8-preview20111206.exe
+
#* Should be the file that looks like: msysGit-netinstall-#.#.#-preview#.exe
 
# Install TortoiseGIT: http://code.google.com/p/tortoisegit/downloads/list
 
# Install TortoiseGIT: http://code.google.com/p/tortoisegit/downloads/list
 
#* get the latest version for your system 64-bit or 32-bit
 
#* get the latest version for your system 64-bit or 32-bit
Line 31: Line 58:
  
  
== Syncing ==  
+
== Syncing (Updating to Latest Copy) ==  
* Just use SVN Update or Git Pull with the default options. These options are accessible by right clicking the Talescript folder (in Windows Explorer/My Computer).
+
<b>VeggieTales v1.6.0+:</b>
 +
* Click the Update button
 +
 
 +
 
 +
<b>Git/SVN options:</b>
 +
* Just use <b>SVN Update</b> or <b>Git Pull</b> with the default options. These options are accessible by right clicking the Talescript folder (in Windows Explorer/My Computer).
 +
** Synching is the same thing as 'Check for Updates' and patch any files that are needed.
 +
 
  
 +
== Developers ==
 +
* Use Git, for best results. Fork and talk to Vae, Cegaiel, Tallow or KasumiGhia about getting pulled into the main release.  We can assist if you're unfamiliar with the tools.
  
  
== Creating a Shortcut ==
+
== Updates History ==
You can manually create a shortcut (icon) on your Desktop, for the new VeggieTales folder/program:
+
Note in addition to the below link (View All Updates), you can also view updates to the repository such as: compare files, see the before and after in the macro source code, etc at https://github.com/Vaevictusnet/Talescripts
# Right click an empty area on your desktop
 
# Choose Create Shortcut
 
# Browse to and select C:\TaleScripts/VeggieTales/VeggieTales.exe file.
 
  
  
== Developers ==
+
Updates have been moved since this section is getting large:
* Use Git, for best results. Fork and talk to Vae, Cegaiel, or KasumiGhia about getting pulled into the main release.  We can assist if you're unfamiliar with the tools.
 
  
 +
[[TaleScripts/Updates | View All Updates]]
  
== Latest Updates ==
 
*Mar 19, 2012
 
** UPDATE windows_arranger.lua with paper press, brick racks and kiln layouts.
 
** Removed some redundant images VT folder and images not being used.
 
** REPOST Forge script, uploaded wrong one yesterday
 
** DELETE kettle_unstoked.lua (as the unstoked functions are still included in below Kettle_Full.lua.
 
  
* ADD - the following macros from Bardoth:
+
== Bugs, Errors, Suggestions ==
** Brick Rack - Also tweaked it by adding his "Unpin Windows" button from the Kettle Full script - Nice feature!
 
** Kiln - Also tweaked it by adding his "Unpin Windows" button from the Kettle Full script - Nice feature!
 
** Kettle Full
 
** Hackling Rake
 
** Wheat
 
  
 +
Any ideas, requests, comments, bugs, etc? Please use the [[Talk:TaleScripts | Discussion]] page.
  
  
* Mar 17, 2012
+
==VeggieTales Info==
** FIX Forge script - Got broken during last update, this is now fixed.
+
[[Jimbly's Macros | View Jimby's Macro page]] for more information about VeggieTales.
** ADD Simon macro by Tallow - Allows you to set click points and it will repeat the pattern. Idea for pinning up a menu, such as paints and have it repeat upon demand.
 
  
 +
Official VeggieTales app page: [http://www.bigscreensmallgames.com/ATITD/ http://www.bigscreensmallgames.com/ATITD/]
 +
----
  
* Mar 10, 2012
 
** Added Casting Box macro by Bardoth
 
** Adjusted project times on Forge (added Jan 29) to have less gaps between projects. There was 30s gap on 10 min projects and 60s gap on 15m projects (gap meaning the time between a project getting done and when the next one was clicked to start). Previously the formulas were 70s * project time (ie 70*15000 for a 15m project) which causes the times to drift over time. Times are now in Teppy Time: 1m = 66s + 3 seconds 'safety net' in case of lag (total 69s), etc. I also applied the new times to the above Casting Box macro before adding it...
 
  
 +
<b><i><font color=maroon>Latest VeggieTales updates:</font></i></b>
  
* Feb 24, 2012
 
** Added Crematory macro by Tallow
 
  
 +
<b><font color=#060a86>You no longer need to use SVN or Git programs to get your updates, or dont even need it installed.
 +
<BR>Just click the update button, in VeggieTales, to update the latest Talescripts updates!</font></b>
  
* Feb 22, 2012
 
** Furthur fine tuning to onions2.lua. All updates/tweaks explained in Onions2_update_notes.txt which is included in the luascripts folder.
 
  
 +
* <b>Update button:</b> Click it to automatically download files AND sync from the current Talescripts version.
 +
**There is an Update button that appears in two locations. 1) There is always an update button inside the Luascripts menu. This Update button will glow green when it detects there is an update. 2) <u>Only</u> when an update is detected, it will also show a non glowing "Update Talescripts" button on the main menu. So its very hard to miss when a new update is available.
 +
***But it won't glow green (in luascripts menu) unless it detects there's been a new update on Talescripts.
 +
***If you make local changes, you can always click Update to get it to sync back to the old version.
  
* Jan 29, 2012
+
* <b>Backup routine:</b> Any files that exist, that has been modified since the last update, will be renamed from foo.lua to foo.000. If foo.000 exists, then leave foo.000 alone and back up to foo.001, .002, etc. So this means if you was tweaking something and apply an update, it will rename your work to .000, .001, so its not permenantly lost. It will backup to a maximum of .005 and then start overwriting .000, 001, etc).
** More powerful barley script added: needs a Warehouse and Rain Barrel though
+
* <B>New Reference File:</b> <u>ScriptingReference.txt</u> which will have the VeggieTales scripting reference.
** Added Forge script by T5 Darkfyre. Also fixed the 'image nill' error on Sheeting and Wire!
+
* <b>New Reference File:</b> <u>ThistleReference.txt</u> - Notes about using Thistle Mode.
** Fishing Script!
+
* <b>Directory Restructure:</b> All image/sound files (.png/.wav) is now located in its own folder, <b>/images</b> folder, instead of the main/root folder. Finding all of the .txt config/reference/log files will be easier to find in the main folder, now that they're not buried amongst many image files. This provides a cleaner root folder. So now when using a function like <i>findAllImages(This.png);</i> it would look in the 'images' folder (for This.png file) instead of the main folder. For different folders use <i>findAllImages(Fishing/image.png);</i> to look in the /images/fishing folder, etc (v.1.6.1).
** Watermine!
+
* <b>Secured LUA execution</b> so that it does not allow access to the OS module (running external programs) nor file I/O outside of text files in the VeggieTales directory. In other words, you can not access files outside the VeggieTales folder (malicious activity) (v.1.6.2).
** Strength Monitor!
+
*<b>Fixed</b> various screen scraping functions to throw an error if they are called before srReadScreen instead of crashing. Added lsMouseIsDown for polling mouse state (v1.6.3).
** Multiple Barrel Vise!
+
* <b>Added integrated self-update of program executable</b>.  Executable updates can only be pushed from Jimbly, not GitHub. In other words, with this version, you should never need to use an installer file for future updates. Even VeggieTales.exe will self update in future (but only by Jimbly on his end, so you will know its from a reputable source) (v.1.6.4).
** Improved Onions
+
*<b>Fixed</b> slow srGetWindowBorders (window_manager.lua).  Added lsClipboardGet, lsClipboardSet. (v1.6.5).
** Improved Flax
+
*<B>Added OCR</b> Text Recognition (Skyfeather) (v1.6.7)
** Instructions!
+
*<b>Fix</b> for alpha issue with OCR (Tallow) (v1.6.8). The OCR functions (added in v1.6.7) should now work on all video cards now or at least most.

Latest revision as of 04:00, 4 February 2014

Latest Updates

Latest Talescript Update: July 23, 2012 History
Latest VeggieTale Update: July 7, 2012 History

Note the update dates are no longer being updated on this page, but doesn't mean Veggie Tales isn't being updated anymore ;)

News

The issue of renaming files with case sensitivity has been fixed on last release. Thanks again Jimbly!


Summary

Talescripts is a community driven project to develop, build and maintain a standard distribution of macros for ATITD. The problem, currently, is that each macro user must piecemeal together scripts from various sources, and there's no automatic way to sync up and acquire new scripts and bug fixes.


Recommended Solutions

Currently, only VeggieTales is supported, but support for AHK and ACTools is provided, if we can get some maintainers for those scripts.


VeggieTales Updater

Recommended:

  1. Run VeggieTales
  2. Click the Update button (when it glows green in the Luascripts menu or when you see the "Update Talescripts" button in the Main menu.
  3. Otherwise clicking the Update button will sync your folder back to the last known Talescripts version (undo and backup any locally modified files).


SVN option

  1. Install TortoiseSVN: http://tortoisesvn.net/downloads.html
  2. Create C:\TaleScripts
  3. right click on C:\TaleScripts and select SVN Checkout
  4. use https://github.com/Vaevictusnet/Talescripts as your target
  5. go into your c:\TaleScripts\trunk\VeggieTales folder and enjoy!


Git option

  1. Install msysgit: http://code.google.com/p/msysgit/downloads/list
    • Should be the file that looks like: msysGit-netinstall-#.#.#-preview#.exe
  2. Install TortoiseGIT: http://code.google.com/p/tortoisegit/downloads/list
    • get the latest version for your system 64-bit or 32-bit
  3. Create C:\TaleScripts
  4. right click on C:\TaleScripts and select Git Clone
  5. use git://github.com/Vaevictusnet/Talescripts.git as your URL
  6. go into your c:\TaleScripts\VeggieTales folder and enjoy!


Syncing (Updating to Latest Copy)

VeggieTales v1.6.0+:

  • Click the Update button


Git/SVN options:

  • Just use SVN Update or Git Pull with the default options. These options are accessible by right clicking the Talescript folder (in Windows Explorer/My Computer).
    • Synching is the same thing as 'Check for Updates' and patch any files that are needed.


Developers

  • Use Git, for best results. Fork and talk to Vae, Cegaiel, Tallow or KasumiGhia about getting pulled into the main release. We can assist if you're unfamiliar with the tools.


Updates History

Note in addition to the below link (View All Updates), you can also view updates to the repository such as: compare files, see the before and after in the macro source code, etc at https://github.com/Vaevictusnet/Talescripts


Updates have been moved since this section is getting large:

View All Updates


Bugs, Errors, Suggestions

Any ideas, requests, comments, bugs, etc? Please use the Discussion page.


VeggieTales Info

View Jimby's Macro page for more information about VeggieTales.

Official VeggieTales app page: http://www.bigscreensmallgames.com/ATITD/



Latest VeggieTales updates:


You no longer need to use SVN or Git programs to get your updates, or dont even need it installed.
Just click the update button, in VeggieTales, to update the latest Talescripts updates!


  • Update button: Click it to automatically download files AND sync from the current Talescripts version.
    • There is an Update button that appears in two locations. 1) There is always an update button inside the Luascripts menu. This Update button will glow green when it detects there is an update. 2) Only when an update is detected, it will also show a non glowing "Update Talescripts" button on the main menu. So its very hard to miss when a new update is available.
      • But it won't glow green (in luascripts menu) unless it detects there's been a new update on Talescripts.
      • If you make local changes, you can always click Update to get it to sync back to the old version.
  • Backup routine: Any files that exist, that has been modified since the last update, will be renamed from foo.lua to foo.000. If foo.000 exists, then leave foo.000 alone and back up to foo.001, .002, etc. So this means if you was tweaking something and apply an update, it will rename your work to .000, .001, so its not permenantly lost. It will backup to a maximum of .005 and then start overwriting .000, 001, etc).
  • New Reference File: ScriptingReference.txt which will have the VeggieTales scripting reference.
  • New Reference File: ThistleReference.txt - Notes about using Thistle Mode.
  • Directory Restructure: All image/sound files (.png/.wav) is now located in its own folder, /images folder, instead of the main/root folder. Finding all of the .txt config/reference/log files will be easier to find in the main folder, now that they're not buried amongst many image files. This provides a cleaner root folder. So now when using a function like findAllImages(This.png); it would look in the 'images' folder (for This.png file) instead of the main folder. For different folders use findAllImages(Fishing/image.png); to look in the /images/fishing folder, etc (v.1.6.1).
  • Secured LUA execution so that it does not allow access to the OS module (running external programs) nor file I/O outside of text files in the VeggieTales directory. In other words, you can not access files outside the VeggieTales folder (malicious activity) (v.1.6.2).
  • Fixed various screen scraping functions to throw an error if they are called before srReadScreen instead of crashing. Added lsMouseIsDown for polling mouse state (v1.6.3).
  • Added integrated self-update of program executable. Executable updates can only be pushed from Jimbly, not GitHub. In other words, with this version, you should never need to use an installer file for future updates. Even VeggieTales.exe will self update in future (but only by Jimbly on his end, so you will know its from a reputable source) (v.1.6.4).
  • Fixed slow srGetWindowBorders (window_manager.lua). Added lsClipboardGet, lsClipboardSet. (v1.6.5).
  • Added OCR Text Recognition (Skyfeather) (v1.6.7)
  • Fix for alpha issue with OCR (Tallow) (v1.6.8). The OCR functions (added in v1.6.7) should now work on all video cards now or at least most.