Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: RezMerger size limitation .r --> .rsrc




On Mar 21, 2006, at 10:26 AM, Olivier Tristan wrote:

Hi Guys,

I wouls like to know if there is some kind of size limitation concerning rsrc file generated thanks a .r file ?

I have a zip file included in my .r, so it generates a rsrc file with a zip resource.

using this in the .r file:

Read 'UVIr' (128, "resource") "resource.zip";

Until today, everything worked  fine.

Problem is since I've have added some stuff in the zip file, I got an eofErr from RezMerger tool.
If I remove some stuff from the zip file, it works fine. :(


However no error from Rez itself.

My zip file is now about 28 MB.

Any ideas ?

28 megabytes is astonishingly large for a Resource Manager resource. The Resource file format was determined in 1982, when we thought that allocating a 24-bit offset from the beginning of the resource file to the start of each resource was generous, possibly wasteful. ResMerger is failing because you can't have any more resources past 16Mb due to the 24-bit offset.


Why on earth are you putting a zipped resource into a resource file, and not just copying it directly into the Resources directory of the bundle?

Chris
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden
References: 
 >RezMerger size limitation .r --> .rsrc (From: Olivier Tristan <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.