KING's QUEST TRILOGY VGA REMAKE Need Help / Besoin D'aide

Ask for help with ScummVM problems

Moderator: ScummVM Team

Post Reply
Cognoscenti
Posts: 44
Joined: Sun Dec 31, 2023 9:47 pm

KING's QUEST TRILOGY VGA REMAKE Need Help / Besoin D'aide

Post by Cognoscenti »

TRANSLATION GAMES AND PATCHES TAKEN HERE:
King's Quest 1-2-3 REMAKE VGA (AGD Interactive)
https://www.planete-aventure.net/forums ... 29#p243130

I tested the patches and they work well on Windows.
but unfortunately they do not work on ScummVm

...I tested the King's Quest remake trilogy last night and everything worked on my ScummVM living room television. (my only way since I have suffered from acute back pain for many years!)

Is there a way for me to replace the original English text files for your French versions manually and which would work on ScummVM?

When I run:

KING'S QUEST 1 (once patched and ALL files put in a ScummVM folder)
I receive this message:
ATTENTION YOU MUST RESPECT THE CORRECT EXECUTABLE!
-To play, launch Kq1vga FR.exe from the game installation directory.
-To configure the mode, launch winsetup fr.bat.

KING'S QUEST 2 (once patched and ALL files put in a ScummVM folder)
I receive this message:
WARNING: This version of the game does not support foreign language translation packs.
Please run the installer and select the "Default game" option under the "game languages" settings before playing.

KING'S QUEST 3 (once patched and ALL files put in a ScummVM folder)
I receive this message:
WARNING: This game does not support foreign language translation packs.
Please run the installer and select the "Game Default" option under the "Game Language" setting before playing.

Would someone please check HOW I can play these games on ScummVM with their French translation?

Thank you very much, I await your responses/comments

----------------------------------------------------------------------------

JEUX ET PATCHES DE TRADUCTION PRISE ICI :
King's Quest 1-2-3 REMAKE VGA (AGD Interactive)
https://www.planete-aventure.net/forums ... 29#p243130

j'ai tester les patches et elles fonctionnent bien sur windows.
mais maleureusement elle ne fonctionnent pas sur ScummVm

...j'avais teste la trilogie King's Quest remake hier soir et tout fonctionnait sur mon ScummVM de televison de salon. (mon seul moyen puisque je souffre de douleures aigues au dos depuis de nombreuses annees!)

est-ce qu'il y aurait un moyen pour moi de remplacer les fichier textes originaux englais pour tes version francaises manuellement et qui fonctionnerais sur ScummVM ?

Quand je lance :

KING'S QUEST 1 (une fois patche et TOUS les fichiers mis dans un dossier ScummVM)
je recoit ce message :
ATTENTION IL FAUT RESPECTER LE BON EXECUTABLE!
-Pour jouer lancer Kq1vga FR.exe depuis le repertoire d'installation du jeux.
-Pour parametrer le mode lancer winsetup fr.bat.

KING'S QUEST 2 (une fois patche et TOUS les fichiers mis dans un dossier ScummVM)
je recoit ce message :
AVERTISSEMENT : Cette version du jeu ne prend par en charge les packs de traductions en langues etrangeres.
Veuillez executer le programme d'installation et selectionner l'options "Jeu par defaut" sous le parametres "langues du jeu" avant de jouer.

KING'S QUEST 3 (une fois patche et TOUS les fichiers mis dans un dossier ScummVM)
je recoit ce message :
AVERTISSEMENT : Ce jeu ne prend pas en charge les packs de traductions en langues etrangeres.
Veuillez executer le programme d'installation et selectionner l'option "Game Default" sous le parametre "Game Language" avant de jouer.

Quelqu'un serait aimable de verifier COMMENT je peux jouer a ces jeux sur ScummVM avec leur traduction Francaises ?

Merci infiniment , j'attend vos reponses/commentaires
User avatar
criezy
ScummVM Developer
Posts: 980
Joined: Sat Sep 23, 2006 10:41 am
Location: West Sussex, UK

Re: KING's QUEST TRILOGY VGA REMAKE Need Help / Besoin D'aide

Post by criezy »

Cognoscenti wrote: Fri Feb 14, 2025 2:18 amIs there a way for me to replace the original English text files for your French versions manually and which would work on ScummVM?
Unfortunately you cannot. This is a known issue: https://bugs.scummvm.org/ticket/13480
Cognoscenti
Posts: 44
Joined: Sun Dec 31, 2023 9:47 pm

Re: KING's QUEST TRILOGY VGA REMAKE Need Help / Besoin D'aide

Post by Cognoscenti »

criezy wrote: Fri Feb 14, 2025 7:58 am
Cognoscenti wrote: Fri Feb 14, 2025 2:18 amIs there a way for me to replace the original English text files for your French versions manually and which would work on ScummVM?
Unfortunately you cannot. This is a known issue: https://bugs.scummvm.org/ticket/13480
Thanks you so much Criezy,
I hope someone will be able to manage /find a solution !

Someone was very kind to just explained this to me :

"The games designed by AGD Interactive have the particularity of blocking the translation of their games, whether they are free like the King Quest remakes or commercial like Al Emmo.
For a long time, these games could not be translated because of this blockage.
Then one day, one of the AGS developers proposed on a Russian game translation site, a modification of the acwin.exe file, the game engine, in order to bypass this blockage.

