Author Topic: Compiling Sierra Games  (Read 4267 times)

0 Members and 1 Guest are viewing this topic.

Offline alay

Compiling Sierra Games
« on: June 17, 2019, 06:51:57 AM »
Hello,

I wish to edit and then recompile King's Quest games.

I have successfully decompiled King's Quest VI but it won't compile even with unmodified code.

Is SCI companion capable of decompiling and then recompiling commercial games like Kings Quest VI, and if so can you please direct me as to how I might do this?

Thanks in advanced and further thanks for a great product :).

Here is a list of the errors I am receiving:
Script 65535 (n000) declared itself as resource 0
Unable to find name for script #988
  [Error]: init is not a property or method on type 'Body'.  Line: 262, col: 14
Unable to find name for script #988
  [Error]: handleEvent is not a property or method on type 'Body'.  Line: 272, col: 23
Unable to find name for script #988
  [Error]: doVerb is not a property or method on type 'Body'.  Line: 338, col: 18
  [Warning]: 'DText' has no effect on code.  Line: 445, col: 2
  [Warning]: 'DButton' has no effect on code.  Line: 446, col: 2
  [Warning]: 'Polygon' has no effect on code.  Line: 447, col: 2
  [Warning]: 'PolyPath' has no effect on code.  Line: 448, col: 2
  [Warning]: 'KQ6Room' has no effect on code.  Line: 449, col: 2
  [Warning]: 'Kq6Talker' has no effect on code.  Line: 450, col: 2
  [Warning]: 'Talker' has no effect on code.  Line: 451, col: 2
  [Warning]: 'RandCycle' has no effect on code.  Line: 452, col: 2
  [Warning]: 'Conversation' has no effect on code.  Line: 453, col: 2
  [Warning]: 'Scaler' has no effect on code.  Line: 454, col: 2
Unable to find name for script #937
  [Error]: yourself is not a property or method on type 'Kq6IconItem'.  Line: 514, col: 35
Unable to find name for script #937
  [Error]: yourself is not a property or method on type 'Kq6IconItem'.  Line: 515, col: 35
Unable to find name for script #937
  [Error]: yourself is not a property or method on type 'Kq6IconItem'.  Line: 516, col: 35
Unable to find name for script #937
  [Error]: yourself is not a property or method on type 'Kq6IconItem'.  Line: 517, col: 35
Unable to find name for script #937
  [Error]: init is not a property or method on type 'Kq6IconItem'.  Line: 1152, col: 14
Unable to find name for script #937
  [Error]: init is not a property or method on type 'Kq6IconItem'.  Line: 1168, col: 14
Unable to find name for script #937
  [Error]: init is not a property or method on type 'Kq6IconItem'.  Line: 1184, col: 14
Unable to find name for script #937
  [Error]: init is not a property or method on type 'Kq6IconItem'.  Line: 1200, col: 14
Unable to find name for script #937
  [Error]: init is not a property or method on type 'Kq6IconItem'.  Line: 1216, col: 14
Unable to find name for script #937
  [Error]: init is not a property or method on type 'Kq6IconItem'.  Line: 1233, col: 14
Unable to find name for script #937
  [Error]: init is not a property or method on type 'Kq6IconItem'.  Line: 1253, col: 14
Script 65535 (n010) declared itself as resource 10
Script 65535 (n011) declared itself as resource 11
  [Error]: Unknown token 'local31232'.  Line: 25, col: 11
  [Error]: Unknown token 'PROPERTY-ACCESS-IN-NON-METHOD'.  Line: 40, col: 11
  [Error]: Unknown token 'PROPERTY-ACCESS-IN-NON-METHOD'.  Line: 62, col: 11
  [Error]: Unknown token 'PROPERTY-ACCESS-IN-NON-METHOD'.  Line: 121, col: 11
  [Error]: Unknown token 'PROPERTY-ACCESS-IN-NON-METHOD'.  Line: 166, col: 11
Script 65535 (n012) declared itself as resource 12
Script 65535 (n013) declared itself as resource 13
Script 65535 (n020) declared itself as resource 20
Script 65535 (n021) declared itself as resource 21
Script 65535 (n030) declared itself as resource 30
Script 65535 (n040) declared itself as resource 40
Script 65535 (n050) declared itself as resource 50
Script 65535 (n052) declared itself as resource 52
Script 65535 (n060) declared itself as resource 60
Script 65535 (n070) declared itself as resource 70
Script 65535 (n080) declared itself as resource 80
Script 65535 (n081) declared itself as resource 81
Unable to find name for script #994
  [Error]: init is not a property or method on type 'rgCastle'.  Line: 44, col: 14
Unable to find name for script #994
  [Error]: dispose is not a property or method on type 'rgCastle'.  Line: 92, col: 17
Script 65535 (n082) declared itself as resource 82
Script 65535 (n083) declared itself as resource 83
Script 65535 (n084) declared itself as resource 84
Script 65535 (n085) declared itself as resource 85
Script 65535 (n087) declared itself as resource 87
Script 65535 (n088) declared itself as resource 88
Script 65535 (n089) declared itself as resource 89
Script 65535 (n090) declared itself as resource 90
Script 65535 (n092) declared itself as resource 92
Script 65535 (n093) declared itself as resource 93
Script 65535 (n094) declared itself as resource 94
Unable to find name for script #921
  [Error]: addTextF is not a property or method on type 'KQ6Print'.  Line: 185, col: 14
Unable to find name for script #950
  [Error]: new is not a property or method on type 'Prop'.  Line: 263, col: 26
Unable to find name for script #950
  [Error]: new is not a property or method on type 'Prop'.  Line: 275, col: 26
Unable to find name for script #950
  [Error]: new is not a property or method on type 'Prop'.  Line: 285, col: 28
Unable to find name for script #950
  [Error]: new is not a property or method on type 'Prop'.  Line: 297, col: 26
Unable to find name for script #950
  [Error]: new is not a property or method on type 'Prop'.  Line: 307, col: 28
Unable to find name for script #950
  [Error]: new is not a property or method on type 'Prop'.  Line: 319, col: 26
Unable to find name for script #950
  [Error]: new is not a property or method on type 'Prop'.  Line: 331, col: 26
Unable to find name for script #950
  [Error]: new is not a property or method on type 'Prop'.  Line: 341, col: 28
Unable to find name for script #950
  [Error]: new is not a property or method on type 'Prop'.  Line: 350, col: 28
Unable to find name for script #950
  [Error]: new is not a property or method on type 'Prop'.  Line: 359, col: 28
Unable to find name for script #950
  [Error]: new is not a property or method on type 'Prop'.  Line: 368, col: 28
Unable to find name for script #950
  [Error]: new is not a property or method on type 'Prop'.  Line: 377, col: 28
Unable to find name for script #950
  [Error]: new is not a property or method on type 'Prop'.  Line: 388, col: 26
Unable to find name for script #950
  [Error]: new is not a property or method on type 'Prop'.  Line: 398, col: 28
Unable to find name for script #950
  [Error]: new is not a property or method on type 'Prop'.  Line: 408, col: 28
Unable to find name for script #950
  [Error]: new is not a property or method on type 'Prop'.  Line: 420, col: 26
Unable to find name for script #950
  [Error]: new is not a property or method on type 'Prop'.  Line: 432, col: 26
Unable to find name for script #950
  [Error]: new is not a property or method on type 'Prop'.  Line: 442, col: 28
Unable to find name for script #950
  [Error]: new is not a property or method on type 'Prop'.  Line: 452, col: 28
Unable to find name for script #950
  [Error]: new is not a property or method on type 'Prop'.  Line: 464, col: 26
Unable to find name for script #950
  [Error]: new is not a property or method on type 'Prop'.  Line: 474, col: 28
Unable to find name for script #950
  [Error]: new is not a property or method on type 'Prop'.  Line: 485, col: 28
Unable to find name for script #950
  [Error]: new is not a property or method on type 'Prop'.  Line: 497, col: 26
Unable to find name for script #950
  [Error]: new is not a property or method on type 'Prop'.  Line: 509, col: 26
Unable to find name for script #950
  [Error]: new is not a property or method on type 'Prop'.  Line: 521, col: 26
Unable to find name for script #950
  [Error]: new is not a property or method on type 'Prop'.  Line: 533, col: 26
Unable to find name for script #950
  [Error]: new is not a property or method on type 'Prop'.  Line: 545, col: 26
Unable to find name for script #950
  [Error]: new is not a property or method on type 'Prop'.  Line: 557, col: 26
Script 65535 (n095) declared itself as resource 95
Script 65535 (n096) declared itself as resource 96
Script 65535 (n097) declared itself as resource 97
Script 65535 (n098) declared itself as resource 98
Script 65535 (n099) declared itself as resource 99
  [Error]: Unable to open 'd:\kingsquest6\kingsquest6_cd\sci\src\n911.sco': The system cannot find the file specified.
  Line: 1, col: 0
Script 65535 (n100) declared itself as resource 100
Script 65535 (n1000) declared itself as resource 1000
Script 65535 (n1001) declared itself as resource 1001
Script 65535 (n1002) declared itself as resource 1002
Script 65535 (n1003) declared itself as resource 1003
Script 65535 (n1004) declared itself as resource 1004
Script 65535 (n1005) declared itself as resource 1005
Script 65535 (n1006) declared itself as resource 1006
Script 65535 (n1007) declared itself as resource 1007
Script 65535 (n1008) declared itself as resource 1008
Script 65535 (n1009) declared itself as resource 1009
Unable to find name for script #928
  [Error]: dispose is not a property or method on type 'Kq6Talker'.  Line: 83, col: 17
Unable to find name for script #928
  [Error]: dispose is not a property or method on type 'Kq6Talker'.  Line: 115, col: 17
Script 65535 (n101) declared itself as resource 101
Script 65535 (n1010) declared itself as resource 1010
Script 65535 (n1011) declared itself as resource 1011
Script 65535 (n1012) declared itself as resource 1012
Script 65535 (n1013) declared itself as resource 1013
Script 65535 (n1014) declared itself as resource 1014
Script 65535 (n1015) declared itself as resource 1015
Script 65535 (n1016) declared itself as resource 1016
Script 65535 (n1017) declared itself as resource 1017
Script 65535 (n1018) declared itself as resource 1018
Script 65535 (n1019) declared itself as resource 1019
Script 65535 (n102) declared itself as resource 102
Script 65535 (n1020) declared itself as resource 1020
Script 65535 (n1021) declared itself as resource 1021
Script 65535 (n1022) declared itself as resource 1022
Script 65535 (n1023) declared itself as resource 1023
Script 65535 (n1024) declared itself as resource 1024
Script 65535 (n1025) declared itself as resource 1025
Script 65535 (n1026) declared itself as resource 1026
Script 65535 (n1027) declared itself as resource 1027
Script 65535 (n1028) declared itself as resource 1028
Script 65535 (n1029) declared itself as resource 1029
Script 65535 (n103) declared itself as resource 103
Script 65535 (n1030) declared itself as resource 1030
Script 65535 (n1031) declared itself as resource 1031
Script 65535 (n1033) declared itself as resource 1033
Script 65535 (n1034) declared itself as resource 1034
Script 65535 (n1035) declared itself as resource 1035
Script 65535 (n1036) declared itself as resource 1036
Script 65535 (n1037) declared itself as resource 1037
Unable to find name for script #928
  [Error]: doit is not a property or method on type 'Kq6Talker'.  Line: 123, col: 14
