Gearslutz.com
All Advertisers

Go Back   Gearslutz.com > The Forums > Music computers

Similar Threads
Thread Thread Starter Forum Replies Last Post
Looking for a Drum Programmer rockrev So much gear, so little time! 1 21st March 2008 04:28 AM
Looking for a programmer for an album Stoneroses6300 Electronic Music Instruments & Electronic Music Production 1 11th December 2006 05:28 PM
drum / synth programmer wanted perls Music computers 1 13th October 2005 02:40 PM
Need Macintosh web programmer advice Ethan Winer Geekslutz forum 4 6th August 2005 06:27 PM
Who's a Programmer Here? LumenStudio Music computers 18 28th August 2004 08:32 AM

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 23rd June 2008, 01:56 AM   #1
C Heat
Lives for gear
 
C Heat's Avatar
 
Join Date: Nov 2005
Location: BrisVegas
Posts: 1,627
Arrow Mac Programmer help required - Can pay if necessary.

I'm trying to figure out how a Plug-in resource is 'packaged'.

I've Googled for hours and can't seem to find what I'm looking for. It's probably the 'terminology' I'm using to find what I'm looking for

I've worked out that I can Unstuff the 'package' to show it's contents, but the source file has it's own file name extention. It's not .zip or .sea etc. And it's not a Package because it does not allow 'Show Package Contents' option...

It appears that when this file is 'accessed' by the Plugin it automatically self extracts to allow the app to view the included image Resource and XML file.

If anyone can help me work out how to 'package' a similar file could you please PM me?

I'd really appreciate the assistance.

I'm (reasonably) prepared to pay for your time and expertise.

Thank you.
__________________
"One thing I would keep in mind is that it is very important to be creatively happy with whatever you do and strive for great sound, BUT snare drums do not make HIT songs, they are just part of the process."
stereomixer
C Heat is offline   Reply With Quote
Old 23rd June 2008, 04:29 PM   #2
C Heat
Lives for gear
 
C Heat's Avatar
 
Join Date: Nov 2005
Location: BrisVegas
Posts: 1,627
Bump
__________________
"One thing I would keep in mind is that it is very important to be creatively happy with whatever you do and strive for great sound, BUT snare drums do not make HIT songs, they are just part of the process."
stereomixer
C Heat is offline   Reply With Quote
Old 23rd June 2008, 07:15 PM   #3
colinmiller
Lives for gear
 
Join Date: Apr 2007
Location: Santa Cruz
Posts: 1,244
Do you have the Apple Developer kit? It has programs for packaging up these things.

Generally applications are just folders with the executable and resource files in it. For applications its .app and for components its .component. But again the developer kit has all the tools and instructions for this stuff.

OH and they even have step by step instructions for writing plugins while having you make an example plugin in the process.
__________________
Teaboy Audio
Audio Recall Software
http://teaboyaudio.com
colinmiller is online now   Reply With Quote
Old 23rd June 2008, 11:17 PM   #4
C Heat
Lives for gear
 
C Heat's Avatar
 
Join Date: Nov 2005
Location: BrisVegas
Posts: 1,627
Thanks Colin.

I am aware of the Apple resources available. I'm just a little stumped however — the file extention is not .app .scrpt .sea .pkg etc. etc.

It's proprietary in looks and name...



I'm sure it's something very simple — once I know what it is and how it's created.

It just looks like a whole 'secret secret' type of crowd. Maybe I need a special password to get 'in'.
__________________
"One thing I would keep in mind is that it is very important to be creatively happy with whatever you do and strive for great sound, BUT snare drums do not make HIT songs, they are just part of the process."
stereomixer
C Heat is offline   Reply With Quote
Old 24th June 2008, 02:05 AM   #5
colinmiller
Lives for gear
 
Join Date: Apr 2007
Location: Santa Cruz
Posts: 1,244
Are you perhaps referring to the rsrc reserource file in the package that contains all the images and stuff? It used to be Resedit, but I don't think there is an OS X version. I think there is a shareware app that can de-compile them, but I don't remember the name.
__________________
Teaboy Audio
Audio Recall Software
http://teaboyaudio.com
colinmiller is online now   Reply With Quote
Old 24th June 2008, 02:12 AM   #6
C Heat
Lives for gear
 
C Heat's Avatar
 
