Myhrginoc Honorary Warlord
   
Posts: 1326 From: Percussion U Registered: Dec 2001 |
posted 19 February 2002 19:37
When (if!) we figure out how to raise the limit on monstats.txt, we'll probably be in good shape to bump limits higher than 4096 (up to a point, see below). What holds us back is knowing how the game uses the data in execution. I would imagine all the text files get loaded into memory and form two-level lookup tables. So the game probably allocates space based on table function, since we know some are hard-coded to what you get from Blizzard (e.g. monstats) and some allow up to 4096 records. Some of the columns probably don't get loaded, they're descriptive. So you could cram 1000 lines by 650 bytes/line into one data segment of memory, and that would be enough for most txt files. There may be a lower limit than 4096 on setitems.txt, if that model holds true.

|