UFO:Alien Invasion
Technical support => Linux => Topic started by: YY.Cherubim on June 05, 2011, 08:21:26 pm
-
Gentlemen,
I am really enjoying the game. After much tinkering, I got 2.4 dev to work flawlessly; excellent job all around!
My questions is how to I get the item descriptions to display? It worked for about a week, but now when ever I look in the paedia of the main, research, equip, etc. screens, I get the file name in the content window. The item's icon displays, just the text is missing.
I am sure it's an easy fix, I just need some pointers on how to do it. Thanks in advance for your help and all that you do to keep us entertained!
-
Gentlemen,
I am really enjoying the game. After much tinkering, I got 2.4 dev to work flawlessly; excellent job all around!
My questions is how to I get the item descriptions to display? It worked for about a week, but now when ever I look in the paedia of the main, research, equip, etc. screens, I get the file name in the content window. The item's icon displays, just the text is missing.
I am sure it's an easy fix, I just need some pointers on how to do it. Thanks in advance for your help and all that you do to keep us entertained!
Did you compile it yourself? On which system?
In general, the language files (*.po) should be compiled (make lang). and the base/i18n directories should be at a place the game finds.
-geever
-
geever,
Yes sir I compiled it myself. I am running Ubuntu v11 on an Asus G50 laptop.
I have many directories in the i18n parent. I looked into the /en/LC_MESSAGES (English I assume?) and it contains the single file ufoai.mo.
If I remake the language packs will it break anything? Again, It worked for about week before choking and everything else is working exactly as it should.
Thanks again for your help.
-
So I retried to 'make lang' which resulted in:
yy@yy-G50VT:~/Downloads/ufoai/ufoai$ make lang
make: Nothing to be done for `lang'.
At least it did not kill the game.
I tried a wildcard search for news_after as the news_after_the_war_txt shows up in the description window of the UFOpaedia and nothing returned.
Any thoughts on how to re-populate my item descriptions?
-
So in poking around the ufoai site I came across some possibilities.
I downloaded the ufo-en.po from SourceForge and compiled it into the en/LC_MESSAGES. Still no change in the UFOpaedia.
I attempted to update the po files and received the error:
yy@yy-G50VT:~/Downloads/ufoai/ufoai/src/po$ make update-po
make ufoai.pot-update
make[1]: Entering directory `/home/yy/Downloads/ufoai/ufoai/src/po'
xgettext --default-domain=ufoai --directory=.. \
--add-comments=TRANSLATORS: --keyword=_ --keyword=N_ --no-wrap \
--files-from=./POTFILES.in \
--copyright-holder='The UFO:AI team' \
--msgid-bugs-address=""tlh2000@users.sourceforge.net"" \
--no-wrap \
--output=ufoai.c.po
xgettext: error while opening "./client/campaign/cp_aircraft.c" for reading: No such file or directory
make[1]: *** [ufoai.pot-update] Error 1
make[1]: Leaving directory `/home/yy/Downloads/ufoai/ufoai/src/po'
make: *** [update-po] Error 2
I checked my tree and I have no /campaign directory in the ./client parent.
Is there anyone there that has any ideas as to what the crap is going on with my item descriptions? As a workaround I am exiting the game and viewing the above lang file in an editor to read the descriptions.
...Better than nothing...
-
So in poking around the ufoai site I came across some possibilities.
I downloaded the ufo-en.po from SourceForge and compiled it into the en/LC_MESSAGES. Still no change in the UFOpaedia.
I attempted to update the po files and received the error:
Updating po files will not solve your problem. The po-check makescript doesn't read client/campaign directory anymore, probably you have an old source.
-geever
-
geever thanks for the tips,
I checked the options within the game menu and there are no available languages for me to select. So I added the startup parameter LANG=en and eureka!
I guess you should always try the easy things first. Anyway, I appreciate the help. Thanks for all you do and the great game.