Script 65535 (n1038) declared itself as resource 1038
Script 65535 (n1039) declared itself as resource 1039
Script 65535 (n104) declared itself as resource 104
Script 65535 (n1040) declared itself as resource 1040
Script 65535 (n1041) declared itself as resource 1041
Script 65535 (n1042) declared itself as resource 1042
Script 65535 (n1043) declared itself as resource 1043
Script 65535 (n1044) declared itself as resource 1044
Script 65535 (n1045) declared itself as resource 1045
Script 65535 (n1046) declared itself as resource 1046
Script 65535 (n1047) declared itself as resource 1047
Script 65535 (n1048) declared itself as resource 1048
Script 65535 (n1049) declared itself as resource 1049
Script 65535 (n105) declared itself as resource 105
Script 65535 (n1050) declared itself as resource 1050
Script 65535 (n1051) declared itself as resource 1051
Script 65535 (n1052) declared itself as resource 1052
Script 65535 (n1055) declared itself as resource 1055
Script 65535 (n1056) declared itself as resource 1056
Script 65535 (n1057) declared itself as resource 1057
Script 65535 (n1058) declared itself as resource 1058
Script 65535 (n1059) declared itself as resource 1059
Script 65535 (n106) declared itself as resource 106
Script 65535 (n1060) declared itself as resource 1060
Script 65535 (n1061) declared itself as resource 1061
Script 65535 (n1062) declared itself as resource 1062
Script 65535 (n1063) declared itself as resource 1063
Script 65535 (n1064) declared itself as resource 1064
Script 65535 (n1065) declared itself as resource 1065
Script 65535 (n1066) declared itself as resource 1066
Script 65535 (n1067) declared itself as resource 1067
Script 65535 (n107) declared itself as resource 107
Script 65535 (n108) declared itself as resource 108
Script 65535 (n109) declared itself as resource 109
Script 65535 (n130) declared itself as resource 130
Script 65535 (n135) declared itself as resource 135
Unable to find name for script #989
  [Error]: setLoop is not a property or method on type 'Kq6Sound'.  Line: 47, col: 35
Unable to find name for script #989
  [Error]: play is not a property or method on type 'Kq6Sound'.  Line: 47, col: 43
Unable to find name for script #989
  [Error]: setLoop is not a property or method on type 'Kq6Sound'.  Line: 77, col: 36
Unable to find name for script #989
  [Error]: play is not a property or method on type 'Kq6Sound'.  Line: 77, col: 44
Unable to find name for script #989
  [Error]: setLoop is not a property or method on type 'Kq6Sound'.  Line: 89, col: 36
Unable to find name for script #989
  [Error]: play is not a property or method on type 'Kq6Sound'.  Line: 89, col: 44
Unable to find name for script #989
  [Error]: setLoop is not a property or method on type 'Kq6Sound'.  Line: 106, col: 36
Unable to find name for script #989
  [Error]: play is not a property or method on type 'Kq6Sound'.  Line: 106, col: 44
Unable to find name for script #989
  [Error]: setLoop is not a property or method on type 'Kq6Sound'.  Line: 111, col: 36
Unable to find name for script #989
  [Error]: play is not a property or method on type 'Kq6Sound'.  Line: 111, col: 44
Unable to find name for script #989
  [Error]: play is not a property or method on type 'Kq6Sound'.  Line: 116, col: 42
Unable to find name for script #989
  [Error]: play is not a property or method on type 'Kq6Sound'.  Line: 151, col: 51
Unable to find name for script #989
  [Error]: play is not a property or method on type 'Kq6Sound'.  Line: 191, col: 41
Unable to find name for script #989
  [Error]: play is not a property or method on type 'Kq6Sound'.  Line: 195, col: 42
Script 65535 (n140) declared itself as resource 140
Unable to find name for script #994
  [Error]: dispose is not a property or method on type 'KQ6Room'.  Line: 60, col: 17
Script 65535 (n145) declared itself as resource 145
Unable to find name for script #994
  [Error]: dispose is not a property or method on type 'KQ6Room'.  Line: 36, col: 17
Script 65535 (n150) declared itself as resource 150
Unable to find name for script #994
  [Error]: dispose is not a property or method on type 'KQ6Room'.  Line: 38, col: 17
Script 65535 (n155) declared itself as resource 155
Unable to find name for script #994
  [Error]: dispose is not a property or method on type 'KQ6Room'.  Line: 31, col: 17
Script 65535 (n160) declared itself as resource 160
Script 65535 (n165) declared itself as resource 165
Script 65535 (n170) declared itself as resource 170
Script 65535 (n175) declared itself as resource 175
Script 65535 (n180) declared itself as resource 180
Script 65535 (n190) declared itself as resource 190
Unable to find name for script #921
  [Error]: posn is not a property or method on type 'KQ6Print'.  Line: 408, col: 10
Script 65535 (n200) declared itself as resource 200
Unable to find name for script #994
  [Error]: dispose is not a property or method on type 'KQ6Room'.  Line: 280, col: 17
Unable to find name for script #994
  [Error]: handleEvent is not a property or method on type 'KQ6Room'.  Line: 300, col: 22
Script 65535 (n201) declared itself as resource 201
Script 65535 (n202) declared itself as resource 202
Script 65535 (n205) declared itself as resource 205
Script 65535 (n210) declared itself as resource 210
Script 65535 (n211) declared itself as resource 211
Script 65535 (n220) declared itself as resource 220
Unable to find name for script #994
  [Error]: dispose is not a property or method on type 'KQ6Room'.  Line: 197, col: 17
Unable to find name for script #994
  [Error]: edgeToRoom is not a property or method on type 'KQ6Room'.  Line: 231, col: 22
Unable to find name for script #921
  [Error]: posn is not a property or method on type 'KQ6Print'.  Line: 525, col: 10
Unable to find name for script #921
  [Error]: posn is not a property or method on type 'KQ6Print'.  Line: 545, col: 10
Script 65535 (n221) declared itself as resource 221
Script 65535 (n222) declared itself as resource 222
Script 65535 (n223) declared itself as resource 223
Unable to find name for script #950
  [Error]: yourself is not a property or method on type 'Actor'.  Line: 106, col: 41
Unable to find name for script #950
  [Error]: yourself is not a property or method on type 'Actor'.  Line: 107, col: 41
Unable to find name for script #950
  [Error]: yourself is not a property or method on type 'Actor'.  Line: 108, col: 41
Unable to find name for script #950
  [Error]: yourself is not a property or method on type 'Actor'.  Line: 109, col: 41
Script 65535 (n224) declared itself as resource 224
Script 65535 (n230) declared itself as resource 230
Unable to find name for script #994
  [Error]: dispose is not a property or method on type 'KQ6Room'.  Line: 124, col: 17
Unable to find name for script #994
  [Error]: edgeToRoom is not a property or method on type 'KQ6Room'.  Line: 141, col: 22
Unable to find name for script #921
  [Error]: posn is not a property or method on type 'KQ6Print'.  Line: 412, col: 10
Script 65535 (n231) declared itself as resource 231
Script 65535 (n240) declared itself as resource 240
Unable to find name for script #994
  [Error]: dispose is not a property or method on type 'KQ6Room'.  Line: 142, col: 17
Unable to find name for script #994
  [Error]: edgeToRoom is not a property or method on type 'KQ6Room'.  Line: 173, col: 22
Script 65535 (n241) declared itself as resource 241
Script 65535 (n250) declared itself as resource 250
Unable to find name for script #994
  [Error]: dispose is not a property or method on type 'KQ6Room'.  Line: 113, col: 17
Unable to find name for script #994
  [Error]: edgeToRoom is not a property or method on type 'KQ6Room'.  Line: 140, col: 22
Script 65535 (n255) declared itself as resource 255
Script 65535 (n260) declared itself as resource 260
Script 65535 (n270) declared itself as resource 270
Unable to find name for script #994
  [Error]: dispose is not a property or method on type 'KQ6Room'.  Line: 174, col: 17
Unable to find name for script #921
  [Error]: posn is not a property or method on type 'KQ6Print'.  Line: 343, col: 10
Unable to find name for script #921
  [Error]: posn is not a property or method on type 'KQ6Print'.  Line: 758, col: 11
Unable to find name for script #921
  [Error]: posn is not a property or method on type 'KQ6Print'.  Line: 764, col: 11
Script 65535 (n271) declared itself as resource 271
Unable to find name for script #950
  [Error]: doVerb is not a property or method on type 'Actor'.  Line: 95, col: 17
Script 65535 (n272) declared itself as resource 272
Unable to find name for script #950
  [Error]: doVerb is not a property or method on type 'Actor'.  Line: 217, col: 18
Script 65535 (n273) declared itself as resource 273
  [Error]: &rest cannot be used if the send target itself contains nested procedure calls or sends. Assign the result of the procedure call or send to a temporary variable and use that instead.  Line: 106, col: 41
Script 65535 (n274) declared itself as resource 274
Unable to find name for script #950
  [Error]: doVerb is not a property or method on type 'Actor'.  Line: 64, col: 44
Script 65535 (n275) declared itself as resource 275
Script 65535 (n276) declared itself as resource 276
Script 65535 (n277) declared itself as resource 277
Script 65535 (n278) declared itself as resource 278
Script 65535 (n280) declared itself as resource 280
Unable to find name for script #994
  [Error]: dispose is not a property or method on type 'KQ6Room'.  Line: 184, col: 17
Script 65535 (n281) declared itself as resource 281
Unable to find name for script #950
  [Error]: doVerb is not a property or method on type 'Actor'.  Line: 64, col: 19
Unable to find name for script #950
  [Error]: doVerb is not a property or method on type 'Actor'.  Line: 68, col: 18
Script 65535 (n282) declared itself as resource 282
Unable to find name for script #921
  [Error]: posn is not a property or method on type 'KQ6Print'.  Line: 612, col: 10
Unable to find name for script #921
  [Error]: posn is not a property or method on type 'KQ6Print'.  Line: 624, col: 10
Unable to find name for script #921
  [Error]: posn is not a property or method on type 'KQ6Print'.  Line: 636, col: 10
Script 65535 (n283) declared itself as resource 283
Unable to find name for script #950
  [Error]: doVerb is not a property or method on type 'View'.  Line: 166, col: 18
Unable to find name for script #950
  [Error]: doVerb is not a property or method on type 'View'.  Line: 247, col: 18
