![]() |
[top] |
ResCafé is a Swing-based Java utility for reading and
extracting resources such as ICONs and MENUs from the Resource Forks
of Macintosh files. It is somewhat similar to ResEdit on MacOS except
that it is not an editor; it operates on files in a read-only
fashion.
ResCafé was created with one main idea in mind - extensibility. There are so many different types of resources and not everyone is interested in the same ones (though there are some that are probably more in demand, such as Icons). I didn't want to write a parser, what I call a Handler, for all of them, nor did I want to exclude potential new ones or force a recompile to add them. So I've tried to implement a kind of Plugin Architecture which, while awkward in places, seems to work well overall. It even auto-detects new plugins (with some caveats)! Cool! However, if someone out there knows a lot about plugins in Java apps or the location of a tutorial, I'd love to hear about it. Along those lines of of extensibility, I wrote ResPresso which is a text-only, command-line program that reuses the ResourceManager package and the plugins as well. I hope someone will write some cool plugins - mine are kinda boring. I also took this as an opportunity to explore:
|
|
![]() |
[top] |
|
![]() |
[top] |
ResCafé is distributed under the QPL by
Troll.
See it
here.
|
![]() |
[top] |
![]()
This screenshot is in PNG format and some browsers can't display
it properly (or at all), so if you can't see it or if it
doesn't look quite right, try the
JPEG version.
|
![]() |
[top] |
I think that's it...
|
![]() |
[top] |
This app was written and tested on an Intel/x86 Linux box with some
additional testing on a SPARC Solaris box. If you're on another
platform... good luck. (And if you're on a Mac, just use ResEdit).
BTW I did manage to get it to run on a friends 200MHz 32MB Windoze
machine after a lot of hassle and it ran OK... kinda jerky though.
If anyone knows how to write a nice BAT script to run ResCafé I'd love to see it. |
![]() |
[top] |
MAIN:
Also notice you can dump plugins right in the
ResCafe.sh
is a shell script. If you can't use shell scripts, you'll have to
come up with something else, like a
.BAT
or whatever your platform uses.
|
![]() |
[top] |
|
![]() |
[top] |
OK Penguinheads - this one is for you. You don't actually need a Mac
to use all the cool Mac format icons (and other stuff) out there on
the 'Net. I have figured out a procedure for doing everything right
on the good ole Linux box:
|
![]() |
[top] | ||||||||||||||||||||||||||||||||||||
|
![]() |
[top] |
|