Author Topic: Problem of "PIC" files and French letters.  (Read 4042 times)

0 Members and 1 Guest are viewing this topic.

Offline hrvg

Problem of "PIC" files and French letters.
« on: May 22, 2018, 05:34:22 PM »
Hi,
I do not know if I write in the right place. I start on this forum. Be indulgent. Thank you.
My English is bad, sorry.
I am looking for a game to translate.
I thought about these games:
Police Quest 1 VGA
Castel Of Dr. Brain
Quest For Glory 1 VGA
I have a problem with all these games:
Police Quest 1 VGA and Castel Of Dr. Brain.
I can not edit (modify) the "PIC" files.

For Quest for Glory:
We can not write his "nickname" (pseudo). And the problem is present in Quest For Glory 3. This game is released in French version.
For example:
My nickname is: Sébastien. I will have: Sbastian. The "é" disappears.
The problem is when I type (hit) "é" the code is E9. Also, in Sierra games and other games, the code is: 82.
You have found a solution to this problem?
Thank you.



Offline Collector

Re: Problem of "PIC" files and French letters.
« Reply #1 on: May 22, 2018, 05:57:51 PM »
Have you tried to open the games with SCI Companion? You should be able to edit using Companion's Pic editor.

As to diacritics, perhaps you can take the fonts from an existing French SCI game. Don't forget that there is a "language" flag for the CFG file.
KQII Remake Pic

Offline hrvg

Re: Problem of "PIC" files and French letters.
« Reply #2 on: May 22, 2018, 07:04:16 PM »
Hi Collector,
Thank you for your answer.
Quote
Have you tried to open the games with SCI Companion? You should be able to edit using Companion's Pic editor.
Yes, I tried to edit 1 pixel only. the game crashes.
I tried to import a "BMP" file ... Same, the game crashes.
I tried with SCIStudio... I can not.
I tried with FotoSCIhop... I can not.
You are my last hope.

Quote
As to diacritics, perhaps you can take the fonts from an existing French SCI game. Don't forget that there is a "language" flag for the CFG file.
I have more than 50 fonts Sierra games (with or without French letters).
The problem is that the game (in itself) does not recognize the "AZERTY" keys for French letters. The game recognizes translation of game's sentences that have been written with a hexadecimal editor with a modified Police (font).
http://zupimages.net/viewer.php?id=18/21/q8nr.png
As my example, a simple hexadecimal editor the code of "é" is E9. So, that is 82 code for  "FONT" Sierra and other games.
And I do not find the solution.
« Last Edit: May 22, 2018, 07:21:42 PM by hrvg »

Offline Collector

Re: Problem of "PIC" files and French letters.
« Reply #3 on: May 23, 2018, 08:41:13 AM »
I just edited that same Pic in Companion with no issue. As far as the AZERTY keyboard goes, did you try using the keyboard driver from an SCI1.1 game that does work with AZERTY?
KQII Remake Pic

Offline hrvg

Re: Problem of "PIC" files and French letters.
« Reply #4 on: May 23, 2018, 09:34:39 AM »
Quote
I just edited that same Pic in Companion with no issue.

You did manage to modify a PIC file of game: Police Quest 1 VGA (or Castel Of Dr. Brain)?
I edit 4.p56 file (of Police Quest 1 VGA). I modify 1 pixel. I save. I start game. The game crashes.


Quote
As far as the AZERTY keyboard goes, did you try using the keyboard driver from an SCI1.1 game that does work with AZERTY?

No, I do not know this keyboard driver. Where I can download this keyboard driver, thank you?

Offline Kawa

Re: Problem of "PIC" files and French letters.
« Reply #5 on: May 23, 2018, 12:52:37 PM »
Aside from that white bar on the bottom, this quick test worked fine for me. Find pic, export to PNG, open and edit in a program I can trust not to mess with my palette, import back in SCI Companion, save as patch file.

This is in Castle of Dr. Brain btw. I'mma try PQ1 4.p56 now.

