Opened 13 years ago

Closed 12 years ago

Last modified 12 months ago

#7548 closed enhancement

FotAQ: Russian font is not win-1251 compatible

Reported by: SF/maxxlu Owned by:
Priority: normal Component: Engine: Queen
Keywords: Cc:
Game: Flight of the Amazon Queen

Description

Our team (PRCA, http://questomania.ru) are working at russian translation ot this game and we use mainly win-1251 codepage for game resource editing. So, i create data array with win-1251 font. Please, update it.
Also please change macros isprint() for russian letters (symbols with code from 0xC0 to 0xFF is russian letters). Thanks.

With best regards, maxx.

const uint8 Display::_fontRussian[] = {
0xF8, 0xB0, 0xB0, 0x80, 0xB0, 0xB0, 0xC0, 0x00, 0xF8, 0xB0, 0xB0, 0x80, 0xB0, 0xB0, 0xC0, 0x00,
0xF8, 0xB0, 0xB0, 0x80, 0xB0, 0xB0, 0xC0, 0x00, 0xF8, 0xB0, 0xB0, 0x80, 0xB0, 0xB0, 0xC0, 0x00,
0xF8, 0xB0, 0xB0, 0x80, 0xB0, 0xB0, 0xC0, 0x00, 0xF8, 0xB0, 0xB0, 0x80, 0xB0, 0xB0, 0xC0, 0x00,
0xF8, 0xB0, 0xB0, 0x80, 0xB0, 0xB0, 0xC0, 0x00, 0xF8, 0xB0, 0xB0, 0x80, 0xB0, 0xB0, 0xC0, 0x00,
0xF8, 0xB0, 0xB0, 0x80, 0xB0, 0xB0, 0xC0, 0x00, 0xF8, 0xB0, 0xB0, 0x80, 0xB0, 0xB0, 0xC0, 0x00,
0xF8, 0xB0, 0xB0, 0x80, 0xB0, 0xB0, 0xC0, 0x00, 0xF8, 0xB0, 0xB0, 0x80, 0xB0, 0xB0, 0xC0, 0x00,
0xF8, 0xB0, 0xB0, 0x80, 0xB0, 0xB0, 0xC0, 0x00, 0xF8, 0xB0, 0xB0, 0x80, 0xB0, 0xB0, 0xC0, 0x00,
0xF8, 0xB0, 0xB0, 0x80, 0xB0, 0xB0, 0xC0, 0x00, 0xF8, 0xB0, 0xB0, 0x80, 0xB0, 0xB0, 0xC0, 0x00,
0xF8, 0xB0, 0x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00, 0x60, 0x60, 0xC0, 0x00, 0x00, 0x00, 0x00, 0x00,
0x30, 0x60, 0xC0, 0xC0, 0xC0, 0x60, 0x30, 0x00, 0xC0, 0x60, 0x30, 0x30, 0x30, 0x60, 0xC0, 0x00,
0x00, 0x6C, 0x38, 0xFE, 0x38, 0x6C, 0x00, 0x00, 0x00, 0x30, 0x30, 0xFC, 0x30, 0x30, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x60, 0x60, 0xC0, 0x00, 0x00, 0x00, 0xFC, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0xC0, 0xC0, 0x00, 0x03, 0x06, 0x0C, 0x18, 0x30, 0x60, 0xC0, 0x00,
0x78, 0xCC, 0xCC, 0xCC, 0xCC, 0xCC, 0x78, 0x00, 0x30, 0x70, 0xF0, 0x30, 0x30, 0x30, 0x30, 0x00,
0x78, 0xCC, 0x0C, 0x78, 0xC0, 0xC0, 0xFC, 0x00, 0x78, 0xCC, 0x0C, 0x38, 0x0C, 0xCC, 0x78, 0x00,
0x1C, 0x3C, 0x6C, 0xCC, 0xFC, 0x0C, 0x0C, 0x00, 0xFC, 0xC0, 0xF8, 0x0C, 0x0C, 0xCC, 0x78, 0x00,
0x78, 0xCC, 0xC0, 0xF8, 0xCC, 0xCC, 0x78, 0x00, 0xFC, 0xCC, 0x0C, 0x18, 0x30, 0x30, 0x30, 0x00,
0x78, 0xCC, 0xCC, 0x78, 0xCC, 0xCC, 0x78, 0x00, 0x78, 0xCC, 0xCC, 0x7C, 0x0C, 0xCC, 0x78, 0x00,
0x00, 0xC0, 0xC0, 0x00, 0x00, 0xC0, 0xC0, 0x00, 0x00, 0x60, 0x60, 0x00, 0x00, 0x60, 0x60, 0xC0,
0x18, 0x30, 0x60, 0xC0, 0x60, 0x30, 0x18, 0x00, 0x00, 0x00, 0xFC, 0x00, 0xFC, 0x00, 0x00, 0x00,
0xC0, 0x60, 0x30, 0x18, 0x30, 0x60, 0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0xC0, 0xC0, 0xC0, 0xC0, 0xC0, 0x00, 0x00, 0x00, 0xCC, 0xEE, 0xD6, 0xC6, 0xC6, 0x00,
0x00, 0x00, 0xF8, 0xCC, 0xCC, 0xCC, 0xCC, 0x00, 0x00, 0x00, 0x78, 0xCC, 0xCC, 0xCC, 0x78, 0x00,
0x00, 0x00, 0xF8, 0xCC, 0xCC, 0xF8, 0xC0, 0xC0, 0x00, 0x00, 0x7C, 0xCC, 0xCC, 0x7C, 0x0C, 0x0C,
0x00, 0x00, 0xF8, 0xCC, 0xC0, 0xC0, 0xC0, 0x00, 0x00, 0x00, 0x7C, 0xC0, 0x78, 0x0C, 0x78, 0x00,
0x30, 0x30, 0xFC, 0x30, 0x30, 0x30, 0x30, 0x00, 0x00, 0x00, 0xCC, 0xCC, 0xCC, 0xCC, 0x7C, 0x00,
0x00, 0x00, 0xCC, 0xCC, 0xCC, 0x78, 0x30, 0x00, 0x00, 0x00, 0xC6, 0xD6, 0xD6, 0x6C, 0x6C, 0x00,
0x00, 0x00, 0xCC, 0x78, 0x30, 0x78, 0xCC, 0x00, 0x00, 0x00, 0xCC, 0xCC, 0xCC, 0x78, 0x30, 0xE0,
0x00, 0x00, 0xFC, 0x18, 0x30, 0x60, 0xFC, 0x00, 0x38, 0x60, 0x60, 0xC0, 0x60, 0x60, 0x38, 0x00,
0xC0, 0xC0, 0xC0, 0x00, 0xC0, 0xC0, 0xC0, 0x00, 0xE0, 0x30, 0x30, 0x18, 0x30, 0x30, 0xE0, 0x00,
0x38, 0x44, 0xBA, 0xAA, 0xBA, 0x44, 0x38, 0x00, 0x00, 0x98, 0x30, 0x60, 0xC8, 0x98, 0x30, 0x00,
0x1E, 0x30, 0x60, 0x60, 0x30, 0x1E, 0x0C, 0x18, 0x00, 0x66, 0x00, 0x66, 0x66, 0x66, 0x3E, 0x00,
0x0C, 0x18, 0x3C, 0x66, 0x7E, 0x60, 0x3C, 0x00, 0x18, 0x66, 0x3C, 0x06, 0x3E, 0x66, 0x3E, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x30, 0x18, 0x3C, 0x06, 0x3E, 0x66, 0x3E, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x1E, 0x30, 0x60, 0x60, 0x30, 0x1E, 0x0C, 0x18,
0x18, 0x66, 0x3C, 0x66, 0x7E, 0x60, 0x3C, 0x00, 0x66, 0x00, 0x3C, 0x66, 0x7E, 0x60, 0x3C, 0x00,
0x30, 0x18, 0x3C, 0x66, 0x7E, 0x60, 0x3C, 0x00, 0x00, 0x66, 0x00, 0x18, 0x18, 0x18, 0x18, 0x00,
0x18, 0x66, 0x00, 0x18, 0x18, 0x18, 0x18, 0x00, 0x30, 0x18, 0x00, 0x18, 0x18, 0x18, 0x18, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x18, 0x30, 0xFC, 0xC0, 0xF0, 0xC0, 0xFC, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x18, 0x66, 0x00, 0x3C, 0x66, 0x66, 0x3C, 0x00,
0x00, 0x66, 0x00, 0x3C, 0x66, 0x66, 0x3C, 0x00, 0x30, 0x18, 0x00, 0x3C, 0x66, 0x66, 0x3C, 0x00,
0x18, 0x66, 0x00, 0x66, 0x66, 0x66, 0x3E, 0x00, 0x30, 0x18, 0x00, 0x66, 0x66, 0x66, 0x3E, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x18, 0x30, 0x78, 0x0C, 0x7C, 0xCC, 0x7C, 0x00, 0x0C, 0x18, 0x00, 0x18, 0x18, 0x18, 0x18, 0x00,
0x18, 0x30, 0x00, 0x78, 0xCC, 0xCC, 0x78, 0x00, 0x18, 0x30, 0x00, 0xCC, 0xCC, 0xCC, 0x7C, 0x00,
0x71, 0x8E, 0x00, 0x7C, 0x66, 0x66, 0x66, 0x00, 0x71, 0xCE, 0xE6, 0xF6, 0xDE, 0xCE, 0xC6, 0x00,
0x18, 0x18, 0x18, 0x00, 0x18, 0x18, 0x18, 0x00, 0x3C, 0x60, 0x3C, 0x66, 0x3C, 0x06, 0x3C, 0x00,
0x48, 0xFC, 0xC0, 0xF8, 0xC0, 0xC0, 0xFC, 0x00, 0x3F, 0x40, 0x4E, 0x58, 0x4E, 0x40, 0x3F, 0x00,
0x1C, 0xA4, 0xC4, 0xBC, 0x80, 0xFE, 0x00, 0x00, 0x00, 0x33, 0x66, 0xCC, 0x66, 0x33, 0x00, 0x00,
0x3E, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xC0, 0xC0, 0x00, 0xC0, 0xC0, 0xC0, 0xC0, 0x00,
0x81, 0xB9, 0xA5, 0xB9, 0xA5, 0x81, 0x7E, 0x00, 0xFC, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x78, 0xCC, 0x78, 0x00, 0x00, 0x00, 0x00, 0x00, 0x30, 0x30, 0xFC, 0x30, 0x30, 0x00, 0xFC, 0x00,
0xF0, 0x18, 0x30, 0x60, 0xF8, 0x00, 0x00, 0x00, 0xF0, 0x18, 0x30, 0x18, 0xF0, 0x00, 0x00, 0x00,
0x30, 0x60, 0xC0, 0x00, 0x00, 0x00, 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
0x00, 0x00, 0x7C, 0x66, 0x7C, 0x66, 0x7C, 0x00, 0x00, 0x00, 0x7E, 0x60, 0x60, 0x60, 0x60, 0x00,
0x00, 0x00, 0x3C, 0x66, 0x66, 0x66, 0xFF, 0x81, 0x00, 0x00, 0x7C, 0xC6, 0xFE, 0xC0, 0x7E, 0x00,
0x00, 0x00, 0xD6, 0xD6, 0x7C, 0xD6, 0xD6, 0x00, 0x00, 0x00, 0x3C, 0x46, 0x1C, 0x46, 0x3C, 0x00,
0x00, 0x00, 0x66, 0x66, 0x6E, 0x76, 0x66, 0x00, 0x00, 0x18, 0x66, 0x66, 0x6E, 0x76, 0x66, 0x00,
0x00, 0x00, 0x66, 0x6C, 0x78, 0x6C, 0x66, 0x00, 0x00, 0x00, 0x3C, 0x66, 0x66, 0x66, 0xC6, 0x00,
0x00, 0x00, 0xE7, 0xDB, 0xDB, 0xC3, 0xC3, 0x00, 0x00, 0x00, 0x66, 0x66, 0x7E, 0x66, 0x66, 0x00,
0x00, 0x00, 0x7C, 0xC6, 0xC6, 0xC6, 0x7C, 0x00, 0x00, 0x00, 0x7E, 0x66, 0x66, 0x66, 0x66, 0x00,
0x00, 0x00, 0xFC, 0xC6, 0xC6, 0xFC, 0xC0, 0xC0, 0x00, 0x00, 0x3E, 0x60, 0x60, 0x60, 0x3E, 0x00,
0x00, 0x00, 0x7E, 0x18, 0x18, 0x18, 0x18, 0x00, 0x00, 0x00, 0x66, 0x66, 0x66, 0x3E, 0x06, 0x7C,
0x00, 0x00, 0x7C, 0xD6, 0xD6, 0xD6, 0x7C, 0x10, 0x00, 0x00, 0xC6, 0x6C, 0x38, 0x6C, 0xC6, 0x00,
0x00, 0x00, 0x66, 0x66, 0x66, 0x66, 0x7F, 0x00, 0x00, 0x00, 0x66, 0x66, 0x3E, 0x06, 0x06, 0x00,
0x00, 0x00, 0xD6, 0xD6, 0xD6, 0xD6, 0xFE, 0x00, 0x00, 0x00, 0xD6, 0xD6, 0xD6, 0xD6, 0xFF, 0x01,
0x00, 0x00, 0x70, 0x30, 0x3C, 0x36, 0x3C, 0x00, 0x00, 0x00, 0xC6, 0xC6, 0xF6, 0xDE, 0xF6, 0x00,
0x00, 0x00, 0x60, 0x60, 0x7C, 0x66, 0x7C, 0x00, 0x00, 0x00, 0x7C, 0x06, 0x7E, 0x06, 0x7C, 0x00,
0x00, 0x00, 0xCC, 0xD6, 0xF6, 0xD6, 0xCC, 0x00, 0x00, 0x00, 0x3E, 0x66, 0x3E, 0x36, 0x66, 0x00
};

Ticket imported from: #1667323. Ticket imported from: feature-requests/364.

Attachments (3)

update_russian_font.inc (12.4 KB ) - added by SF/maxxlu 13 years ago.
Russian font
upd_isprint.inc (178 bytes ) - added by SF/maxxlu 13 years ago.
_isprint function instead isprint macros for file journal.cpp
russian_font_update.zip (17.2 KB ) - added by SF/maxxlu 13 years ago.
Update charset for russian version

Download all attachments as: .zip

Change History (21)

comment:1 by SF/maxxlu, 13 years ago

Summary: Russian font is not win-1251 compatibleFotAQ: Russian font is not win-1251 compatible

comment:2 by fingolfin, 13 years ago

Component: Engine: Queen
Game: Flight of the Amazon Queen

comment:3 by fingolfin, 13 years ago

Moving to feature requests.

Please attach your changes as a text file. They are useless if pasted as a comment on a tracker item, as the whole text becomes garbled.

Even better would be if you attached a patch implementing the changes you request, that increases the chance that it gets added a lot.

Finally, we can't "adjust" the macro isprint, as it is defined as part of the standard C/C++ library, and thus out of our direct control. But you could provide a patch with an alternate isprint-like function/macro, and change the FOTAQ engine to use that instead of isprint (it uses isprint in only one place anyway, I think).

by SF/maxxlu, 13 years ago

Attachment: update_russian_font.inc added

Russian font

comment:4 by SF/maxxlu, 13 years ago

File Added: update_russian_font.inc

by SF/maxxlu, 13 years ago

Attachment: upd_isprint.inc added

_isprint function instead isprint macros for file journal.cpp

comment:5 by SF/maxxlu, 13 years ago

Thanks for your fast reply.
I attach file with russian win-1251 data array.
Can you delete code from message, please?

And I write function Journal::_isprint (in attach) instead isprint macros.
File Added: upd_isprint.inc

comment:6 by sev-, 13 years ago

Please, do the following:

1. Conform your code to our code formatting conventions: http://wiki.scummvm.org/index.php/Code_Formatting_Conventions

particularly pay attention to tabs and method names

2. Provide _patch_ against SVN, not just chunks of code.

I budet tebe shas'ye

PS. And no, it is not possible to remove comments from the tracker.

comment:7 by cyxx, 13 years ago

Eugene already added support for a russian version some months ago. I'd like to know if your version is different or is it an update ?

If it's not different, we can just replace the existing font data with your patch (and add a new isCharPrintable method to the Journal class, too). But if it's a different version, then we'll need to add some code to be able to differentiate the two.

By the way, since you are in the process of translating and/or improving it, could you update the version string in queen.jas ? This is a 5 characters long string giving details about the version of the game. Game detection in ScummVM is based on it. If you can update it, you wouldn't have to explicitly set the language to Russian before adding the game to ScummVM.
Format of the version string is as follows :
char 0 : platform ('a' == Amiga, 'P' == PC floppy, 'C' == PC CDRom)
char 1 : language ('E' == English, 'F' == French etc. I'd suggest to add 'R' for russian,)
chars 2-4 : version

by SF/maxxlu, 13 years ago

Attachment: russian_font_update.zip added

Update charset for russian version

comment:8 by SF/maxxlu, 13 years ago

I wrote some "patch" (I downloaded files display.cpp, journal.cpp, journal.h and add my changes, right?) and attached it to my comment.

>Eugene already added support for a russian version some months ago. I'd
like to know if your version is different or is it an update ?

It is update.

>By the way, since you are in the process of translating and/or improving
it, could you update the version string in queen.jas ?

Of course.
File Added: russian_font_update.zip

comment:9 by cyxx, 13 years ago

Up to now, I don't think we added code changes for "in progress" translation for any for the games ScummVM supports (I can be wrong about this).

Ok, your changes are quite minimal, but if we change the charset, what is going to happen to the current FOTAQ russian version ScummVM supports ? Will it "break" it ? If so, is it acceptable ? Eugene, since you added initial support for it, please comment.

comment:10 by sev-, 13 years ago

1. That version I supplied earlier comes from same group
2. I assume it will break existing game which is really bad, as users will wonder what happened.

Though I am not sure about 2. Max, which charset did you use for your first release?

The best thing would be for Max to add changes which he proposes here and test both versions. Max? Or at least provide link to your current version.

comment:11 by SF/maxxlu, 13 years ago

>Ok, your changes are quite minimal, but if we change the charset, what is
going to happen to the current FOTAQ russian version ScummVM supports ?
Will it "break" it ? If so, is it acceptable ?

Yes, it break it. But "current russian version" of FotAQ not exists. We have partly translated game with cp-866 texts and with numerous bugs also.
So, I am thinking that all right.

comment:12 by SF/maxxlu, 13 years ago

>Max, which charset did you use for your first release?
First release is not mine. Another Max created it in 1996 year :)
And we (PRCA) are using it only as draft version.

comment:13 by cyxx, 13 years ago

Ok, thanks for the clarifications.

So, I think it would be preferable to add the necessary changes for your translation once it's complete, made public and available from your website. When that will happen, we will have to decide if it's ok to completely drop support for the russian translation made in 1996 in favor of yours.

comment:14 by fingolfin, 12 years ago

What is the status of this item?

comment:15 by fingolfin, 12 years ago

Status: newpending

comment:16 by SF/sf-robot, 12 years ago

This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).

comment:17 by SF/sf-robot, 12 years ago

Status: pendingclosed

comment:18 by digitall, 12 months ago

Component: Engine: Queen
Game: Flight of the Amazon Queen
Note: See TracTickets for help on using tickets.