Updating to latest SVN Automation 3 scripts
From Aegisub Wiki
THIS INFORMATION IS OUTDATED! Aegisub 1.10 ships with the updated scripts mentioned here. If you are running an earlier version of Aegisub, upgrade now.
---
Since Aegisub 1.09 was released, several new Automation scripts have been added, and some also updated. These additions and updates are all available on the Aegisub SVN repository. This page describes how to update your scripts and includes, and what changes were made since 1.09.
[edit] How to Update
- Browse to your Aegisub\automation\ folder. Notice the three subfolders, demos, factorybrew and include. What they contains, we'll discuss later. The automation-lua.txt file contains a technical description of Automation. You probably won't need to read it.
- Delete the 9-skeleton-advanced.lua file from the demos folder.
- Download this file into your Aegisub\automation\ folder.
- Use an archiver (I recommend WinRAR) to extract the file into the folder. You should be asked to overwrite a number of files. Say Yes to them all.
Your Automation scripts and includes should now be updated to the latest version, and you can continue with the remaining tutorials.
[edit] Changes since 1.09
If you didn't use Automation before, won't matter to you. Just know that the help files included with Aegisub are no longer current on this.
- utils.lua
- Added the function xor(a,b), which computes the logical xor.
- copy_line no longer sets a global variable (this was never intended).
- Karaskel
- Split into three files: karaskel-base.lua (base functions), karaskel.lua (old "simple" one), and karaskel-adv.lua (old "advanced" one). This entirely separates the "simple" and "advanced" templates, meaning some of the overridable functions are no longer available in advanced.
- All base-template stuff is moved into a new global table named karaskel. Overridable functions still live in the top-level globals.
- Added support for furigana karaoke syntax, karaoke inline fx specifications and out-of-line karaoke fx specifications.
- Several configurable options were added. These live in the karaskel table as well. These include:
- engage_positioning - boolean, tells whether positioning-information should be calculated (automatically enabled by karaskel-adv.) (Default is false.)
- precalc_start_progress and precalc_end_progress - numbers, the start and end positions for the progress bar, when doing syllable data pre-calculation. (Defaults are 0 and 50.)
- engane_furigana - boolean, whether to process the furigana karaoke syntax in syllable data pre-processing. (Default is false.)
- furigana_scale - number, the size of furigana text relative to the main text. (Default is 0.4.)
- inline_fx_default - string, the default karaoke inline fx name. (Default is "regular".)
- ool_fx_style - string, name of style which is used for specifying out-of-line karaoke fx. (Default is false, meaning ool processing is skipped.)
- engage_trace - boolean, whether to output extra trace (debugging) text. (Default is false.)
- No longer any requirement for spaces to be timed separately.
- Demo scripts:
- Updated all demos to work with modified karaskel files.
- Renamed demo 9 file.
- Added demo 10, furigana.
- Factory brews:
- Updated to work with modified karaskel files.
- Heavily extended the syntax.
- Added new multi-template karaskel.
