Adventure Game Studio

AGS Development => Editor Development => Topic started by: Gal Shemesh on Sun 18/06/2023 23:00:10

Title: Importing a 256 characters SCI font ends up with only 128 characters
Post by: Gal Shemesh on Sun 18/06/2023 23:00:10
Hi everyone,

I'm working on a Hebrew game template and encountered an odd issue when trying to import a Hebrew SCI font of 256 characters that my local friends had created in SCI Companion. The font looks like this:
(https://www.dropbox.com/s/h8oyz3m0zu34gy8/256%20Characters%20Set%20Hebrew%20Font.png?dl=1)

When I import it into AGS, all the characters after the 128 English characters turn into question marks as shown here:
(https://www.dropbox.com/s/8nmd245lfa987yd/256%20Characters%20Set%20Hebrew%20Font%20After%20Import%20in%20AGS.png?dl=1)

Is this a bug?

Thanks
Title: Re: Importing a 256 characters SCI font ends up with only 128 characters
Post by: Crimson Wizard on Sun 18/06/2023 23:30:26
If I remember correctly, AGS has a hardcoded limit to 128 characters when importing SCI format.

If you upload this font, I might look if it feasible to safely load it without breaking 128-long fonts.
Title: Re: Importing a 256 characters SCI font ends up with only 128 characters
Post by: Gal Shemesh on Mon 19/06/2023 07:23:44
Quote from: Crimson Wizard on Sun 18/06/2023 23:30:26If I remember correctly, AGS has a hardcoded limit to 128 characters when importing SCI format.

If you upload this font, I might look if it feasible to safely load it without breaking 128-long fonts.

Thanks @Crimson Wizard
Here's a direct link: https://github.com/adventurebrew/hebrewadventure/blob/master/sq3/PATCHES/font.004
Title: Re: Importing a 256 characters SCI font ends up with only 128 characters
Post by: Crimson Wizard on Wed 24/01/2024 04:51:49
This has been since fixed in both 3.6.0 (some patch) and 3.6.1.