Page 1 of 1

CSV format import/export script for Moho (Anime Studio)

Posted: 21 Jun 2016, 19:37
by fazek
This is a menu script addon for Moho/Anime Studio (11 and above, but probably working with older versions too). It imports scenes in TVPaint's CSV format.

Unzip the file and copy the fa_import_csv.lua file into your Anime Studio contents folder, for example to the scripts/menu/Image directory. After starting Anime Studio, you can find the new "Import CSV animation..." menu item in the Scripts/Image menu.

It imports the contents of the file into a new Group Layer. Inside the group layer it creates Switch Layers with the image instances in them.

22 JULY 2016, Version 1.1: it can import document settings (field, fps, duration) now.
16 AUG 2016, Version 1.2: support for the Folder arguments of CSV 1.1 / Version 1.3: advanced search for the folder path
27 AUG 2016, Version 1.4: bugfix for empty frames, experimental export plugin 1.0
01 SEPT 2016: experimental export plugin 1.1: faster rendering, bugfixes

Re: CSV format importer script for Anime Studio

Posted: 22 Jun 2016, 05:54
by Elodie
Thank you for sharing this. There are other Anime Studio users here, no doubt it can be helpful !

Re: CSV format importer script for Anime Studio

Posted: 22 Jul 2016, 09:48
by fazek
Updated to a new version. It can optionally import the document parameters, like field size, frame rate and play duration now.

Re: CSV format importer script for Anime Studio

Posted: 13 Aug 2016, 17:20
by CartoonMonkey
Not working for me here on the latest version of AS (Moho) x64...
Image

Re: CSV format importer script for Anime Studio

Posted: 16 Aug 2016, 08:08
by fazek
Thanks to CartoonMonkey, I've added a support for the Folder parameters of CSV version 1.1.

About the path recognition: This Folder parameter is a nice feature, but it's also a weak spot if you transfer the files from one computer to another. The old solution was very robust for this. Now if the Folder row exists in the csv file, the program first tries to load the files from the full paths provided. If this fails, it tries to load from the last folder name of the provided path, while replacing its parents with the base path of the CSV file. If this also fails, it tries to load from the old "something.frames" folder. If you still can't load your something.csv with this, try to create a something.frames folder and copy all of your png files there.

UPDATE: v1.3: added more advanced folder search.

Re: CSV format importer script for Anime Studio

Posted: 18 Aug 2016, 23:36
by CartoonMonkey
Ah, this version is working great Fazek! Thank you!
Sorry about the time in between testing, I have a rather full schedule at the moment.