Merge pull request #4 from OdyX/dev-update-levels-i18n

Rewrite the levels' i18n handling
dev-ui
krzys-h 2013-01-09 11:44:38 -08:00
commit 9052f025c8
175 changed files with 91 additions and 592 deletions

2
levels/.gitignore vendored
View File

@ -1,2 +1,4 @@
*.xml
*.xhtml
*.po~
*-po4a.cfg

View File

@ -4,15 +4,18 @@ cmake_minimum_required(VERSION 2.8)
find_program(PO4A po4a)
if(PO4A)
add_custom_command(OUTPUT levels_i18n
COMMAND ./gen_levels_xml.sh
COMMAND touch ${CMAKE_CURRENT_BINARY_DIR}/levels_i18n
set(_levels_i18n_target "levels_i18n")
add_custom_command(OUTPUT ${_levels_i18n_target}
COMMAND mkdir -p ${CMAKE_CURRENT_BINARY_DIR}/${_levels_i18n_target}
COMMAND ./gen_levels_xml.sh ${CMAKE_CURRENT_BINARY_DIR}/${_levels_i18n_target}
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
COMMENT "Handle level instruction translations"
COMMENT "Inject level translations"
)
add_custom_target(translate_levels ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/levels_i18n)
add_custom_target(translate_levels ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/${_levels_i18n_target})
install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/${_levels_i18n_target}/ DESTINATION ${COLOBOT_INSTALL_DATA_DIR}/levels)
else()
message(WARNING "po4a not found, levels will not get translated")
file(GLOB levelfiles "${CMAKE_CURRENT_SOURCE_DIR}/*.txt")
list(REMOVE_ITEM levelfiles "${CMAKE_CURRENT_SOURCE_DIR}/CMakeLists.txt")
install(FILES ${levelfiles} DESTINATION ${COLOBOT_INSTALL_DATA_DIR}/levels/)
endif()
file(GLOB levelfiles "${CMAKE_CURRENT_SOURCE_DIR}/*.txt")
list(REMOVE_ITEM levelfiles "${CMAKE_CURRENT_SOURCE_DIR}/CMakeLists.txt")
install(FILES ${levelfiles} DESTINATION ${COLOBOT_INSTALL_DATA_DIR}/levels/)

View File

@ -1,18 +0,0 @@
[po_directory] defi-po/
[type:xml] defi100.xml $lang:defi100.$lang.xml
[type:xml] defi101.xml $lang:defi101.$lang.xml
[type:xml] defi102.xml $lang:defi102.$lang.xml
[type:xml] defi103.xml $lang:defi103.$lang.xml
[type:xml] defi104.xml $lang:defi104.$lang.xml
[type:xml] defi200.xml $lang:defi200.$lang.xml
[type:xml] defi201.xml $lang:defi201.$lang.xml
[type:xml] defi202.xml $lang:defi202.$lang.xml
[type:xml] defi203.xml $lang:defi203.$lang.xml
[type:xml] defi204.xml $lang:defi204.$lang.xml
[type:xml] defi205.xml $lang:defi205.$lang.xml
[type:xml] defi300.xml $lang:defi300.$lang.xml
[type:xml] defi301.xml $lang:defi301.$lang.xml
[type:xml] defi302.xml $lang:defi302.$lang.xml
[type:xml] defi400.xml $lang:defi400.$lang.xml
[type:xml] defi401.xml $lang:defi401.$lang.xml
[type:xml] defi402.xml $lang:defi402.$lang.xml

View File

@ -1,2 +1 @@
Title.E text="Fundamentals" resume="Fundamentals"
Title.F text="Base" resume="Base"

View File

@ -1,9 +1,6 @@
Title.E text="Follow a path"
Resume.E text="Move the bot along a given path."
ScriptName.E text="Move"
Title.F text="Suivre un chemin"
Resume.F text="Déplacer un robot le long d'une trajectoire donnée."
ScriptName.F text="Déplace"
Instructions name="dmove1.txt" immediat=1
HelpFile name="cbot.txt"
EndingFile win=1 lost=0

View File

@ -1,9 +1,6 @@
Title.E text="Massacre"
Resume.E text="Use a loop in order to destroy four targets."
ScriptName.E text="Go"
Title.F text="Massacre"
Resume.F text="Détruire quatre cibles à l'aide d'une boucle."
ScriptName.F text="Go"
Instructions name="dfor.txt" immediat=1
HelpFile name="cbot.txt"
EndingFile win=1 lost=0

View File

@ -1,9 +1,6 @@
Title.E text="Exchange posts 3"
Resume.E text="Collect lots of valuable information from information exchange posts."
ScriptName.E text="Info"
Title.F text="Bornes"
Resume.F text="Récolter des informations de direction et de distance."
ScriptName.F text="Suivre"
Instructions name="dexch1.txt" immediat=1
HelpFile name="cbot.txt"
EndingFile win=1 lost=0

View File

@ -1,9 +1,6 @@
Title.E text="Labyrinth 3"
Resume.E text="Teach your bot how to find its way out of the labyrinth."
ScriptName.E text="Labyrinth"
Title.F text="Labyrinthe"
Resume.F text="Programmez un robot pour qu'il avance sans se cogner dans un labyrinthe."
ScriptName.F text="Labyrinthe"
Instructions name="dlaby1.txt" immediat=1
HelpFile name="cbot.txt"
EndingFile win=1 lost=0

View File

@ -1,2 +1 @@
Title.E text="Motors" resume="Motor"
Title.F text="Moteurs" resume="Moteur"

View File

