In the process of the Italian translation of Bg, I modified fonts.vga to add
Italian specific letters and of course compiled/decompiled usecode with the usual tools (b.exe, rip, wuc, mklink)
New usecode and fonts.vga work fine with Exult 1.0 and current Exult CVS.
They do not with original game run with u7run: intro works; but if you select Journey Onward, after a couple of seconds Windows returns to desktop (Win98se)
Same happens with Start new game.
Of course, it works with the original usecode and fonts.vga.
Any idea why this happens? Maybe there's some checksum in the original (I do not think so, I tried modifying some text in usecode directly with a hex editor and it worked)
A less important problem: if I use frame #5 in fonts.vga (letter is "è"), Exult 1.1 displays it, why 1.0 does not. It leaves a space. I had to use frame #0c instead. Same happens with intro fonts (red ones, the Guardian speech): accented letters are not displayed. I tried different frame numbers.
Just curious why this happens.
A last one (be patient...): some in game icon-shapes text (e.g. "too heavy", "out of ammo", etc.) require a bigger icon to be translated correctly; is it safe to change icon dimension?
TIA to anyone for any help
Ciao
Usecode and fonts.vga question
Forum rules
NOTICE: This forum is archived as read only.
Please use the Github Discussions at https://github.com/exult/exult/discussions
NOTICE: This forum is archived as read only.
Please use the Github Discussions at https://github.com/exult/exult/discussions
Usecode and fonts.vga question
Ciao
Fabrizio
Fabrizio
Re: Usecode and fonts.vga question
Sorry a mistake I made:
actually, is the other way round: frame #0c is not displayed with Exult 1.0, frame #5 is.
actually, is the other way round: frame #0c is not displayed with Exult 1.0, frame #5 is.
Ciao
Fabrizio
Fabrizio
-
- Site Admin
- Posts: 1310
- Joined: Thu May 14, 2020 1:34 pm
Re: Usecode and fonts.vga question
You'll notice if è was in the middle of a word, it showed ok, but not if it started a word. That pb was corrected in the CVS version. It was due to isspace() or something like that. A custom-made isspace() has been implemented, so that your word can now start with è.
As for changing the size of the icon, I'd say try to use the same space as much as you can. But if you really have to, make it bigger and let us know how well it works!
As a side point, I've made available a program to create a binary patch you could use for your Italian version of BG. Contact me if you want more details.
Artaxerxes
As for changing the size of the icon, I'd say try to use the same space as much as you can. But if you really have to, make it bigger and let us know how well it works!
As a side point, I've made available a program to create a binary patch you could use for your Italian version of BG. Contact me if you want more details.
Artaxerxes
Re: Usecode and fonts.vga question
>[cut]..implemented, so that your word can now start with è
I see.
>As for changing the size of the icon, I'd say try to use the same space as >much as you can. But if you really have to, make it bigger and let us know >how well it works!
I'll try to use the same size as far as I can...
Many thanks Artaxerxes, your help is really appreciated.
Do the French usecode and fonts.vga work fine with SI outside of Exult? With original SI o with u7run, I mean.
Did you translate the Guardian speech text too? Does it work?
I see.
>As for changing the size of the icon, I'd say try to use the same space as >much as you can. But if you really have to, make it bigger and let us know >how well it works!
I'll try to use the same size as far as I can...
Many thanks Artaxerxes, your help is really appreciated.
Do the French usecode and fonts.vga work fine with SI outside of Exult? With original SI o with u7run, I mean.
Did you translate the Guardian speech text too? Does it work?
Ciao
Fabrizio
Fabrizio
-
- Site Admin
- Posts: 1310
- Joined: Thu May 14, 2020 1:34 pm
Re: Usecode and fonts.vga question
the patch does not work with the original engine and I think it's because we use 32 bit usecode instead of 16 bit like the original does.
I have not translated the guardian's speech yet. So far we are doing the proofreading and by the way, we need volunteers who can speak good french.
Artaxerxes
I have not translated the guardian's speech yet. So far we are doing the proofreading and by the way, we need volunteers who can speak good french.
Artaxerxes
Re: Usecode and fonts.vga question
I would be glad to help you with patch testing, but I don't speak French
unfortunately.
Just Bon nuit, Tres bien, ...
Reason I was interested to French usecode was just to know if you are having the same problems I have with original version. Your answer cleared this point, anyway.
Thx again
unfortunately.
Just Bon nuit, Tres bien, ...
Reason I was interested to French usecode was just to know if you are having the same problems I have with original version. Your answer cleared this point, anyway.
Thx again
Ciao
Fabrizio
Fabrizio