Script 65535 (n284) declared itself as resource 284
Script 65535 (n285) declared itself as resource 285
Script 65535 (n286) declared itself as resource 286
Script 65535 (n287) declared itself as resource 287
Script 65535 (n290) declared itself as resource 290
Unable to find name for script #994
  [Error]: dispose is not a property or method on type 'KQ6Room'.  Line: 108, col: 17
Script 65535 (n300) declared itself as resource 300
Unable to find name for script #900
  [Error]: doit is not a property or method on type 'CliffRoom'.  Line: 258, col: 14
Unable to find name for script #900
  [Error]: dispose is not a property or method on type 'CliffRoom'.  Line: 263, col: 17
Unable to find name for script #921
  [Error]: posn is not a property or method on type 'KQ6Print'.  Line: 775, col: 32
Script 65535 (n301) declared itself as resource 301
Script 65535 (n320) declared itself as resource 320
Script 65535 (n340) declared itself as resource 340
Unable to find name for script #994
  [Error]: dispose is not a property or method on type 'KQ6Room'.  Line: 206, col: 17
Script 65535 (n341) declared itself as resource 341
Unable to find name for script #950
  [Error]: doVerb is not a property or method on type 'Actor'.  Line: 126, col: 18
Script 65535 (n342) declared itself as resource 342
Script 65535 (n343) declared itself as resource 343
Unable to find name for script #999
  [Error]: new is not a property or method on type 'Polygon'.  Line: 16, col: 18
Unable to find name for script #999
  [Error]: new is not a property or method on type 'Polygon'.  Line: 59, col: 18
Unable to find name for script #999
  [Error]: new is not a property or method on type 'Polygon'.  Line: 100, col: 18
Unable to find name for script #999
  [Error]: new is not a property or method on type 'Polygon'.  Line: 105, col: 18
Unable to find name for script #999
  [Error]: new is not a property or method on type 'Polygon'.  Line: 110, col: 18
Unable to find name for script #999
  [Error]: new is not a property or method on type 'Polygon'.  Line: 139, col: 18
Unable to find name for script #999
  [Error]: new is not a property or method on type 'Polygon'.  Line: 180, col: 18
Unable to find name for script #999
  [Error]: new is not a property or method on type 'Polygon'.  Line: 223, col: 18
Unable to find name for script #999
  [Error]: new is not a property or method on type 'Polygon'.  Line: 288, col: 18
Unable to find name for script #999
  [Error]: new is not a property or method on type 'Polygon'.  Line: 293, col: 18
Script 65535 (n344) declared itself as resource 344
Unable to find name for script #950
  [Error]: doVerb is not a property or method on type 'Actor'.  Line: 100, col: 18
Unable to find name for script #950
  [Error]: doVerb is not a property or method on type 'Actor'.  Line: 103, col: 18
Unable to find name for script #950
  [Error]: doVerb is not a property or method on type 'Actor'.  Line: 106, col: 18
Unable to find name for script #950
  [Error]: doVerb is not a property or method on type 'Actor'.  Line: 109, col: 18
Unable to find name for script #950
  [Error]: doVerb is not a property or method on type 'Actor'.  Line: 112, col: 18
Unable to find name for script #950
  [Error]: doVerb is not a property or method on type 'Actor'.  Line: 115, col: 18
Unable to find name for script #950
  [Error]: doVerb is not a property or method on type 'Actor'.  Line: 118, col: 18
Unable to find name for script #921
  [Error]: posn is not a property or method on type 'KQ6Print'.  Line: 502, col: 10
Unable to find name for script #921
  [Error]: posn is not a property or method on type 'KQ6Print'.  Line: 582, col: 10
Script 65535 (n350) declared itself as resource 350
Unable to find name for script #994
  [Error]: dispose is not a property or method on type 'KQ6Room'.  Line: 109, col: 17
Script 65535 (n370) declared itself as resource 370
Unable to find name for script #994
  [Error]: dispose is not a property or method on type 'KQ6Room'.  Line: 78, col: 17
Script 65535 (n371) declared itself as resource 371
Script 65535 (n380) declared itself as resource 380
Unable to find name for script #994
  [Error]: dispose is not a property or method on type 'KQ6Room'.  Line: 61, col: 17
Script 65535 (n390) declared itself as resource 390
Unable to find name for script #994
  [Error]: dispose is not a property or method on type 'KQ6Room'.  Line: 60, col: 17
Unable to find name for script #921
  [Error]: posn is not a property or method on type 'KQ6Print'.  Line: 377, col: 10
Script 65535 (n400) declared itself as resource 400
Unable to find name for script #900
  [Error]: newRoom is not a property or method on type 'LabRoom'.  Line: 98, col: 18
Script 65535 (n401) declared itself as resource 401
Unable to find name for script #999
  [Error]: new is not a property or method on type 'Polygon'.  Line: 18, col: 17
Unable to find name for script #999
  [Error]: new is not a property or method on type 'Polygon'.  Line: 60, col: 17
Unable to find name for script #999
  [Error]: new is not a property or method on type 'Polygon'.  Line: 96, col: 17
Unable to find name for script #999
  [Error]: new is not a property or method on type 'Polygon'.  Line: 136, col: 17
Unable to find name for script #999
  [Error]: new is not a property or method on type 'Polygon'.  Line: 174, col: 17
Unable to find name for script #999
  [Error]: new is not a property or method on type 'Polygon'.  Line: 179, col: 17
Unable to find name for script #999
  [Error]: new is not a property or method on type 'Polygon'.  Line: 184, col: 17
Unable to find name for script #999
  [Error]: new is not a property or method on type 'Polygon'.  Line: 189, col: 17
Script 65535 (n402) declared itself as resource 402
Unable to find name for script #999
  [Error]: new is not a property or method on type 'Polygon'.  Line: 19, col: 17
Unable to find name for script #999
  [Error]: new is not a property or method on type 'Polygon'.  Line: 24, col: 17
Unable to find name for script #999
  [Error]: new is not a property or method on type 'Polygon'.  Line: 36, col: 17
Unable to find name for script #999
  [Error]: new is not a property or method on type 'Polygon'.  Line: 41, col: 17
Unable to find name for script #999
  [Error]: new is not a property or method on type 'Polygon'.  Line: 73, col: 17
Unable to find name for script #999
  [Error]: new is not a property or method on type 'Polygon'.  Line: 78, col: 17
Unable to find name for script #999
  [Error]: new is not a property or method on type 'Polygon'.  Line: 116, col: 17
Unable to find name for script #999
  [Error]: new is not a property or method on type 'Polygon'.  Line: 145, col: 17
Unable to find name for script #999
  [Error]: new is not a property or method on type 'Polygon'.  Line: 157, col: 17
Unable to find name for script #999
  [Error]: new is not a property or method on type 'Polygon'.  Line: 184, col: 17
Unable to find name for script #999
  [Error]: new is not a property or method on type 'Polygon'.  Line: 196, col: 17
Unable to find name for script #999
  [Error]: new is not a property or method on type 'Polygon'.  Line: 221, col: 17
Script 65535 (n403) declared itself as resource 403
Unable to find name for script #999
  [Error]: new is not a property or method on type 'Polygon'.  Line: 17, col: 17
Unable to find name for script #999
  [Error]: new is not a property or method on type 'Polygon'.  Line: 22, col: 17
Unable to find name for script #999
  [Error]: new is not a property or method on type 'Polygon'.  Line: 27, col: 17
Unable to find name for script #999
  [Error]: new is not a property or method on type 'Polygon'.  Line: 39, col: 17
Unable to find name for script #999
  [Error]: new is not a property or method on type 'Polygon'.  Line: 44, col: 17
Unable to find name for script #999
  [Error]: new is not a property or method on type 'Polygon'.  Line: 49, col: 17
Unable to find name for script #999
  [Error]: new is not a property or method on type 'Polygon'.  Line: 61, col: 17
Unable to find name for script #999
  [Error]: new is not a property or method on type 'Polygon'.  Line: 66, col: 17
Unable to find name for script #999
  [Error]: new is not a property or method on type 'Polygon'.  Line: 91, col: 17
Unable to find name for script #999
  [Error]: new is not a property or method on type 'Polygon'.  Line: 103, col: 17
Unable to find name for script #999
  [Error]: new is not a property or method on type 'Polygon'.  Line: 108, col: 17
Unable to find name for script #999
  [Error]: new is not a property or method on type 'Polygon'.  Line: 113, col: 17
Script 65535 (n404) declared itself as resource 404
Script 65535 (n405) declared itself as resource 405
Unable to find name for script #900
  [Error]: doVerb is not a property or method on type 'LabRoom'.  Line: 96, col: 18
Unable to find name for script #950
  [Error]: doVerb is not a property or method on type 'Prop'.  Line: 138, col: 18
Unable to find name for script #950
  [Error]: doVerb is not a property or method on type 'View'.  Line: 168, col: 24
Unable to find name for script #950
Script 65535 (n406) declared itself as resource 406
Unable to find name for script #900
  [Error]: doVerb is not a property or method on type 'LabRoom'.  Line: 84, col: 19
Unable to find name for script #900
  [Error]: doVerb is not a property or method on type 'LabRoom'.  Line: 93, col: 19
Unable to find name for script #900
  [Error]: doVerb is not a property or method on type 'LabRoom'.  Line: 102, col: 19
Script 65535 (n407) declared itself as resource 407
Unable to find name for script #900
  [Error]: doVerb is not a property or method on type 'LabRoom'.  Line: 49, col: 18
Script 65535 (n408) declared itself as resource 408
Unable to find name for script #950
  [Error]: doVerb is not a property or method on type 'View'.  Line: 58, col: 18
Script 65535 (n409) declared itself as resource 409
Unable to find name for script #950
  [Error]: doVerb is not a property or method on type 'Prop'.  Line: 196, col: 18
Unable to find name for script #950
Script 65535 (n410) declared itself as resource 410
Unable to find name for script #994
  [Error]: dispose is not a property or method on type 'KQ6Room'.  Line: 224, col: 17
Script 65535 (n411) declared itself as resource 411
Script 65535 (n415) declared itself as resource 415
Unable to find name for script #950
  [Error]: doVerb is not a property or method on type 'View'.  Line: 167, col: 18
Unable to find name for script #950
  [Error]: doVerb is not a property or method on type 'View'.  Line: 188, col: 17
Unable to find name for script #950
  [Error]: doVerb is not a property or method on type 'View'.  Line: 209, col: 17
Unable to find name for script #950
  [Error]: doVerb is not a property or method on type 'View'.  Line: 230, col: 17
Script 65535 (n420) declared itself as resource 420
Script 65535 (n425) declared itself as resource 425
Unable to find name for script #900
  [Error]: dispose is not a property or method on type 'LabRoom'.  Line: 42, col: 17
Unable to find name for script #950
  [Error]: doVerb is not a property or method on type 'View'.  Line: 330, col: 18
