PDA

View Full Version : General maxscript organisation


3rd Dimentia
11-10-2007, 02:17 AM
Hi, I was wondering if some of you might share some info on how you go about keeping track of versions of your scripts. I've been looking into Tortoise subversion http://tortoisesvn.net/
But it seems like a bit of overkill for a single person just writing their own maxscripts.

I'm also interested in hearing methods as to how you go about working when editing mcr's that are already installed on your machine.

And am I the only person that finds "auto name change and redirection to user macros" annoying and messy. Is there a way to turn this off?

Ideally, there would be some option to save your scripts in a similar fashion to what Martin B's incremental save script does. As in, when you hit save, it moves the one that was on the disk already to a subdir with an incremental filename and saves the new one in it's spot. So that way you're always working with the same filename for the most current version of the script.

Cheers,

Cg.

RobGalanakis
11-10-2007, 04:15 AM
The method I use at my studio is, I have all the artists copy a script to Scripts/Startup, just once, that just does a "fileIn" for a startup script that is versioned on our SVN. This startup script will fileIn all the .mcr and .ms files in a certain directory that is also versioned. The reasons are:
first, it doesn't require artists to maintain any tools; it is done automatically. Second, I can change the true "startup script" as needed if things change, without the artists needing to copy over anything new to Scripts/Startup. Third, as long as they keep SVN updated, they will get the most recent versions of scripts, and it will even copy over icons if the file is newer than the one they have.

The .mcr installation is annoying IMO, so once in a while I will just delete them all from my user/macros directory. However I keep most macros in one file, and break out larger ones into their own mcr or ms file (such as an exporter utility, or scripted material plugin). fileIn is extremely powerful in organizing your scripts. Check out some script "packages" and see how they are used.

As for versioning on your own machine, not sure... I just create backups at important points, and keep change logs if I release anything. SVN is probably overkill, as you said. Now I'm curious to see other's techniques and advice as well, since I'm somewhat new to MXS as well.

3rd Dimentia
11-12-2007, 02:01 AM
So there have been 39 people that have viewed this topic and only 1 person has any info/experiences to share about maxscript organisation... Does that mean that everyone on here is a noob like me or that people are reluctant to share their methods?

Cg.

RustyKnight
11-12-2007, 03:39 AM
So there have been 39 people that have viewed this topic and only 1 person has any info/experiences to share about maxscript organisation... Does that mean that everyone on here is a noob like me or that people are reluctant to share their methods?

Cg.It really depends on how much work you want to go to.

I use an svn server at home to version all my java code, it makes life really easy and I can work on it from any machine (desktop or laptop) depending on my mood, in the knowledge I have it up-to-date. I also use svn as a kind of repository for dropping common libraries and the like, but that's another story.

I've been thinking about using svn at work, cause I've written a whole bunch of library routines, but I haven't got around to setting it up.

SVN is a better solution over CVS, so if you were comparing, I'd go for SVN.

Shane

3rd Dimentia
11-13-2007, 07:52 AM
Thanks Rob and Shane for your insight. Shame there isn't more people willing to share their experiences in this area.

Shane, I see you're from Melbourne. I'd be willing to bet money that there are people out there that we both know.

Cg.

JHN
11-13-2007, 12:37 PM
I use turtoise SVN for personal and professional uses. For all kinds of programming, maxscript, python, html/php/js... etc.

It's so easy to set up a repository and make use of versioning. I started a thread a while ago about the alomost same topic... look it up.

I also use it over VPN so i can easilly port my scripts from one location to another. And never have to worry about the latest version missing on a new location... just hit update.

I don't know why I never used it before...
It's definetly no overkill in my opinion.

-Johan

RustyKnight
11-13-2007, 07:38 PM
Shane, I see you're from Melbourne. I'd be willing to bet money that there are people out there that we both know.Yeah, but not in public ;)

3rd Dimentia
11-13-2007, 08:16 PM
Shane, do you want to send me an email off-forum? wheelyfeetman@hotmail.com

Cg.

CGTalk Moderation
11-13-2007, 08:16 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.