@ -1,9 +1,6 @@
Title.E text="Crazy bot 2"
Resume.E text="Use the radar to put some order into a big mess left behind by a crazy bot."
ScriptName.E text="Radar"
Title.F text="Le petit poucet"
Resume.F text="Utilisez le radar pour trouver toutes les marques déposées par le petit poucet."
ScriptName.F text="Ramasse"
Instructions name="dradar1.txt" immediat=1
HelpFile name="cbot.txt"
EndingFile win=1 lost=0

View File

@ -1,9 +1,6 @@
Title.E text="Shadow 2"
Resume.E text="Follow a bot, as if you were its shadow."
ScriptName.E text="Follow"
Title.F text="Copieur ..."
Resume.F text="Suivez un robot, sans le heurter."
ScriptName.F text="Suivre"
Instructions name="dfollow1.txt" immediat=1
HelpFile name="cbot.txt"
EndingFile win=1 lost=0

View File

@ -1,9 +1,6 @@
Title.E text="Help"
Resume.E text="Defend yourself agains all alien attacks."
ScriptName.E text="Defense"
Title.F text="Au secours"
Resume.F text="Défendez-vous de toutes les attaques ennemies."
ScriptName.F text="Protect"
Instructions name="dhelp1.txt" immediat=1
HelpFile name="cbot.txt"
EndingFile win=1 lost=0

View File

@ -1,9 +1,6 @@
Title.E text="Radar and traps 1"
Resume.E text="Use your radar to look for various items, but watch out for the mines."
ScriptName.E text="Traps"
Title.F text="Radar et pièges 1"
Resume.F text="Utilisez le radar pour trouver des objets répartis aléatoirement, en évitant les bombes."
ScriptName.F text="Cherche"
Instructions name="dtrap1.txt" immediat=1
HelpFile name="cbot.txt"
EndingFile win=1 lost=0

View File

@ -1,9 +1,6 @@
Title.E text="Radar and traps 2"
Resume.E text="Try to figure out how to survive in a hostile environment."
ScriptName.E text="Traps"
Title.F text="Radar et pièges 2"
Resume.F text="A vous d'imaginer comment survivre dans un milieu hostile."
ScriptName.F text="Cherche"
Instructions name="dtrap2.txt" immediat=1
HelpFile name="cbot.txt"
EndingFile win=1 lost=0

View File

@ -1,2 +1 @@
Title.E text="Mover" resume="Move"
Title.F text="Déplacements" resume="Déplace"

View File

@ -1,9 +1,6 @@
Title.E text="Mover 1"
Resume.E text="Retrieve some titanium ore in order to convert it to titanium cubes."
ScriptName.E text="Mover"
Title.F text="Le déménageur 1"
Resume.F text="Déplacer du minerai pour le convertir en métal."
ScriptName.F text="Déplace"
Instructions name="dremova1.txt" immediat=1
HelpFile name="cbot.txt"
EndingFile win=1 lost=0

View File

@ -1,9 +1,6 @@
Title.E text="Mover 2"
Resume.E text="Try to figure out how to move the titanium cube across obstacles."
ScriptName.E text="Mover"
Title.F text="Le déménageur 2"
Resume.F text="Déplacer un cube de métal par dessus des obstacles."
ScriptName.F text="Déplace"
Instructions name="dremova2.txt" immediat=1
HelpFile name="cbot.txt"
EndingFile win=1 lost=0

View File

@ -1,2 +1 @@
Title.E text="Functions" resume="Functions"
Title.F text="Fonctions" resume="Fonctions"

View File

@ -1,9 +1,6 @@
Title.E text="Function"
Resume.E text="Create a function to move a bot."
ScriptName.E text="Move"
Title.F text="Une fonction"
Resume.F text="Créer une fonction pour déplacer un robot."
ScriptName.F text="Déplace"
Instructions name="dproc1.txt" immediat=1
HelpFile name="cbot.txt"
EndingFile win=1 lost=0

View File

@ -1,9 +1,6 @@
Title.E text="Spiral 2"
Resume.E text="Create a procedure in order to teach your bot to perform a spiral."
ScriptName.E text="Move"
Title.F text="La spirale"
Resume.F text="Créer une fonction pour déplacer un robot dans une spirale."
ScriptName.F text="Déplace"
Instructions name="dproc2.txt" immediat=1
HelpFile name="cbot.txt"
EndingFile win=1 lost=0

View File

@ -1,19 +0,0 @@
[po_directory] free-po/
[type:xml] free100.xml $lang:free100.$lang.xml
[type:xml] free101.xml $lang:free101.$lang.xml
[type:xml] free200.xml $lang:free200.$lang.xml
[type:xml] free201.xml $lang:free201.$lang.xml
[type:xml] free300.xml $lang:free300.$lang.xml
[type:xml] free301.xml $lang:free301.$lang.xml
[type:xml] free400.xml $lang:free400.$lang.xml
[type:xml] free401.xml $lang:free401.$lang.xml
[type:xml] free500.xml $lang:free500.$lang.xml
[type:xml] free501.xml $lang:free501.$lang.xml
[type:xml] free600.xml $lang:free600.$lang.xml
[type:xml] free601.xml $lang:free601.$lang.xml
[type:xml] free700.xml $lang:free700.$lang.xml
[type:xml] free701.xml $lang:free701.$lang.xml
[type:xml] free800.xml $lang:free800.$lang.xml
[type:xml] free801.xml $lang:free801.$lang.xml
[type:xml] free900.xml $lang:free900.$lang.xml
[type:xml] free901.xml $lang:free901.$lang.xml

View File

@ -1,2 +1 @@
Title.E text="Leaving Earth" resume="Earth"
Title.F text="Sur la Terre" resume="Terre"

View File

@ -1,7 +1,5 @@
Title.E text="Free game"
Resume.E text="Do whatever you want, build a base camp and some bots, without any precise objective."
Title.F text="Jeu libre"
Resume.F text="Construisez quelques bâtiments et robots, juste pour vous amuser, sans but précis."
Instructions name="fglobal.txt"
HelpFile name="cbot.txt"
EndingFile win=-1 lost=-1

View File

@ -1,2 +1 @@
Title.E text="On the Moon" resume="Moon"
Title.F text="Sur la Lune" resume="Lune"

View File

@ -1,7 +1,5 @@
Title.E text="Free game"
Resume.E text="Do whatever you want, build a base camp and some bots, without any precise objective."
Title.F text="Jeu libre"
Resume.F text="Construisez quelques bâtiments et robots, juste pour vous amuser, sans but précis."
Instructions name="fglobal.txt"
HelpFile name="cbot.txt"
EndingFile win=-1 lost=-1

View File

@ -1,2 +1 @@
Title.E text="On Tropica" resume="Tropica"
Title.F text="Sur Tropica" resume="Tropica"

View File

@ -1,7 +1,5 @@
Title.E text="Free game"
Resume.E text="Do whatever you want, build a base camp and some bots, without any precise objective."
Title.F text="Jeu libre"
Resume.F text="Construisez quelques bâtiments et robots, juste pour vous amuser, sans but précis."
Instructions name="fglobal.txt"
HelpFile name="cbot.txt"
EndingFile win=-1 lost=-1

View File

@ -1,2 +1 @@
Title.E text="On Crystalium" resume="Crystalium"
Title.F text="Sur Crystalium" resume="Crystalium"

View File

@ -1,7 +1,5 @@
Title.E text="Free game"
Resume.E text="Do whatever you want, build a base camp and some bots, without any precise objective."
Title.F text="Jeu libre"
Resume.F text="Construisez quelques bâtiments et robots, juste pour vous amuser, sans but précis."
Instructions name="fglobal.txt"
HelpFile name="cbot.txt"
EndingFile win=-1 lost=-1

View File

@ -1,2 +1 @@
Title.E text="On Saari" resume="Saari"
Title.F text="Sur Saari" resume="Saari"

View File

@ -1,7 +1,5 @@
Title.E text="Free game"
Resume.E text="Do whatever you want, build a base camp and some bots, without any precise objective."
Title.F text="Jeu libre"
Resume.F text="Construisez quelques bâtiments et robots, juste pour vous amuser, sans but précis."
Instructions name="fglobal.txt"
HelpFile name="cbot.txt"
EndingFile win=-1 lost=-1

View File

@ -1,2 +1 @@
Title.E text="On Volcano" resume="Volcano"
Title.F text="Sur Volcano" resume="Volcano"

View File

@ -1,7 +1,5 @@
Title.E text="Free game"
Resume.E text="Do whatever you want, build a base camp and some bots, without any precise objective."
Title.F text="Jeu libre"
Resume.F text="Construisez quelques bâtiments et robots, juste pour vous amuser, sans but précis."
Instructions name="fglobal.txt"
HelpFile name="cbot.txt"
EndingFile win=-1 lost=-1

View File

@ -1,2 +1 @@
Title.E text="On Centaury" resume="Centaury"
Title.F text="Sur Centaury" resume="Centaury"

View File

@ -1,7 +1,5 @@
Title.E text="Free game"
Resume.E text="Do whatever you want, build a base camp and some bots, without any precise objective."
Title.F text="Jeu libre"
Resume.F text="Construisez quelques bâtiments et robots, juste pour vous amuser, sans but précis."
Instructions name="fglobal.txt"
HelpFile name="cbot.txt"
EndingFile win=-1 lost=-1

View File

@ -1,2 +1 @@
Title.E text="On Orpheon" resume="Orpheon"
Title.F text="Sur Orphéon" resume="Orphéon"

View File

@ -1,7 +1,5 @@
Title.E text="Jeu libre"
Resume.E text="Construisez quelques bâtiments et robots, juste pour vous amuser, sans but précis."
Title.F text="Jeu libre"
Resume.F text="Construisez quelques bâtiments et robots, juste pour vous amuser, sans but précis."
Instructions name="fglobal.txt"
HelpFile name="cbot.txt"
EndingFile win=-1 lost=-1

View File

@ -1,2 +1 @@
Title.E text="On Terranova" resume="Terranova"
Title.F text="Sur Terranova" resume="Terranova"

View File

@ -1,7 +1,5 @@
Title.E text="Jeu libre"
Resume.E text="Construisez quelques bâtiments et robots, juste pour vous amuser, sans but précis."
Title.F text="Jeu libre"
Resume.F text="Construisez quelques bâtiments et robots, juste pour vous amuser, sans but précis."
Instructions name="fglobal.txt"
HelpFile name="cbot.txt"
EndingFile win=-1 lost=-1

View File

@ -2,8 +2,14 @@
set -e
lang_short="E F" # P"
lang_long="en fr" # pl"
outdir=$1
if [ -z "$outdir" ] || [ "$outdir" = "." ] || [ ! -d $outdir ]; then
echo "No existing output directory provided; syntax is : $0 output_directory"
return 1;
fi
linguas="en fr"
categories="defi free lost perso proto"
for sc_i in $(seq 1 9); do
@ -14,133 +20,120 @@ for tr_i in $(seq 1 7); do
done
# Empty categories: "win"
allsfile_e=xhtml
common_i18n_ext=xhtml
gen_i18n_file () {
levelfileorig=$1
allsfile_c=$2
levelfile=$(echo $levelfileorig | sed -e "s/\.txt$//g")
common_i18n_file=$2
if [ -z "$levelfileorig" ] || [ ! -f $levelfileorig ]; then
echo "No file name provided; syntax is : $0 filename.txt"
return 1;
fi
for lang in $lang_short; do
dot=".";
langcode="";
case $lang in
E) dot="";;
F) langcode=fr;;
P) langcode=pl;;
esac
destfile=$levelfile$dot$langcode.xml;
allsfile=$allsfile_c$dot$langcode.$allsfile_e;
echo "<$levelfile>" > $destfile
echo "<h1><!-- Level: $levelfile --></h1>" >> $allsfile
for key in Title Resume ScriptName; do
for subkey in text resume; do
subval=$(grep "^$key.$lang.*$subkey" $levelfileorig | sed -e "s/^.*$subkey=\"\([^\"]*\)\".*$/\1/")
# Always write entries, even when empty, otherwise breaks po4a-gettextize
echo "<${key}_$subkey>$levelfile:$subval</${key}_$subkey>" >> $destfile
echo "<p type=\"$key $subkey\">$levelfile:$subval</p>" >> $allsfile
done
done
echo "</$levelfile>" >> $destfile
done
levelfile=$(echo $levelfileorig | sed -e "s/\.txt$//g")
echo "[type:xml] $levelfile.xml \$lang:$levelfile.\$lang.xml" >> $allsfile_c-po4a.cfg
destfile=$levelfile.xml;
allsfile=$common_i18n_file.$common_i18n_ext;
echo "<$levelfile>" > $destfile
echo "<h1><!-- Level: $levelfile --></h1>" >> $allsfile
for key in Title Resume ScriptName; do
for subkey in text resume; do
subval=$(grep "^$key\.E.*$subkey" $levelfileorig | sed -e "s/^.*$subkey=\"\([^\"]*\)\".*$/\1/")
# Always write entries, even when empty, otherwise breaks po4a-gettextize
echo "<${key}_$subkey>$levelfile:$subval</${key}_$subkey>" >> $destfile
echo "<p type=\"$key $subkey\">$levelfile:$subval</p>" >> $allsfile
done
done
echo "</$levelfile>" >> $destfile
echo "[type:xml] $levelfile.xml \$lang:$levelfile.\$lang.xml" >> $common_i18n_file-po4a.cfg
echo -n "."
}
echo "* Cleanup"
rm -f *.xml
rm -f *po4a.cfg
for category in $categories; do
echo "* Category: $category "
echo "* Category: $category "
echo " * Create initial files"
rm -f $category*.xml
rm -f $category-po4a.cfg
echo " 0 - Create initial files"
echo "[po_directory] $category-po/" > $category-po4a.cfg
mkdir -p $category-po
echo -n " * Generate transitional translation files "
echo -n " 1 - Generate transitional source translation files from level files"
echo "<html><body>" > $category.$allsfile_e
for lang in $lang_long; do
echo "<html><body>" > $category.$common_i18n_ext
for lang in $linguas; do
if [ $lang = "en" ]; then continue; fi;
echo "<html><body>" > $category.$lang.$allsfile_e
echo "<html><body>" > $category.$lang.$common_i18n_ext
done
for level in $(ls $category*.txt); do
gen_i18n_file $level $category
done
echo "</body></html>" >> $category.$common_i18n_ext
echo "done"
echo "</body></html>" >> $category.$allsfile_e
echo -n " * Generate pristine potfile: "
po4a-gettextize -M UTF-8 -f xhtml -m $category.$allsfile_e > $category-po/$category.pot 2>/dev/null
echo -n " 3 - Generate pristine potfile: "
po4a-gettextize -M UTF-8 -f xhtml -m $category.$common_i18n_ext > $category-po/$category.pot 2>/dev/null
echo "done"
echo -n " * Generate translation files: "
for lang in $lang_long; do
echo -n " 4 - Generate translation files: "
for lang in $linguas; do
if [ $lang = "en" ]; then continue; fi;
echo -n "$lang "
echo "</body></html>" >> $category.$lang.$allsfile_e
echo "</body></html>" >> $category.$lang.$common_i18n_ext
pofile=$category-po/$lang.po
if [ ! -f $pofile ]; then
po4a-gettextize -M UTF-8 -L UTF-8 -f xhtml -m $category.$allsfile_e -l $category.$lang.$allsfile_e > $pofile
sed -e 's/, fuzzy//g' -i $pofile
else
po4a-updatepo -M UTF-8 -f xhtml -m $category.$allsfile_e -p $pofile 2>/dev/null
sed -e 's/charset=CHARSET/charset=UTF-8/g' $category-po/$category.pot > $pofile
fi
po4a-updatepo -M UTF-8 -f xhtml -m $category.$common_i18n_ext -p $pofile 2>/dev/null
done
echo " done"
echo -n " * Cleanup po4a infrastructure, run po4a … "
echo -n " 5 - Cleanup po4a infrastructure, run po4a … "
po4a -f $category-po4a.cfg 2>/dev/null 1>&2
echo "done"
done
echo -n " 6 - Inject translation in level files: "
echo -n "* Inject translation in level files: "
for levelfile in $(ls $category*.txt); do
# Always start afresh
rm -f $outdir/$levelfile
for levelfile in $(ls *.txt); do
rootfilename=$(echo $levelfile | sed 's/\.txt$//g')
mv $levelfile $levelfile.old
for lang in $lang_long; do
dotlang=".$lang"
case $lang in
en) dotlang=""; langcode=".E";;
fr) langcode=".F";;
pl) langcode=".P";;
esac
xmlfile=$rootfilename$dotlang.xml
echo -n "."
if [ -f $xmlfile ]; then
for key in Title Resume ScriptName; do
lineend=""
for subkey in text resume; do
keyval=$(grep "^<${key}_${subkey}>" $xmlfile | sed -e "s|^<${key}\_${subkey}>${rootfilename}:\(.*\)<\/${key}\_${subkey}>$|\1|g")
if [ -n "$keyval" ]; then
lineend="$lineend $subkey=\"$keyval\""
rootfilename=$(echo $levelfile | sed 's/\.txt$//g')
for lang in $linguas; do
dotlang=".$lang"
langcode="";
case $lang in
en) dotlang=""; langcode=".E";;
fr) langcode=".F";;
pl) langcode=".P";;
esac
xmlfile=$rootfilename$dotlang.xml
echo -n "."
if [ -f $xmlfile ]; then
for key in Title Resume ScriptName; do
lineend=""
for subkey in text resume; do
keyval=$(grep "^<${key}_${subkey}>" $xmlfile | sed -e "s|^<${key}\_${subkey}>${rootfilename}:\(.*\)<\/${key}\_${subkey}>$|\1|g")
if [ -n "$keyval" ]; then
lineend="$lineend $subkey=\"$keyval\""
fi
done
if [ -n "$lineend" ]; then
echo "$key$langcode$lineend" >> $outdir/$levelfile
fi
done
if [ -n "$lineend" ]; then
echo "$key$langcode$lineend" >> $levelfile
fi
done
fi
fi
done
sed -e '/^Title/d;/^Resume/d;/^ScriptName/d' $levelfile >> $outdir/$levelfile
done
sed -e '/^Title/d;/^Resume/d;/^ScriptName/d' $levelfile.old >> $levelfile
rm $levelfile.old
echo "done."
done
echo "done."

View File

@ -1,2 +0,0 @@
[po_directory] lost-po/
[type:xml] lost000.xml $lang:lost000.$lang.xml

View File

@ -1,2 +0,0 @@
[po_directory] perso-po/
[type:xml] perso000.xml $lang:perso000.$lang.xml

View File

@ -1,31 +0,0 @@
[po_directory] proto-po/
[type:xml] proto100.xml $lang:proto100.$lang.xml
[type:xml] proto101.xml $lang:proto101.$lang.xml
[type:xml] proto102.xml $lang:proto102.$lang.xml
[type:xml] proto103.xml $lang:proto103.$lang.xml
[type:xml] proto104.xml $lang:proto104.$lang.xml
[type:xml] proto200.xml $lang:proto200.$lang.xml
[type:xml] proto201.xml $lang:proto201.$lang.xml
[type:xml] proto202.xml $lang:proto202.$lang.xml
[type:xml] proto203.xml $lang:proto203.$lang.xml
[type:xml] proto204.xml $lang:proto204.$lang.xml
[type:xml] proto205.xml $lang:proto205.$lang.xml
[type:xml] proto206.xml $lang:proto206.$lang.xml
[type:xml] proto207.xml $lang:proto207.$lang.xml
[type:xml] proto208.xml $lang:proto208.$lang.xml
[type:xml] proto209.xml $lang:proto209.$lang.xml
[type:xml] proto210.xml $lang:proto210.$lang.xml
[type:xml] proto211.xml $lang:proto211.$lang.xml
[type:xml] proto212.xml $lang:proto212.$lang.xml
[type:xml] proto213.xml $lang:proto213.$lang.xml
[type:xml] proto214.xml $lang:proto214.$lang.xml
[type:xml] proto215.xml $lang:proto215.$lang.xml
[type:xml] proto216.xml $lang:proto216.$lang.xml
[type:xml] proto217.xml $lang:proto217.$lang.xml
[type:xml] proto218.xml $lang:proto218.$lang.xml
[type:xml] proto219.xml $lang:proto219.$lang.xml
[type:xml] proto220.xml $lang:proto220.$lang.xml
[type:xml] proto221.xml $lang:proto221.$lang.xml
[type:xml] proto222.xml $lang:proto222.$lang.xml
[type:xml] proto223.xml $lang:proto223.$lang.xml
[type:xml] proto224.xml $lang:proto224.$lang.xml

View File

@ -1,2 +1 @@
Title.E text="Prototypes #1"
Title.F text="Prototypes #1"

View File

@ -1,5 +1,4 @@
Title.E text="Module de texturage"
Title.F text="Module de texturage"
AmbientColor air= 136;0.533;0.533;0.533 // grey
BackColor air= 0;0;0;0 // black

View File

@ -1,7 +1,5 @@
Title.E text="Photo"
Resume.E text="Utilisé pour faire les photos 128x128 des objets."
Title.F text="Photo"
Resume.F text="Utilisé pour faire les photos 128x128 des objets."
HelpFile name="cbot.txt"
Audio track=2

View File

@ -1,7 +1,5 @@
Title.E text="Tous"
Resume.E text="Tous les robots et tous les bâtiments."
Title.F text="Tous"
Resume.F text="Tous les robots et tous les bâtiments."
HelpFile name="cbot.txt"
AmbientColor air= 136;0.533;0.533;0.533 // grey

View File

@ -1,2 +1 @@
Title.E text="Prototypes #2"
Title.F text="Prototypes #2"

View File

@ -1,7 +1,5 @@
Title.E text="Mars"
Resume.E text="Mars"
Title.F text="Mars"
Resume.F text="Mars"
HelpFile name="cbot.txt"
AmbientColor air=0.400;0.267;0.267;0.400 water=0.078;0.078;0.078;0.078 // grey

View File

@ -1,7 +1,5 @@
Title.E text="Sable + charbon"
Resume.E text="Sable + charbon"
Title.F text="Sable + charbon"
Resume.F text="Sable + charbon"
HelpFile name="cbot.txt"
AmbientColor air=0.533;0.533;0.400;0.400 water=0.078;0.078;0.078;0.078 // grey

