the-infocom-files/hollywoodhijinx

Build Game

Closed this issue · 9 comments

Build the game using the ZILF toolset. Eliminate compilation and startup errors where necessary.

Ensure the main file has a release and a version. The names of included files should be in lower case for linux/macos compilations.

The compiler reports 1 error.

[error MDL0104] syntax.zil:806: SYNTAX: expected a single atom after FIND
  in INSERT-FILE called at hollywoodhijinx.zil:55

Try commenting out HELD and HAVE in the following statement.

<SYNTAX UNLOCK OBJECT (ON-GROUND IN-ROOM) 
	WITH OBJECT (FIND TOOLBIT HELD HAVE) = V-UNLOCK>

The compiler reports 9 errors.

[error ZIL0501] first-floor.zil:1710: non-constant initializer for property 'LDESC': CR
[error ZIL0501] first-floor.zil:1723: non-constant initializer for property 'LDESC': CR
[error ZIL0501] first-floor.zil:1735: non-constant initializer for property 'LDESC': CR
[error ZIL0501] outside.zil:101: non-constant initializer for property 'LDESC': CR
[error ZIL0501] outside.zil:131: non-constant initializer for property 'LDESC': CR
[error ZIL0501] outside.zil:410: non-constant initializer for property 'LDESC': CR
[error ZIL0501] outside.zil:1063: non-constant initializer for property 'LDESC': CR
[error ZIL0501] outside.zil:1188: non-constant initializer for property 'LDESC': CR
[error ZIL0501] outside.zil:1214: non-constant initializer for property 'EAST': CR

Try repacing all occurences of

(LDESC "message" CR)

with

(LDESC "message~”)

No build errors.

Tidy the main file. Remove extraneous statements.

No build errors.

It seems that the LDESCs ending in CR shouldn’t have an extra CR at all. Remove all such CRs.