Join Date: Nov 2005
Location: BrisVegas
Posts: 1,627
It's funny, it's not actually a package.

It's one file. I can Unstuff it, and then there is one folder containing images and an XML file only.

I'll have a search for de-compile :)

Thanks Colin. I appreciate you efforts.
__________________
"One thing I would keep in mind is that it is very important to be creatively happy with whatever you do and strive for great sound, BUT snare drums do not make HIT songs, they are just part of the process."
stereomixer
C Heat is offline   Reply With Quote
Old 24th June 2008, 05:31 AM   #7
docbop
Gear nut
 
docbop's Avatar
 
Join Date: Oct 2007
Location: Los Angeles
Posts: 75
Quote:
Originally Posted by C Heat View Post
Thanks Colin.

I am aware of the Apple resources available. I'm just a little stumped however — the file extention is not .app .scrpt .sea .pkg etc. etc.

It's proprietary in looks and name...



I'm sure it's something very simple — once I know what it is and how it's created.

It just looks like a whole 'secret secret' type of crowd. Maybe I need a special password to get 'in'.
Remember OS X is Unix under the hood. In Unix everything is a file and it will attempt to execute any file, it doesn't care about extensions.
__________________
Steve B.
The Dojo of Cool
--------------------------------------------------------------------------
You must be the change you wish to see in the world. - Gandhi
docbop is offline   Reply With Quote
Old 24th June 2008, 06:12 AM   #8
C Heat
Lives for gear
 
C Heat's Avatar
 
Join Date: Nov 2005
Location: BrisVegas
Posts: 1,627
Quote:
Originally Posted by docbop View Post
Remember OS X is Unix under the hood. In Unix everything is a file and it will attempt to execute any file, it doesn't care about extensions.
Ok wow. That's some good info there. Thanks docbop.

So now I can name the file anything. Cool. I renamed the folder...

But.

NOW, the problem remains that I need to make a Folder 'one file'. So when you click on it it doesn't show all contents, so the contents are invisisble.

I think I may need to compile it somehow.
__________________
"One thing I would keep in mind is that it is very important to be creatively happy with whatever you do and strive for great sound, BUT snare drums do not make HIT songs, they are just part of the process."
stereomixer
C Heat is offline   Reply With Quote
Old 24th June 2008, 08:25 AM   #9
colinmiller
Lives for gear
 
Join Date: Apr 2007
Location: Santa Cruz
Posts: 1,244
the way it works is inside the package is the MacOS section which holds the actual plugin file. This can't be opened, it's compiled binary code. Then there is the resource folder which holds the RSRC files which hold things like images and data used by the plugin. This file you may be able to decompile with an app like you used to with Resedit in OS 9. Its basically the resource fork equiv in OS X.
__________________
Teaboy Audio
Audio Recall Software
http://teaboyaudio.com
colinmiller is online now   Reply With Quote
Old 24th June 2008, 09:07 PM   #10
Fredrik
Lives for gear
 
Fredrik's Avatar
 
Join Date: Jul 2005
Posts: 1,315
AFAIK there is no need for res edit in os X, since you can see the contents of a executable pkg by right clicking. The resource file (graphics and sounds etc) can be viewed directly in the pkg but the source code have already been compiled so it will be a binary file. I think a decompiler is not going to decompile back to the original form 100%, somthings will get lost AFAIK.


BTW I´m not a programmer.
Fredrik is online now   Reply With Quote
Old 24th June 2008, 11:04 PM   #11
C Heat
Lives for gear
 
C Heat's Avatar
 
Join Date: Nov 2005
Location: BrisVegas
Posts: 1,627
FWIW I think I'll just place a job listing online somewhere in the Mac developer community and get this sorted.

I'm sure it's literally a 1hr job.

Just gotta know the 'what' and 'how's'...
__________________
"One thing I would keep in mind is that it is very important to be creatively happy with whatever you do and strive for great sound, BUT snare drums do not make HIT songs, they are just part of the process."
stereomixer
C Heat is offline   Reply With Quote
Old 25th June 2008, 12:12 AM   #12
Fredrik
Lives for gear
 
Fredrik's Avatar
 
Join Date: Jul 2005
Posts: 1,315
Isn´t there a template for plugins in Xcode? I´d guess that you would get a working plugin file when you build it in Xcode. If you build a cocoa app in Xcode you get a executable .app file atleast.
Fredrik is online now   Reply With Quote
Old 25th June 2008, 01:21 AM   #13
colinmiller
Lives for gear
 
