Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - hrvg

Pages: [1] 2 3
1
SCI Syntax Help / Re: Police Quest 1 VGA
« on: November 12, 2018, 04:15:50 PM »
I did "Rebuild resources"... Then I did "Extract all resources" to have 200.scr, 201.scr, 202.scr, 203.scr, 204.scr, 205.sc and 255 .scr files. For the moment, my game works.

Quote
(does not apply if you're using "Manage resources as patch file" in the "Game properties" dialog, but I don't think that's available in the official SCI Companion release).
Yes, I have this function. But my brain is overheating. I will watch tomorrow because I broke more than 10 games today... I have recovered everything, but it is getting late.

2
SCI Syntax Help / Re: Police Quest 1 VGA
« on: November 12, 2018, 03:10:05 PM »
Quote
If your game uses separate heap resources, you really want to extract and include the hep resources for each scr you changed or its proper functionality can't be guaranteed.

I did "Rebuild resources" to get .scr files (200.scr, 201.scr, 202.scr, 203.scr, 204.scr, 205.sc and 255.scr) for the changes in my game. It works, but I'm at the beginning of the game. If I understand you, I did something that makes the game unstable?


3
SCI Syntax Help / Re: Police Quest 1 VGA
« on: November 12, 2018, 12:32:38 PM »
Ok, finish. Thank you for your help. How I can to have modified .scr files? Because I put "resource.000" file in my game folder... My game does not start. I put "resource.001, resource.002, resource.003 and resource.004" files in my game folder... My game does not start. Thank you.


PS:
I did "Rebuild resources". Then I made "Extract all resources" in a blank folder. And I take the files: 200.scr, 201.scr, 202.scr, 203.scr, 204.scr, 205.scr and 255.scr. I put these files in my game folder (translation). It is good. It works. I would like to know if I made a mistake?

4
SCI Syntax Help / Re: Police Quest 1 VGA
« on: November 12, 2018, 04:24:31 AM »
200.scr file was not in the "new" game folder, because I had removed it to try 200.scr Deutsch file.
I did not extract the files in Deutsch game. That may be why the hotkeys worked.
When I read your messages. I looked in the "new" game folder and 200.scr file was not there. So I handed the 200.scr file.. And it did not work anymore. It was my error.
Thank you for your help.

@ Charles, I thank you for your encouragement.

5
SCI Syntax Help / Re: Police Quest 1 VGA
« on: November 11, 2018, 05:36:33 PM »
Ok, I just made a "new" clean game with the game that I translate... And it works. I do not understand anything... Why the game did not work with the old game!!
Thank you for your help.

6
SCI Syntax Help / Re: Police Quest 1 VGA
« on: November 11, 2018, 05:09:04 PM »
I do not understand... It works with you... And it does not work with me!!! I am amazed.
I know I am bad at IT (computer)... But I am not stupid (though, I am wondering). I am sending you my decompiled game as I make the changes.


Tomorrow, I am doing a clean game.

7
SCI Syntax Help / Re: Police Quest 1 VGA
« on: November 11, 2018, 03:06:33 PM »
Quote
So if you hit Compile, you get no error yet it doesn't work...
Yes, It does not work.

Quote
Do you test this with a saved game? If you do, is this saved game made while already using the computer? Because as before, that'll just restore and use the old code. You'd have to leave that screen and use the computer again to load your edited version that looks for the other keys.

Yes, I know this problem.
That is what I did:
I modified 197.v56 file. I changed the letter D from "DMV" to S (no MV letters). I saw that D letter was used several times for: Driver's ID and Composite Drawing (I have not changed the D letters.)
So, I changed T letter of "Tools" by O. There is only once the active letter O.
http://zupimages.net/viewer.php?id=18/45/yjzt.png

I made "Export as patch file" in game folder. I made "Open game" (resource.map). I opened "rm200.sc".
I modified:
(== (pEvent message?) KEY_d) --> (== (pEvent message?) KEY_s)
(== (pEvent message?) KEY_D) --> (== (pEvent message?) KEY_S)
(== (pEvent message?) KEY_t) --> (== (pEvent message?) KEY_o)
(== (pEvent message?) KEY_T) --> (== (pEvent message?) KEY_O)
I compile and not error.
http://zupimages.net/viewer.php?id=18/45/an1k.png

I click on "Run Game" in SCICompanion.
I click on "Skip it" in game.
I play... I click on S/s or O/o. It does not work.

So, I made "Open game" (resource.map) and I click on "Run Game" in SCICompanion. Or with DosBox 0.74 in my game. Same, It is always D/d and T/t letters, not S/s and O/o.

8
SCI Syntax Help / Re: Police Quest 1 VGA
« on: November 11, 2018, 12:41:05 PM »
Quote
And again, format your posts, please. They're hard to read.
I am sorry. My English is very bad. I try to write short and simple.
Quote
I'll notice you didn't say you compiled in test A.
Yes. I compile and I do not have error. But It does not work.
If I do "Compile all". I have two errors:
Error: (egoActions.sc) signal is a property.  Only one parameter may be supplied.  Line: 65, col: 9
Error: (Sync.sc) Undeclared identifier '--UNKNOWN-PROP-NAME--' .  Line: 133, col: 23
121 scripts compiled.

I will translate 197.v56 and 811.v56 files. Because these files are complex to translate in French.It is not impossible, but I must to find short words with the first letter different for each word.

9
SCI Syntax Help / Re: Police Quest 1 VGA
« on: November 11, 2018, 08:55:11 AM »
No problem with Deutsch version. But useless for me, because I translate English version.
English version.
My tries (tests):
A)
(== (pEvent message?) KEY_s)
(== (pEvent message?) KEY_S)
No error. But  no work
B)
(== (pEvent message?) (proc932_2 100 115))
(== (pEvent message?) (proc932_2 68 83))
I compile. 155 and 156 lines... Error: (rm200.sc) Unknown procedure 'proc932_2' .  Line: 156, col: 40
http://zupimages.net/viewer.php?id=18/45/jrzx.png
C)
(== (pEvent message?) (proc932_2 `d `s))
(== (pEvent message?) (proc932_2 `D `S))
I compile. 155 and 156 lines... Error: (rm200.sc) Unknown procedure 'proc932_2' .  Line: 156, col: 39
D)
(== (pEvent message?) (proc932_2 'd 's))
(== (pEvent message?) (proc932_2 'D 'S))
I compile. 155 and 156 lines... Error: (rm200.sc) Unknown procedure 'proc932_2' .  Line: 156, col: 39
Same error as C). I do not this sign `
E)
Spanish version
(== (pEvent message?) (proc0_20 100 115))
(== (pEvent message?) (proc0_20 68 83))
I compile. 155 and 156 lines... Error: (rm200.sc) Unknown procedure 'proc0_20' .  Line: 155, col: 38
F)
I inserted these Deutsch files in the game that I translate (English version): 200.scr, 197.v56 and 1971.v56.
The game crashes.
I do not understand. Where is my mistake, please?

10
SCI Syntax Help / Re: Police Quest 1 VGA
« on: November 11, 2018, 06:48:26 AM »
I delete this message because it is not important. Sorry.

11
SCI Syntax Help / Re: Police Quest 1 VGA
« on: November 10, 2018, 11:50:44 AM »
Quote
When you tested the change, did you use a savegame? If yes, was that savegame made while already using the computer? Because the savegame includes all the bytecode for the currently-loaded scripts. Regardless, did you actually switch the game from English to... I guess French?
You are right.
I know this problem of script files. I translated the texts into these files and that have pointers. I lost several hours understanding why the translation did not appear in the game. I thought about pointers. But, it was as you say.

For my error, I did not modify (transalte) 197.v56 and 811.v56 files. Because DMV is difficult to translate. It does not exist in France. And I did my tests on the Deutsch version and I did not translate the 1971.v56. And I did not think that the drawing of the letter (W/w -> X/x) had a role for the active keys. I tried by chance and it worked. I tried with letter (Z/z). And it works.
I thank you for your patience and help.
My brain will be able to rest.  :)

12
SCI Syntax Help / Re: Police Quest 1 VGA
« on: November 10, 2018, 11:17:46 AM »
Ok, I think I found my mistake, sorry. Thank you for your help.

13
SCI Syntax Help / Re: Police Quest 1 VGA
« on: November 10, 2018, 10:55:22 AM »
I tried this.
I made Manage decompilation. I checked (ticked) "Select All". Then decompile.
I open rm200.sc file.
I replaced W (87) -> X (88) and w (119) -> x (120).
I wrote this:                     
(== (pEvent message?) (proc932_2 100 120))
(== (pEvent message?) (proc932_2 68 88))
I made Save. I play game. W/w keys are active and not X/x.
I make Compile. I do not have any more mistakes. I play game. W/w keys are active and not X/x.
I make Compile all. I play game. W/w keys are active and not X/x.
I make Rebuild resources. I play game. W/w keys are active and not X/x.
I renamed rm200.sc file -> 200.scr. I play game. The game crashes.
Where is my mistake, please.
PS:
I understood for "26 30". Thank you.

14
SCI Syntax Help / Re: Police Quest 1 VGA
« on: November 09, 2018, 04:10:05 PM »
For °:
° -> It is a black point (See screenshot)... I do not have this key on my keyboard, sorry.


15
SCI Syntax Help / Re: Police Quest 1 VGA
« on: November 09, 2018, 02:39:04 PM »
I did not understand your message, sorry:

Quote
If you can manage to decompile the game, you can retrace these steps and make the edits you need.

Because it's very technical for me.

Ok, I did "Manage decompilation" with Deutsch and English versions.

For DMV in keys.sh file:
d = 64//100, D = 44//68
w =  77//119, W = 57//87

(Load°rsVIEW°(proc932_2°197°1971))
(Dmv
view:°(proc932_2°197°1971)
x:°(proc932_2°26°30)
init:
)
° It is not the good sign, It is a black point.

1971 It is 1971.v56 for Deutsch version.

I do not understand "26°30" in "proc932_2°26°30".

There is no 811.v56 file in Deutsch version. Everything is in 1971.v56 file.

If I write this:

(Load°rsVIEW°(proc932_2°197))
(Dmv
view:°(proc932_2°197)
x:°(proc932_2°26°30)
init:
)

Active key will be "W, w" and not "D, d"?

I will continue tomorrow... My old brain will explode!
Thank you for your patience and help.

Pages: [1] 2 3

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

Page created in 0.115 seconds with 21 queries.