Coder Social home page Coder Social logo

rsrce's Introduction

How to use rsrce


1. Introduction

This is rsrce, a Macintosh resource fork editor for Unix-like operating
systems. It has been originally created to change the configuration of the
miBoot Linux bootloader for OldWorld PowerMac computers.

Since I do not use MacOS, I haven't tested any other usage of this program.
You should therefore be very careful when using it, as it could very well
produce unusable output. Consider this as unstable software.

Another consequence of this is wildly missing functionnality. I'm not going to
work on it, since I couldn't test anything in a real situation. Patches and/or
bug reports would be very welcome.


2. Overview

Rsrce acts on raw resource forks stored in Unix files, such as .rsrc files
produced by the hexbin command (from the macutil package.) You read such a
thing into memory using the "read" command, then act on the resources it
contains, then write it back.

Resources are referred to by specifing their type and id, separated by a
colon. I mean, something like "STR#:128". If the type field contains less than
4 letters, spaces are added to complete it.

Rsrce doesn't allow you to edit the resource data directly. It only knows to
import/export them from/to files, performing conversion for the few resource
types it knows. The "edit" command exports some resource's data to a temporary
file, invokes and external editor, then import the file back.


3. Commands

read <file>
    reads the resources from <file>
write <file>
    write the resources to <file>
ls
    lists resources (type, id, attributes, data lenght, name)
hexdump <resource>
    shows and hexdump of <resource>'s data
import|export <resource> <file>
    import/export <resource>'s data from/to <file>
edit <resource>
    invoke an external editor to change <resource>'s data
help
    lists available commands
exit
    exits (without saving, use write before exit if you wish to save your
    changes).


4. Conclusion

If you actually use this program, please let me know how it's going. If you
hack it, please send me your patches. Be careful not to hack it too much,
however, you'd take the risk of becoming its maintainer.



                       Jeremie Koenig <[email protected]>  2004-03-04

rsrce's People

Contributors

arbruijn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.