AS files PC to Mac and back again

Wondering how to accomplish a certain animation task? Ask here.

Moderators: Víctor Paredes, Belgarath, slowtiger

Post Reply
User avatar
madrobot
Posts: 670
Joined: Mon Apr 07, 2008 7:07 am

AS files PC to Mac and back again

Post by madrobot »

Currently I'm running AS 5.6 files through wordpad as a text file and find/replacing the directory address for scripts (specifically meshinstance.)

We were talking about this maybe 2 years ago? It works OK but is a little fiddly. Has anyone got any ideas or come up with a smoother transition for files from PC to Mac and vice versa? Is there a was to automate (further) what I'm doing, or should I shut up, stop whinging and use wordpad like I have been doing?

Is there some sort of code I can put in which references a variable, and the variable holds a different address depending on what platform I'm using?
And what about AS7? Are scripts referenced the same way as 5.6?

(Drawing and construction is on a PC tablet, rendering and post will be on an imac.) Rigging and animation might be on either or both. Would be nice to do it on either, with smooth transition between the platforms.
User avatar
Víctor Paredes
Site Admin
Posts: 5852
Joined: Tue Jan 25, 2005 3:18 pm
Location: Barcelona/Chile
Contact:

Post by Víctor Paredes »

I'm the only guy with PC at my office. Everybody else uses that stupid mac stuff... :roll:
Right now we are working on a 15 minutes video with six people animating. To avoid problems with sharing resources, we follow this rules

- We all have a folder with the name of the project (it can be anywhere on each computer, but must have the same name on all the computers)
- We all save all the resources inside that folder (resources can be right on the folder, or in new child folders)
- All our folder structure is the same, we all have copied the same files.
- We never call a resource which don't be inside that main folder.

- The anme files always must be on the top of the main folder, never inside a new child folder.
It has to do with how AS works with address:
If you save an anme file in a folder, and in the same folder its resources the address you will see opening it on notepad will be something like "\arm.png", if the arm is right on the main folder. Or "\character\arm.png", if your arm is inside the main folder, but in "character" folder.

Now, if your arm is out of that main folder or one level up of where the anme file is, AS will call it with its entire address, like "C:\madrobot\non pornographic stuff\arm.png".

So, the secret to keep our routes clean is to always follow this graphic:
Image
Image Image Image Image Image Image
Moho co-owner

Previously Rigged animation supervisor: My father's dragon, Wolfwalkers & Star Wars Visions "Screecher's Reach"
My personal Youtube Channel
User avatar
madrobot
Posts: 670
Joined: Mon Apr 07, 2008 7:07 am

Post by madrobot »

Selgin, you are a champion. Thankyou.
F.M.
Posts: 499
Joined: Thu Nov 04, 2004 7:29 am
Location: Between my ears

Post by F.M. »

You mean stupid PC stuff!
"and then Man created god!"
User avatar
jahnocli
Posts: 3471
Joined: Fri Oct 29, 2004 6:13 am
Location: UK

Post by jahnocli »

F.M. wrote:You mean stupid PC stuff!
They're just machines...
You can't have everything. Where would you put it?
F.M.
Posts: 499
Joined: Thu Nov 04, 2004 7:29 am
Location: Between my ears

Post by F.M. »

Selgin and madrobot? I think they are still people!

Yes, they are only machines, I was just kidding!


:lol: :lol:
"and then Man created god!"
User avatar
Víctor Paredes
Site Admin
Posts: 5852
Joined: Tue Jan 25, 2005 3:18 pm
Location: Barcelona/Chile
Contact:

Post by Víctor Paredes »

Everything after Atari writer plus seems stupid to me.
Anyway, I think this topic is important and maybe should be a sticky explaining it (or should be directly added on the tutorial). I have seen many people terrified seeing that broken link images.
Without this info it would be almost impossible to work on big projects between several people.
I'm glad to help you, madrobot.
Image Image Image Image Image Image
Moho co-owner

Previously Rigged animation supervisor: My father's dragon, Wolfwalkers & Star Wars Visions "Screecher's Reach"
My personal Youtube Channel
User avatar
heyvern
Posts: 7045
Joined: Thu Sep 01, 2005 8:49 pm

Post by heyvern »

Yes this is the same set up I use... uh... most of the time. ;) Sometimes I get in a hurry and don't always put my images in the correct location or import them from some other place.

The new "gather media" option in AS 7 has been a huge help. I am transferring all of my stuff to my new mac. Any AS file that isn't "organized" properly I will use the gather media feature and just save everything I'm moving to the new location over the network.

----------

Lately I will work on AS files located on a server or shared external hard drive over the network using both the Mac and the PC versions of AS. For example I can render a file on the mac and continue working on another file from that project on the PC.

If the files are organized the way Selgin describes working from a server works great. This also saves the hassle of version control avoiding multiple copies of the same content.

-vern
Post Reply