Unable to find name for script #950
Script 65535 (n430) declared itself as resource 430
  [Error]: &rest cannot be used if the send target itself contains nested procedure calls or sends. Assign the result of the procedure call or send to a temporary variable and use that instead.  Line: 65, col: 42
  [Error]: &rest cannot be used if the send target itself contains nested procedure calls or sends. Assign the result of the procedure call or send to a temporary variable and use that instead.  Line: 92, col: 42
Unable to find name for script #950
  [Error]: &rest cannot be used if the send target itself contains nested procedure calls or sends. Assign the result of the procedure call or send to a temporary variable and use that instead.  Line: 137, col: 43
Script 65535 (n435) declared itself as resource 435
Script 65535 (n440) declared itself as resource 440
Unable to find name for script #994
  [Error]: dispose is not a property or method on type 'KQ6Room'.  Line: 146, col: 17
Script 65535 (n441) declared itself as resource 441
Script 65535 (n450) declared itself as resource 450
Unable to find name for script #994
  [Error]: dispose is not a property or method on type 'KQ6Room'.  Line: 307, col: 17
Script 65535 (n451) declared itself as resource 451
Unable to find name for script #950
  [Error]: handleEvent is not a property or method on type 'View'.  Line: 391, col: 22
Unable to find name for script #950
  [Error]: doVerb is not a property or method on type 'View'.  Line: 404, col: 18
Unable to find name for script #950
  [Error]: doVerb is not a property or method on type 'Prop'.  Line: 456, col: 18
Unable to find name for script #950
  [Error]: doVerb is not a property or method on type 'View'.  Line: 483, col: 18
Unable to find name for script #950
  [Error]: doVerb is not a property or method on type 'Prop'.  Line: 515, col: 18
Script 65535 (n455) declared itself as resource 455
Unable to find name for script #998
  [Error]: init is not a property or method on type 'Gnome'.  Line: 30, col: 14
Unable to find name for script #998
  [Error]: setLoop is not a property or method on type 'Gnome'.  Line: 85, col: 24
Unable to find name for script #998
  [Error]: setCycle is not a property or method on type 'Gnome'.  Line: 85, col: 43
Unable to find name for script #998
  [Error]: setLoop is not a property or method on type 'Gnome'.  Line: 90, col: 14
Unable to find name for script #998
  [Error]: setCycle is not a property or method on type 'Gnome'.  Line: 93, col: 15
Unable to find name for script #998
  [Error]: setLoop is not a property or method on type 'Gnome'.  Line: 100, col: 24
Unable to find name for script #998
  [Error]: lastCel is not a property or method on type 'Gnome'.  Line: 102, col: 30
Unable to find name for script #998
  [Error]: setCycle is not a property or method on type 'Gnome'.  Line: 103, col: 14
Unable to find name for script #998
  [Error]: setLoop is not a property or method on type 'Gnome'.  Line: 107, col: 38
Unable to find name for script #998
  [Error]: setLoop is not a property or method on type 'Gnome'.  Line: 152, col: 25
Unable to find name for script #998
  [Error]: setCycle is not a property or method on type 'Gnome'.  Line: 152, col: 44
Unable to find name for script #998
  [Error]: setLoop is not a property or method on type 'Gnome'.  Line: 159, col: 24
Unable to find name for script #998
  [Error]: setCycle is not a property or method on type 'Gnome'.  Line: 159, col: 43
Unable to find name for script #998
  [Error]: setLoop is not a property or method on type 'Gnome'.  Line: 170, col: 24
Unable to find name for script #998
  [Error]: lastCel is not a property or method on type 'Gnome'.  Line: 172, col: 30
Unable to find name for script #998
  [Error]: setCycle is not a property or method on type 'Gnome'.  Line: 173, col: 14
Unable to find name for script #998
  [Error]: addToPic is not a property or method on type 'Gnome'.  Line: 184, col: 25
Unable to find name for script #998
  [Error]: delete is not a property or method on type 'Gnome'.  Line: 184, col: 33
Unable to find name for script #998
  [Error]: dispose is not a property or method on type 'Gnome'.  Line: 184, col: 42
Script 65535 (n456) declared itself as resource 456
Unable to find name for script #998
  [Error]: init is not a property or method on type 'Gnome'.  Line: 30, col: 14
Unable to find name for script #998
  [Error]: setLoop is not a property or method on type 'Gnome'.  Line: 84, col: 25
Unable to find name for script #998
  [Error]: setCycle is not a property or method on type 'Gnome'.  Line: 84, col: 44
Unable to find name for script #998
  [Error]: setLoop is not a property or method on type 'Gnome'.  Line: 90, col: 24
Unable to find name for script #998
  [Error]: lastCel is not a property or method on type 'Gnome'.  Line: 92, col: 30
Unable to find name for script #998
  [Error]: setCycle is not a property or method on type 'Gnome'.  Line: 93, col: 14
Unable to find name for script #998
  [Error]: setLoop is not a property or method on type 'Gnome'.  Line: 97, col: 24
Unable to find name for script #998
  [Error]: setLoop is not a property or method on type 'Gnome'.  Line: 144, col: 24
Unable to find name for script #998
  [Error]: setCycle is not a property or method on type 'Gnome'.  Line: 144, col: 43
Unable to find name for script #998
  [Error]: setCycle is not a property or method on type 'Gnome'.  Line: 147, col: 25
Unable to find name for script #998
  [Error]: setLoop is not a property or method on type 'Gnome'.  Line: 158, col: 24
Unable to find name for script #998
  [Error]: lastCel is not a property or method on type 'Gnome'.  Line: 160, col: 30
Unable to find name for script #998
  [Error]: setCycle is not a property or method on type 'Gnome'.  Line: 161, col: 14
Unable to find name for script #998
  [Error]: addToPic is not a property or method on type 'Gnome'.  Line: 172, col: 25
Unable to find name for script #998
  [Error]: delete is not a property or method on type 'Gnome'.  Line: 172, col: 33
Unable to find name for script #998
  [Error]: dispose is not a property or method on type 'Gnome'.  Line: 172, col: 42
Script 65535 (n4561) declared itself as resource 4561
Unable to find name for script #998
  [Error]: init is not a property or method on type 'Gnome'.  Line: 29, col: 14
Unable to find name for script #998
  [Error]: setLoop is not a property or method on type 'Gnome'.  Line: 83, col: 24
Unable to find name for script #998
  [Error]: setCycle is not a property or method on type 'Gnome'.  Line: 83, col: 43
Unable to find name for script #998
  [Error]: setLoop is not a property or method on type 'Gnome'.  Line: 87, col: 25
Unable to find name for script #998
  [Error]: setCycle is not a property or method on type 'Gnome'.  Line: 87, col: 44
Unable to find name for script #998
  [Error]: setLoop is not a property or method on type 'Gnome'.  Line: 93, col: 24
Unable to find name for script #998
  [Error]: setCycle is not a property or method on type 'Gnome'.  Line: 143, col: 26
Unable to find name for script #998
  [Error]: setLoop is not a property or method on type 'Gnome'.  Line: 150, col: 24
Unable to find name for script #998
  [Error]: setCycle is not a property or method on type 'Gnome'.  Line: 150, col: 36
Unable to find name for script #998
  [Error]: setCycle is not a property or method on type 'Gnome'.  Line: 153, col: 25
Unable to find name for script #998
  [Error]: addToPic is not a property or method on type 'Gnome'.  Line: 169, col: 25
Unable to find name for script #998
  [Error]: delete is not a property or method on type 'Gnome'.  Line: 169, col: 33
Unable to find name for script #998
  [Error]: dispose is not a property or method on type 'Gnome'.  Line: 169, col: 42
Script 65535 (n457) declared itself as resource 457
Unable to find name for script #998
  [Error]: init is not a property or method on type 'Gnome'.  Line: 30, col: 14
Unable to find name for script #998
  [Error]: setLoop is not a property or method on type 'Gnome'.  Line: 84, col: 24
Unable to find name for script #998
  [Error]: setCycle is not a property or method on type 'Gnome'.  Line: 84, col: 43
Unable to find name for script #998
  [Error]: setCycle is not a property or method on type 'Gnome'.  Line: 88, col: 25
Unable to find name for script #998
  [Error]: setLoop is not a property or method on type 'Gnome'.  Line: 96, col: 25
Unable to find name for script #998
  [Error]: setCycle is not a property or method on type 'Gnome'.  Line: 96, col: 44
Unable to find name for script #998
  [Error]: setLoop is not a property or method on type 'Gnome'.  Line: 103, col: 24
Unable to find name for script #998
  [Error]: setCycle is not a property or method on type 'Gnome'.  Line: 106, col: 14
Unable to find name for script #998
  [Error]: setLoop is not a property or method on type 'Gnome'.  Line: 156, col: 25
Unable to find name for script #998
  [Error]: setCycle is not a property or method on type 'Gnome'.  Line: 156, col: 44
Unable to find name for script #998
  [Error]: setCycle is not a property or method on type 'Gnome'.  Line: 164, col: 26
Unable to find name for script #998
  [Error]: setLoop is not a property or method on type 'Gnome'.  Line: 178, col: 24
Unable to find name for script #998
  [Error]: setCycle is not a property or method on type 'Gnome'.  Line: 178, col: 43
Unable to find name for script #998
  [Error]: setCycle is not a property or method on type 'Gnome'.  Line: 190, col: 25
Unable to find name for script #998
  [Error]: setLoop is not a property or method on type 'Gnome'.  Line: 193, col: 24
Unable to find name for script #998
  [Error]: lastCel is not a property or method on type 'Gnome'.  Line: 195, col: 30
Unable to find name for script #998
  [Error]: setCycle is not a property or method on type 'Gnome'.  Line: 196, col: 14
Unable to find name for script #998
  [Error]: addToPic is not a property or method on type 'Gnome'.  Line: 207, col: 25
Unable to find name for script #998
  [Error]: delete is not a property or method on type 'Gnome'.  Line: 207, col: 33
Unable to find name for script #998
  [Error]: dispose is not a property or method on type 'Gnome'.  Line: 207, col: 42
Script 65535 (n458) declared itself as resource 458
Unable to find name for script #998
  [Error]: init is not a property or method on type 'Gnome'.  Line: 30, col: 14
Unable to find name for script #998
  [Error]: setLoop is not a property or method on type 'Gnome'.  Line: 82, col: 24
Unable to find name for script #998
  [Error]: setCycle is not a property or method on type 'Gnome'.  Line: 82, col: 43
Unable to find name for script #998
  [Error]: setCycle is not a property or method on type 'Gnome'.  Line: 86, col: 25
Unable to find name for script #998
  [Error]: setCycle is not a property or method on type 'Gnome'.  Line: 90, col: 25
Unable to find name for script #998
  [Error]: setLoop is not a property or method on type 'Gnome'.  Line: 95, col: 25
Unable to find name for script #998
  [Error]: setCycle is not a property or method on type 'Gnome'.  Line: 95, col: 44
Unable to find name for script #998
  [Error]: setLoop is not a property or method on type 'Gnome'.  Line: 101, col: 24
