A resource editor for the Macintosh.
Go to file
2013-05-23 13:42:36 -03:00
Carbon Fixes for many (though not all) endian problems when running native on Intel. 2010-08-30 23:38:46 +00:00
Cocoa add hexfiend as a submodule, other minor tweaks 2013-05-23 11:28:28 -04:00
External Removal of the ObjC++ files and merging their differences into the ObjC versions. 2010-08-31 10:01:42 +00:00
Hex Editor Fixes for many (though not all) endian problems when running native on Intel. 2010-08-30 23:38:46 +00:00
HexFiend@a83cad867e update hexfiend subproject 2013-05-23 12:40:31 -04:00
ICONEditor Add missing files for various editors. 2009-11-09 10:20:26 +00:00
NovaTools Fast enumeration & fix self-checking in initForType:. 2012-07-06 09:48:44 -05:00
NuTemplateEditor Allow the rebase of foreign repositories onto master. 2014-02-20 00:53:03 +00:00
Pattern Editor Add support for PAT# resources. 2012-07-08 12:43:57 -05:00
PICT Editor Add missing folder. 2012-07-06 00:40:37 -05:00
PNG Editor Add PNG editor; lots of cleanup 2012-07-04 13:11:18 -05:00
Prefix Files Plugin registry, unique ID determining in "create" sheet, export of resources etc. 2003-08-02 00:23:50 +02:00
ResKnife.pbproj Add RKSupportResourceRegistry that opens a couple of files in 2003-08-20 16:53:20 +02:00
ResKnife.xcodeproj add hexfiend as a submodule, other minor tweaks 2013-05-23 11:28:28 -04:00
Template Editor Update for Uli 2003-04-03 15:38:42 +00:00
Uli's Template Editor re-creating some files the Xcode project said was missing 2012-05-06 13:54:13 -04:00
.gitattributes Modernize with XCode 4.1 2011-09-02 12:45:08 -07:00
.gitignore pull from Wevah 2013-05-23 10:24:45 -04:00
.gitmodules add hexfiend as a submodule, other minor tweaks 2013-05-23 11:28:28 -04:00
Bug List.text
Doxyfile doxygen (output is in build folder which is gitignored) 2012-05-08 21:47:10 -04:00
HexEditor.graffle Update files changed since 2008. 2009-11-08 14:07:22 +00:00
Info-Hex_Editor_Carbon__Upgraded_.plist Convert project to Xcode 3.1 and upgrade all targets to native. 2008-07-30 21:26:17 +00:00
Info-PICT_Editor__Upgraded_.plist Convert project to Xcode 3.1 and upgrade all targets to native. 2008-07-30 21:26:17 +00:00
Info-ResKnife_Carbon__Upgraded_.plist Convert project to Xcode 3.1 and upgrade all targets to native. 2008-07-30 21:26:17 +00:00
Info-Template_Editor_Carbon__Upgraded_.plist Convert project to Xcode 3.1 and upgrade all targets to native. 2008-07-30 21:26:17 +00:00
Info-Uli_s_Template_Editor__Upgraded_.plist Convert project to Xcode 3.1 and upgrade all targets to native. 2008-07-30 21:26:17 +00:00
README.md Update README.md 2013-05-23 13:42:36 -03:00
README.rtf Minor cleanup of things 2012-05-06 12:28:48 -04:00
README.txt Minor cleanup of things 2012-05-06 12:28:48 -04:00
ResKnife Cocoa.graffle Update for Uli 2003-04-03 15:38:42 +00:00
ResKnife.mcp Update for Uli 2003-04-03 15:38:42 +00:00
ResKnife.mcp.xml Update files changed since 2008. 2009-11-08 14:07:22 +00:00
To Dos.rtf Update files changed since 2008. 2009-11-08 14:07:22 +00:00
TODO.txt Fixes for many (though not all) endian problems when running native on Intel. 2010-08-30 23:38:46 +00:00
UKTemplateFieldProtocol.h Un-gitignore the Uli's Template Editor folder 2012-05-06 13:14:09 -04:00

								* * * * * * * * * * * * 

								   RESKNIFE  READ-ME

								* * * * * * * * * * * * 
											

			Last updated by someone official: 9 November 2003 (i.e. a really long time ago)

WHAT IS IT?

This is a development snapshot of ResKnife, a resource editor for the Macintosh. This is pre-release software, and as such should only be used with copies of files, or on files you don't mind being destroyed :-)

TRYING OUT RESKNIFE

Prebuilt binaries of ResKnife are available from http://resknife.sourceforge.net/ for MacOS 7.1 through to 10.3 Please download them and try it out. If you like what you see, please tell us. If you don't like what you see, please tell us too! ResKnife is an open-source editor and contributions from any and all are welcomed.

BUILDING RESKNIFE

