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
(Moving comments to discussion page)
Line 4: Line 4:
  
  
== 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.
  
 
Note using SVN would be the quickest to install and smallest download for the beginner or novice user to get up and running. Its not as powerful as Git, but you really dont need all the extra features of Git if you are not a developer or unfamiliar with the tools.
 
Note using SVN would be the quickest to install and smallest download for the beginner or novice user to get up and running. Its not as powerful as Git, but you really dont need all the extra features of Git if you are not a developer or unfamiliar with the tools.
 
 
 
=== VeggieMight ===
 
# Download the newest version of [http://www.djstudios.org/VeggieMight.exe VeggieMight] (currently 52231DD)]
 
# Run the File
 
# Change the output directory to: C:\Games [[Image:TSU-1-final.png]]
 
# Confirm to overwrite files: [[Image:TSU-2-final.png]]
 
 
 
 
=== Zip/Tar Option ===
 
# Go To https://github.com/Vaevictusnet/Talescripts/downloads
 
# Select Download as Zip or Download As tar.gz depending on your preference
 
# Open The zip file with [http://www.7-zip.org 7-Zip]
 
# Go to the folder Vaevictusnet-Talescripts....
 
# Hightlight 'VeggieTales' folder and click the Extract button. Extract the VeggieTales folder to your VeggieTales installation directory (usually C:\Games\VeggieTales) and overwrite.
 
  
  
Line 34: Line 17:
 
# 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!
 
  
  
Line 51: Line 33:
 
* 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).
 
* 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.
 
** Synching is the same thing as 'Check for Updates' and patch any files that are needed.
 +
 +
 +
== Other Options ==
 +
If the SVN and GIT options are too difficult, the following may be easier for some people.  These options currently '''do not''' provide for updating to the current version, but should provide a more up-to-date collection of scripts.
 +
VeggieMight is a self extracting zip created and hosted by a 3rd party.  Use at your own risk.
 +
 +
 +
=== VeggieMight ===
 +
# Download the newest version of [http://www.djstudios.org/VeggieMight.exe VeggieMight] (currently 52231DD)]
 +
# Run the File
 +
# Change the output directory to: C:\Games [[Image:TSU-1-final.png]]
 +
# Confirm to overwrite files: [[Image:TSU-2-final.png]]
 +
 +
=== Zip/Tar Option ===
 +
# Go To https://github.com/Vaevictusnet/Talescripts/downloads
 +
# Select Download as Zip or Download As tar.gz depending on your preference
 +
# Open The zip file with [http://www.7-zip.org 7-Zip]
 +
# Go to the folder Vaevictusnet-Talescripts....
 +
# Hightlight 'VeggieTales' folder and click the Extract button. Extract the VeggieTales folder to your VeggieTales installation directory (usually C:\Games\VeggieTales) and overwrite.
 +
  
  

Revision as of 02:44, 2 April 2012

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.


Recommended Solutions

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

Note using SVN would be the quickest to install and smallest download for the beginner or novice user to get up and running. Its not as powerful as Git, but you really dont need all the extra features of Git if you are not a developer or unfamiliar with the tools.


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)

  • 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.


Other Options

If the SVN and GIT options are too difficult, the following may be easier for some people. These options currently do not provide for updating to the current version, but should provide a more up-to-date collection of scripts. VeggieMight is a self extracting zip created and hosted by a 3rd party. Use at your own risk.


VeggieMight

  1. Download the newest version of VeggieMight (currently 52231DD)]
  2. Run the File
  3. Change the output directory to: C:\Games TSU-1-final.png
  4. Confirm to overwrite files: TSU-2-final.png

Zip/Tar Option

  1. Go To https://github.com/Vaevictusnet/Talescripts/downloads
  2. Select Download as Zip or Download As tar.gz depending on your preference
  3. Open The zip file with 7-Zip
  4. Go to the folder Vaevictusnet-Talescripts....
  5. Hightlight 'VeggieTales' folder and click the Extract button. Extract the VeggieTales folder to your VeggieTales installation directory (usually C:\Games\VeggieTales) and overwrite.


Creating a Shortcut

You can manually create a shortcut (icon) on your Desktop, for the new VeggieTales folder/program. Note Talescripts does not include an installer program. Even though it contains the original VeggieTales.exe, you will need to create a shortcut or manually launch VeggieTales.exe from the Talescripts folder.

  1. Right click an empty area on your desktop
  2. Choose Create Shortcut
  3. Browse to and select "C:\TaleScripts\VeggieTales\VeggieTales.exe" file.



Developers

  • 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.
  • We also welcome any tweaking/updates/additions that you might come up with. Just let one of us know, you dont have to do the 'git thing', we can do it for you. Just need a link to or email with the file.


Latest Updates