Unable to find name for script #998
  [Error]: setLoop is not a property or method on type 'Gnome'.  Line: 138, col: 24
Unable to find name for script #998
  [Error]: setCycle is not a property or method on type 'Gnome'.  Line: 138, col: 43
Unable to find name for script #998
  [Error]: setCycle is not a property or method on type 'Gnome'.  Line: 142, col: 25
Unable to find name for script #998
  [Error]: setCycle is not a property or method on type 'Gnome'.  Line: 146, col: 25
Unable to find name for script #998
  [Error]: setCycle is not a property or method on type 'Gnome'.  Line: 150, col: 25
Unable to find name for script #998
  [Error]: setLoop is not a property or method on type 'Gnome'.  Line: 162, col: 24
Unable to find name for script #998
  [Error]: addToPic is not a property or method on type 'Gnome'.  Line: 169, col: 25
Unable to find name for script #998
  [Error]: delete is not a property or method on type 'Gnome'.  Line: 169, col: 33
Unable to find name for script #998
  [Error]: dispose is not a property or method on type 'Gnome'.  Line: 169, col: 42
Script 65535 (n460) declared itself as resource 460
Script 65535 (n461) declared itself as resource 461
Unable to find name for script #994
  [Error]: dispose is not a property or method on type 'KQ6Room'.  Line: 55, col: 17
Script 65535 (n470) declared itself as resource 470
Unable to find name for script #994
  [Error]: dispose is not a property or method on type 'KQ6Room'.  Line: 254, col: 17
  [Error]: Duplicate case values. Already encountered a case for '34'  Line: 498, col: 4
Script 65535 (n480) declared itself as resource 480
Unable to find name for script #994
  [Error]: dispose is not a property or method on type 'KQ6Room'.  Line: 286, col: 17
Script 65535 (n481) declared itself as resource 481
Unable to find name for script #989
Unable to find name for script #989
  [Error]: dispose is not a property or method on type 'Kq6Sound'.  Line: 87, col: 25
Unable to find name for script #989
  [Error]: stop is not a property or method on type 'Kq6Sound'.  Line: 88, col: 17
Unable to find name for script #989
  [Error]: dispose is not a property or method on type 'Kq6Sound'.  Line: 88, col: 26
Unable to find name for script #989
  [Error]: setLoop is not a property or method on type 'Kq6Sound'.  Line: 133, col: 19
Unable to find name for script #989
Unable to find name for script #989
  [Error]: setLoop is not a property or method on type 'Kq6Sound'.  Line: 134, col: 20
Unable to find name for script #989
  [Error]: play is not a property or method on type 'Kq6Sound'.  Line: 134, col: 29
Unable to find name for script #989
Unable to find name for script #989
  [Error]: dispose is not a property or method on type 'Kq6Sound'.  Line: 190, col: 26
Unable to find name for script #989
  [Error]: stop is not a property or method on type 'Kq6Sound'.  Line: 191, col: 18
Unable to find name for script #989
  [Error]: dispose is not a property or method on type 'Kq6Sound'.  Line: 191, col: 27
Unable to find name for script #989
  [Error]: play is not a property or method on type 'Kq6Sound'.  Line: 384, col: 14
Unable to find name for script #989
  [Error]: stop is not a property or method on type 'Kq6Sound'.  Line: 389, col: 14
Unable to find name for script #989
  [Error]: check is not a property or method on type 'Kq6Sound'.  Line: 402, col: 15
Unable to find name for script #989
  [Error]: setLoop is not a property or method on type 'Kq6Sound'.  Line: 441, col: 22
Unable to find name for script #989
Unable to find name for script #989
  [Error]: setLoop is not a property or method on type 'Kq6Sound'.  Line: 442, col: 23
Unable to find name for script #989
  [Error]: play is not a property or method on type 'Kq6Sound'.  Line: 442, col: 32
Unable to find name for script #989
  [Error]: setLoop is not a property or method on type 'Kq6Sound'.  Line: 494, col: 22
Unable to find name for script #989
Script 65535 (n482) declared itself as resource 482
Script 65535 (n483) declared itself as resource 483
Script 65535 (n490) declared itself as resource 490
Unable to find name for script #989
  [Error]: setLoop is not a property or method on type 'Kq6Sound'.  Line: 410, col: 35
Unable to find name for script #989
  [Error]: play is not a property or method on type 'Kq6Sound'.  Line: 410, col: 43
Unable to find name for script #989
  [Error]: setLoop is not a property or method on type 'Kq6Sound'.  Line: 1195, col: 35
Unable to find name for script #989
  [Error]: play is not a property or method on type 'Kq6Sound'.  Line: 1195, col: 43
Script 65535 (n500) declared itself as resource 500
Script 65535 (n510) declared itself as resource 510
Script 65535 (n520) declared itself as resource 520
Script 65535 (n540) declared itself as resource 540
Unable to find name for script #994
  [Error]: dispose is not a property or method on type 'KQ6Room'.  Line: 139, col: 17
Script 65535 (n550) declared itself as resource 550
Unable to find name for script #994
  [Error]: dispose is not a property or method on type 'KQ6Room'.  Line: 333, col: 17
Script 65535 (n560) declared itself as resource 560
Script 65535 (n580) declared itself as resource 580
Unable to find name for script #994
  [Error]: dispose is not a property or method on type 'KQ6Room'.  Line: 206, col: 17
Script 65535 (n600) declared itself as resource 600
Unable to find name for script #994
  [Error]: dispose is not a property or method on type 'KQ6Room'.  Line: 74, col: 17
  [Warning]: '0' has no effect on code.  Line: 216, col: 5
  [Warning]: '0' has no effect on code.  Line: 245, col: 5
Script 65535 (n605) declared itself as resource 605
Unable to find name for script #999
  [Error]: new is not a property or method on type 'Polygon'.  Line: 23, col: 18
Unable to find name for script #921
  [Error]: addButton is not a property or method on type 'KQ6Print'.  Line: 71, col: 14
Unable to find name for script #921
  [Error]: addButton is not a property or method on type 'KQ6Print'.  Line: 72, col: 14
Unable to find name for script #921
  [Error]: addButton is not a property or method on type 'KQ6Print'.  Line: 80, col: 14
Unable to find name for script #921
  [Error]: addButton is not a property or method on type 'KQ6Print'.  Line: 81, col: 14
Unable to find name for script #921
  [Error]: addButton is not a property or method on type 'KQ6Print'.  Line: 89, col: 14
Unable to find name for script #921
  [Error]: addButton is not a property or method on type 'KQ6Print'.  Line: 90, col: 14
Script 65535 (n630) declared itself as resource 630
Unable to find name for script #994
  [Error]: dispose is not a property or method on type 'KQ6Room'.  Line: 146, col: 17
Script 65535 (n640) declared itself as resource 640
Unable to find name for script #994
  [Error]: dispose is not a property or method on type 'KQ6Room'.  Line: 167, col: 17
Unable to find name for script #921
  [Error]: posn is not a property or method on type 'KQ6Print'.  Line: 702, col: 10
Unable to find name for script #921
  [Error]: posn is not a property or method on type 'KQ6Print'.  Line: 715, col: 10
Unable to find name for script #921
  [Error]: posn is not a property or method on type 'KQ6Print'.  Line: 1005, col: 10
Script 65535 (n650) declared itself as resource 650
Unable to find name for script #994
  [Error]: dispose is not a property or method on type 'KQ6Room'.  Line: 177, col: 17
Script 65535 (n660) declared itself as resource 660
Script 65535 (n670) declared itself as resource 670
Unable to find name for script #994
  [Error]: dispose is not a property or method on type 'KQ6Room'.  Line: 130, col: 17
Unable to find name for script #921
  [Error]: posn is not a property or method on type 'KQ6Print'.  Line: 799, col: 8
Script 65535 (n680) declared itself as resource 680
Unable to find name for script #994
  [Error]: dispose is not a property or method on type 'KQ6Room'.  Line: 183, col: 17
Script 65535 (n690) declared itself as resource 690
Script 65535 (n710) declared itself as resource 710
Unable to find name for script #900
  [Error]: init is not a property or method on type 'CastleRoom'.  Line: 165, col: 14
Unable to find name for script #900
  [Error]: doit is not a property or method on type 'CastleRoom'.  Line: 267, col: 14
Script 65535 (n711) declared itself as resource 711
Script 65535 (n720) declared itself as resource 720
Unable to find name for script #900
  [Error]: init is not a property or method on type 'CastleRoom'.  Line: 101, col: 14
Script 65535 (n730) declared itself as resource 730
Unable to find name for script #900
  [Error]: init is not a property or method on type 'CastleRoom'.  Line: 144, col: 14
Unable to find name for script #900
  [Error]: doit is not a property or method on type 'CastleRoom'.  Line: 264, col: 14
Unable to find name for script #900
  [Error]: setScript is not a property or method on type 'CastleRoom'.  Line: 276, col: 20
Script 65535 (n731) declared itself as resource 731
Script 65535 (n732) declared itself as resource 732
Script 65535 (n740) declared itself as resource 740
Unable to find name for script #900
  [Error]: init is not a property or method on type 'CastleRoom'.  Line: 275, col: 15
Unable to find name for script #900
  [Error]: init is not a property or method on type 'CastleRoom'.  Line: 279, col: 15
Unable to find name for script #900
  [Error]: doit is not a property or method on type 'CastleRoom'.  Line: 341, col: 14
Unable to find name for script #900
  [Error]: handleEvent is not a property or method on type 'CastleRoom'.  Line: 377, col: 22
Unable to find name for script #900
  [Error]: doVerb is not a property or method on type 'CastleRoom'.  Line: 396, col: 18
Script 65535 (n741) declared itself as resource 741
Script 65535 (n742) declared itself as resource 742
Script 65535 (n743) declared itself as resource 743
Script 65535 (n744) declared itself as resource 744
Script 65535 (n745) declared itself as resource 745
Unable to find name for script #950
  [Error]: doVerb is not a property or method on type 'CloseupProp'.  Line: 362, col: 26
Unable to find name for script #950
  [Error]: doVerb is not a property or method on type 'CloseupProp'.  Line: 382, col: 59
Unable to find name for script #950
  [Error]: doVerb is not a property or method on type 'CloseupProp'.  Line: 383, col: 68
Unable to find name for script #950
  [Error]: doVerb is not a property or method on type 'CloseupProp'.  Line: 385, col: 23
Unable to find name for script #950
  [Error]: doVerb is not a property or method on type 'CloseupProp'.  Line: 432, col: 17
Unable to find name for script #950
Script 65535 (n750) declared itself as resource 750
Unable to find name for script #900
  [Error]: init is not a property or method on type 'CastleRoom'.  Line: 156, col: 14
Unable to find name for script #900
  [Error]: doit is not a property or method on type 'CastleRoom'.  Line: 175, col: 14
Unable to find name for script #937
Unable to find name for script #937
  [Error]: yourself is not a property or method on type 'Kq6IconItem'.  Line: 505, col: 63
Unable to find name for script #937
  [Error]: init is not a property or method on type 'Kq6IconItem'.  Line: 942, col: 14
Unable to find name for script #937
  [Error]: dispose is not a property or method on type 'Kq6IconItem'.  Line: 946, col: 17
Script 65535 (n751) declared itself as resource 751
Script 65535 (n752) declared itself as resource 752
Script 65535 (n753) declared itself as resource 753
Script 65535 (n754) declared itself as resource 754
Script 65535 (n755) declared itself as resource 755
  [Error]: Duplicate case values. Already encountered a case for '1'  Line: 387, col: 4
Script 65535 (n759) declared itself as resource 759
  [Error]: Duplicate case values. Already encountered a case for '65522'  Line: 102, col: 4
  [Error]: Duplicate case values. Already encountered a case for '65521'  Line: 106, col: 4
Script 65535 (n770) declared itself as resource 770
Unable to find name for script #900
  [Error]: init is not a property or method on type 'CastleRoom'.  Line: 121, col: 14
Script 65535 (n780) declared itself as resource 780
Unable to find name for script #900
  [Error]: init is not a property or method on type 'CastleRoom'.  Line: 93, col: 14
Unable to find name for script #900
  [Error]: doit is not a property or method on type 'CastleRoom'.  Line: 115, col: 14
Script 65535 (n781) declared itself as resource 781
Unable to find name for script #900
  [Error]: init is not a property or method on type 'CastleRoom'.  Line: 92, col: 14
Unable to find name for script #900
  [Error]: doit is not a property or method on type 'CastleRoom'.  Line: 122, col: 14
Unable to find name for script #900
  [Error]: doVerb is not a property or method on type 'CastleRoom'.  Line: 142, col: 18
Unable to find name for script #921
  [Error]: posn is not a property or method on type 'KQ6Print'.  Line: 1269, col: 18
Script 65535 (n790) declared itself as resource 790
Unable to find name for script #900
  [Error]: init is not a property or method on type 'CastleRoom'.  Line: 271, col: 14
Unable to find name for script #900
  [Error]: doit is not a property or method on type 'CastleRoom'.  Line: 338, col: 14
Script 65535 (n800) declared itself as resource 800
Unable to find name for script #900
  [Error]: init is not a property or method on type 'CastleRoom'.  Line: 105, col: 14
Unable to find name for script #900
  [Error]: doit is not a property or method on type 'CastleRoom'.  Line: 164, col: 14
Unable to find name for script #900
  [Error]: doVerb is not a property or method on type 'CastleRoom'.  Line: 174, col: 18
Script 65535 (n801) declared itself as resource 801
Script 65535 (n802) declared itself as resource 802
Script 65535 (n810) declared itself as resource 810
  [Error]: Unknown token 'PROPERTY-ACCESS-IN-NON-METHOD'.  Line: 64, col: 11
  [Error]: Unknown token 'PROPERTY-ACCESS-IN-NON-METHOD'.  Line: 68, col: 11
  [Error]: Unknown token 'PROPERTY-ACCESS-IN-NON-METHOD'.  Line: 70, col: 11
  [Error]: Unknown token 'PROPERTY-ACCESS-IN-NON-METHOD'.  Line: 144, col: 11
  [Error]: Unknown token 'PROPERTY-ACCESS-IN-NON-METHOD'.  Line: 171, col: 11
  [Error]: Unknown token 'PROPERTY-ACCESS-IN-NON-METHOD'.  Line: 205, col: 11
Unable to find name for script #900
  [Error]: init is not a property or method on type 'CastleRoom'.  Line: 270, col: 14
Unable to find name for script #900
  [Error]: doit is not a property or method on type 'CastleRoom'.  Line: 326, col: 14
Unable to find name for script #900
  [Error]: doVerb is not a property or method on type 'CastleRoom'.  Line: 338, col: 18
Script 65535 (n811) declared itself as resource 811
Unable to find name for script #921
  [Error]: posn is not a property or method on type 'KQ6Print'.  Line: 92, col: 10
Unable to find name for script #921
  [Error]: posn is not a property or method on type 'KQ6Print'.  Line: 103, col: 10
Unable to find name for script #921
  [Error]: posn is not a property or method on type 'KQ6Print'.  Line: 114, col: 10
Unable to find name for script #921
  [Error]: posn is not a property or method on type 'KQ6Print'.  Line: 128, col: 10
Unable to find name for script #921
  [Error]: posn is not a property or method on type 'KQ6Print'.  Line: 138, col: 10
Unable to find name for script #921
  [Error]: posn is not a property or method on type 'KQ6Print'.  Line: 147, col: 10
Unable to find name for script #921
  [Error]: posn is not a property or method on type 'KQ6Print'.  Line: 164, col: 11
Unable to find name for script #921
  [Error]: posn is not a property or method on type 'KQ6Print'.  Line: 172, col: 11
Script 65535 (n820) declared itself as resource 820
Unable to find name for script #900
  [Error]: init is not a property or method on type 'CastleRoom'.  Line: 62, col: 14
Unable to find name for script #900
  [Error]: doVerb is not a property or method on type 'CastleRoom'.  Line: 121, col: 17
Script 65535 (n821) declared itself as resource 821
Script 65535 (n822) declared itself as resource 822
Unable to find name for script #921
  [Error]: posn is not a property or method on type 'KQ6Print'.  Line: 329, col: 19
Unable to find name for script #921
  [Error]: posn is not a property or method on type 'KQ6Print'.  Line: 440, col: 19
Unable to find name for script #950
  [Error]: doVerb is not a property or method on type 'Actor'.  Line: 499, col: 19
Script 65535 (n840) declared itself as resource 840
Unable to find name for script #900
  [Error]: init is not a property or method on type 'CastleRoom'.  Line: 102, col: 14
Unable to find name for script #900
  [Error]: doit is not a property or method on type 'CastleRoom'.  Line: 201, col: 14
Script 65535 (n850) declared itself as resource 850
Unable to find name for script #900
  [Error]: init is not a property or method on type 'CastleRoom'.  Line: 233, col: 14
Unable to find name for script #900
  [Error]: doit is not a property or method on type 'CastleRoom'.  Line: 406, col: 14
Unable to find name for script #900
  [Error]: doVerb is not a property or method on type 'CastleRoom'.  Line: 434, col: 18
Unable to find name for script #921
  [Error]: posn is not a property or method on type 'KQ6Print'.  Line: 1604, col: 19
Script 65535 (n860) declared itself as resource 860
Unable to find name for script #900
  [Error]: init is not a property or method on type 'CastleRoom'.  Line: 138, col: 14
Unable to find name for script #900
  [Error]: doit is not a property or method on type 'CastleRoom'.  Line: 195, col: 14
Unable to find name for script #921
  [Error]: posn is not a property or method on type 'KQ6Print'.  Line: 576, col: 19
Script 65535 (n870) declared itself as resource 870
Unable to find name for script #900
  [Error]: init is not a property or method on type 'CastleRoom'.  Line: 70, col: 14
Unable to find name for script #900
  [Error]: doit is not a property or method on type 'CastleRoom'.  Line: 109, col: 14
Script 65535 (n880) declared itself as resource 880
Unable to find name for script #900
  [Error]: init is not a property or method on type 'CastleRoom'.  Line: 112, col: 14
Unable to find name for script #900
  [Error]: doit is not a property or method on type 'CastleRoom'.  Line: 158, col: 14
  [Error]: &rest cannot be used if the send target itself contains nested procedure calls or sends. Assign the result of the procedure call or send to a temporary variable and use that instead.  Line: 174, col: 49
Unable to find name for script #900
  [Error]: setScript is not a property or method on type 'CastleRoom'.  Line: 176, col: 21
Unable to find name for script #900
  [Error]: setScript is not a property or method on type 'CastleRoom'.  Line: 179, col: 20
Unable to find name for script #921
  [Error]: posn is not a property or method on type 'KQ6Print'.  Line: 196, col: 19
Script 65535 (n900) declared itself as resource 900
Unable to find name for script #921
  [Error]: posn is not a property or method on type 'KQ6Print'.  Line: 147, col: 10
Unable to find name for script #921
  [Error]: posn is not a property or method on type 'KQ6Print'.  Line: 164, col: 10
Unable to find name for script #921
  [Error]: posn is not a property or method on type 'KQ6Print'.  Line: 210, col: 14
Unable to find name for script #921
  [Error]: posn is not a property or method on type 'KQ6Print'.  Line: 218, col: 14
Unable to find name for script #921
  [Error]: posn is not a property or method on type 'KQ6Print'.  Line: 226, col: 14
  [Error]: &rest cannot be used if the send target itself contains nested procedure calls or sends. Assign the result of the procedure call or send to a temporary variable and use that instead.  Line: 233, col: 80
  [Error]: &rest cannot be used if the send target itself contains nested procedure calls or sends. Assign the result of the procedure call or send to a temporary variable and use that instead.  Line: 236, col: 53
Script 65535 (n902) declared itself as resource 902
Script 65535 (n903) declared itself as resource 903
Unable to find name for script #981
  [Error]: yourself is not a property or method on type 'Kq6Window'.  Line: 52, col: 14
Unable to find name for script #981
  [Error]: dispose is not a property or method on type 'Kq6Window'.  Line: 110, col: 17
Script 65535 (n905) declared itself as resource 905
Script 65535 (n907) declared itself as resource 907
Script 65535 (n908) declared itself as resource 908
Script 65535 (n909) declared itself as resource 909
Unable to find name for script #255
  [Error]: new is not a property or method on type 'DIcon'.  Line: 232, col: 27
Script 65535 (n910) declared itself as resource 910
Script 65535 (n912) declared itself as resource 912
Script 65535 (n913) declared itself as resource 913
Script 65535 (n914) declared itself as resource 914
Unable to find name for script #998
  [Error]: dispose is not a property or method on type 'Ego'.  Line: 120, col: 17
Unable to find name for script #998
  [Error]: setLoop is not a property or method on type 'Ego'.  Line: 127, col: 33
Unable to find name for script #998
  [Error]: setLoop is not a property or method on type 'Ego'.  Line: 128, col: 45
Unable to find name for script #998
  [Error]: setScale is not a property or method on type 'Ego'.  Line: 139, col: 19
Unable to find name for script #998
  [Error]: setScale is not a property or method on type 'Ego'.  Line: 141, col: 19
Script 65535 (n915) declared itself as resource 915
Script 65535 (n916) declared itself as resource 916
Script 65535 (n917) declared itself as resource 917
Script 65535 (n918) declared itself as resource 918
Unable to find name for script #999
  [Error]: dispose is not a property or method on type 'MoveTo'.  Line: 76, col: 19
Script 65535 (n919) declared itself as resource 919
Script 65535 (n921) declared itself as resource 921
  [Error]: &rest cannot be used if the send target itself contains nested procedure calls or sends. Assign the result of the procedure call or send to a temporary variable and use that instead.  Line: 17, col: 42
  [Error]: &rest cannot be used if the send target itself contains nested procedure calls or sends. Assign the result of the procedure call or send to a temporary variable and use that instead.  Line: 21, col: 43
