RMAP Support
Brought to you by:
bdesgraupes
In ResEdit, you could use an RMAP resource to specify that a type of resource should be edited with a different template (eg always edit resources of type 'xxxx' with the template editor for resoources of type 'yyyy'). It could also specify that this should occur only for specific resource IDs. It would be nice to see this feature in Rezilla.
Logged In: YES
user_id=357036
Originator: NO
Hi,
I was not aware of this feature in ResEdit. Currently Rezilla uses a built-in mapping stored in its 'RzTA' #0 resource: you could add types to this resource but obvioulsy this is not user-friendly and does not replace the RMAP mechanism. So I'll implement support for the RMAP resources in the next release (version 1.2).
Thanks for the suggestion,
Bernard
Logged In: NO
Another note about RMAP: it does just work for templates. It could also specify that an arbitrary resource be edited by, for example, the 'cicn' editor. If there is both a template and an editor for a type, the "Editor Only?" flag in the RMAP chooses between them.
Logged In: YES
user_id=357036
Originator: NO
Thanks for the extra info. I understand the template of these RMAP resources better now:
TNAM MapTo type
BOOL Just editor?
OCNT Exception count
LSTC Exceptions
DWRD Resource ID
TNAM Map to type
BOOL Just editor?
LSTE *****
I'm going to implement this in Rezilla. I think RMAP resources should be searched like TMPL resources: first in the currently edited file, then in the Application Support folders (let's say /Library/Application Support/Rezilla/Maps and ditto in the user's Library), then in Rezilla.