Ambrosia Garden Archive
    • interest in a .rsrc parser for RB 3.0?


      I spent the weekend working on a RealBasic 3.0 module that allows one to correctly parse data from a .rsrc data fork style resource file. I still need to add some subroutines that will allow one to get data easier.

      This module is not like what is provided by LJUG; the LJUG work takes the .rsrc data fork, makes a new file and copies the data fork into the resource fork of the new file. Obviously this wouldn't work on a PC, so I had to some up with my module.

      While it is not a .rsrc editor, it certainly lays teh groundwork for one. If people are interested, I'll post the module where folks can download it after I get the few subroutines I want done (tonight or tomorrow).

      Note: I haven't tested it on Windows, but I see no reason why it shouldn't work.

      -STH

      ------------------
      Mac<-->PC pilot file Conversions: (url="http://"http://phair.csh.rit.edu/~seant/EV/PilotConvert/")http://phair.csh.rit...V/PilotConvert/(/url)
      "Create enigmas, not explanations." -Robert Smithson

    • I'm working on something similar for ResFrame2, but rather than trying to edit the rsrc data natively, I'm focussing more on converting it to a custom SQL-based cross-platform format, from which it can be edited, then converted back.

      ------------------
      David Arthur | (url="http://"http://davidarthur.evula.net/")davidarthur.evula.net(/url) | (url="http://"http://www.ev-nova.net/")EV-Nova.net(/url)
      Truth! Justice! Freedom! And A Hard-Boiled Egg!

    • Quote

      Originally posted by David Arthur:
      **I'm working on something similar for ResFrame2, but rather than trying to edit the rsrc data natively, I'm focussing more on converting it to a custom SQL-based cross-platform format, from which it can be edited, then converted back.

      **

      That might be best. I find the organization of rsrcs kind of confusing (I wouldn't have made them that way); maybe its because I have no formal CS training and am missing the beauty of how they are set up.

      I didn't have a choice in whether I wanted to play with rsrc files or not. I'm remaking my Pilot File Converter so it will run on Windows, which means it needs to be able to load rsrc data files from Mac pilot files.

      Good luck with your work on your stuff.

      -STH

      ------------------
      Mac<-->PC pilot file Conversions: (url="http://"http://phair.csh.rit.edu/~seant/EV/PilotConvert/")http://phair.csh.rit...V/PilotConvert/(/url)
      "Create enigmas, not explanations." -Robert Smithson