Script 65535 (n922) declared itself as resource 922
Script 65535 (n923) declared itself as resource 923
Unable to find name for script #950
  [Error]: new is not a property or method on type 'View'.  Line: 189, col: 17
Script 65535 (n924) declared itself as resource 924
Script 65535 (n925) declared itself as resource 925
Script 65535 (n926) declared itself as resource 926
Script 65535 (n927) declared itself as resource 927
Script 65535 (n928) declared itself as resource 928
Script 65535 (n929) declared itself as resource 929
Script 65535 (n930) declared itself as resource 930
Unable to find name for script #992
  [Error]: doit is not a property or method on type 'PolyPath'.  Line: 75, col: 21
Script 65535 (n932) declared itself as resource 932
Unable to find name for script #992
  [Error]: doit is not a property or method on type 'PolyPath'.  Line: 82, col: 21
Script 65535 (n933) declared itself as resource 933
Script 65535 (n934) declared itself as resource 934
Script 65535 (n935) declared itself as resource 935
Script 65535 (n936) declared itself as resource 936
Script 65535 (n937) declared itself as resource 937
Script 65535 (n938) declared itself as resource 938
Script 65535 (n939) declared itself as resource 939
Script 65535 (n941) declared itself as resource 941
Script 65535 (n942) declared itself as resource 942
Script 65535 (n943) declared itself as resource 943
  [Error]: Undeclared identifier 'x' .  Line: 236, col: 3
  [Error]: Undeclared identifier 'x' .  Line: 246, col: 18
Script 65535 (n944) declared itself as resource 944
Unable to find name for script #255
  [Error]: dispose is not a property or method on type 'DSelector'.  Line: 52, col: 17
Script 65535 (n945) declared itself as resource 945
Script 65535 (n946) declared itself as resource 946
Script 65535 (n947) declared itself as resource 947
Script 65535 (n948) declared itself as resource 948
Script 65535 (n949) declared itself as resource 949
Script 65535 (n950) declared itself as resource 950
Script 65535 (n951) declared itself as resource 951
Script 65535 (n952) declared itself as resource 952
Script 65535 (n953) declared itself as resource 953
Script 65535 (n954) declared itself as resource 954
Unable to find name for script #950
  [Error]: doVerb is not a property or method on type 'Prop'.  Line: 144, col: 24
Unable to find name for script #999
  [Error]: new is not a property or method on type 'Polygon'.  Line: 250, col: 28
Script 65535 (n955) declared itself as resource 955
Script 65535 (n956) declared itself as resource 956
Script 65535 (n958) declared itself as resource 958
Script 65535 (n960) declared itself as resource 960
Script 65535 (n961) declared itself as resource 961
Unable to find name for script #999
  [Error]: dispose is not a property or method on type 'Fwd'.  Line: 69, col: 17
Script 65535 (n963) declared itself as resource 963
Script 65535 (n964) declared itself as resource 964
Script 65535 (n965) declared itself as resource 965
  [Error]: &rest cannot be used if the send target itself contains nested procedure calls or sends. Assign the result of the procedure call or send to a temporary variable and use that instead.  Line: 13, col: 43
Script 65535 (n966) declared itself as resource 966
  [Error]: &rest cannot be used if the send target itself contains nested procedure calls or sends. Assign the result of the procedure call or send to a temporary variable and use that instead.  Line: 18, col: 56
Script 65535 (n967) declared itself as resource 967
Unable to find name for script #999
  [Error]: new is not a property or method on type 'Fwd'.  Line: 28, col: 22
Unable to find name for script #255
  [Error]: dispose is not a property or method on type 'DIcon'.  Line: 33, col: 17
Script 65535 (n968) declared itself as resource 968
Script 65535 (n969) declared itself as resource 969
Script 65535 (n970) declared itself as resource 970
Script 65535 (n971) declared itself as resource 971
Script 65535 (n972) declared itself as resource 972
Script 65535 (n973) declared itself as resource 973
Script 65535 (n974) declared itself as resource 974
Script 65535 (n975) declared itself as resource 975
Unable to find name for script #999
  [Error]: dispose is not a property or method on type 'Scaler'.  Line: 82, col: 17
Script 65535 (n976) declared itself as resource 976
Script 65535 (n977) declared itself as resource 977
Script 65535 (n978) declared itself as resource 978
Script 65535 (n980) declared itself as resource 980
Script 65535 (n981) declared itself as resource 981
Script 65535 (n982) declared itself as resource 982
Script 65535 (n983) declared itself as resource 983
Script 65535 (n984) declared itself as resource 984
Unable to find name for script #999
  [Error]: dispose is not a property or method on type 'MoveTo'.  Line: 76, col: 19
Script 65535 (n985) declared itself as resource 985
Script 65535 (n986) declared itself as resource 986
Script 65535 (n987) declared itself as resource 987
Unable to find name for script #999
  [Error]: new is not a property or method on type 'DButton'.  Line: 49, col: 30
Unable to find name for script #999
  [Error]: new is not a property or method on type 'DButton'.  Line: 62, col: 32
Unable to find name for script #999
  [Error]: new is not a property or method on type 'DButton'.  Line: 69, col: 32
Unable to find name for script #999
  [Error]: new is not a property or method on type 'DButton'.  Line: 74, col: 32
Unable to find name for script #999
  [Error]: new is not a property or method on type 'DButton'.  Line: 79, col: 32
Script 65535 (n988) declared itself as resource 988
Script 65535 (n989) declared itself as resource 989
Script 65535 (n990) declared itself as resource 990
Script 65535 (n991) declared itself as resource 991
Script 65535 (n992) declared itself as resource 992
Script 65535 (n993) declared itself as resource 993
Script 65535 (n994) declared itself as resource 994
  [Warning]: 'Motion' has no effect on code.  Line: 198, col: 2
  [Warning]: 'Sound' has no effect on code.  Line: 199, col: 2
Script 65535 (n995) declared itself as resource 995
Script 65535 (n996) declared itself as resource 996
Script 65535 (n998) declared itself as resource 998
Script 65535 (n999) declared itself as resource 999
  [Error]: &rest cannot be used if the send target itself contains nested procedure calls or sends. Assign the result of the procedure call or send to a temporary variable and use that instead.  Line: 241, col: 49
  [Error]: &rest cannot be used if the send target itself contains nested procedure calls or sends. Assign the result of the procedure call or send to a temporary variable and use that instead.  Line: 254, col: 50
Script 65535 (n999) declared itself as resource 999
  [Error]: &rest cannot be used if the send target itself contains nested procedure calls or sends. Assign the result of the procedure call or send to a temporary variable and use that instead.  Line: 241, col: 49
  [Error]: &rest cannot be used if the send target itself contains nested procedure calls or sends. Assign the result of the procedure call or send to a temporary variable and use that instead.  Line: 254, col: 50



Offline troflip

Re: Compiling Sierra Games
« Reply #1 on: June 17, 2019, 04:58:17 PM »
Looks like something went terribly wrong with the decompilation.

What version of KQ4 is this? It works fine for me with the KQ4 from GOG. This is the only warning I get:

Code: [Select]
Warning: (Room92.sc) Duplicate case values. Already encountered a case for '6'  Line: 368, col: 4

Can you give us an example of what one of the scripts looks like?
« Last Edit: June 17, 2019, 05:05:14 PM by troflip »
Check out my website: http://icefallgames.com
Groundhog Day Competition

Offline alay