The source code for ResKnife is also available from http://resknife.sourceforge.net/ as a released source package corresponding to the latest officially released binary, or as a nightly tarball. If you are familiar with CVS you may also download the code via anonymous cvs access from :pserver:anonymous@cvs.resknife.sourceforge.net/cvsroot/resknife as project 'ResKnife'. ResKnife can be built as either a Cocoa app, Carbon app or Classic app, the Carbon version available in either MachO or PEF formats, using your choice of either CodeWarrior or Xcode/Project Builder (gcc 2.95, 3.1 or 3.3) as IDE/compiler. The Classic and Carbon versions are build from the same codebase, with the main differences being TARGET_API_MAC_CARBON being set on the latter, and linking against CarbonLib instead of InterfaceLib et al. When building the Carbon version as a Package, you can choose to use nib files instead of resources to define things like menus and dialogue boxes. The Carbon/Classic version is no longer maintained by the original developer, though you are free to work on it if you wish. The Cocoa version has a completely different codebase, and is the current focus of development. It is considered the most bug-free and most feature-complete ('most' being about 20% as compared with 15% for Carbon).

This branch of ResKnife ("pulled-from-Wevah" on GitHub) requires the HexFiend framework as a dependency. It is a git submodule in this branch.

BUILDING A PLUGIN

If you want to create a Cocoa plugin for ResKnife, use the "ICONEditor" project as the basis until the SDK is available. It's a simple, standalone project. You can install it in three places:

  • In ResKnife itself by selecting it, choosing "Information" and there clicking the "Add" button in the "plugins" section

  • In ~/Library/Application Support/ResKnife/Plugins/ for one user account.

  • In /Library/Application Support/ResKnife/Plugins/ for the entire machine.

If you want to create a plugin for the Carbon version of ResKnife, take a look at the Hex Editor try to derive something from that. Editors for the Classic version

ROAD MAP

Currently Uli and Nicholas have decided to delegate different parts of the project to each other, with Nick handling the host application and hex editor, and Uli handling the template editor. Nicholas is also working on an editor for resources associated with the game Escape Velocity Nova by Ambrosia Software. Other editors will be written as time permits, or perhaps by third parties such as yourself! If you have any ideas for editors, take a look at the SDK (available from the web site) which contains an empty 'shell' editor. Sample fully working editors are of course available as part of the project themselves!

HISTORY

ResKnife has had a protracted and erratic history. It started in 1997 when Nicholas Shanks decided ResEdit needed a successor and because he wanted to play around with the new resources available with Mac OS 8.0, yet didn't have the money to buy Resourcerer. After three months of fast R&D, version 0.1d9 was quite stable and had many features, including a working hex editor. Then in a careless act of stupidity, Nicholas decided to Carbonise the program without backing up the 0.1d9 source. It failed, and much that once was had been lost. Throwing away that mess and starting again, Nicholas tried to re-write ResKnife as a Carbon app from the ground up. Thrice. Versions 0.2 and 0.3 were aborted attempts to do this, version 0.4 was more successful, and now forms the basis for the Carbon variant of ResKnife. Soon after, the wonders of Cocoa were discovered and required learning, and Nicholas turned to his pet project ResKnife to help him learn. The Cocoa re-write became version 0.5 and in conjunction with version 0.4 which had had a few touch-ups added to it since, was committed to CVS almost two years after the last commit had occurred. Two more years passed with not much change to ResKnife, before Uli Kusterer, collaborator for earlier versions of ResKnife and himself writing a resource editor with special consideration for users of the MacZoop framework, decided to write a template editor for the project. Throughout the development of the project contributions small and large have trickled in, and all who contributed are recognized below.

AUTHORS

ResKnife was written by Nicholas Shanks with additional changes and some editors supplied by M. Uli Kusterer

Other contributors include (in alphabetical order): Thomas Castiglione, Philippe Devallois, Mike Margolis, Lane Roathe, and Jeffrey Seibert.

There is a web site for ResKnife at http://resknife.sourceforge.net/

COMMENTS FOR THOSE WHO WISH TO CONTRIBUTE

Please try to conform to the existing formatting rules followed, including placement of braces and use of whitespace, and tabs rather than space characters for indenting. Tab width is four.

Notes on commenting/documenting for the ResKnife project:

ResKnife methods, functions, headers, classes, ivars and practically anything else is commented using the format specified by HeaderDoc (a C-based equivalent to JavaDoc), although with ResKnife-specific modifications (NB: although I've yet to modify HeaderDoc to read these new parameters, they should still be used for the time being). The general format is to use the standard C block-commenting mechanism, with the addition of an exclamation mark immediately after the open comment marker. Following this are one or more lines beginning with an at sign, a keyword, arguments if any, and finally a string value. For source code consistency, I (Nicholas) am suggesting the following when documenting an object.

  1. All HeaderDoc comments immediately precede the object to which they pertain.

  2. HeaderDoc comments documenting a method or function must follow the following order (for consistency & readability), where an ellipsis indicates the line above can be repeated multiple times:

    @method or @function

    @abstract

    @author

    @created

    @updated [significant changes that other developers should be aware of; ordered reverse chronological, i.e. most recent at the top]

    ...

    @pending [higher priority TODO items should be above lower priority ones]

    ...

    @description

    @param [listed in order taken by method/function]

    ...

  3. The pertinent keywords or their equivalents in the above item should retain the specified order wherever reasonably applicable (e.g. for @class and @protocol comments)

  4. The value for the @created keyword should take the following form: YYYY-MM-DD

  5. The value for the @updated keyword should take the following form: YYYY-MM-DD Author: Description where "Author" is your initials or Sourceforge user name (or Github user name).

Due to really poor maintenance on my part, very few methods have @updated comments. Sorry :-(