Page 1 of 1

Saving old versions script - discussion

Posted: Mon Aug 09, 2010 5:00 pm
by heyvern
Need some advice on some elements of this new script. I decided to post it in the "General" section so more people would see it.

------------
V5 support
All of the questions are about handling v5 saving. Should this script support saving to version 5? There are so many huge changes from 6 to 5 and now that 7 is out... maybe 5 support is not needed? Or is v5 backward compatibility the driving force behind needing this script?

Sequencer
Probably a no brainer here but I will ask anyway:
V5 has no sequencer. How should this be handled if going back to v5?
My thought would be to "shift" the keys of the layer when saving to v5 so that it "matches" any sequencer shifting of the v6 or 7 file?

Audio Layers

This is the BIG question. How to handle audio layers when saving to v5?
v5 only has support for one "sound track" and audio "shifting" and MP3 format wouldn't be supported at all (unless you have a duplicate WAV and MP3 in the same folder).

So, if saving to v5 from 6 or 7...
a) use the first audio layer as the sound track (only WAV)
b) delete all the sound layers (very easy for me during development)
c) Incorporate "pad sound" script... figure out a way to "compile" multiple layers into one sound file using lua/system (don't count it on it dudes!) or at least be able to pad the default sound if the sound layer is shifted in the time line?
d)This is my FAVORITE solution... Before saving to version 5 of AS from 6 or 7 the user should create a single "mixed" audio layer in the file and that will be used as the sound track for a v5 version.

For now I am going with the "simplest" answer to these questions to get things started. If I can at least get all the "visual" elements to save backwards sound could be a simple fix by the user with a new file.

If anyone has suggestions or additional "road blocks" I haven't thought of yet post them here.

-vern

Posted: Sun Aug 22, 2010 9:28 pm
by patricia3d
Please keep the help for Version 5, because some people like me are still using some time version 5.6 and some time 6.2.

Yours scripts are great help.

Posted: Mon Aug 23, 2010 5:49 am
by jahnocli
Ditto.

Posted: Mon Aug 23, 2010 10:44 am
by heyvern
I have another request. Can someone post a v6.2 file header? I just need the top of the file format. I have 6.1 but never got 6.2. I could go through the hassle of getting it but the changes aren't extensive and I just need the version stuff at the top of the file header.

It looks like this for version 6.1:

Code: Select all

application/x-vnd.lm_mohodoc
version 19
### Created in Moho version 6.1, © 1999-2009 Smith Micro Software, Inc.
### Created: Mon Aug 23 13:40:57 2010
I am guessing nothing else changed much from 6.1 to 6.2. Bug fixes wouldn't effect the file format I am pretty sure.

-vern

Posted: Mon Aug 23, 2010 11:37 am
by sbtamu
application/x-vnd.lm_mohodoc
version 19
### Created in Moho version 6.2, � 1999-2010 Smith Micro Software, Inc.
### Created: Mon Aug 23 13:36:44 2010

not sure this is want you want.

Posted: Mon Aug 23, 2010 12:42 pm
by heyvern
That's perfect. Just what I needed.

-vern

Posted: Mon Aug 23, 2010 4:54 pm
by DK
Vern.
This is something that we have been waiting for for years!
I'd be more than happy to pay for a script like this if you decide to sell it.

Cheers
D.K