Old 30th January 2007, 10:22   #1
Senior Member
Join Date: Oct 2005
Posts: 116
batch editing to get all shapecode with centred texture

this is really boring but pretty useful for power users-

one of the things you notice with milkdrop in transitions is that shapes like triangles with the texture option always flip so that when you have a spiral it suddenly turns into a cross and kind of messes up the blend effect. this is because the shapecode in the next configuration is set to centre, but the shape is off, so you have to go through all the Presets and set all the shapes on and set them to be out of view with y=2.

to sort it out, you have to get a good scripting program, that can repeat a script a few thousand times, then within milkdrop you have to save all the Presets sequentially into the new format, which lists all the shapecode in text in the save file.
For example the script might be-

I = 0
DO WHILE I <= ix

SendKeys "s"
wait 20
SendSystemKeys "{enter}"
wait 20
sendkeys "y"

wait 100
sendkeys "h"

I = I+1

then when all the .milk files are in the same format, you have to individually search all the files,copy all the ones with shapecode_0_enabled=0 to another directory, set them all so that the shape is on, above the viewing area shapecode_1_y=1.800000, and that the texture is on shapecode_1_textured=1, then if you can be bothered,go through all the shape code per frame for that shape and put a //someplace so that the basic shape configuration isn't overridden-I forgot to do this.

Repeat for all the other shapes, the whole process takes about 10 minutes, although saving files to another format takes about half an hour.

Also, while I am at it, here is the rating code I have for Dragon NaturallySpeaking pro (DVC format)-much easier to say"rate 5"than press all the buttons.

SendKeys "{numkey-}{numkey-}{numkey-}{numkey-}{numkey-}"

i = _arg1
DO UNTIL i = 0

SendKeys "{numkey+}"

wait 10
i = i - 1

SendKeys "{h}"

-unless you have 30 hours to get your head around Dragon NaturallySpeaking pro it's a headxxxx, but kind of fun if you're bonkers enough to have DNS pro
Babylon-warp is offline   Reply With Quote
Old 21st February 2007, 18:49   #2
Senior Member
imus's Avatar
Join Date: Jun 2003
Location: Mesa, Arizona
Posts: 110
Send a message via AIM to imus Send a message via Yahoo to imus
you can turn all the presets into a text file in a matter of 2 seconds... Look for the batch I posted here in the forums.. Crash made it.
imus is offline   Reply With Quote
Go Back   Winamp & Shoutcast Forums > Visualizations > MilkDrop > MilkDrop Presets

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump