UFO:Alien Invasion

Technical support => FAQ => Topic started by: smitje on July 08, 2007, 12:11:27 pm

Title: TEXT_TROUBLE
Post by: smitje on July 08, 2007, 12:11:27 pm
HI, there and congratulations on building a great game.

Im just having some difficulties getting the text to show :(

I am on a lunux box (ubuntu)
in the Netherlands (nl)
Installed the game successfully

but when I run it I keep seeing TXT_STANDARD_CAMPAIGN and BOLTER_TXT etc. in places where there should be a description.
so after reading some on the forum I tried: set s_language en
but I stil get the same
I allso tried set s_language
en_GB
nl
nl_NL

and made a copy of i18n/en and named it i18n/nl
so far nothing worked, it looks like the text is not being found

Do jou have any surgestions

Cheers Smitje
Title: TEXT_TROUBLE
Post by: Mattn on July 08, 2007, 12:16:55 pm
which locale are you using on your box?

type locale to an xterm and attach the output
Title: TEXT_TROUBLE
Post by: smitje on July 08, 2007, 02:23:17 pm
wow that was fast

locale

LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=


cheers
Title: TEXT_TROUBLE
Post by: Mattn on July 08, 2007, 06:00:22 pm
start ufo with
./ufo +set s_language en_US.UTF-8
Title: TEXT_TROUBLE
Post by: smitje on July 08, 2007, 06:42:32 pm
Thanks for your hellp so far, unfortunately still no joy

I still get the intro_line_1, intro_line_2 etc. and the standard_campeign_txt etc.

 any more surgestiones

cheers
Smitje
Title: TEXT_TROUBLE
Post by: Mattn on July 08, 2007, 06:58:31 pm
if you are using the svn version (trunk) you should try the latest revision - we implemented language switching via menu recently
Title: TEXT_TROUBLE
Post by: smitje on July 09, 2007, 05:32:40 pm
I guess that would involve compiling it myself right?

is there a good page with instructions, or a way to update automaticly? Im still a bit fresh to linux?

cheers smitje
Title: TEXT_TROUBLE
Post by: Mattn on July 09, 2007, 05:57:50 pm
have a look to our wiki at http://ufoai.ninex.info/wiki/index.php/Coding#Compiling_the_source
Title: TEXT_TROUBLE
Post by: smitje on July 10, 2007, 10:13:01 pm
that looks complicated is there a simple how-to for the stable version.

or could i perhaps do only the text part and peplace the base/n18i/.../....mo file (and where should i get that

cheers
Smitje
Title: TEXT_TROUBLE
Post by: blondandy on July 10, 2007, 11:54:03 pm
I think you need new c code, not new mo.

I think the language fixes you need start around revision9573 (8th July) ish. It still needs polishing, mind.

keep an eye here
http://mattn.ninex.info/download/
for the next testinstaller for your platform.

Though I would encourage you to try svn and compiling. Another advantage of this is that as new stuff comes out you can just download the changes.
Title: TEXT_TROUBLE
Post by: smitje on August 11, 2007, 02:14:53 pm
Thanks for the help

I managed to compile, de most recent version, and I have text!
Music doesn't work jet but I am not sure if that is an isue withj Ufo or with Ubuntu (6.10), jes I did download the files.
And there is something funny with an alaska mischion I think is a bug so I will report that else wkere, In the mean time Im having fun. thank you all!

Cheers Smitje