View File

@ -1,7 +1,5 @@
Title.E text="Aride gris"
Resume.E text="Aride gris"
Title.F text="Aride gris"
Resume.F text="Aride gris"
HelpFile name="cbot.txt"
AmbientColor air=0.400;0.400;0.400;0.400 water=0.078;0.078;0.078;0.078 // grey

View File

@ -1,7 +1,5 @@
Title.E text="Terre"
Resume.E text="Terre"
Title.F text="Terre"
Resume.F text="Terre"
HelpFile name="cbot.txt"
AmbientColor air=0.400;0.400;0.400;0.400 water=0.078;0.078;0.078;0.078 // grey

View File

@ -1,7 +1,5 @@
Title.E text="Herbe verte"
Resume.E text="Herbe verte"
Title.F text="Herbe verte"
Resume.F text="Herbe verte"
HelpFile name="cbot.txt"
AmbientColor air=0.596;0.596;0.400;0.400 water=0.000;0.251;0.502;0.000 // grey

View File

@ -1,7 +1,5 @@
Title.E text="Lave"
Resume.E text="Lave"
Title.F text="Lave"
Resume.F text="Lave"
HelpFile name="cbot.txt"
AmbientColor air=0.400;0.400;0.400;0.400 water=0.078;0.078;0.078;0.078 // grey

View File

@ -1,7 +1,5 @@
Title.E text="?"
Resume.E text="?"
Title.F text="?"
Resume.F text="?"
HelpFile name="cbot.txt"
AmbientColor air=0.400;0.400;0.400;0.400 water=0.078;0.078;0.078;0.078 // grey

View File

@ -1,7 +1,5 @@
Title.E text="Sable + fromage"
Resume.E text="Sable + fromage"
Title.F text="Sable + fromage"
Resume.F text="Sable + fromage"
HelpFile name="cbot.txt"
AmbientColor air=0.400;0.400;0.400;0.400 water=0.078;0.078;0.078;0.078 // grey

View File

@ -1,7 +1,5 @@
Title.E text="Chili"
Resume.E text="Chili"
Title.F text="Chili"
Resume.F text="Chili"
HelpFile name="cbot.txt"
AmbientColor air=0.400;0.400;0.400;0.400 water=0.078;0.078;0.078;0.078 // grey

View File

@ -1,7 +1,5 @@
Title.E text="Terre + herbe"
Resume.E text="Terre + herbe"
Title.F text="Terre + herbe"
Resume.F text="Terre + herbe"
Instructions name="pmetal.txt"
HelpFile name="cbot.txt"

View File

@ -1,7 +1,5 @@
Title.E text="Debug"
Resume.E text="Récupérer la boîte noire dans une vallée profonde et remplie de brouillard."
Title.F text="Debug"
Resume.F text="Récupérer la boîte noire dans une vallée profonde et remplie de brouillard."
HelpFile name="cbot.txt"
EndingFile win=-1 lost=0

View File

@ -1,7 +1,5 @@
Title.E text="Transport"
Resume.E text="Transportez une caisse d'explosif avec un véhicule équipé d'une pile atomique."
Title.F text="Transport"
Resume.F text="Transportez une caisse d'explosif avec un véhicule équipé d'une pile atomique."
Instructions name="mhvolca1.txt"
Satellite name="mivolca1.txt"
Loading name="mlnull.txt"

View File

@ -1,7 +1,5 @@
Title.E text="Uranium"
Resume.E text="A la recherche de minerai d'uranium."
Title.F text="Uranium"
Resume.F text="A la recherche de minerai d'uranium."
Instructions name="msaari1.txt"
SoluceFile name="ssaari1.txt"
HelpFile name="cbot.txt"

View File

@ -1,7 +1,5 @@
Title.E text="Analyse"
Resume.E text="Trouvez et analysez de la matière organique pour découvrir une nouvelle technologie."
Title.F text="Analyse"
Resume.F text="Trouvez et analysez de la matière organique pour découvrir une nouvelle technologie."
Instructions name="mvolca2.txt"
SoluceFile name="svolca2.txt"
HelpFile name="cbot.txt"

View File

@ -1,7 +1,5 @@
Title.E text="A l'abri"
Resume.E text="Cherchez la boîte noire tout en restant à l'abri de la foudre."
Title.F text="A l'abri"
Resume.F text="Cherchez la boîte noire tout en restant à l'abri de la foudre."
Instructions name="morph2.txt"
SoluceFile name="sorph2.txt"
HelpFile name="cbot.txt"

View File

@ -1,7 +1,5 @@
Title.E text="Box #1"
Resume.E text="Rechercher une boîte noire avec un sous-marin."
Title.F text="Box #1"
Resume.F text="Rechercher une boîte noire avec un sous-marin."
Instructions name="mhtropi5.txt"
Satellite name="mitropi5.txt"
Loading name="mlnull.txt"

View File

@ -1,7 +1,5 @@
Title.E text="Magic"
Resume.E text="Magic"
Title.F text="Magic"
Resume.F text="Magic"
HelpFile name="cbot.txt"
AmbientColor air=0.400;0.400;0.400;0.400 water=0.078;0.078;0.078;0.078 // grey

View File

@ -1,7 +1,5 @@
Title.E text="Magic"
Resume.E text="Magic"
Title.F text="Magic"
Resume.F text="Magic"
HelpFile name="cbot.txt"
AmbientColor air=0.400;0.400;0.400;0.400 water=0.078;0.078;0.078;0.078 // grey

View File

@ -1,7 +1,5 @@
Title.E text="Magic"
Resume.E text="Magic"
Title.F text="Magic"
Resume.F text="Magic"
HelpFile name="cbot.txt"
AmbientColor air=0.400;0.400;0.400;0.400 water=0.078;0.078;0.078;0.078 // grey