Note in addition to the below summmary, 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


  • Mar 26, 2012
    • ADD Thermometer.lua by Skyfeather. Ensure your heater control is set to standard, hover the mouse over the glory hole when you press shift. May still bungle 20% or so of thermometers.
    • Updated 70% of the macros to ensure there is error catching. In other words, if you start a macro up and it can not find the pinned menus it usually just displays and hangs on 'Buttons not found', thus forcing you to break the script with Ctrl+Shift. Now it will immediately exit the script and display an error message (ie 53: Can not find 'Forge' windows.). A prime example is the Forge and Casting Box macros. Previously if no pinned windows were found, it would say 'Buttons not found', but after a 2 second delay, it would still continue the script by counting down as though it did find a pinned menu.
    • Replaced/Updated a couple of images to ensure compatibility with all the macros. Readded Kettle_Take.png. Removed the flaxoldegypt.png, flaxnile.png and flaxtedra.png. These are no longer needed as the flaxgeneric.png works for all flax, including future hybrids.
    • UPDATE crematory.lua Moved the askforwindow() routine (Press Shift key to continue) from 'before' you fill in boxes to: 'after' you fill in boxes. Ocassionally I get 'Crematory window not found errors' unless I put ATITD in focus first (even in high priority mode). By moving the 'Press shift key to continue' to after filling in the boxes, you now have an opportunity to put ATITD in focus, if needed.


  • Mar 24, 2012
    • ADD/REPLACE glass.lua with Skyfeather's update - More time efficient and doesn't need to stop making glass items to spike the temperature. Nice job!
    • ADD window_unpin.lua by Cegaiel - Will right click all windows to unpin them. Note the word 'This' must be visible in the windows for it to be clicked. I find this handy after running 20-25 thistle gardens. Yes this will even unpin windows that are overlapping each other, such as when you use the thistle_new layout (from window_arranger.lua).
    • UPDATE brick_rack.lua, kettles_full.lua and kiln.lua with the above unpin routines. It now will pause and wait for the Shift key before proceeding to unpin. Occassionally I get errors if I do not put ATITD window in focus first (even in high priority mode). This will fix that issue by waiting for you to put ATITD in focus first (if needed). This will give you the opportunity to put ATITD in focus before macro starts.


  • Mar 19, 2012
    • UPDATE windows_arranger.lua - Added paper press, brick racks and kiln layouts.
    • Removed some redundant images from VT folder and images not being used.
    • REPOST Forge.inc, 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:
    • Brick_Rack.lua - Also tweaked it by adding his "Unpin Windows" button from the Kettle Full script - Nice feature!
    • Kiln.lua - Also tweaked it by adding his "Unpin Windows" button from the Kettle Full script - Nice feature!
    • Kettle_Full.lua - Runs stoked and unstoked kettles.
    • Hackling_Rake.lua - Runs hackling rake and will only click if none of your skills are in the red.
    • Wheat.lua - Keeps your wheat beds watered and harvests them when its time.


  • Mar 17, 2012
    • FIX Forge.inc script - Got broken during last update, this is now fixed.
    • ADD Simon.lua 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.


  • Mar 10, 2012
    • Added Casting.lua / Casting.inc - Casting Box macro by Bardoth
    • Adjusted project times on Forge.inc (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 Casting.inc macro before adding it...


  • Feb 24, 2012
    • Added Crematory.lua - Crematory macro by Tallow


  • 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.


  • Jan 29, 2012
    • More powerful barley script added: needs a Warehouse and Rain Barrel though
    • Added Forge script by T5 Darkfyre. Also fixed the 'image nill' error on Sheeting and Wire!
    • Fishing Script!
    • Watermine!
    • Strength Monitor!
    • Multiple Barrel Vise!
    • Improved Onions
    • Improved Flax
    • Instructions!

Current File List

This is the current file list as of Monday, Mar 26, 2012.

This only shows the 'luascripts' folder inside of Talescripts.


File NameFile Size
acro.lua881
barley.lua10,651
barley2.lua13,703
barrel_grinder.lua2,745
barrel_vise.lua7,794
boards.lua1,620
brick_rack.lua6,624
Casting.inc16,794
Casting.lua4,098
cc_Assist.lua3,454
chem_helper.lua29,418
clay.lua5,741
click_max.lua1,096
crematory.lua19,183
cut_stones.lua2,490
essences.lua14,838
Fishing.lua12,562
Fishing_Func.inc4,438
flax.lua8,061
flax_common.inc8,290
flax_seeds.lua6,680
forge.inc31,815
forge.lua4,183
glass.lua8,768
hacking_rack.lua2,811
kettle_full.lua16,178
kiln.lua8,522
mining_t5.lua6,214
multi_click.lua2,720
onions.lua8,284
onions2.lua11,797
onions2_update_notes.txt8,089
paint_watch.lua5,605
paper_press.lua2,813
papyrus.lua4,683
pump.lua783
quarry.lua7,494
raeli_color_mon.lua2,719
Sand_mine.lua.t51,905
screen_reader_common.inc1,726
silt.lua3,889
simon.lua3,695
single_click_stat_mon.lua2,196
single_click_Strength_mon.lua1,667
testScript.lua.example650
thermometer.lua2,600
thistle_custom.lua6,483
thistle_new.lua8,540
thistle_new_updown.lua.beta9,162
timer.lua776
UITest.lua.example1,115
ui_utils.inc4,510
watermine.lua4,554
wheat.lua3,367
window_arranger.lua4,098
window_opener.lua1,519
window_unpin.lua1,608
wood.lua2,608