project-navigation
Personal tools

Author Topic: incomplete data.tar  (Read 5007 times)

Offline bishop

  • Rookie
  • ***
  • Posts: 21
    • View Profile
incomplete data.tar
« on: March 08, 2014, 11:47:28 am »
Hello,
the data.tar (at sourceforge) for 2.4 is incomplete, resulting in lots of placeholders in the wiki and intro (see attached screenshot). Please fix this, thanks.

Offline Duke

  • Administrator
  • PHALANX veteran
  • *****
  • Posts: 1037
    • View Profile
Re: incomplete data.tar
« Reply #1 on: March 08, 2014, 02:42:24 pm »
Which language are you using ?

Offline bishop

  • Rookie
  • ***
  • Posts: 21
    • View Profile
Re: incomplete data.tar
« Reply #2 on: March 08, 2014, 03:21:06 pm »
english

Offline geever

  • Project Coder
  • PHALANX Commander
  • ***
  • Posts: 2557
    • View Profile
Re: incomplete data.tar
« Reply #3 on: March 08, 2014, 11:21:26 pm »
The data package is complete. BUT the language files are not the part of of it.

You can find the po source files in the sourcecode package. Compile them via make lang and copy the i18n directory created in the base directory next to the pk3-s.

-geever

Offline bishop

  • Rookie
  • ***
  • Posts: 21
    • View Profile
Re: incomplete data.tar
« Reply #4 on: March 09, 2014, 11:45:19 am »
But I already have an:
/usr/share/ufoai/base/i18n/en/LC_MESSAGES/ufoai.mo (see attached zip)

 ???

Offline bishop

  • Rookie
  • ***
  • Posts: 21
    • View Profile
Re: incomplete data.tar
« Reply #5 on: March 12, 2014, 07:58:21 pm »
any other ideas?

Offline Grug

  • Rookie
  • ***
  • Posts: 56
    • View Profile
Re: incomplete data.tar
« Reply #6 on: March 13, 2014, 02:59:51 am »
It could be related to this.

(I think I saw somewhere that it also related to 2.4)

Offline bishop

  • Rookie
  • ***
  • Posts: 21
    • View Profile
Re: incomplete data.tar
« Reply #7 on: March 14, 2014, 12:34:28 pm »
hmm, can the devs say something to this?

Offline geever

  • Project Coder
  • PHALANX Commander
  • ***
  • Posts: 2557
    • View Profile
Re: incomplete data.tar
« Reply #8 on: March 14, 2014, 01:15:14 pm »
hmm, can the devs say something to this?

If you have the game set to English, it could be the issue Grug linked. Did you give it a try?

-geever


Offline bishop

  • Rookie
  • ***
  • Posts: 21
    • View Profile
Re: incomplete data.tar
« Reply #9 on: March 14, 2014, 08:45:01 pm »
I launched the game with "ufo +set fs_i18ndir /usr/share/locale", but I still see only the placeholders.

Offline geever

  • Project Coder
  • PHALANX Commander
  • ***
  • Posts: 2557
    • View Profile
Re: incomplete data.tar
« Reply #10 on: March 15, 2014, 01:39:54 am »
Check which are the "gamedir" -s in your ufoconsole.log and make sure the mo files you have are the right (up-to-date) ones.

-geever

Offline bishop

  • Rookie
  • ***
  • Posts: 21
    • View Profile
Re: incomplete data.tar
« Reply #11 on: March 15, 2014, 12:39:21 pm »
I can't find no such "gamedir" var in my log (see attachment).

I posted my en.mo already (see above), which was build with this install/download. I have no clue how, I should get an "up-to-date" one.

Offline geever

  • Project Coder
  • PHALANX Commander
  • ***
  • Posts: 2557
    • View Profile
Re: incomplete data.tar
« Reply #12 on: March 15, 2014, 07:04:17 pm »
I can't find no such "gamedir" var in my log (see attachment).

My fault, the "Using game dir" lines don't get written into the log before they happen before the log is opened. You can see them if you start the game from command line. "Gamedirs" are the directories the game looking for contents.

I posted my en.mo already (see above), which was build with this install/download. I have no clue how, I should get an "up-to-date" one.

Ok, if you built and installed the languagefiles from the source package then they should be the right version. I asked because you wrote "I have mo files" not "I've installed" so I couldn't be sure that you built them or having some old versions from previous installation.

-geever

Offline bishop

  • Rookie
  • ***
  • Posts: 21
    • View Profile
Re: incomplete data.tar
« Reply #13 on: March 15, 2014, 09:31:27 pm »
Ok, this is what I found in the console:
Code: [Select]
---- filesystem initialization -----
Adding game dir: /usr/share/ufoai/base
Added packfile /usr/share/ufoai/base/0base.pk3 (15 files)
Added packfile /usr/share/ufoai/base/0maps.pk3 (740 files)
Added packfile /usr/share/ufoai/base/0materials.pk3 (57 files)
Added packfile /usr/share/ufoai/base/0media.pk3 (11 files)
Added packfile /usr/share/ufoai/base/0models.pk3 (1725 files)
Added packfile /usr/share/ufoai/base/0music.pk3 (46 files)
Added packfile /usr/share/ufoai/base/0pics.pk3 (1056 files)
Added packfile /usr/share/ufoai/base/0shaders.pk3 (37 files)
Added packfile /usr/share/ufoai/base/0snd.pk3 (354 files)
Added packfile /usr/share/ufoai/base/0textures.pk3 (1767 files)
Added packfile /usr/share/ufoai/base/0ufos.pk3 (109 files)
Adding game dir: ./base
Adding game dir: /home/bishop/.ufoai/2.4/base
using /home/bishop/.ufoai/2.4/base for writing
executing filesystem.cfg
executing default.cfg
executing config.cfg

Offline bishop

  • Rookie
  • ***
  • Posts: 21
    • View Profile
Re: incomplete data.tar
« Reply #14 on: March 20, 2014, 12:34:03 pm »
and now?