Author Topic: Series Quest for Glory games  (Read 12434 times)

0 Members and 1 Guest are viewing this topic.

Offline hrvg

Series Quest for Glory games
« on: October 28, 2019, 12:31:08 PM »
Hi,

I have a problem to write the character's name.
I would like to translate Quest For Glory I and IV.
This problem is for Quest For Glory I, III and IV. (Same in French version of Quest For Glory III.)
At the beginning of game, we have to create our character.
We can not write name (nickname/pseudo) of character with signs or French letters (é, à, ç, -, etc.).
We can write that these letters of "a -> z and A -> Z" and the numbers "0 -> 9".
For example, if we write René. The é is not displayed. It does not come from the fontt, because I inserted it in the resource.
http://zupimages.net/viewer.php?id=19/44/bvd2.png
I opened the game with SCICompanion. I searched the files and I found these files: Script 203.scr, msg 203.msg, view 802v56, font 123.fon and pic 904.p56.
I did "Manage compilation." I searched in the script files. I found chAllo file. I guess my problem comes from this file because I have this:
(and (<= KEY_a pEventMessage) (<= pEventMessage KEY_z))               (and (<= KEY_A pEventMessage) (<= pEventMessage KEY_Z))
(and (<= KEY_0 pEventMessage) (<= pEventMessage KEY_9))

But if I change the z by ù, I have an error:
http://zupimages.net/viewer.php?id=19/44/tjqm.png
I would like to know if we can cancel these lines or change them.
Thank you for your help.



Offline gumby

Re: Series Quest for Glory games
« Reply #1 on: October 28, 2019, 05:46:56 PM »
I think the reason you are getting the error is that KEY_ù isn't defined.  I can't remember where the KEY_xxxx constants are defined, maybe in one of the header files (sierra.h? keys.h?) - something like that?

No idea what the impact would be if you didn't check at all and just removed that condition check.  Might be just fine.
In the Great Underground Empire (Zork port in development)
Winter Break 2012 Rope Prop Competition

Offline Daventry

Re: Series Quest for Glory games
« Reply #2 on: October 29, 2019, 04:38:46 AM »
hrvg
Hi.
You're thinking right. You need to change the script 203. Here is try, already changed.
Before starting the game, you need to run the national keyboard driver to switch to French input.
« Last Edit: October 29, 2019, 04:41:21 AM by Daventry »

Offline hrvg

Re: Series Quest for Glory games
« Reply #3 on: October 29, 2019, 11:19:45 AM »
Hi,
I thank you for your answers.
@ Gumby,
I found other files (sci.sh, key.sh and other files). You can not edit these files.
@ Daventry, It is good, thanks.  It is incredible. You succeeded ! You were fast!
How did you do? Because I have other games that have problems : Quest For Glory III (French version), Quest For Glory IV, Mixed-Up Mother Goose.
Thanks.

Offline Daventry

Re: Series Quest for Glory games
« Reply #4 on: October 31, 2019, 04:48:58 AM »
Hi Hervé
Script for QFG3.

Offline hrvg

Re: Series Quest for Glory games
« Reply #5 on: October 31, 2019, 05:28:18 PM »
Hi Daventry,
I thank you for you 203.scr file for QFG 1. Your file will help translators (German, Spanish, Italian, etc.).
« Last Edit: November 01, 2019, 11:32:33 AM by hrvg »

Offline hrvg

Re: Series Quest for Glory games
« Reply #6 on: November 01, 2019, 11:30:58 AM »
I tried your 140.scr file. The game crashes with French version. The problem is140.hep file (french) . If I delete 140.hep file. It works... But, we have this:
http://zupimages.net/viewer.php?id=19/44/vkga.png

With SCICompanion, I did "Manage decompliation" in "Script" tab... SCICompanion crashes.
Thank you for your help.

Offline Daventry

Re: Series Quest for Glory games
« Reply #7 on: November 01, 2019, 03:14:57 PM »
Yes. I used the wrong file. Here is the correct file.



Offline hrvg

Re: Series Quest for Glory games
« Reply #8 on: November 01, 2019, 04:20:17 PM »
Thank you very much for your help.
Because I extracted these files (msg.140, 141.v56, 145.v56 and 145.p56 ) of English version.
For msg.140, 141.v56 and 145.v56 files... It is good, not problem.
http://zupimages.net/viewer.php?id=19/44/mrx9.png
http://zupimages.net/viewer.php?id=19/44/jnel.png

But for 145.p56 file, I have big problem. This file freezes the game when it is extracted (without any modification on my part).
Hats off to you for your work!
you got me out of a difficult situation!
Thank you very muchh.

Offline Daventry

Re: Series Quest for Glory games
« Reply #9 on: November 06, 2019, 03:33:22 AM »
Hi Hervé.

Name hero for QFG4CD.

Offline hrvg

Re: Series Quest for Glory games
« Reply #10 on: November 06, 2019, 04:31:22 AM »
Hi Alex,
Thank you very much for your help.

Offline hrvg

Re: Series Quest for Glory games
« Reply #11 on: November 06, 2019, 07:40:38 AM »
PS:
It does not work. You can send me 140.hep file with which you made 140.scr file, please.

Offline Daventry

Re: Series Quest for Glory games
« Reply #12 on: November 07, 2019, 01:39:50 AM »
Hi Hervé.
Everything works. 140.hep file is not needed. I didn't change it.
Russian version.
English version.
Spanish version.
QFG4 translated into Spanish with incorrect encoding. To see the name of the hero (for test) you need to take the font files from QFG1.
The correct font from QFG1 spanish and incorrect font from QFG4 spanish.



Offline Daventry

Re: Series Quest for Glory games
« Reply #13 on: November 07, 2019, 01:42:12 AM »
Symbols from the extended part ASCII are placed on incorrect place at the bottom part of the table ASCII.

Offline hrvg

Re: Series Quest for Glory games
« Reply #14 on: November 07, 2019, 04:32:43 AM »
Hi Alex,
I am sorry but it does not work with my game.

My fonts :
https://1fichier.com/?wegj6vom547ycd1sgrid


SMF 2.0.19 | SMF © 2021, Simple Machines
Simple Audio Video Embedder

Page created in 0.047 seconds with 24 queries.