Re: RezMerger size limitation .r --> .rsrc
Re: RezMerger size limitation .r --> .rsrc
- Subject: Re: RezMerger size limitation .r --> .rsrc
- From: Chris Espinosa <email@hidden>
- Date: Tue, 21 Mar 2006 13:23:56 -0800
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:
This email sent to email@hidden