Join Date: Apr 2007
Location: Santa Cruz
Posts: 1,244
Quote:
Originally Posted by Fredrik View Post
Isn´t there a template for plugins in Xcode? I´d guess that you would get a working plugin file when you build it in Xcode. If you build a cocoa app in Xcode you get a executable .app file atleast.
Yes it does. And it's very easy. I have even made plugins using it. Xcode has all the package management tools built in. But to backwards engineer it, de-compiling would be needed. The actual plugin is a binary file and doesn't need an extension, and the resources are compiled into a resource file.

For a simple AU plugin though you don't need any resources and thus no need for a package since it's jsut using aqua components for the interface. In that case I think the plugin is jsut compiled as pluginname.component. And that also means you won't have any kind of icon for the plugin, just the generic one since the icon would be stored in the package.
__________________
Teaboy Audio
Audio Recall Software
http://teaboyaudio.com
colinmiller is online now   Reply With Quote
Old 25th June 2008, 01:26 AM   #14
Fredrik
Lives for gear
 
Fredrik's Avatar
 
Join Date: Jul 2005
Posts: 1,315
Quote:
Originally Posted by colinmiller View Post
Yes it does. And it's very easy. I have even made plugins using it. Xcode has all the package management tools built in. But to backwards engineer it, de-compiling would be needed. The actual plugin is a binary file and doesn't need an extension, and the resources are compiled into a resource file.

For a simple AU plugin though you don't need any resources and thus no need for a package since it's jsut using aqua components for the interface. In that case I think the plugin is jsut compiled as pluginname.component. And that also means you won't have any kind of icon for the plugin, just the generic one since the icon would be stored in the package.
Ok, I guess I was confused by C Heat´s question. I thought he wanted to know how to get everything packaged into one file.
Fredrik is online now   Reply With Quote
Old 25th June 2008, 01:57 AM   #15
ElMosca
Gear nut
 
ElMosca's Avatar
 
Join Date: Sep 2006
Location: Sonoma, California, USA
Posts: 135
Send a message via AIM to ElMosca
Quote:
Originally Posted by C Heat View Post
FWIW I think I'll just place a job listing online somewhere in the Mac developer community and get this sorted.

I'm sure it's literally a 1hr job.
This is the equivalent of people calling your studio wanting to "book 10 minutes because their song is six minutes long"....there are entire threads in gearslutz.com decrying this kind of behavior.

I wish you good luck finding help, but I must advise you that what you're proposing is probably not very appealing to the Mac developer community (i.e. a one-hour engagement).

Try to hook up with a local expert (not necessarily a programmer) who can show you insides the Mac OS X. Read a bunch of books on Mac OS X internals and Unix command line tools. You'll be glad you did.

Best,
++aldo
ElMosca is online now   Reply With Quote
Old 25th June 2008, 03:48 AM   #16
C Heat
Lives for gear
 
C Heat's Avatar
 
Join Date: Nov 2005
Location: BrisVegas
Posts: 1,627
Quote:
Originally Posted by ElMosca View Post
This is the equivalent of people calling your studio wanting to "book 10 minutes because their song is six minutes long"....there are entire threads in gearslutz.com decrying this kind of behavior.

I wish you good luck finding help, but I must advise you that what you're proposing is probably not very appealing to the Mac developer community (i.e. a one-hour engagement).

Try to hook up with a local expert (not necessarily a programmer) who can show you insides the Mac OS X. Read a bunch of books on Mac OS X internals and Unix command line tools. You'll be glad you did.

Best,
++aldo
I'd be happy to pay for 4 hours if it was a one hour job.

If it was a five minute job, I'd be happy to pay 4 hours.

Whatever.

I am researching as much as I can and will endeavor to do so.

Thanks.
__________________
"One thing I would keep in mind is that it is very important to be creatively happy with whatever you do and strive for great sound, BUT snare drums do not make HIT songs, they are just part of the process."
stereomixer
C Heat is offline   Reply With Quote
Old 25th June 2008, 03:50 AM   #17
C Heat
Lives for gear
 
C Heat's Avatar
 
Join Date: Nov 2005
Location: BrisVegas
Posts: 1,627
Quote:
Originally Posted by colinmiller View Post
For a simple AU plugin though you don't need any resources and thus no need for a package since it's jsut using aqua components for the interface. In that case I think the plugin is jsut compiled as pluginname.component. And that also means you won't have any kind of icon for the plugin, just the generic one since the icon would be stored in the package.
Very close Colin

1. It's not a package.

2. It has no icon.

So in order to create a 'pluginname.component' I'll need Xcode?

Thanks again
__________________
"One thing I would keep in mind is that it is very important to be creatively happy with whatever you do and strive for great sound, BUT snare drums do not make HIT songs, they are just part of the process."
stereomixer
C Heat is offline   Reply With Quote
Old 25th June 2008, 04:21 AM   #18
Fredrik
Lives for gear
 
Fredrik's Avatar
 
Join Date: Jul 2005
Posts: 1,315
Quote:
Originally Posted by C Heat View Post
Very close Colin

1. It's not a package.

2. It has no icon.

So in order to create a 'pluginname.component' I'll need Xcode?

Thanks again
Xcode is included on the os X install disc.
Fredrik is online now   Reply With Quote
Old 25th June 2008, 04:28 AM   #19
C Heat
Lives for gear
 
C Heat's Avatar
 
Join Date: Nov 2005
Location: BrisVegas
Posts: 1,627
Quote:
Originally Posted by Fredrik View Post
Xcode is included on the os X install disc.
Thanks Fredrik.
__________________
"One thing I would keep in mind is that it is very important to be creatively happy with whatever you do and strive for great sound, BUT snare drums do not make HIT songs, they are just part of the process."
stereomixer
C Heat is offline   Reply With Quote
Old 25th June 2008, 05:29 AM   #20
colinmiller
Lives for gear
 
Join Date: Apr 2007
Location: Santa Cruz
Posts: 1,244
Quote:
Originally Posted by C Heat View Post
Very close Colin

1. It's not a package.

2. It has no icon.

So in order to create a 'pluginname.component' I'll need Xcode?

Thanks again
It depends. If you add your own graphics or want to have a custom icon for the plugin, then you must make it a package. If you are just using the aqua resources which are in the system already, then you don't need a package. The plugins made through the xcode tutorial don't us any resources so they aren't packages. But if you look at most comercial ones, they are packages because whoever made them wanted custom graphics and icons.

I don't think you *need* xcode per say, but it has all the tools built in to make it a lot easier. I'm sure technically you could do it with textedit and gcc, but I am far from savy enough to figure that out. Xcode has all the little apps that help package things up, create icons, and has startin examples that you can use as a starting point or template to create your own.

Someone mentioned its on the install CD, but I recomend signing up on Apples site as a developer because you're gonna end up having to re-download the latest version of xcode anyways so its just an extra step to install off the CD. There's no fee or anything to sign up as a developer, and it gives you access to tons of resource libraries/help files, and forums with other developers. So you can ask questions on the developer forums and get really good answers instead of asking us boobs on gearslutz (joking!).

Or maybe PM steve massey since I think hes now writing his plugins for AU. And hes a real programmer, unlike me.
__________________
Teaboy Audio
Audio Recall Software
http://teaboyaudio.com
colinmiller is online now   Reply With Quote
Old 25th June 2008, 05:41 AM   #21
C Heat
Lives for gear
 
C Heat's Avatar
 
Join Date: Nov 2005
Location: BrisVegas
Posts: 1,627
Thanks Colin.

You rock. Really.

I appreciate your time and efforts

I'll sign up at Apple and get cracking
__________________
"One thing I would keep in mind is that it is very important to be creatively happy with whatever you do and strive for great sound, BUT snare drums do not make HIT songs, they are just part of the process."
stereomixer
C Heat is offline   Reply With Quote
Old 4th July 2008, 07:52 AM   #22
C Heat
Lives for gear
 
C Heat's Avatar
 
Join Date: Nov 2005
Location: BrisVegas
Posts: 1,627
Bump.

Any X Code developers out there?

I think I need to make a 'Document Bundle', but man, too many 000's for my brain to take.

I can design, I need someone to deploy.

Thanks.
__________________
"One thing I would keep in mind is that it is very important to be creatively happy with whatever you do and strive for great sound, BUT snare drums do not make HIT songs, they are just part of the process."
stereomixer
C Heat is offline   Reply With Quote
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


All times are GMT +1. The time now is 05:08 PM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0