Author Topic: Police Quest 1 VGA  (Read 4334 times)

0 Members and 1 Guest are viewing this topic.

Offline hrvg

Re: Police Quest 1 VGA
« Reply #60 on: February 26, 2019, 12:53:01 PM »
Hi Daventry,
I leave the link for 24 hours. After I delete the link.
Link of complete game in French:

Regards,
Hrvg.

« Last Edit: February 26, 2019, 03:33:16 PM by hrvg »

Offline Daventry

Re: Police Quest 1 VGA
« Reply #61 on: February 26, 2019, 01:44:21 PM »
hrvg
Thanks

Offline hrvg

Re: Police Quest 1 VGA
« Reply #62 on: August 10, 2019, 02:33:02 PM »
Hello,
I redid the translation of "Conquest of the longbow" ..
I inserted "scr, font, pic, view" files in my game... No problem.
For tex files, I have no problem from 0 to 999.
But I have a problem for tex files from 1000 -> 2162. (see screenshot)
http://zupimages.net/viewer.php?id=19/32/8j2q.png
I am not an expert in computer.
I have to enter each line of my translation by editing 1000.tex file (for example)?. (see screenshot)
http://zupimages.net/viewer.php?id=19/32/6rmu.png
Or is there a simple way to insert these "tex" files?
Thank you for your help.

PS: My game + tex files in "patch" folder:
http://www.mediafire.com/file/65jhq2ob9ftcyui/conquest_of_longbow_complet_1000.rar/file
« Last Edit: August 12, 2019, 06:59:17 AM by hrvg »

Offline hrvg

Re: Police Quest 1 VGA
« Reply #63 on: October 21, 2019, 01:49:38 PM »
Hi,
I am taking the liberty to reapproach you regarding this topic (topic above, Conquest of the longbow).
It is possible to import ".txt" files that have numbered over 999?
Or It is not possible ?
I thank you for answer and help.

Offline EricOakford

Re: Police Quest 1 VGA
« Reply #64 on: November 07, 2019, 11:13:43 AM »
Hi,
I am taking the liberty to reapproach you regarding this topic (topic above, Conquest of the longbow).
It is possible to import ".txt" files that have numbered over 999?
Or It is not possible ?
I thank you for answer and help.

Text resources actually have the .TEX extension. And yes, it should be possible, as the game already has text resources numbered in the 1000 rang. However, they apparently need to be called through the "GetFarText" kernel function.
My SCI templates
SCI0 SCI0.1 SCI1.0 SCI1.1

Offline hrvg

Re: Police Quest 1 VGA
« Reply #65 on: November 07, 2019, 12:40:22 PM »
@ EricOakford.
Hi,
Thank you for your answer and your help.
I do not know "GetFartText".
I searched for "GetFartText" on the forum.
I did not find how to use "GetFartText".
I found this:
http://sierrahelp.com/SCI/SCIStudio3Help/SCC/Kernel_Format.html

But I do not understand.
I am bad in computer. I translate and I tinker in computer.
« Last Edit: November 08, 2019, 08:49:49 AM by hrvg »

Offline Kawa

Re: Police Quest 1 VGA
« Reply #66 on: November 08, 2019, 08:32:05 AM »
You might be unable to find "GetFartText" because it's "GetFarText". Far as in distance, not fart as in buttsmell.

Offline hrvg

Re: Police Quest 1 VGA
« Reply #67 on: November 08, 2019, 11:25:34 AM »
@ Kawa,
I do not understand.
I have to write a "sentence" (code) with "GetFarText" in a script file?
Like this (example):
https://zupimages.net/viewer.php?id=19/45/xtsa.png

Offline Charles

Re: Police Quest 1 VGA
« Reply #68 on: November 08, 2019, 12:01:01 PM »
@ Kawa,
I do not understand.
I have to write a "sentence" (code) with "GetFarText" in a script file?
Like this (example):
https://zupimages.net/viewer.php?id=19/45/xtsa.png

You had a typo in your post... an extra 't'. But it looks like you're spelling it correctly in your code.
Try these resources:
http://sierrahelp.com/SCI/SCIStudio3Help/SCC/Kernel_GetFarText.html
http://scicompanion.com/Documentation/Kernels/GetFarText.html?highlight=getfartext

I haven't used this function itself, but don't think you can call it as an exact substitute for the regular text function.

You may need to do something like this:
Code: [Select]
(method (doVerb theVerb param2 &tmp [test1 50] [str 50])
     (GetFarText 1 35 @str)
     (Printf "The %s won't fit in the box" @str)
)
(edit: posted before I finished typing)

That will retrieve the text from 1 35 and store it in the new str temp variable.  Then you reference that temp variable in the Printf function.

I'm not sure if that will fix your problem, honestly. I'm not very strong in SCI code myself yet.
« Last Edit: November 08, 2019, 12:08:26 PM by Charles »

Offline hrvg

Re: Police Quest 1 VGA
« Reply #69 on: November 08, 2019, 12:32:15 PM »
@ Charles.
I thank you for your answer.
It is not my "code". I found this code on the forum.
I read your two links but I do not understand. I am not a programmer. I only translate.
There are 125 files to insert into the game. If I change each sentence one by one in the game. It is a titanic work. There are hundreds of lines. After I must to modify the code of French accented letters.
I give up this game because we must to know how to program.
I thank you for your help.


SMF 2.0.14 | SMF © 2017, Simple Machines
Simple Audio Video Embedder

Page created in 0.106 seconds with 24 queries.