Professional Documents
Culture Documents
uk>
Installation
============
This program has been tested on, and is known to work under, the following Windows
versions:
1) Please read License.txt before proceeding. If you don't agree with the license
then delete this software now! ;)
2) You can run ScriptEd from anywhere just so long as scintilla.dll, scilexer.dll,
cpicker.dll and scriptinfo.xml are in the same folder as the exe. If you want to
set up file associations (see below) then copy scripted.exe, scintilla.dll,
scilexer.dll, cpicker.dll and scriptinfo.xml to your Windows folder.
Note: ScriptEd uses a special hack of scintilla and scilexer. It will not work
with any other version of these DLLs (unless of course you compile your own version
of Scintilla and incorporate the hacks found in the source code sub-folder).
Note: If you have previously installed ScriptEd you should overwrite your existing
installation with this new distribution.
You will need Microsoft Visual C++ 2010 in order to compile the source code for
ScriptEd using
either the workspace or solution file. You can use the Express version of Visual
Studio. However,
if you use the Express edition you will not be able to edit the resource files in
VS, instead,
if you want to chang these you will need to manually edit resource.h and aisedit.rc
using
something like notepad.exe
History
=======
Version 3.0.0.42
----------------
* Upgraded: ScriptEd now uses the latest version of Scintilla and SciLexer
(v3.0.3).
* Added: The auto-completion list now has colour coded icons for different keyword
types
* Added: Code folding. #load directives are automatically detected and the code
between the
#load... and #end-if can be collapsed or expanded by clicking on the
margin icon.
User regions can be defined using the following directive:
;!region ....
{code here}
;!endregion
* Added: Full syntax checking. This is accessible from the Tools menu, or by
pressing F9.
Note: the syntax checker works from the copy of the file on disk rather
than the
copy of the file stored in the editor's memory; you will need to save
the file
first before running the checker.
The following directive can be used for multi-file AIs in order to
tell the checker
what options to use and which file is the top-level loader:
where:
<path> is the full path to the top-level AI file
<options> are one or more of the following separated by
spaces:
--stats - prints file-
level statistics
--no-stats - suppresses file-level
stats
--warnings - prints warning
messages
--no-warnings - suppresses warning
messages
--info - prints
informational messages
--no-info - suppresses
informational messages
<symbols> is a space-delimited list of definable system
symbols
The <options> and <symbols> sections are optional.
Example:
;![@ScriptEd main="c:\Program Files\Microsoft Games\Age of Empires
II\AI\minimus.per"]
* Added: UP command support to scriptinfo.xml bringing it in line with UP release
20120130-142304
* Added: New registry setting required: HKCU\Software\AIScripters\ScriptEd\aiCheck.
This
stores the full path to the aicheck.exe program. see below for more
information.
* Fixed: Missing or incorrect scriptinfo.xml entries:
Missing identifiers:
my-player-number
my-unique-unit
this-any-ally
this-any-computer
this-any-computer-ally
this-any-computer-enemy
this-any-computer-neutral
this-any-enemy
this-any-human
this-any-human-ally
this-any-human-enemy
this-any-human-neutral
this-any-neutral
REAL-WORLD-BYZANTIUM-MAP
REAL-WORLD-CARIBBEAN-MAP (called central america)
REAL-WORLD-ENGLAND-MAP (called britain)
REAL-WORLD-FRANCE-MAP
REAL-WORLD-ITALY-MAP
REAL-WORLD-JUTLAND-MAP (called norse lands)
REAL-WORLD-MIDEAST-MAP
REAL-WORLD-NIPPON-MAP (called sea of japan)
REAL-WORLD-SPAIN-MAP (called iberia)
REAL-WORLD-TEXAS-MAP
CUSTOM-MAP
ri-elite-turtle-ship
gaia
gate
ri-elite-war-wagon
48 UP operators
ri-elite-plumed-archer
Fixed items:
siege-workshop (now classified correctly)
SCANDANAVIA-MAP (spelling changed to the incorrect spelling
used by game engine)
KING-OF-THE-HILL (changed from KING)
DEFEND-WONDER (changed from DEFEND-THE-WONDER)
TURBO-RANDOM-MAP (now classified as game setting)
monk-set (UP change 20120130-142304)
trebuchet-set (UP change 20120130-142304)
huskarl-set (UP change 20120130-142304)
* New Program: aicheck.exe
The aicheck.exe program is written in .NET framework v2.0 so in order to use this
program
you must have the .NET v2 run-time installed on your computer. This program is the
back-end
parser used by ScriptEd and AIChecker (see below), but can also be run from the
command line.
The command line syntax is:
where options and symbols have the same meanings and values as decribed above in
the section
relating to the ;![@ScriptEd directive.
If aicheck is not passed any symbols then all rules and file structures will be
checked. If
symbols are passed then only rules included by the corresponding #load-if-defined
and
#load-if-not-defined directives will be reported (all rules are still checked for
consistency).
AICheck supports all 1.0c and UP v1.1 identifiers and should correctly parse the
new load-random
features in UP v1.1
Note: aicheck needs to know where scriptinfo.xml is stored and looks for the
ScriptEd registry
setting for the correct path. The program will not run if this value is not set or
points
to a pre-version-3 version of the file.
Note: to ensure that the HKCU\Software\AIScripters\ScriptEd\aiCheck registry
setting is correcly
set, copy the file to the folder in which you intend to run it from (probably the
same folder you
copied ScriptEd to) and run it once.
Version 2.2.0.41
----------------
* Added: Basic syntax checker - checks parentheses and arrows. Note: the line
number
reported will not be exact, but will refer to the defrule statement
immediately
above the line reported. This also reports the number of rules and
defconsts
found in the file. Hotkey: F8.
* Added: scriptinfo.xml support for User Patch facts, actions, sn's, etc.
* Fixed: Mouse-over tip-text no longer displayed for editor windows that do not
have the focus.
* Fixed: Numerous fixes to scriptinfo.xml related to missing or incorrect
definitions
* Fixed: Multiple defconsts declared on the same line are now loaded correctly
* Fixed: Creating a new document and then maximizing when existing document is
maximised
no longer corrupts the screen.
Version 2.1.4.38
----------------
* Added: Replace All now tells you how many occurences were replaced.
* Fixed: serious bug in "replace all" causing program to crash.
Version 2.1.3.37
----------------
* Changed: All colours are now customisable to any shade you want.
* Note: This version will automatically convert your registry settings for colour
settings. This means that you will not be able to use any previous version
of scriptEd unless you manually delete all of the registry values under
HKEY_CURRENT_USER\Software\AIScripters\ScriptEd.
Version 2.1.2.36
----------------
Version 2.1.1.35
----------------
* Changed: The program now searches for the scriptinfo.xml data file in the
following order:-
(1) The location specified by the registry key string value "XMLFile"
under HKEY_CURRENT_USER\Software\AIScripters\ScriptEd
(2) The path of the EXE
(3) The current working directory
(4) The Windows directory
If the program finds the file it will update the registry. If it is unable
to find
the file the program will terminate. You will need to use regedit to
manually
edit the registry and set the correct file location.
* Changed: Makefile support removed for compiling source code
Version 2.1.0.34
----------------
* Changed: Script reference window is now a proper re-sizable MDI child window
* Fixed: Goto Line goes to previous line in file (line number counts 0 - (total
lines -1) )
Version 2.0.1.30
----------------
*Fixed: Auto-completions stops working when more than one character deleted at a
time
Version 2.0.0.29
----------------
* Updated (2.0.0.23): XML data file now includes many more descriptions and usages
* Fixed (2.0.0.28): new constants are not colourised in the file they are declared
when F5 hit.
* Fixed (2.0.0.28): Program crashes when closing default document using hotkeys
* Fixed (2.0.0.25): Program doesn't auto-detect location of XML data file
* Fixed (2.0.0.25): Command font name truncated in registry
* Fixed (2.0.0.24): Tips with empty descriptions are shown
* Fixed (2.0.0.22): XML data has long descriptions that run off the end of the
screen
* Fixed (1.0.3.17): Saving a script with no name crashes the program
* Fixed (1.0.3.15): Open file window creation is arse-about-face
* Fixed (1.0.3.14): Goto Line dialogue stopped working
* Fixed (1.0.3.11): auto-complete keyword recognition buffer problem
* Fixed (1.0.3.11): Window list not updated correctly
Version 1.0.2.10
----------------
Version 1.0.1.2
---------------