View File

@ -1,7 +1,5 @@
Title.E text="Box #2"
Resume.E text="Rechercher une boîte noire avec un sous-marin."
Title.F text="Box #2"
Resume.F text="Rechercher une boîte noire avec un sous-marin."
Instructions name="mhtropi5.txt"
Satellite name="mitropi5.txt"
Loading name="mlnull.txt"

View File

@ -1,7 +1,5 @@
Title.E text="Box #4"
Resume.E text="Get the fourth key, open the vault and make the planet safe for human habitation."
Title.F text="Box #4"
Resume.F text="Récupérez la quatrième et dernière clé."
Instructions name="mhterra4.txt"
Satellite name="miterra4.txt"
Loading name="mlterra4.txt"

View File

@ -1,5 +0,0 @@
[po_directory] scene1-po/
[type:xml] scene100.xml $lang:scene100.$lang.xml
[type:xml] scene101.xml $lang:scene101.$lang.xml
[type:xml] scene102.xml $lang:scene102.$lang.xml
[type:xml] scene103.xml $lang:scene103.$lang.xml

View File

@ -1,2 +1 @@
Title.E text="Leaving Earth" resume="Earth"
Title.F text="Départ de la Terre" resume="Terre"

View File

@ -1,7 +1,5 @@
Title.E text="Equipment"
Resume.E text="Prepare yourself to embark on mankind's most thrilling adventure yet."
Title.F text="Equipement"
Resume.F text="Equipez-vous pour affronter la grande aventure."
Instructions name="mhterre1.txt"
SoluceFile name="msterre1.txt"
HelpFile name="cbot.txt"

View File

@ -1,7 +1,5 @@
Title.E text="Building"
Resume.E text="Learn how to construct buildings."
Title.F text="Construction"
Resume.F text="Familiarisez-vous avec le matériel."
Instructions name="mhterre2.txt"
SoluceFile name="msterre2.txt"
HelpFile name="cbot.txt"

View File

@ -1,7 +1,5 @@
Title.E text="Departure"
Resume.E text="Equip your spaceship and get ready for takeoff."
Title.F text="Le grand départ"
Resume.F text="Equipez votre vaisseau spatial en vue du grand départ vers l'aventure."
Instructions name="mhterre3.txt"
SoluceFile name="msterre3.txt"
HelpFile name="cbot.txt"

View File

@ -1,6 +0,0 @@
[po_directory] scene2-po/
[type:xml] scene200.xml $lang:scene200.$lang.xml
[type:xml] scene201.xml $lang:scene201.$lang.xml
[type:xml] scene202.xml $lang:scene202.$lang.xml
[type:xml] scene203.xml $lang:scene203.$lang.xml
[type:xml] scene204.xml $lang:scene204.$lang.xml

View File

@ -1,2 +1 @@
Title.E text="On the Moon" resume="Moon"
Title.F text="Sur la Lune" resume="Lune"

View File

@ -1,7 +1,5 @@
Title.E text="Titanium ore"
Resume.E text="Develop flying bots to access essential raw material on the broken Moon surface."
Title.F text="Minerai de titanium"
Resume.F text="Développez des robots volants pour pouvoir accéder aux matières premières sur la surface accidentée de la lune."
Instructions name="mhlune1.txt"
Satellite name="milune1.txt"
Loading name="mllune1.txt"

View File

@ -1,7 +1,5 @@
Title.E text="Flying Drill #1"
Resume.E text="Sharpen your flying skills."
Title.F text="Pilotage 1"
Resume.F text="Cours de pilotage."
Instructions name="mhlune2.txt"
Satellite name="milune2.txt"
Loading name="mllune2.txt"

View File

@ -1,7 +1,5 @@
Title.E text="Flying Drill #2"
Resume.E text="Sharpen your flying skills (cont'd)."
Title.F text="Pilotage 2"
Resume.F text="Suite du cours de pilotage."
Instructions name="mhlune3.txt"
Satellite name="milune3.txt"
Loading name="mllune3.txt"

View File

@ -1,7 +1,5 @@
Title.E text="Black Box"
Resume.E text="Discover crucial information left behind by the first expedition."
Title.F text="Boîte noire"
Resume.F text="Recherchez la boîte noire de l'expédition précédente pour connaître les coordonnées de la prochaine planète."
Instructions name="mhlune4.txt"
Satellite name="milune4.txt"
Loading name="mllune4.txt"

View File

@ -1,7 +0,0 @@
[po_directory] scene3-po/
[type:xml] scene300.xml $lang:scene300.$lang.xml
[type:xml] scene301.xml $lang:scene301.$lang.xml
[type:xml] scene302.xml $lang:scene302.$lang.xml
[type:xml] scene303.xml $lang:scene303.$lang.xml
[type:xml] scene304.xml $lang:scene304.$lang.xml
[type:xml] scene305.xml $lang:scene305.$lang.xml

View File

@ -1,2 +1 @@
Title.E text="On Tropica" resume="Tropica"
Title.F text="Sur Tropica" resume="Tropica"

View File

@ -1,7 +1,5 @@
Title.E text="The Trap"
Resume.E text="Explore a tropical paradise looking for an explosive device."
Title.F text="Le piège"
Resume.F text="Explorez un paradis tropical à la recherche d'une caisse d'explosifs."
Instructions name="mhtropi1.txt"
Satellite name="mitropi1.txt"
Loading name="mltropi1.txt"

View File

