I’m developing a game using the Android beta version of Inform 7. It only seems to allow z8 as the output format, but I’ve already successfully developed a game - Iceweb - using it.
The current game is close to completion, but I seem to have hit a size limitation. The compile finishes with the report below, and I wonder whether I could squeeze a little more capacity out of the z8 format. Obviously, I could actually chop some of the game out, but I’m hoping there’s some re-balancing of resources I can do.
The 13518-word source text has successfully been translated into an
intermediate description which can be run through Inform 6 to complete
compilation. There were 36 rooms and 114 things.
++ 100% (Finishing work)
++ Ended: Translation succeeded: 36 rooms, 114 things
Inform 7 has finished.
Inform 6.33N for Linux (20th August 2014)
###########################################
File “auto.inf”; Line 59920 # Error: An array must have between 1 and 32767 entries
Array Flex_Heap → MEMORY_HEAP_SIZE + 16;
#############################################################
In: 1 source code files 76285 syntactic lines
68088 textual lines 2527650 characters (ISO 8859-1 Latin1)
Allocated:
10078 symbols (maximum 50000) 23440609 bytes of memory
Out: Version 8 “Extended” story file 1.171016 (496K long):
27 classes (maximum 200) 201 objects (maximum 1499)
216 global vars (maximum 233) 29076 variable/array space (maximum 1500000)
106 verbs (maximum 255) 566 dictionary entries (maximum 5000)
193 grammar lines (version 2) 258 grammar tokens (unlimited)
115 actions (maximum 200) 45 attributes (maximum 48)
38 common props (maximum 62) 47 individual props (unlimited)
166033 characters used in text 140890 bytes compressed (rate 0.848)
0 abbreviations (maximum 64) 2991 routines (unlimited)
75078 instructions of Z-code 45274 sequence points
60624 bytes readable memory used (maximum 65536)
507768 bytes used in Z-machine 16520 bytes free in Z-machine
Compiled with 1 error and 1882 suppressed warnings (no output)
Completed in 16 seconds
Compiler finished with code 1.