resource_dasm icon indicating copy to clipboard operation
resource_dasm copied to clipboard

Easier way to convert TEXT/styl to .rtf?

Open MikeRich88 opened this issue 1 year ago • 2 comments

The data format of SilverCreator is a proprietary non-resource fork format, but in v1.5.1 and earlier it stored styled text in that file using "styl" data. However it seems the only way to convert a TEXT/styl pair with resource_dasm is to put it into a resource fork first, but that's super awkward. A SilverCreator file may have 100s of old TEXT/styl parings in it.

Maybe if --decode-single-resource could be specified twice, something like this (where the output name would also have to be specified, due to the ambiguity of two input files)

resource_dasm --decode-single-resource TEXT text.data --decode-single-resource styl styl.data OutputFile.rtf

Or this syntax would be a bit cleaner. If no output file is specified then stdout is assumed.

resource_dasm --decode-text-styl-pair text.data styl.data

MikeRich88 avatar Nov 14 '22 00:11 MikeRich88