Edit: that went even better. Attaching the results...
« Last Edit: May 23, 2018, 12:59:16 PM by Kawa »

Offline hrvg

Re: Problem of "PIC" files and French letters.
« Reply #6 on: May 23, 2018, 01:28:43 PM »
Hello Kawa,
I thank you for answer.
It is incredible...
I recognize that I am not good in computer.
I modified PIC file with SCICompanion.
And I had exported the PIC file to BMP..
Then imported this BMP file.
It is no good.
I will do what you explain to me.
Thank you.

Offline hrvg

Re: Problem of "PIC" files and French letters.
« Reply #7 on: May 23, 2018, 03:42:32 PM »
Hi Kawa,
For Castel Of Dr. Brain.
I did this:
I opened SCI Companion...
I opened the file "resource.map"...
"PIC" tab...
I editfile "n520" (double-click on picture)...
In "Pic tab" of SCI Companion...
I click on "Export 8-bit pic bitmap"...
I choose "PNG files (*.png)...
I name file "520"...
I open my graphic editor (GraphicsGale)...
I modify "520.png" file...
I save...
In SCI Companion...
In "Pic tab"...
I click on "Import bitmap to pic"...
I click on "Browse"...
I select "520.png" file...
I click on "Accept".
I click on "Save as":
Package 0
Resource number 520...
I click on "Ok"...
SCI Companion Message: "A Resource Already Exits for this Number." Overwrite? "...
OK...
I start the game...
Game crashes.


I translate Sierra games. I like Sierra games. I do not have problem with the files: SCR, TEX, FONT and VIEW. But I can not with PIC files.
« Last Edit: May 24, 2018, 01:16:25 PM by hrvg »

Offline Kawa

Re: Problem of "PIC" files and French letters.
« Reply #8 on: May 23, 2018, 05:48:39 PM »
I open SCI Companion, open the game, open the pictures tab, find the one I want, export it to PNG, open the PNG in Aseprite, shit all over it, and save. I then go back to SCI Companion with the picture still open, click Import, select the edited PNG file, pick "Map to current palette", select all but the last color, click the refresh button, confirm the preview is correct, and hit Accept. Then I do File, Export as patch file, and save as in the case of PQ1, 4.p56, in the PQ1 folder.

Offline hrvg

Re: Problem of "PIC" files and French letters.
« Reply #9 on: May 24, 2018, 08:46:34 AM »
Quote
pick "Map to current palette", select all but the last color, click the refresh button

How I do to select all colors, please?

Offline MusicallyInspired

Re: Problem of "PIC" files and French letters.
« Reply #10 on: May 24, 2018, 09:07:50 AM »
Click and drag over the range of colours in the displayed palette to utilize.
Brass Lantern Prop Competition

Offline hrvg

Re: Problem of "PIC" files and French letters.
« Reply #11 on: May 24, 2018, 09:26:21 AM »
Hi MusicallyInspired,
Thank you for your answer.
I click on 0 and  I drag my cursor at 254. I click on "Press refresh..."  I have one color 0 only.

Offline Kawa

Re: Problem of "PIC" files and French letters.
« Reply #12 on: May 24, 2018, 12:57:40 PM »
That's because you actually have to click #0, hold shift, and then click #254. You can't drag.

Offline hrvg

Re: Problem of "PIC" files and French letters.
« Reply #13 on: May 24, 2018, 01:26:08 PM »
Hi Kawa,
Thank you for your help.
It is good, thanks.
I will try to modify PIC files.

Offline hrvg

Re: Problem of "PIC" files and French letters.
« Reply #14 on: May 24, 2018, 02:00:43 PM »
I do not modify 520.png file
I do this (I to V):
https://zupimages.net/up/18/21/nvvp.png

It is not good.


PS:
I have: SCICompanion version 3.0.1.7 // Copyright (C) 2016
« Last Edit: May 25, 2018, 08:56:07 AM by hrvg »


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

Page created in 0.098 seconds with 23 queries.