Jump to content

Azdul's Content

There have been 7 items by Azdul (Search limited from 18-April 23)

By content type

See this member's

Sort by                Order  

#611053 Baldur's Gate Trilogy v1.21

Posted by Azdul on 16 May 2021 - 06:47 AM in BGT-WeiDU

- A component that installs the larger dialogue/gamelog font from the TotSC CD (it uses the fixed polish-friendly version of the file)


Unfortunately I've found an issue with the font, one of rarely used capital letters was rendered incorrectly:


I've managed to correct the issue:

And here is corrected font file:

Attached File  TOSC-1250-PL-corrected.bam   22.19K   114 downloads


Sorry about that. I had to finish Tales of the Sword Coast ("Opowieści z Wybrzeża Mieczy") to finally notice the issue.


Attached Images

  • font_problem.png
  • problem_corrected.png

Attached Files

#609585 Baldur's Gate Trilogy v1.21

Posted by Azdul on 03 July 2020 - 11:09 PM in BGT-WeiDU

Here, this is the best I could do. Without the extra margin (only adjusted Y coordinates) I'd always get some garbage under a few characters eg "h".



It seems to be working fine (see attached screenshots) - thanks. 


I've heard that one of the quest mods uses some non-standard characters (Spanish letter Ñ ?) in character or location name - but I forgot which one. Maybe someone remembers, so I can check if it works fine with the new font ?

Attached Images

  • Baldr000.png
  • Baldr001.jpg
  • Baldr002.jpg

#609580 Baldur's Gate Trilogy v1.21

Posted by Azdul on 02 July 2020 - 10:49 PM in BGT-WeiDU

I've converted Tales of the Sword Coast Polish font from encoding used in BG1 PL to BG2 PL. However, I've encountered an issue - when I'll put the font into Override, the last line of the font is not displayed - which is especially visible in the letter "g" on attached screenshot.


It's not an issue with conversion - the font before conversion behaves the same way. And the font works perfectly fine in BG1 PL. Is there something special that needs to be done to BG1 font so it will work correctly in BG2 engine ?


Anyway, I'll keep trying to fix the issue..

Attached Images

  • cutted-letter-g.jpg

#609548 Baldur's Gate Trilogy v1.21

Posted by Azdul on 27 June 2020 - 12:43 PM in BGT-WeiDU

Yeah, you're right  :( The frame numbers with Polish characters are different in the font BAMs. You'd have to manually edit the BAM file by comparing the frame numbers with the Polish BG2 font.
I've made some progress writing C++ tool that converts any given font between any two given code pages by changing frame indices table within BAM file. I believe BG1 uses Windows-1250 and BG2 uses ISO-8859-2, or vice-versa. Of course I'll share results and source code once I'll finish. Probably the converter implemented in Weidu script would be even better, but someone who knows C++ and Java does not become Weidu expert in one evening  ;).
Update: BG2 PL uses Windows-1250 encoding, but BG1 PL uses completely custom encoding invented by CD-Projekt. Why use one of 28 existing standards, when you can invent new one ...

#609540 Baldur's Gate Trilogy v1.21

Posted by Azdul on 25 June 2020 - 11:35 AM in BGT-WeiDU

kpzbg1 converts dialog.tlk encoding, but you also need the actual font BAM with Polish characters. Good news: I also have the version from Polish TotSC CD and it will be included!

I'm afraid the version from Tales of the Sword Coast PL (or TWM GUI mod), that will be compatible with Polish BG1, but not Polish BG2 / BGT. Would you mind sharing it, so I can try it with my Polish BGT installation ?


And answering Roberciiik question - I've run "kpzbg1.exe" converter. Without it all fonts, including default BG2 PL, will display incorrect characters in first chapters of BGT. After "kpzbg1.exe" conversion I had no issues with default BG2 font, or fonts from GhostDog mod, however the slightly larger font that comes with TotSC PL (Opowieści z Wybrzeża Mieczy CD) displays incorrect characters. Which is unfortunate, as it is really nice font for medium resolutions.

#609534 Baldur's Gate Trilogy v1.21

Posted by Azdul on 24 June 2020 - 08:55 PM in BGT-WeiDU

Probably a bit later.

I also wonder about one thing in "Finishing Touch" and Polish version. Bigger BG1 font (from TotSC CD) will not work with BG2 or BGT. For some reason Polish versions of BG1 and BG2 use different character encoding, and Polish letters appear completely messed up. I've spent a lot of time looking for converted TotSC font that will work with BGT, as it fits the GUI and is much easier on the eyes in higher resolutions - but so far without success. 


Do you have TotSC font that will work with Polish version of BGT ?


If not - does it make sense for me to try to convert the font to BG2 character encoding ?


I have zero experience with IE modding, but it seems that file format is already reverse-engineered: https://gibberlings3...mats/bam_v1.htm

#609526 Baldur's Gate Trilogy v1.21

Posted by Azdul on 24 June 2020 - 01:54 AM in BGT-WeiDU

Polish language translation, setup.tra:

@700000 = ~Rozdział Pierwszy/Prolog:~

The line is too long, and does not fit into standard GUI (tested in 800x600 resolution).

Last character does not fit into the text box.


I wonder if there is anything that can be done about it:

- In classic BG 1 the first chapter is simply called "Prolog"

- We could use grammatically correct shorter form: "Roz. Pierwszy/Prolog" - but it looks ugly

- "Rozdział Pierwszy" looks fine, but it would be different from other language versions ...


Please let me know what you guys think about it.