Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
Okay, I'm not sure how many people know this; I'm sure I read it in some EV related document. Oh well. Here's the solution.
NOTE: This assumes you have no serious errors in your plug, but still get the error.
You're probably using a 68k mac. 68k processors don't allow as many resources in a file as PMs do.
There are two ways of solving this that i know of, other than buying a PM.
Start your comp with extensions disabled. I don't know how this works, but it does. I guess if the extensions are disabled then the computer is too stupid to realise what's going on.
Divide your plug-in into several plugs. I made mine into graphics and data plugs, and it works fine.
If none of this helps you, recheck the plug-in with PlugChecker, and if it STILL doesn't help, you should probably just trash the plug.
------------------ You say I'm an @$$hole? I say get in line.
AOL/AIM: EVmaridian
Website: (url="http://"http://www.angelfire.com/scifi/utopianvenality/index.html")www.angelfire.com/scifi/utopianvenality/index.html(/url)
I think that the maximum # of resources in any file is 32767. But I'm not sure.
-Machiavelli
------------------
Some good tips there. I only knew the extensions one before, could be helpful in the future.
PS - I deleted AndrewM's picky little comment and your reply, for the simple reason that, well, they were indeed entirely irrelevant
------------------ Mazca
Moderator, EV Developer's Corner. Roses are red Violets are blue. I'm schizophrenic And so am I.
website: [www.jpw.op.nu
](http://www.jpw.op.nu "External link")
Quote
Originally posted by Maridian: **NOTE: This assumes you have no serious errors in your plug, but still get the error.
If none of this helps you, recheck the plug-in with PlugChecker, and if it STILL doesn't help, you should probably just trash the plug.**
I have Power Mac, but still 'got the error.' If you're a new developer, the first thing you want to do is to check every single spďn resource. This can cause the out of mem error also.
------------------ Zacha K (url="http://"http://users.aol.com/zachakplug/sigdir/index.html")The Zacha K Space(/url) (url="http://"http://users.aol.com/zachakplug/sigdir/azach.html")Find out more about the Zachit(/url) (url="http://"mailto:ZachaKPlug@aol.com")mailto:ZachaKPlug@aol.com(/url)ZachaKPlug@aol.com
Originally posted by Machiavelli: **I think that the maximum # of resources in any file is 32767. But I'm not sure.
-Machiavelli **
The correct number is 2727. That is the maximum total number of resourcres in a file.
------------------ 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
Originally posted by Maridian: **Okay, I'm not sure how many people know this; I'm sure I read it in some EV related document. Oh well. Here's the solution.
If none of this helps you, recheck the plug-in with PlugChecker, and if it STILL doesn't help, you should probably just trash the plug. **
How sure are you about all of that?
There is a limit on the number of resources in a file - 2727 - but AFAIK that is a limitation of the OS, nothing to do with processor type.
The most obvious cause of an "out of memory" message is insufficient memory. Allocating more memory is the cure for that one. Note that as you add more resources, especially graphics and sounds, to a plug, you will have to allocate more memory to EV. (Starting up with extensions disabled frees up some memory, as well as eliminating potential extension conflicts - maybe that's why it works.)
The other primary cause of "out of memory" messages is an incorrect 'spďn' resource, usually the size of the sprites or number of frames is wrong. As I recall, Plug Checker will not alert you to this one, you have to look at each 'spďn' to find the guilty party(s).
Originally posted by Joe Burnette: **How sure are you about all of that?
The other primary cause of "out of memory" messages is an incorrect 'spďn' resource, usually the size of the sprites or number of frames is wrong. As I recall, Plug Checker will not alert you to this one, you have to look at each 'spďn' to find the guilty party(s). **
I'm very sure about all of it.
Well, as far as I can tell through experience it's a processor problem. But the OS may have a similar ramification as well, I don't know. I'm stuck using 7.6.1, as much as I'd like 8.5.1. Oh well.
And about the extensions disabled, EV supposedly doesn't care about system extensions, which was actually what i thought it might be. But it isn't. I've tried using my exact same OS and extensions on a PM and it works fine.
So yeah, I'm pretty sure.
BTW, thanks for going into more detail about the spďn problems.
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. Anyway, who'd want 2727 resources?
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.
------------------ --blackhole
(url="http://"http://www.damnsw.net/~triplet/links/")EV/O Links Directory(/url)
(url="http://"mailto:blackhole@mac.com")mailto:blackhole@mac.com(/url)blackhole@mac.com
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.
(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.
(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.
(This message has been edited by Joe Burnette (edited 05-12-2000).)