scummvm/tools
Eugene Sandulenko 859212df25 Implement translation support for ScummVM GUI.
Based on patch #2903830: "Updated Translation Prototype" by alexbevi
which in turn is based on patch #1739965 by jvprat.

Currently it builds all translations right into ScummVM. Once the
feature will be accepted more widely, i.e. more translations will
pop up, it will be trivial to move translation strings to external
file.

Finished translation: Russian
Unfinished translation: Hungarian

Things which are nice to do:
 - Language code -> language mapping for more user friendness
 - Specifying fonts to be used with language
 - Updating of interface language without restart. It will require
   moving of much code to reflowLayout() methods for each dialog

The .po files must be in single byte encodings. I.e. no support
for Unicode.

svn-id: r49759
2010-06-15 10:44:51 +00:00
..
create_drascula Patch #2970203: Drascula: typo fixes in german text 2010-05-09 18:12:22 +00:00
create_kyradat Fix possible out of bounds access. 2010-05-08 21:25:18 +00:00
create_lure Added the svn:keywords property to some files missing it. 2010-02-27 17:02:58 +00:00
create_msvc Reverted commit #49107 - it is pointless to keep silencing this warning (which is, in fact, correct) 2010-05-26 06:44:07 +00:00
create_teenagent Strip trailing spaces/tabs. 2010-01-25 01:39:44 +00:00
qtable Added the svn:keywords property to some files missing it. 2010-02-27 17:02:58 +00:00
sci SCI: moving scitrace 2010-02-22 18:06:21 +00:00
skycpt Added the svn:keywords property to some files missing it. 2010-02-27 17:02:58 +00:00
agi-palex.py Removed trailing spaces. 2008-01-27 19:47:41 +00:00
construct-pred-dict.pl Some more header modifications ("Graphic Adventure Engine" and the legal property paragraph) 2010-01-23 22:50:24 +00:00
convbdf.c Release resources properly; fix code formatting 2009-10-02 14:44:52 +00:00
credits.pl Add Gus to credits, update README & NEWS 2010-06-06 13:36:55 +00:00
dist-scummvm.sh Change 'CVS' to 'SVN' in dist-module.sh 2010-03-31 22:31:24 +00:00
extract-words-tok.pl Some more header modifications ("Graphic Adventure Engine" and the legal property paragraph) 2010-01-23 22:50:24 +00:00
make-scumm-fontdata.c Committed my own patch #2278665 ("SCUMM: Font data in old SCUMM games") to get 2008-11-14 14:03:08 +00:00
md5table.c Fix warnings 2010-05-24 13:20:35 +00:00
module.mk Implement translation support for ScummVM GUI. 2010-06-15 10:44:51 +00:00
po2c Implement translation support for ScummVM GUI. 2010-06-15 10:44:51 +00:00
README Now it says "libraries" again joostp. 2009-12-30 16:42:29 +00:00
scumm-md5.txt Added Russian Windows release of puttmoon 2010-05-24 13:22:52 +00:00
svnpropset.sh Added a script (courtesy of salty-horse) to create/set properties for source files under version control by Subversion. Specifically, the mime-type, eol-style and keywords properties are handled. 2008-07-11 15:07:13 +00:00
themeparser.py Replaced Hex Dumper in Binary theme parser. 2008-12-29 14:11:26 +00:00
update-version.pl Add Android backend from patch #2603856 2010-06-06 09:34:36 +00:00

This directory contains various tools which aid the ScummVM developers
in their work. They are not intended for the general audience, and are
only sparsely, if at all, documented. Use at your own risk. You have
been warned :-).


agi-palex.py (buddha)
------------
  Tool for extracting palettes from Amiga AGI games' executables.


construct-pred-dict.pl, extract-words-tok.pl (sev)
--------------------------------------------
   Tools related to predictive input for AGI engine.


convbdf
-------
   Tool which converts BDF fonts (BDF = Bitmap Distribution Format) to
   C++ source. That source, after being slightly tweaked, can be used to
   replace or add fonts for the ScummVM GUI.

   There is also a ttf2bdf tool which allows you to convert TrueType
   fonts to BDF.

   Hint from SumthinWicked: If you use ttf2bdf, it'll convert all glyphs
   to bitmaps, but ScummVM only needs some of them. So you may want to
   do your conversion like this:
     ttf2bdf -p SIZE -l "32_160" -o FONT.bdf FONT.ttf
   where SIZE is replaced by the desired font height.


create_drascula
---------------
    Stores a lot of hardcoded data of Drascula in a data file, based on
    the game's original source code. This includes the game's character
    map, item locations, several hardcoded arrays used in animations,
    room script logic, talk sequence logic and all of the game's texts
    (mostly the dialog subtitles) in English, Spanish, German, French
    and Italian. This tool is used to create the drascula.dat file.


create_kyradat (LordHoto, athrxx)
--------------
    Extracts various static data from the original game executables.
    This includes room tables in kyra1, various hardcoded language
    strings in both kyra1 and kyra2, script data for the sequence
    players of kyra1 and kyra2 and other static data. This tool is used
    to create the kyra.dat file.


create_lure (dreammaster)
-----------
    Extracts various static data from each of the different language
    versions of the game executables. This includes character
    animations, game scripts, and other static data. This tool creates
    the lure.dat file.


create_msvc (LordHoto, Littleboy (contributor))
-----------
    Creates project files for Visual Studio 2005, 2008 and 2010 (WIP)
    out of the configure / Makefile based build system. It also offers
    a way to enable or disable certain engines and the use of external
    libraries similar to configure. Run the tool without any arguments
    for further help.


credits.pl
----------
   This perl script contains credits to the many people who helped with
   ScummVM, and it is used to create the credits lists that occur in
   various places, including the AUTHORS file, the about dialog, and our
   web site.


dist-scummvm.sh
---------------
    This shell script is used to create source release archives for
    ScummVM releases. After tagging a branch for release, you can invoke
    it like this:

      ./dist-scummvm.sh scummvm 0.7.1

    Note #1: This creates .zip, .tar.bz2 and .tar.gz archives in /tmp by
    default. To do that it performs a "cvs export" in /tmp first. If you
    want to use another location, you can specify it as the thirds param
    to the script.

    Note #2: This assumes that our naming conventions for release tags
    are being followed. I.e. the tag must be named "release-0-7-1" in
    the above example. You can, however, specify an alternate tag as the
    fourth param.

    Note #3: Since SF.net anon CVS tends to lag behind developer CVS, if
    you just tagged CVS, anon CVS may not yet have this. So if you are
    in a hurry, modify the cvsroot in the script to use your dev CVS
    account.


make-scumm-fontdata (eriktorbjorn)
-------------------
   Tool that generates compressed font data used in SCUMM: To get rid of
   a few kilobytes of hard-coded font data, we only store how the
   French, German, Italian and Spanish fonts differ from the English one.


md5table
--------
    Used to convert scumm-md5.txt into a SCUMM header file, or
    alternatively PHP code for our website.


qtable (cyx)
-------
   This tool generates the "queen.tbl" file.


skycpt (lavosspawn)
-------
   This tool generates the "SKY.CPT" file.