Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!gatech!bbn!bbn.com!levin From: levin@bbn.com (Joel B Levin) Newsgroups: comp.sys.mac.programmer Subject: Re: DeRez question Message-ID: <40271@bbn.COM> Date: 22 May 89 14:36:56 GMT References: <8905211950.AA01804@jade.berkeley.edu> Sender: news@bbn.COM Reply-To: levin@BBN.COM (Joel B Levin) Organization: BBN Communications Corporation Lines: 24 In article <8905211950.AA01804@jade.berkeley.edu> DFJOHN01@ULKYVX.BITNET (GMAIL_FLAG_PERSONAL_NAME) writes: |I am trying to use DeRez to decompile some resources, but keep getting a |generic "data..." format. I would like the same format as in the Types.r |located in the RIncludes folder but can't seem to get it to work. Try this: derez foo.rsrc Types.r > foo.r # where foo.rsrc has the resources # you are "derez-ing" The second through last input file names are taken for definition files. This requires the exported variable {RIncludes} (should be set up by your Startup or UserStartup. If it isn't right, give the entire pathname of Types.r Caveat / non-feature (I won't say bug): Before you run rez on the output file generated above, you must edit in the corresponding #include "Types.r" at the top of it. /JBL UUCP: {backbone}!bbn!levin POTS: (617) 873-3463 INTERNET: levin@bbn.com