Commit Graph

123 Commits

Author SHA1 Message Date
András Salamon
58429bd7ce new utilities for font analysis 2006-01-17 14:52:24 +00:00
András Salamon
6e8679bef8 update prkill, print less zero values, faster for non-drain units 2005-12-06 21:18:23 +00:00
Bruno Wolff III
9141130ed9 I added a passphrase changing function on the server
(but not the normal client) so that campaigns can have their
passphrases reset by admins without shutting the server down. I also
add two perl scripts for changing passphrases and for deleting
campaigns.
2005-11-19 18:14:41 +00:00
András Salamon
0fe75098e2 prkill-1.11, now stops drain going over max hp,
...calculates probability function for the case where a unit was killed
2005-11-01 19:12:02 +00:00
András Salamon
40327cdfb2 Add ISSUES, ensure eol at eof, more detailed comments,
...create manifest of new files on stdout.
2005-10-24 08:26:42 +00:00
András Salamon
d53c05e3a2 mkdos, a script to create DOS versions...
...of all the text files distributed with the game: the various
translations of the MANUAL, the changelog, the license information in
COPYING, the instructions in INSTALL, and the README.  Changes
sequences of lines to DOS-style single paragraphs, and attempts to
preserve displayed text and tables.  The resulting files should be
ready to be shipped with the Windows package, and for most people
these files will be shown in NotePad when double-clicked.
2005-10-23 17:15:45 +00:00
András Salamon
d3f71fa607 Script to identify possibly unused images.
Run inside the top level source directory to produce a pseudo-diff
highlighting possible unused images.  Many image filenames (eg. for
terrains) are actually constructed by the code, so these are not
actually unused.
2005-10-23 14:36:43 +00:00
András Salamon
4974fac59a prkill 1.10, helper script to calculate probabilities to kill in a skirmish.
This is more general than the in-game code in Damage Calculations
since it handles berserk.  It computes the joint conditional
probability function of the hitpoints each unit will have at the end
of the skirmish.  The algorithm is currently slow: O(r*(n+N)*(h*H))
operations (n and N are number of swings per round, h and H are
hitpoints, and r is 30 if berserk is in effect otherwise 1).  Hence,
probably not yet suitable for AI use.
2005-10-22 17:16:01 +00:00
David White
1597d9ced1 added script which can be used to analyze unit statistics 2005-10-18 23:46:36 +00:00
Bruno Wolff III
47d564d73a I made some performance related changes to wml.pm and wml_net.pm.
The change to wml.pm cut my memory use in half, but arrays or chars still
suck compared to strings (on the order of x50) when space is important.
2005-10-18 06:55:14 +00:00
Bruno Wolff III
3d7ae7bd28 webtgz.pl wasn't handling escaped data in downloaded file contents.
This was causing problems for binary files.
2005-10-17 13:03:08 +00:00
Bruno Wolff III
b9d0343dc5 I added a couple of undef's to webtgz.pl to allow for memory to be released
(though I am not sure perl really will give any back to the OS) before doing
the copy of the cached file, as that step doesn't need the undef'd data and
can take a while to run.
2005-10-14 18:16:42 +00:00
Bruno Wolff III
32588979cc Because the translation heuristic is imperfect...
...it will sometimes pick up the same language twice for a given
campaign. (Currently Invasion of Eliador has this issue with sv.) This
isn't a problem on the campaign server side.  However it looks bad on
the web page. So I now have the campaign list suppressing duplicate
langauges.

