Quote
Originally posted by blackhole:
**2727? Than sounds weird, and I cant remember it from any IM book. The maximum RANGE of resources is -65535 to 65535. Those below 128 are system reserved.
Therefore it makes no sense to have a 2727 limit....
**
Who said it has to make sense? Did the 8 MB RAM limit of earlier versions of the MacOS or the 128-font limit, or the 640k memory limit of MS-DOS make sense?
Anyway, my source for that number is a post by pipeline (a guy who usually knows what he is talking about) in December, the following is a copy of the relevant part of that post:
"I've been reading up on the Resource Manager to refresh my memory
about how it/they work, and I came across a very interesting
limitation; the Resource Manager in Mac OS Classic (non-Carbon) has a limit of 2727 resources per file.
That's not 2727 per resource type, or 2727 resource types total.
That's the number of resources in the file, full stop. That's all
she wrote.
That's probably why EVO was split into more files, I reckon. That's also why Nova is several files."
Pipeline did not give his source, but I guess if one wanted to look it up, it would probably be in Apple's tech notes somewhere, or perhhaps in some of the more detailed books.
Quote
(B
...Anyway, who'd want 2727 resources?...
(/B)
Anyone making a large plug-in. Have you actually counted the resources in a plug-in or in EV/EVO itself? Consider that each ship requires 14 resources; each player-purchasable (other than beams)weapon needs 11; each different spob takes at least 6; and every mission resquires from 4 to 8 resources - you can see how that 2727 limit can be reached rather quickly.
Quote
(B
Also many of these item limits were raised in MacOS 8.5 or 9, though the range remains, though that is more than you'll ever need.
(/B)
If pipeline's information is correct, the limit holds for all versions of the Mac OS before OS X.
------------------
Joe Burnette
"I find that humans can be divided into only two meaningful categories: Decent Humans and Sonsofbitches; both types appear to be evenly distributed
among all shapes, colors, sizes, and nationalities." -- Keith Laumer
(This message has been edited by Joe Burnette (edited 05-12-2000).)