[freespace2] polish support again

Taylor Richards mtrs at bellsouth.net
Sun Jun 1 19:34:26 EDT 2003


On Fri, 2003-05-30 at 07:24, rraptorr wrote:
> Hi,
> some time ago I sent a patch that added support for Polish version of the
> game. After that I was learning for my exams so I didn't have time to do
> anything with computer. The patch I'm sending now also adds support for
> Polish language, but it it uses language auto detection mechanism.
> Again it contains lcl_fix_polish function which converts two Polish
> characters (the game seems to convert them to other characters while
> reading files, what is strange that it convert only two characters out of

The patch looks good to me.  Unless the higher-ups say otherwise I'll
commit it tomorrow.

> nine). Another small problem is with language auto detection. Polish
> version installs font files in directory Data/fonts and the code is
> looking for directory Data/Fonts. Because of that it takes fonts from .vp
> files and those are English fonts. And then the game bails out. After
> changing directory name to Fonts everything works ok (this explains why
> some people didn't have Polish character with my previous patch).

I don't think we should do anything code wise about this.  It really
opens up requests for scanning lowercase versions of all directories and
that's too many things to look through on 3 or more roots (userdir,
gamedir, cdrom(1|2)) in my opinion.  I assume this is from a Windows
install, correct?  I would guess that an installer for Linux could fix
this automatically.  There is also the option of packaging all Polish
specific files that aren't already in a vp with cfilearchiver and
distributing that, kind of like what I'm doing for the FS1 version.

> Translations were take from the original 3CD Polish version made by CD
> Projekt. And this version was tested. It should teoretically work with 1CD
> (how they did that?) version which was sold with CD-Action magazine.

The OEM version comes on a single CD (I think, maybe for FS1) so that's
probably what it is.  There is currently no build option in the Makefile
for the OEM version, may have to do something about that.  I think there
is also a DVD version which of course would be on one CD.  Umm, guess
there isn't a build option for that in the Makefile either.  I believe
that the DVD build option only makes some dialog changes though so that
it doesn't do crazy things like ask for CD #2.


Taylor

-- 
Taylor Richards <mtrs at bellsouth.net>




More information about the freespace2 mailing list