I also fixed a bug where the languages weren't sorted the intended way.
2005-10-13 01:30:09 +00:00
Bruno Wolff III
568059bf5a I changed weblist.pl to show campaign sizes in KB instead of bytes. 2005-10-13 00:29:30 +00:00
Bruno Wolff III
8046debdbb I changed weblist.pl and webtgz.pl to display the standard wesnoth logo banner
(except for when webtgz.pl successfully returns a tgz file).
I also changed webtgz.pl to only request campaign info for the campaign of
interest. In the future (after getting campaign summary info loaded for old
campaigns on the campaign server) this request won't be needed at all and will
be removed.
2005-10-12 13:38:51 +00:00
Isaac Clerencia Perez
b7eb990818 Utility to fix executable perms in MANUAL* and images, data and src dirs 2005-10-11 19:11:57 +00:00
Bruno Wolff III
46f2b08160 I found a problem with weblist.pl not separating languages properly
and fixed this.
2005-10-11 02:03:31 +00:00
Bruno Wolff III
1e8ee63e14 I updated weblist.pl to display translation information. 2005-10-11 01:57:19 +00:00
Bruno Wolff III
6cb07b52da campaign server updated to keep track of upload time and to store overview...
...attributes in the campaign WML as well as the config WML, so that
when campaigns are downloaded the overview information is sure to
match the campaign.  The two web interface perl scripts have been
added to utils as weblist.pl and webtgz.pl.
2005-10-07 18:26:28 +00:00
András Salamon
9a977b5fae wxdiff: word diff between original and translation, intended for en_US vs en_GB 2005-09-27 09:28:11 +00:00
Isaac Clerencia Perez
ef0931d54a Ruby script to do some compression for png images,
it's only using pngrewrite just now, pngcrush support will be added as soon
as pngcrush is fixed :)
2005-09-27 09:24:14 +00:00
Isaac Clerencia Perez
e0e50ffffd Comment out language_defs for not included translations 2005-09-19 18:24:35 +00:00
Isaac Clerencia Perez
306d0f7036 Erase FreeSans.ttf 2005-09-19 15:19:06 +00:00
Isaac Clerencia Perez
df319cca3e Remove tdh maps correctly 2005-09-19 15:10:39 +00:00
Isaac Clerencia Perez
c4dad53ca1 Update the script to remove the needed tdh stuff 2005-09-19 01:00:49 +00:00
Isaac Clerencia Perez
ea92713185 Script to help with 1.0.x releases 2005-09-19 00:46:01 +00:00
András Salamon
bb18c235bf campsum: show summary of changed campaigns at server 2005-09-14 15:10:55 +00:00
Dave White
a80f4c199f fixed bad handling of binary files in the perl campaigns client 2005-09-11 18:58:22 +00:00
András Salamon
c769a3fee9 make client a real script for us Unix-y types 2005-09-11 15:41:38 +00:00
Dave White
5663963f04 added Perl-based command line tool to access the campaign server 2005-07-23 01:59:32 +00:00
András Salamon
37b11bbc6c revert regression 2005-07-22 14:19:33 +00:00
András Salamon
60eba111d9 fix missing end of line at end of file and add this to codeclean 2005-07-22 10:29:00 +00:00
András Salamon
1c827e4fb1 utility to extract source file lists from Makefile.am, for other build systems 2005-07-17 20:12:00 +00:00
András Salamon
3d403f1465 support for Makefile.am.in -> Makefile.am using plain files with sources 2005-07-16 00:55:32 +00:00
András Salamon
12921f30da add support to po2po for build directory other than source directory 2005-07-16 00:50:26 +00:00
András Salamon
0e4acc4dc1 adding basic WML summarizer 2005-07-11 11:02:38 +00:00
András Salamon
82cbd875cf update with Dave's new email address 2005-06-29 20:12:16 +00:00
András Salamon
9e7fddeac9 add codeclean utility to clean source code files 2005-06-04 18:19:11 +00:00
Yann Dirson
4568cd1180 add a script to help automatic handling of the completion ratios
...in the language list presented to the user
2005-06-04 16:58:07 +00:00
Guillaume Melquiond
62737cddea Remove awfully outdated (and hence unusuable) files. 2005-05-31 20:55:29 +00:00
Yann Dirson
dda5cb55ba made wmlxgettext to restore the textdomain on #enddef,
...to match the new preprocessor behaviour
2005-05-08 12:30:04 +00:00
Yann Dirson
876d57c1d6 d'oh - revert last change, we may need a stack after all 2005-05-08 12:14:40 +00:00
Yann Dirson
d9ce1d893b no need to use a stack 2005-05-08 11:59:04 +00:00
Yann Dirson
e0c6daf64c Added --domain (and --initialdomain) to wmlxgettext,
...to select the single textdomain to extract from the files.  It is
not really complete (not knowing about the WML scope of #textdomain,
and assuming textual scope), but sufficient for now.  Changed default
string-extraction rules to use --domain.  Added #textdomain in
"library" wml files from standard campaigns, in places where it would
be missing should those files be #included from different campaigns,
but mostly so their strings get extracted.
2005-05-04 22:56:15 +00:00
Yann Dirson
1c412ada6d removed obsolete import scripts for obsolete translations 2005-03-15 22:27:04 +00:00
Yann Dirson
fdb9d25e79 be sure to refresh po files after the move 2005-02-22 20:17:39 +00:00
Yann Dirson
213b602d60 refuse to run po2po if the source was not configured;
reinstate --use-first in msgcat call to avoid spurious conflicts in
header, since I do not see what was the problem that caused me to
remove it
2005-02-12 14:19:45 +00:00
Yann Dirson
b4a1060500 remove empty dirs after moving installed files into zips 2005-01-23 20:39:46 +00:00
Yann Dirson
73fd61768f do not zip music and translations ; add a coredata zip 2005-01-23 15:54:59 +00:00
Yann Dirson
c4e66b5713 added --zip flag to splittree,
to make zip files instead of moving the tree parts somewhere else
2005-01-09 21:50:17 +00:00