@ -1,7 +1,5 @@
Title.E text="Amnesia"
Resume.E text="Find your spaceship in the Tropica maze."
Title.F text="Amnésique"
Resume.F text="Retrouvez le vaisseau spatial dans un labyrinthe végétal."
Instructions name="mhtropi2.txt"
SoluceFile name="mstropi2.txt"
HelpFile name="cbot.txt"

View File

@ -1,7 +1,5 @@
Title.E text="On the Offensive"
Resume.E text="Develop an offensive weapons system and confront the giant ants."
Title.F text="A l'attaque"
Resume.F text="Développez un système d'armement offensif pour pouvoir faire face aux fourmis géantes."
Instructions name="mhtropi3.txt"
Satellite name="mitropi3.txt"
Loading name="mltropi3.txt"

View File

@ -1,7 +1,5 @@
Title.E text="Shooting Drill #1"
Resume.E text="Sharpen your flying and shooting skills."
Title.F text="Exercice"
Resume.F text="Exercice de pilotage et de tir simultané."
Instructions name="mhtropi4.txt"
Satellite name="mitropi4.txt"
Loading name="mltropi4.txt"

View File

@ -1,7 +1,5 @@
Title.E text="Black Box"
Resume.E text="Explore the underwater world looking for another black box."
Title.F text="Boîte noire"
Resume.F text="Explorez les fonds marins à la recherche d'une boîte noire."
Instructions name="mhtropi5.txt"
Satellite name="mitropi5.txt"
Loading name="mltropi5.txt"

View File

@ -1,6 +0,0 @@
[po_directory] scene4-po/
[type:xml] scene400.xml $lang:scene400.$lang.xml
[type:xml] scene401.xml $lang:scene401.$lang.xml
[type:xml] scene402.xml $lang:scene402.$lang.xml
[type:xml] scene403.xml $lang:scene403.$lang.xml
[type:xml] scene404.xml $lang:scene404.$lang.xml

View File

@ -1,2 +1 @@
Title.E text="On Crystalium" resume="Crystalium"
Title.F text="Sur Crystalium" resume="Crystalium"

View File

@ -1,7 +1,5 @@
Title.E text="Viruses"
Resume.E text="A new bug threatens all your systems."
Title.F text="Radar et virus"
Resume.F text="Construisez un radar qui fera office de station relais pour les communications avec la terre, et assurez sa sécurité."
Instructions name="mhcrys1.txt"
Satellite name="micrys1.txt"
Loading name="mlcrys1.txt"

View File

@ -1,7 +1,5 @@
Title.E text="Subterranean strategy"
Resume.E text="Use the planet's resources to combat the virus-spreading worms."
Title.F text="Eliminez les vers"
Resume.F text="Eliminez tous les vers de la région."
Instructions name="mhcrys2.txt"
Satellite name="micrys2.txt"
Loading name="mlcrys2.txt"

View File

@ -1,7 +1,5 @@
Title.E text="System Failure"
Resume.E text="Pursue a rogue bot."
Title.F text="La panne"
Resume.F text="Poursuivez un robot fou."
Instructions name="mhcrys3.txt"
Satellite name="micrys3.txt"
Loading name="mlcrys3.txt"

View File

@ -1,7 +1,5 @@
Title.E text="The Lost Valley"
Resume.E text="Explore a foggy and perilous valley."
Title.F text="La vallée perdue"
Resume.F text="Récupérer la boîte noire dans une vallée profonde et remplie de brouillard."
Instructions name="mhcrys4.txt"
Satellite name="micrys4.txt"
Loading name="mlcrys4.txt"

View File

@ -1,5 +0,0 @@
[po_directory] scene5-po/
[type:xml] scene500.xml $lang:scene500.$lang.xml
[type:xml] scene501.xml $lang:scene501.$lang.xml
[type:xml] scene502.xml $lang:scene502.$lang.xml
[type:xml] scene503.xml $lang:scene503.$lang.xml

View File

@ -1,2 +1 @@
Title.E text="On Saari" resume="Saari"
Title.F text="Sur Saari" resume="Saari"

View File

@ -1,7 +1,5 @@
Title.E text="Uranium"
Resume.E text="An attempt to retrieve some uranium ore."
Title.F text="Uranium"
Resume.F text="A la recherche de minerai d'uranium."
Instructions name="mhsaari1.txt"
Satellite name="misaari1.txt"
Loading name="mlsaari1.txt"

View File

@ -1,7 +1,5 @@
Title.E text="Invasion"
Resume.E text="Hold out against a giant ant invasion."
Title.F text="Invasion"
Resume.F text="Résistez à une invasion de fourmis géantes."
Instructions name="mhsaari2.txt"
Satellite name="misaari2.txt"
Loading name="mlsaari2.txt"

View File

@ -1,7 +1,5 @@
Title.E text="Disarmed"
Resume.E text="Figure out a stratagem."
Title.F text="Désarmé"
Resume.F text="Débarrassez-vous des insectes par la ruse."
Instructions name="mhsaari3.txt"
Satellite name="misaari3.txt"
Loading name="mlsaari3.txt"

View File

@ -1,8 +0,0 @@
[po_directory] scene6-po/
[type:xml] scene600.xml $lang:scene600.$lang.xml
[type:xml] scene601.xml $lang:scene601.$lang.xml
[type:xml] scene602.xml $lang:scene602.$lang.xml
[type:xml] scene603.xml $lang:scene603.$lang.xml
[type:xml] scene604.xml $lang:scene604.$lang.xml
[type:xml] scene605.xml $lang:scene605.$lang.xml
[type:xml] scene606.xml $lang:scene606.$lang.xml

View File

@ -1,2 +1 @@
Title.E text="On Volcano" resume="Volcano"
Title.F text="Sur Volcano" resume="Volcano"

Some files were not shown because too many files have changed in this diff Show More