Build Game
Closed this issue · 9 comments
AlexProudfoot commented
Build the game using the ZILF toolset. Eliminate compilation and startup errors where necessary.
AlexProudfoot commented
Ensure the main file has a release and a version. The names of included files should be in lower case for linux/macos compilations.
AlexProudfoot commented
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
AlexProudfoot commented
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>
AlexProudfoot commented
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
AlexProudfoot commented
Try repacing all occurences of
(LDESC "message" CR)
with
(LDESC "message~”)
AlexProudfoot commented
No build errors.
AlexProudfoot commented
Tidy the main file. Remove extraneous statements.
AlexProudfoot commented
No build errors.
AlexProudfoot commented
It seems that the LDESCs ending in CR shouldn’t have an extra CR at all. Remove all such CRs.