New Simplified Way of Distributing user templates

Discussion about Mediachance DAP

New Simplified Way of Distributing user templates

Postby Oscar » Mon Sep 19, 2011 1:53 pm

Beginning version 2.5.4 DAP has new build-in way of archiving templates for distribution as a single DPK file and also correctly installing those archives from the created dpk archive.
This should avoid the confusion what files go where for users trying to install the template and also make easier to collect all the files when distributing.

Those two options are in the menu Tools.

Archive Template, make sure the template is running in your DAP the exact way you want it, including the Help files.
A summary of a good template files:
1. Create your template the normal way with Make AOP, this will create the correct files, op, ao2, pal, grf... for example test.aop etc.
2. Create thumbnail which will appear in the Template box in DAP instead of generic icon, which is named same way as your template but with jpg extension for example test.jpg, The thumbnails are tiny jpeg files 54x32 and you place it in the \DAPainter\objectpacks folder (where is the *.aop file)
3. Help file, that will appear when user select the template, it is HTML file with extension *.htm (NOT *.html) and with the name same as your template for example test.htm
The htm file and any of the images it uses are in the \DAPainter\Help\ folder.
4. Your Help file can have a larger preview image that is no more than 175 pixels wide, it can be gif or jpg named the same way as the htm file for example test.jpg and it is in the Help folder (same as step.3), just load an example like benson.htm in your web editor and you will see the correct bg color and formatting - use it as a guide.

So this will make your template run fine on your computer. To pack it and distribute it, go to Tools: Archive template and use button Load AOP to load your new template (test.aop), this should load all other associated files automatically (if you use more images/files in help you can add them manually)

dap254_.jpg
dap254_.jpg (58.93 KiB) Viewed 23584 times

You can load an Artwork image that could be a sample of the painting and it will appear before installation so user can have idea what it does. (For the image above I really just used first file I found, try to make it better, a crop would probably be better to see brush strokes...)
Press Archive, This will create a single *.dpk file that you can now distribute.

To install the DPK file use the Install Template, the example above will look like this:
dap254_2.jpg
dap254_2.jpg (34 KiB) Viewed 23584 times


If you have permissions set the files and help will be extracted to the correct place.
If you don't have permission, you need to set 'Run as Administrator', When DAP is closed, Right click the DAP icon, select Properties, look under tab Compatibility (some windows version have it in Security tab) and check 'Run this program as an Administrator'. This is the Vista/ W7 famous UAC that prevents normal users from writing files to Program Files but I really don't like the Windows way to have important files for a single program scattered all over the computer in some obscure folders I can't even remember how they are called, so I try to keep for now everything for DAP in the DAPainter folder. Now this may change in the future so the DAP from now on, will always take care where to put the files.

This is the way all templates should be distributed from now on as the DAP will take care of putting the files always in the correct place.
Oscar
Site Admin
 
Posts: 863
Images: 2
Joined: Fri Oct 22, 2010 9:54 am

Re: New Simplified Way of Distributing user templates

Postby lylejk » Mon Sep 19, 2011 3:16 pm

Just checked the mediachange main website and the thread for DAP but the link still is for 2.5.3 Oscar. Not sure when you will host 2.5.4 but look forward to that. :)

edit:

As an experiment, I replaced 3 with 4 on the link and voila; it worked. lol

Below's the current link to 2.5.4. :)

http://www.mediachance.com/files/dapainter254.exe
lylejk
 
Posts: 692
Joined: Fri Oct 22, 2010 10:56 am

Re: New Simplified Way of Distributing user templates

Postby anecessaryevil » Mon Sep 19, 2011 7:11 pm

This is a good change, Oscar. It will make it easier for beginners to install new AOPs.
All photos I use are my photos unless otherwise noted in the post.
anecessaryevil
 
Posts: 822
Joined: Fri Oct 22, 2010 6:51 pm

Re: New Simplified Way of Distributing user templates

Postby Oscar » Tue Sep 20, 2011 12:01 am

Oh, yes, I was just running away and forgot to post it, it is now changed.
I also created a test DPK from the Classics template (as this has lot of files) and uploaded it back to Rocambole post:
http://dap.mediachance.com/archives/1083
It seems to be working well and the Archive template tool picked up all the original 16 files correctly by itself and wrapped it up nicely into one file.
Oscar
Site Admin
 
Posts: 863
Images: 2
Joined: Fri Oct 22, 2010 9:54 am

Re: New Simplified Way of Distributing user templates

Postby anthonymdavis » Fri Sep 30, 2011 3:20 pm

I'm running version 2.5.3 Will I need to re-purchase DAP to get 2.5.4? If not, is there anything I need to do to keep my current AOPs in place?

~ Tony

lylejk wrote:Just checked the mediachange main website and the thread for DAP but the link still is for 2.5.3 Oscar. Not sure when you will host 2.5.4 but look forward to that. :)

edit:

As an experiment, I replaced 3 with 4 on the link and voila; it worked. lol

Below's the current link to 2.5.4. :)

http://www.mediachance.com/files/dapainter254.exe
anthonymdavis
 
Posts: 7
Joined: Fri Aug 26, 2011 6:33 am

Re: New Simplified Way of Distributing user templates

Postby Rocambole » Fri Sep 30, 2011 4:56 pm

Just download and install versjon 2.5.4. You don't need to re-purchase DAP and all your current AOPs will remain where they are.
Rocambole
 
Posts: 605
Joined: Fri Oct 22, 2010 4:06 pm
Location: Oslo, Norway

Re: New Simplified Way of Distributing user templates

Postby anthonymdavis » Fri Sep 30, 2011 6:24 pm

Ok...Thank You. I appreciate the help. This is a GREAT program!!! :P

Tony
anthonymdavis
 
Posts: 7
Joined: Fri Aug 26, 2011 6:33 am

Re: New Simplified Way of Distributing user templates

Postby anecessaryevil » Fri Sep 30, 2011 10:25 pm

anthonymdavis wrote:This is a GREAT program!!! :P

Tony

It certainly is, Tony.
Be sure to share some of your efforts with us. ;)
All photos I use are my photos unless otherwise noted in the post.
anecessaryevil
 
Posts: 822
Joined: Fri Oct 22, 2010 6:51 pm

Re: New Simplified Way of Distributing user templates

Postby Rachel » Sat Feb 25, 2012 10:10 pm

I want to say thank you for the new way of both distributing and installing AOPs. So clean and simple.
Rachel
 
Posts: 1920
Joined: Fri Nov 19, 2010 3:56 pm
Location: Oak Ridge, North Carolina

Re: New Simplified Way of Distributing user templates

Postby Hopil1 » Fri Feb 02, 2018 11:19 am

thanks thanks thanks! so many thanks, i was in a real need of such a method it is all clean and simple! again thanks!
Hopil1
 
Posts: 1
Joined: Fri Feb 02, 2018 11:17 am


Return to Dynamic Auto Painter

Who is online

Users browsing this forum: No registered users and 8 guests

cron