Re: Compiling Sierra Games
« Reply #2 on: June 18, 2019, 07:48:45 AM »
Hello,
Thank you for your reply.
It is actually Kings Quest 6 I am talking about. It is version 1.000.00g (CD Version).
Here are the steps I take:
1. I clear the 'src' folder from my last decompilation to make a fresh start
2. I go to 'Script' -> 'Manage Decompilation'
3. I click 'Set Filenames'
4. I click 'Decompile'
5. I close the window
6. I click 'Script' -> 'Compile All'
Result: Lots of errors  :(

To help me further isolate the problem I tried King's Quest 4 & 5 as well and got similar results.
Am I doing something wrong in my steps?

Thanks

Offline alay

Re: Compiling Sierra Games
« Reply #3 on: June 18, 2019, 07:50:09 AM »
Also as you asked. Here is what one of the scripts looks like:
Code: [Select]
;;; Sierra Script 1.0 - (do not remove this comment)
(script# 11)
(include sci.sh)
(use Main)
(use n913)
(use Inset)
(use Scaler)
(use PolyPath)
(use CueObj)
(use Cycle)
(use View)
(use Obj)

(public
proc11_1 1
lampTradeScr 2
talkToSellerScr 3
)

(local
local0
)
(procedure (proc11_1)
(asm
sal      local31232
class    End
push   
pushSelf
pushi    2
pushi    241
pushi    0
callk    ScriptID,  4
send     30
jmp      code_03a4
dup     
ldi      14
eq?     
bnt      code_02c4
ldi      2
aTop     PROPERTY-ACCESS-IN-NON-METHOD
jmp      code_03a4
code_02c4:
dup     
ldi      15
eq?     
bnt      code_02ee
lal      local0
not     
bnt      code_02e4
pushi    #say
pushi    6
pushi    39
pushi    0
pushi    0
pushi    2
pushSelf
pushi    240
lag      gKq6Messager
send     16
jmp      code_03a4
code_02e4:
ipToa    PROPERTY-ACCESS-IN-NON-METHOD
pushi    #cue
pushi    0
self     4
jmp      code_03a4
code_02ee:
dup     
ldi      16
eq?     
bnt      code_0354
pushi    #setScale
pushi    1
pushi    0
pushi    154
pushi    2
pushi    19
pushi    128
pushi    2
pushi    1
pushi    2431
pushi    3
pushi    1
pushi    6
pushi    4
pushi    1
pushi    #lastCel
pushi    0
pushi    2
pushi    241
pushi    0
callk    ScriptID,  4
send     4
push   
pushi    162
pushi    2
class    Beg
push   
pushSelf
pushi    2
pushi    241
pushi    0
callk    ScriptID,  4
send     40
pushi    #reset
pushi    1
pushi    1
lag      gEgo
send     6
pushi    #handsOn
pushi    0
lag      gKq6
send     4
pushi    #setScript
pushi    1
pushi    2
pushi    241
pushi    1
callk    ScriptID,  4
push   
pToa     PROPERTY-ACCESS-IN-NON-METHOD
send     6
jmp      code_03a4
code_0354:
dup     
ldi      17
eq?     
bnt      code_03a4
pushi    #posn
pushi    2
pushi    19
pushi    128
pushi    2
pushi    1
pushi    243
pushi    3
pushi    1
pushi    0
pushi    162
pushi    1
class    Walk
push   
pushi    307
pushi    5
class    Scaler
push   
pushi    90
pushi    72
pushi    188
pushi    95
pushi    2
pushi    241
pushi    0
callk    ScriptID,  4
send     40
pushi    #reset
pushi    1
pushi    1
lag      gEgo
send     6
pushi    #setScript
pushi    2
lofsa    sealTheDealScr
push   
pushSelf
pToa     PROPERTY-ACCESS-IN-NON-METHOD
send     8
code_03a4:
toss   
ret     
)
)

(instance lampTradeScr of Script
(properties)

(method (changeState newState)
(switch (= state newState)
(0
(gKq6 handsOff:)
((ScriptID 10 0) setIt: 16)
(if (not ((ScriptID 10 0) isSet: 4))
((ScriptID 10 0) setIt: 4)
(= register 22)
else
(= register 23)
)
(gKq6Messager say: 4 43 register 1 self 240)
)
(1
((ScriptID 241 0)
setPri: -1
loop: 6
cel: 0
setCycle: End self
)
)
(2 (= cycles 2))
(3
(gEgo hide:)
((ScriptID 241 0)
view: 245
loop: 2
cel: 0
posn: 41 128
scaleX: 102
scaleY: 102
setScale:
setSpeed: 6
setCycle: End self
)
)
(4
(gKq6Messager say: 4 43 register 2 self 240)
)
(5 (= cycles 2))
(6
((ScriptID 241 0) hide:)
(gEgo
show:
normal: 0
view: 247
loop: 0
cel: 0
setSpeed: 6
setCycle: End self
)
)
(7
(gEgo loop: 1 cel: 0 setCycle: End self)
)
(8 (= ticks 60))
(9
(lampSellerInset init: self global2)
)
(10
(gKq6 handsOff:)
(= cycles 2)
)
(11
(if (not local0)
(gKq6Messager say: 39 0 0 1 self 240)
else
(gKq6Messager say: 34 5 0 1 self 240)
)
)
(12
(if local0
(= cycles 1)
else
(gEgo reset: 1 loop: 9 cel: 1)
((ScriptID 241 0)
show:
setScale: 0
view: 2431
loop: 6
cel: 6
setPri: 7
posn: 19 128
setCycle: Beg self
)
(= state (+ state 2))
)
)
(13
(gEgo hide:)
((ScriptID 241 0)
show:
view: 245
loop: 1
cel: 0
setCycle: End self
)
)
(14 (= cycles 2))
(15
(if (not local0)
(gKq6Messager say: 39 0 0 2 self 240)
else
(++ state)
(self cue:)
)
)
(16
((ScriptID 241 0)
setScale: 0
posn: 19 128
view: 2431
loop: 6
cel: ((ScriptID 241 0) lastCel:)
setCycle: Beg self
)
(gEgo reset: 1)
(gKq6 handsOn:)
(client setScript: (ScriptID 241 1))
)
(17
((ScriptID 241 0)
posn: 19 128
view: 243
loop: 0
setCycle: Walk
setScale: Scaler 90 72 188 95
)
(gEgo reset: 1)
(client setScript: sealTheDealScr self)
)
)
)
)

(instance lamp of Prop
(properties
view 245
)
)

(instance sealTheDealScr of Script
(properties)

(method (changeState newState)
(switch (= state newState)
(0
(gKq6Messager say: 34 5 0 2 self 240)
)
(1
(gKq6Messager say: 34 5 0 3 self 240)
)
(2
(global2 notify:)
(= cycles 2)
)
(3
((ScriptID 241 0)
moveSpeed: 3
cycleSpeed: 3
setMotion: PolyPath 274 187 self
)
(proc913_1 12)
)
(4
((ScriptID 241 0) loop: 0)
(= cycles 2)
)
(5
((ScriptID 241 0)
moveSpeed: 6
cycleSpeed: 6
view: 254
loop: 0
cel: 0
setCycle: End self
)
)
(6
((ScriptID 241 0) loop: 1 cel: 0 setCycle: Fwd self)
(= seconds 4)
)
(7
(gKq6Messager say: 34 5 0 4 self 240)
)
(8 (= cycles 3))
(9
((ScriptID 241 0)
loop: 0
cel: ((ScriptID 241 0) lastCel:)
)
(= cycles 2)
)
(10
((ScriptID 241 0) setCycle: Beg self)
)
(11 (= cycles 2))
(12
((ScriptID 241 0)
moveSpeed: 3
cycleSpeed: 3
view: 243
setCycle: Walk
setMotion: MoveTo 274 230 self
)
)
(13
(gKq6 handsOn:)
(client dispose:)
)
)
)
)

(instance talkToSellerScr of Script
(properties)

(method (changeState newState)
(switch (= state newState)
(0
(gKq6 handsOff:)
((ScriptID 241 0) loop: 0 cel: 0 setCycle: 0)
(if (== register -1)
(gEgo
view: 272
loop: 1
cel: 0
setSpeed: 6
setCycle: End self
)
else
(gKq6Messager say: 4 2 register 0 self 240)
(= state (+ state 4))
)
)
(1
(gKq6Messager say: 4 0 0 0 self 240)
)
(2 (gEgo setCycle: Beg self))
(3 (= cycles 2))
(4
(gEgo reset: 1)
(= cycles 2)
)
(5
(gKq6 handsOn:)
(client setScript: (ScriptID 241 1))
)
)
)
)

(instance lampSellerInset of Inset
(properties
picture 245
hideTheCast 1
disposeNotOnMe 1
noun 9
)

(method (init)
(self drawInset:)
(super init: &rest)
(lamps init:)
(gKq6 handsOn:)
(gKq6IconBar
disable: 0 3 4 5 6
curIcon: (gKq6IconBar at: 1)
)
(gKq6 setCursor: ((gKq6IconBar curIcon?) cursor?))
)

(method (doit)
(if script (script doit:))
)

(method (dispose)
(gKq6IconBar enable: 6)
(super dispose:)
)

(method (doVerb theVerb)
(super doVerb: theVerb &rest)
)

(method (onMe param1)
(proc999_4 83 48 232 136 (param1 x?) (param1 y?))
)
)

(instance lamps of Feature
(properties
y 1
onMeCheck $0076
)

(method (init)
(super init: &rest)
(self sightAngle: 26505)
)

(method (doVerb theVerb)
(switch theVerb
(5
(gKq6 givePoints: 1)
(gEgo put: 19)
(gKq6 handsOff:)
(cond
((== noun 7) (gEgo get: 25))
((not (gEgo has: 25)) (gEgo get: 25))
)
(= local0 1)
(lampSellerInset dispose:)
)
(else
(if (!= theVerb 1) (= noun 34))
(gKq6Messager say: noun theVerb 0 0 0 240)
)
)
)

(method (onMe param1)
(= noun
(switch (OnControl 4 (param1 x?) (param1 y?))
(2
(lampTradeScr register: 0)
((global9 at: 25)
message: 57
noun: 25
cel: 11
setCursor: 990 1 11
)
34
)
(4
(lampTradeScr register: 3)
((global9 at: 25)
message: 56
noun: 24
loop: 2
cel: 9
setCursor: 990 2 9
)
7
)
(8
(lampTradeScr register: 4)
((global9 at: 25)
message: 58
noun: 26
cel: 13
setCursor: 990 1 13
)
35
)
(16
(lampTradeScr register: 3)
((global9 at: 25)
message: 59
noun: 27
cel: 15
setCursor: 990 1 15
)
36
)
(32
(lampTradeScr register: 4)
((global9 at: 25)
message: 60
noun: 28
cel: 14
setCursor: 990 1 14
)
37
)
(64
((global9 at: 25)
message: 96
noun: 65
cel: 12
setCursor: 990 1 12
)
6
)
(else  0)
)
)
)
)

(Hello and hey, I edited your post for formatting. Cheers, your friendly neighborhood Kawa)
« Last Edit: June 18, 2019, 10:24:45 AM by Kawa »

Offline Kawa

Re: Compiling Sierra Games
« Reply #4 on: June 18, 2019, 10:31:41 AM »
Am I doing something wrong in my steps?
Those steps seem about right to me.

However! Decompilation isn't perfect, and at least some fix-ups will be needed. It's why we have this thread full of decompilations that are confirmed to compile... if not run correctly.

Using a later build of SCI Companion may help too so you might want to use the one in my stash (http://helmet.kafuka.org/sci/SCICompanion.exe) instead just to see if it gets any better. No guarantees, and by "better" I mean "has fewer errors", not "just works".

Offline troflip

Re: Compiling Sierra Games
« Reply #5 on: June 18, 2019, 11:05:43 AM »
I was able to decompile the KQ6 version off of GoG and then build with only these compile errors, which are all easily fixable.

Code: [Select]
Warning: (rm470.sc) Duplicate case values. Already encountered a case for '34'  Line: 498, col: 4
Error: (takeBoringBookScr.sc) &rest cannot be used if the send target itself contains nested procedure calls or sends. Assign the result of the procedure call or send to a temporary variable and use that instead.  Line: 106, col: 27
Error: (rm430.sc) &rest cannot be used if the send target itself contains nested procedure calls or sends. Assign the result of the procedure call or send to a temporary variable and use that instead.  Line: 65, col: 28
Error: (rm430.sc) &rest cannot be used if the send target itself contains nested procedure calls or sends. Assign the result of the procedure call or send to a temporary variable and use that instead.  Line: 92, col: 28
Error: (rm430.sc) &rest cannot be used if the send target itself contains nested procedure calls or sends. Assign the result of the procedure call or send to a temporary variable and use that instead.  Line: 137, col: 29
Warning: (SwordArrayScript.sc) Duplicate case values. Already encountered a case for '1'  Line: 387, col: 4
Warning: (ArrayScript.sc) Duplicate case values. Already encountered a case for '65522'  Line: 102, col: 4
Warning: (ArrayScript.sc) Duplicate case values. Already encountered a case for '65521'  Line: 106, col: 4
Error: (rm880.sc) &rest cannot be used if the send target itself contains nested procedure calls or sends. Assign the result of the procedure call or send to a temporary variable and use that instead.  Line: 174, col: 33
324 scripts compiled.

... like Kawa mentioned, that of course doesn't mean the decompilation was correct. It may have produced incorrect code that successfully compiles.

I would try Kawa's build of scicompanion.exe to see if you have better luck. The official released version still doesn't have all the fixes ;-). If you're still getting a lot of errors, then there must be something else wrong (maybe an antivirus software interfering with writing files or something).
Check out my website: http://icefallgames.com
Groundhog Day Competition

Offline lskovlun

Re: Compiling Sierra Games
« Reply #6 on: June 18, 2019, 05:11:32 PM »
Most of that code looks reasonable, the faulty bit is that huge block of asm at the top. It seems to start in the middle of a method, which is guaranteed to create all sorts of havoc (that's also why it is not decompiled in the first place).
I have a similar version of KQ6 (@troflip, not KQ4) with a similarly buggy script. The floppy version seems to work.


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

Page created in 0.033 seconds with 23 queries.