In fact, AGD Interactive uses a function (IsTranslationAvailable) in AGS that allows translations to be blocked.
The acwin.exe file (renamed according to the game in which it is used) allows you to bypass this blockage, but cannot in any way replace the game's exe.
The problem is that it only works correctly in the Windows environment and even then, you have to do a whole bunch of tinkering to launch the game.
This acwin.exe file is not recognized in ScummVM, because the latter will look for the original exe with this blocking function generating the messages you listed.

The only viable solution would be to modify the original exe of the 3 games "

I assume the guys that worked on the ticked opened here are aware of that explanation ?

https://bugs.scummvm.org/ticket/13480
borges
Posts: 7
Joined: Wed Dec 30, 2020 11:33 am

Re: KING's QUEST TRILOGY VGA REMAKE Need Help / Besoin D'aide

Post by borges »

Yes, it's possible to patch the games. The function IsTranslationAvailable is called with

Code: Select all

setfuncargs 0
movl ax, &IsTranslationAvailable
farcall ax
and it sets ax to 1 if a translation is being used. By changing it to

Code: Select all

setfuncargs 0
movl ax, &IsTranslationAvailable
not ax
it will always set ax to 0 making it appear that the original text is being used. Only one byte needs to be changed for each call.

It's probably easiest to create a zip archive with the patched globalscript.o and room files. These files can be extracted to the translated game folder and ScummVM will use them when playing the game.

If this is not allowed, I can generate patch files that will make the changes or I can write a program that will find all the game files in the game folder and make the changes to their scripts.
Cognoscenti
Posts: 44
Joined: Sun Dec 31, 2023 9:47 pm

Re: KING's QUEST TRILOGY VGA REMAKE Need Help / Besoin D'aide

Post by Cognoscenti »

borges wrote: Sun Feb 23, 2025 7:58 pm Yes, it's possible to patch the games. The function IsTranslationAvailable is called with

Code: Select all

setfuncargs 0
movl ax, &IsTranslationAvailable
farcall ax
and it sets ax to 1 if a translation is being used. By changing it to

Code: Select all

setfuncargs 0
movl ax, &IsTranslationAvailable
not ax
it will always set ax to 0 making it appear that the original text is being used. Only one byte needs to be changed for each call.

It's probably easiest to create a zip archive with the patched globalscript.o and room files. These files can be extracted to the translated game folder and ScummVM will use them when playing the game.

If this is not allowed, I can generate patch files that will make the changes or I can write a program that will find all the game files in the game folder and make the changes to their scripts.
Here we go ! :)
nothing is impossible :D
that would be totally awesome borges
borges
Posts: 7
Joined: Wed Dec 30, 2020 11:33 am

Re: KING's QUEST TRILOGY VGA REMAKE Need Help / Besoin D'aide

Post by borges »

Here are the patched scripts for each of the games. Just extract the files to the game folder and it should work.
Attachments
KQ1IsTranslatable.zip
(137.9 KiB) Downloaded 242 times
KQ2IsTranslatable.zip
(174.24 KiB) Downloaded 250 times
KQ3IsTranslatable.zip
(182.53 KiB) Downloaded 254 times
Cognoscenti
Posts: 44
Joined: Sun Dec 31, 2023 9:47 pm

Re: KING's QUEST TRILOGY VGA REMAKE Need Help / Besoin D'aide

Post by Cognoscenti »

borges wrote: Mon Feb 24, 2025 7:26 pm Here are the patched scripts for each of the games. Just extract the files to the game folder and it should work.
WOW it was FAST !

Ok i will go try test them immediatelly
I came back in couples of minutes
Cognoscenti
Posts: 44
Joined: Sun Dec 31, 2023 9:47 pm

Re: KING's QUEST TRILOGY VGA REMAKE Need Help / Besoin D'aide

Post by Cognoscenti »

borges wrote: Mon Feb 24, 2025 7:26 pm Here are the patched scripts for each of the games. Just extract the files to the game folder and it should work.


Just tested the 3 on ScummVM 2.9.0 [PLAYSTATION 3 PORT] & Windows 10
I have extracted each zip inside game folder then erased each zip
the games a recognized but still only in English

here are the 3x FRENCH subtitles translation patch i use :
https://www.mediafire.com/file/ixgpmrg7 ... s.rar/file

Hope you will be able to make something... (fingers crossing)
borges
Posts: 7
Joined: Wed Dec 30, 2020 11:33 am

Re: KING's QUEST TRILOGY VGA REMAKE Need Help / Besoin D'aide

Post by borges »

Cognoscenti wrote: Mon Feb 24, 2025 8:38 pm the games a recognized but still only in English
The patches I made only disable IsTranslationAvailable, they don't translate the game.
If there is not a French.tra file, you need to install the French patch.
If there is a French.tra file, you will need to set the game language to French.
Cognoscenti
Posts: 44
Joined: Sun Dec 31, 2023 9:47 pm

Re: KING's QUEST TRILOGY VGA REMAKE Need Help / Besoin D'aide

Post by Cognoscenti »

borges wrote: Mon Feb 24, 2025 9:57 pm
Cognoscenti wrote: Mon Feb 24, 2025 8:38 pm the games a recognized but still only in English
The patches I made only disable IsTranslationAvailable, they don't translate the game.
If there is not a French.tra file, you need to install the French patch.
If there is a French.tra file, you will need to set the game language to French.
It work...
IT WORK !!! :)

thanks...
Thank you very much!

*You have no idea how much you just made my year! :)
the 50+ year old buck that I am would be eternally grateful to you until the end of my days :)
Post Reply