Go Back   Winamp & Shoutcast Forums > Visualizations > MilkDrop > MilkDrop Presets

Reply
Thread Tools Search this Thread Display Modes
Old 28th January 2021, 04:35   #1
serge000
Junior Member
 
Join Date: Oct 2018
Posts: 37
MilkDrop2077 : a free and open-source presets masher and randomizer for MilkDrop

Hey guys,
MilkDrop2077 is a free and open-source presets tool for MilkDrop.

It can mashup code from Frame/Pixel/Warp/Comp, randomize values in a smart way,
change colors, add effects and soon autogenerate presets.



download: https://mega.nz/folder/VFFGUJYB#pPNXxLPIstNE6WzqCWCAJg
MilkDrop 2077.exe MD5:AE40AF0F2795EA58C0DDDF532920FCD4

How to use it :
1. select your favorite presets folder (input folder)
2. select the output folder (were the new generated presets will be created)
3. select how many presets would you like to create (defaut 100, 1 to 9999)
4. choose the level of randomization (0 to 5), check the options menu for more controls
5. click on GO!

How I use it
I create 500 presets, load MilkDrop2077.0001, press the 'r' key to load in SEQUENTIAL order, and press h,h,h...
You can go fast and comeback if you see something good (not like pressing the 'a' key in milkdrop!)

Don't expect all the new created presets to all looks amazing, a lot of them looks average or broken,
some will be corrupt, but with a good input folder and a bit of luck, you can create something beautiful and 'new'.

Check the exemple.zip I've included 50 presets created with MilkDrop2077,
I've lost track about how much they've been mashed or randomized, but they look pretty amazing to me.
What is really cool if how the randomized value will affect the motion/colors/wave form ect.


Source code here : https://github.com/milkdrop2077 (the code is in the Unit1.pas file).
it's coded with delphi7, and the good news is, even if you don't code, you could recompile and modify the program easily :
delphi = pascal = same syntax than milkdrop preset
I've used only standards function and component, so the source will compile without any error, it should be nothing like trying to compile the C++ vis_milk2.dll
serge000 is offline   Reply With Quote
Old 28th January 2021, 17:27   #2
Nitorami
Major Dude
 
Join Date: Mar 2008
Location: Erlangen
Posts: 919
Haha, great ! And funny !

In case anybody would like to recompile this but can't afford Delphi, try Lazarus, an open source and cross platform Pascal IDE, virtually 100% Delphi compatible
https://www.lazarus-ide.org/
Nitorami is offline   Reply With Quote
Old 28th January 2021, 22:30   #3
serge000
Junior Member
 
Join Date: Oct 2018
Posts: 37
I'm not sure it will compile with lazarus, but you can try!
Delphi 7 is so old I think it is kind of an abandonware now. check Delphi 7 lite.

For those who think they don't need MilkDrop2077 because they can write their own presets,
think about that : you can create in less than a second hundreds of slightly different variant of a preset you've been working on, you'll probably find some results interesting


I've updated the exe to version 1.0.2 (MD5:46CED7BC9F938965ECE3ED56A87EF621) because I've just found a bug when writing the first line for the PSVERSION=, PSVERSION_WARP=, PSVERSION_COMP=.

By the way what PSVERSION= should be when you mash yourself a preset?
I've put the highest number between PSVERSION_WARP= and PSVERSION_COMP= ...


I will try to update the code to create all the presets without any error and warning.
I'm not sure how to track an error sometimes, milkdrop's warning aren't very user friendly.
If you want to help and find out why a preset is corrupt, check the header of the created preset, you'll find lots of information.

I know there is 2 main problems with my code :
some variables a over the limit : example : mv_a must be between 0 and 1.
so I guess I'll have to add a loop to check all the variables from milkdrop_preset_authoring.html ?

Also the way I mash-up the Wave & Shape + Per Frame + Per Pixel + Warp code + Comp code:
I'm adding all the lines until I find per_frame_
then I'm adding all the per_frame_ lines from another preset
then I'm adding all the per_pixel_ lines from another preset
then I'm adding all the warp_ lines from another preset
then I'm adding all the comp_ lines from another preset

I guess it's a little too much and some variables get mixed-up? because milkdrop only mash warp+comp. But it works 90% of the time!

Also I need to update the code to works on complicated lines like :
comp_88=`blk *= (q12*(1/rad2+q15*mask2)+q13*(1/rad3+q15*mask3))/2 ;
to be able to change just the number in bold, I guess I'll have to write a loop to make sure the number are between certain character like +-/*()
serge000 is offline   Reply With Quote
Old 29th January 2021, 09:34   #4
neebster
Junior Member
 
Join Date: Jan 2008
Posts: 36
Oh wow, me and a friend were just discussing this the other day! Well not exactly this but along the same lines.

We were discussing how awesome it would be if someone applies all the modern advancements in AI/ML/DNN such as generative adversarial networks to Milkdrop and create a distributed system (like electric sheep) or a cloud based engine that would take contemporary zeitgeist as input to give us unlimited visuals. Milkdrop itself could also use AI chops on modern processors to intelligently blend visuals for a seamless transition.

It's fun to talk sci-fi in a certain mood of the evening esp under the spell of Milkdrop visuals But glad that MD still has the interest of developers. People say I am too old-school to still care about music visualizers.
neebster is offline   Reply With Quote
Old 29th January 2021, 16:01   #5
Nitorami
Major Dude
 
Join Date: Mar 2008
Location: Erlangen
Posts: 919
Windows does not run your exe because it detects a virus or PUP. So I had to recompile anyway.

Quote:
I'm not sure it will compile with lazarus, but you can try!
Compiles and runs without problems in Lazarus 2.0.0. All you need to do is rename project1.dpr to project1.lpi.

You should reconsider your color scheme, though. The black on dark violet checkbox text in the options menu is absolutely illegible on my screen.
Attached Thumbnails
Click image for larger version

Name:	Options_Dialog.png
Views:	72
Size:	24.7 KB
ID:	54706  
Nitorami is offline   Reply With Quote
Old 29th January 2021, 20:46   #6
serge000
Junior Member
 
Join Date: Oct 2018
Posts: 37
Quote:
Windows does not run your exe because it detects a virus or PUP. So I had to recompile anyway.
ah crap! I've checked on virustotal, yes there are a few false positive.
Windows defender is ok with my file.
It is the V2M player from farbrausch, it was made for 64kb demo like Candytron,
and it's been used in a lot of cracks and keygens, hence the red-flag by some antivirus

whitelist my exe or at least run it sandboxed once, you have to check the aboutbox it's the best part of MilkDrop2077

The colors look fine when compiled with Delphi


I've updated the code to v1.0.2 on github btw.
serge000 is offline   Reply With Quote
Old 30th January 2021, 12:37   #7
Nitorami
Major Dude
 
Join Date: Mar 2008
Location: Erlangen
Posts: 919
Alright, I've asked on the Lazarus forum what the problem with the checkbox textcolor is:

"This is a limitation of themed painting in Windows - even in Delphi XE 10.3 these checkbox texts have black text. You can work around the issue by turning off the theme services - this is done in the project options, box "Use manifest resource"."

That did the trick and it's fine now. I'll start tinkering with it.

The aboutbox ?
The ABOUT button does nothing... no wonder as it is linked to an empty procedure

procedure TForm1.ImgABOUTClick(Sender: TObject);
begin
//about box
end;

at least in the source I downloaded two days ago...
Nitorami is offline   Reply With Quote
Old 30th January 2021, 13:16   #8
Nitorami
Major Dude
 
Join Date: Mar 2008
Location: Erlangen
Posts: 919
Hm, the mashups often throw shader error X3014: "incorrect number of arguments to numeric-type constructor" . I found an example in the code
code:
float3 dots=2*float3(1,1,0,1,2,1)

That should be easy to fix.
Nitorami is offline   Reply With Quote
Old 30th January 2021, 18:18   #9
serge000
Junior Member
 
Join Date: Oct 2018
Posts: 37
Yea sorry I didn't include the about box in the source because it's over 2000 lines of code, 88 different visual effect in total it's my little signature and this part is not open-source yet

Quote:
Hm, the mashups often throw shader error X3014: "incorrect number of arguments to numeric-type constructor" .
ok cool I'll look into that
serge000 is offline   Reply With Quote
Old 30th January 2021, 18:57   #10
Nitorami
Major Dude
 
Join Date: Mar 2008
Location: Erlangen
Posts: 919
You should also do something about the false positive. Not everyone will be willing to compile the source himself, and the windows defender message about a serious trojan is rather alarming; besides, windows deletes the exe straightaway.
Nitorami is offline   Reply With Quote
Old 30th January 2021, 21:44   #11
serge000
Junior Member
 
Join Date: Oct 2018
Posts: 37
Quote:
You should also do something about the false positive. Not everyone will be willing to compile the source himself, and the windows defender message about a serious trojan is rather alarming; besides, windows deletes the exe straightaway.
I've just realized I can't even switch to an XM or MOD player, I get even more false positive results

it was the most epic aboutbox ever, rip
https://youtu.be/75Jb54VR4SA

I'll change the code for v1.2, I'll use the windows Beep function to make music , I need to fix the error X3014
serge000 is offline   Reply With Quote
Old 31st January 2021, 07:45   #12
Nitorami
Major Dude
 
Join Date: Mar 2008
Location: Erlangen
Posts: 919
I see. Reminds me of the old days, the demoscene, the mod archive, 8bit sound via the parallel printer port... But you won't get it that atmospheric with the beeper ! Can't you simply convert to a wav file and play that ? There are enough sound libraries for use with pascal, and if you need help, the freepascal forum is the right place to ask.
Nitorami is offline   Reply With Quote
Old 1st February 2021, 20:42   #13
serge000
Junior Member
 
Join Date: Oct 2018
Posts: 37
Hey Nitorami what's your Antivirus? I've tried my exe on a windows 10 laptop with MS defender and another one with ESET Antivirus and I did not have any warning.

I've uploaded an empty project delphi7 exe to virustotal and I still have a few false positive. I thought for a second I had a virus in SysConst.dcu (very rare and almost impossible on my setup) but no, any old delphi exe gives fake positive result on virustotal (i've tried a few from random program on torry ex : https://torry.net/pages.php?id=345).

0 problems on Jotti's malware scan. Virustotal use too many crap engines.

So yea, bad antivirus gives fakes positive results. you should consider switching to MS defender, it was the worth few years ago but now it's the best / one of the best.



I've updated the code to v1.0.3 and corrected 2 bugs.
Now 98% of the presets generated are working fine
serge000 is offline   Reply With Quote
Old 1st February 2021, 21:52   #14
Nitorami
Major Dude
 
Join Date: Mar 2008
Location: Erlangen
Posts: 919
I have no Antivirus installed here. Just native Windows 10.
Nitorami is offline   Reply With Quote
Old 2nd February 2021, 16:38   #15
Nitorami
Major Dude
 
Join Date: Mar 2008
Location: Erlangen
Posts: 919
No AV problems either when compiling with Lazarus. Why don't you simply switch to a modern compiler ? I mean, Delphi7 is really obsolete, and Lazarus is free, legal and very similar to use. And it does not cause Antivirus alarms. The exe is 10x bigger, yes, looks bloated but well, times are changing, and the APIs are just getting bigger and bigger.

I tried your modified unit1.pas but still get many files with the same error, a float3 being assigned to 6 floats. Could this possibly have to do with langage settings and the f*ing decimal separator ? It was one of MS' worst ideas ever to make this country specific and it keeps causing trouble as some programs respect windows settings, others don't. It is a bloody mess. I'm in germany where the default decimal separator is a comma but have changed my windows settings to default english. Milkdrop does not bother in the first place, but I don't know what Lazarus does. It may be remote but could it be that the 6 decimal values in x = float3 (1,2,0,1,3,2) should really be (1.2, 0.1, 3.2) ?
Nitorami is offline   Reply With Quote
Old 3rd February 2021, 01:22   #16
serge000
Junior Member
 
Join Date: Oct 2018
Posts: 37
Yea I know lazarus is good and I'm 100% into free and open source software, but I've coded too many little project in Delphi and the conversion to lazarus is often painful and sometime just impossible.
I really think delphi 7 is an abandonware now, you can download a Lite Tiny Edition for 15mb only!
I can't compile milkdrop2077 on lazarus properly, renaming project1.dpr to project1.lpi isn't working for me..


Anyway, next version I'll promise I'll switch to lazarus, it will be a good exercise.

I don't have the 6 floats problem on my computer (windows 10 eng US) so it must be your compiled version with lazarus or your german windows.

oh btw any BEATDROP expert here? I would like to create a side project and fusion beatdrop and milkdrop2077, launch 1 exe only to visualize something random, should be pretty fun.
anyone know for beatdrop what the line nTexSize=1920 in milk2.ini is for? why is this getting lower? why beatdrop looks lower res than milkdrop? also why it look flatten compare to milkdrop? I'm interested
serge000 is offline   Reply With Quote
Old 3rd February 2021, 04:39   #17
isosceles
Junior Member
 
Join Date: Feb 2020
Posts: 19
I'm running native Windows 10 also and it's throwing the same virus warning. The average user is gonna be thrown off by this, so it's worth fixing.

Nitorami, interesting that you mention the country specific decimal separator. That live-preview zoom bug you reported in NestDrop, it ended up being related to the regional language settings. So Patrick changed the thread setting to "en-US" mode which forces it to write a point as a decimal point and removed the possibility of using a comma. Might be a similar fix here too?
isosceles is offline   Reply With Quote
Old 3rd February 2021, 07:18   #18
Nitorami
Major Dude
 
Join Date: Mar 2008
Location: Erlangen
Posts: 919
@serge: Apologies for my sloppy advice. The correct way to do the conversion is:
1. Project / open. Lazarus does not list .dpr files so just enter project1.dpr manually. You will be told that the project does not exist and a new one will be created. Choose the first option, "Application" (I have the german version here, wording may be different, but what matters is that you let Lazarus create a standard GUI application). A project1.lpi will be created, essentially the same as your .dpr.
2. Compile. You'll be told that unit interfaces should be added to the uses clause. Press ok and let Lazarus do that. That is all, and its should then compile.

Oh, and remember to disable the "use manifest" option as mentioned further up in this thread.
The generated exe will be 28MB because it contains debug information. Disable this in the project settings to get it down to 4.8MB. The size of the exe has been a subject of discussions on the forum, and there may be a few other tricks to reduce it but I would not give that too much attention. I believe the compiler is not (yet) smart enough to link only routines actually used, instead it will link the whole Interfaces unit, and there is not a lot you can do about that.

@isosceles: Thanks for the observation. Not sure where to set this in Lazarus but I can find out.
@Serge: it would be helpful if you could point me to your FloatToString formatting routine.
Nitorami is offline   Reply With Quote
Old 4th February 2021, 04:50   #19
serge000
Junior Member
 
Join Date: Oct 2018
Posts: 37
ok thanks!

So I manage to compile with Lazarus.
The form was way too small, not sure if Lazarus saved my setting, but unchecking 'Use manifest resource' for windows in the project options helped. Also this seems to fix the black color problem on the options.

Lot's of things where not working properly, like moving the form.
It compile, but it doesn't work. I had to completely change my code for that.
So I'm wondering what else is not working?
I tried quickly to generate presets, I had a lot of identical ones,
not sure why, I've putted a sleep(10) at the end of my routine and I think it's fine now.

Check the code in MilkDrop Lazarus.zip:
https://mega.nz/folder/5d82lABB#GXA7WBwmHE18pFqHNr36VQ
Let me know if "MilkDrop 2077 v1.0.4 .exe" gives you a virus warning, it's the generated Lazarus exe just compressed with upx (only 700kb, pretty happy with that!).


Quote:
@Serge: it would be helpful if you could point me to your FloatToString formatting routine.
I think this could come from the procedure MILKFLOAT3 (checkbox Randomize colors),
it search for 'float3(' or 'float3 ('
extract the text between the '()'
and insert : random(30)/10 +','+ random(30)/10 +','+ random(30)/10 :
floattostr(random(30)/10)+','+floattostr(random(30)/10)+','+floattostr(random(30)/10);

if the bug come from your german version, maybe I could try a Char(46) (= '.')
to be sure (30)/10 = 3.0 not 3,0
It could be a bug from the Delphi code compiling on Lazarus too.
serge000 is offline   Reply With Quote
Old 4th February 2021, 11:31   #20
Nitorami
Major Dude
 
Join Date: Mar 2008
Location: Erlangen
Posts: 919
Hi Serge
just a quick test on my office laptop: No AV alarm from Windows Defender neither Trend Micro Office Scan.

I wonder what the problem with the code is. When I compiled it, everything appeared to work, except for the text color which I could fix using the manifest option. But apart from that, it all looked fine and it worked.

In contrast, your exe does not work for me. When hovering over buttons, a duplicate appears which is displaced to the bottom right so I cannot click it. See attached for the "go" button, but it's the same for each button and dialog. Thus I can't reach any button, and have to use the task manager to close the program.

As to the float issue, I will check later. I think it should be possible to ignore these shite country specific settings altogether, as milkdrop expects. Otherwise everybody would have to recompile for his specific country.

Edit1: I tried to compile your new code with Lazarus 1.6.4. , and I think you messed it up thoroughly. I get read errors such as "Error Reading TForm2.DesignTimePPI - unknown property" - which maybe is due to my old Lazarus version. But Form1 looks like a dog's breakfast, see attached, and I cannot compile because you only provided libufmod as object file, which is not compatible between compiler versions (same as in Delphi btw)...I will now try to compile your old code here with Lazarus 1.6.4.

Edit2: Your old source from github compiles and runs flawlessly here on my office laptop with Lazarus 1.6.4. Absolutely the same as on my home PC with Lazarus 2.0.0. Menus and buttons are where they should be, and everything works. So... I don't know what you were doing.
Attached Thumbnails
Click image for larger version

Name:	Clipboard02.png
Views:	62
Size:	10.9 KB
ID:	54707   Click image for larger version

Name:	Form1.PNG
Views:	59
Size:	52.9 KB
ID:	54708  
Nitorami is offline   Reply With Quote
Old 4th February 2021, 14:51   #21
serge000
Junior Member
 
Join Date: Oct 2018
Posts: 37
ok I need to start a Lazarus version from scratch and add my functions, the scalling/dpi issues are too big.
serge000 is offline   Reply With Quote
Old 6th February 2021, 13:33   #22
Nitorami
Major Dude
 
Join Date: Mar 2008
Location: Erlangen
Posts: 919
Alright, the problem with the 6 floats in a float3 variable was indeed related to the decimal separator. You must force the fullstop as separator, because milkdrop expects it. Simply define
code:

DefaultFormatSettings.DecimalSeparator := '.';


And error X3014 will be gone.

Last edited by Nitorami; 6th February 2021 at 13:53. Reason: Found a simpler fix
Nitorami is offline   Reply With Quote
Old 7th February 2021, 13:36   #23
Nitorami
Major Dude
 
Join Date: Mar 2008
Location: Erlangen
Posts: 919
Another note - better avoid psversion>3 in any of these keys
PSVERSION
PSVERSION_WARP
PSVERSION_COMP

4 is buggy, it may run on some GPUS but not all. It may then cause black screen, freeze, or it may simply take ages to compile. In short,
1 = no shader support
2 = shader code with max. 64 GPU instructions, 3 and 4 allow 512 and 1024 GPU instructions, respectively

"instructions" refers to the instructions of the compiled GPU binary which MD does not tell you except if the code is actually too large. 512 is usually sufficient, but I myself made a few presets with psversion=4 because I needed more instructions. That was 8 years ago and it worked at the time, but on my current machine it just freezes. You'll find more about the problem on the forum.

p.s: I do not know how psversion_warp or _comp is related to psversion. I propose to set psversion to the maximum of _warp and _comp. Just avoid the 4, and don't mash code which uses it.

p.p.s: That a preset says psversion_comp=4 does not actually mean it does require 4. The 4 probably just came in through a mashup, and unfortunately will be inherited to all further mashups, regardless however trivial the shader code actually is.
IMHO the only way to find out if a piece of shader code uses more instructions than 512 is to set all psversions to 3, run the preset and see if it compiles. In most cases it will.
Nitorami is offline   Reply With Quote
Old 7th February 2021, 17:29   #24
serge000
Junior Member
 
Join Date: Oct 2018
Posts: 37
ok thanks Nitorami!

PSVERSION is always the highest value of PSVERSION_WARP and PSVERSION_COMP on all the presets that I've checked.

I'll add a line : if PSVERSION=4 then PSVERSION=3

working on MilkDrop 2077 v2.0 now!
serge000 is offline   Reply With Quote
Old 7th February 2021, 17:54   #25
Nitorami
Major Dude
 
Join Date: Mar 2008
Location: Erlangen
Posts: 919
... then PSVERSION := 3;
Nitorami is offline   Reply With Quote
Old 11th February 2021, 04:01   #26
serge000
Junior Member
 
Join Date: Oct 2018
Posts: 37
Hey guys! v2 is out! Code is now 100% on LAZARUS
same links than before, exe in on mega from my 1st post and the source is on github!
no more false positive, amen.



MilkDrop2077 can now auto-generate presets.
I've included 200 presets in the exe (~50 classics + 150 personal mashed).
The program will load them into memory and mash/randomize them and write 'new' ones.

I've added a randomize everything option when mashing if you're feeling lucky


The code is set, I think anyone could easily add some presets in the program,
next version we could include thousands in the exe and keep the file small with upx!
In the future, I want to add more effects (anyone wants to make a small list?), textures support, the choice of what to randomize (motion or wave or warp for example).

all the PSVERSION are set to 3 when mashing, I've got better results this way.
serge000 is offline   Reply With Quote
Old 12th February 2021, 15:53   #27
Nitorami
Major Dude
 
Join Date: Mar 2008
Location: Erlangen
Posts: 919
Hi Serge
Alright, the forum is back and up again.

I'm sorry to say it does not work for me, it is totally out of scale, regardless whether I run your exe or compile myself. See attached. I really don't know what the reason for these scaling issues is, suggest you ask on the Lazarus forum, the guys are very helpful.
Attached Thumbnails
Click image for larger version

Name:	Zwischenablage02.png
Views:	49
Size:	66.8 KB
ID:	54717  
Nitorami is offline   Reply With Quote
Old 12th February 2021, 20:12   #28
serge000
Junior Member
 
Join Date: Oct 2018
Posts: 37
ok this must be windows scaling, I'm on 150%. try changing your windows scale
serge000 is offline   Reply With Quote
Old 12th February 2021, 21:58   #29
Nitorami
Major Dude
 
Join Date: Mar 2008
Location: Erlangen
Posts: 919
Well yes, at 150% it looks better but the input folder selection mask is missing.
Better ask yourself what you changed. Your original version had none of these scaling issues.
Attached Thumbnails
Click image for larger version

Name:	Zwischenablage02.png
Views:	44
Size:	131.5 KB
ID:	54718  
Nitorami is offline   Reply With Quote
Old 12th February 2021, 22:54   #30
serge000
Junior Member
 
Join Date: Oct 2018
Posts: 37
the original version was coming from delphi, thats why we had no scaling issues, from what I understood delphi is better with the scaling.

the input folder is hidden now because it launch on auto-generate mode by default. just click on mashup.
serge000 is offline   Reply With Quote
Old 13th February 2021, 06:53   #31
Nitorami
Major Dude
 
Join Date: Mar 2008
Location: Erlangen
Posts: 919
That is nonsense. When I compile your original version with Lazarus, it has no issues. You messed it up, somehow, and you'll need to fix it if you want anybody to use it.
I will not set up a sandbox just to run a quarantined Delphi program with an AV issue, neither fuff with screen scaling because you don't know how to get this right.
Nitorami is offline   Reply With Quote
Old 13th February 2021, 15:01   #32
serge000
Junior Member
 
Join Date: Oct 2018
Posts: 37
my new exe is compiled with lazarus, you won't have an AV issue : https://mega.nz/folder/VFFGUJYB#pPNXxLPIstNE6WzqCWCAJg

I think I found it for the scaling problem, put Form1.scaled on false and restart lazarus, should work
serge000 is offline   Reply With Quote
Old 14th February 2021, 01:41   #33
isosceles
Junior Member
 
Join Date: Feb 2020
Posts: 19
The scaling bug is still present when using Windows 10. Here is a screenshot.

isosceles is offline   Reply With Quote
Old 14th February 2021, 03:29   #34
serge000
Junior Member
 
Join Date: Oct 2018
Posts: 37
I've updated the code and exe from github, if you still have issues,
I'm 99% sure your windows have a fonts problem : https://appuals.com/fix-corrupted-fonts-on-windows-10/

My exe runs fine on 3 different laptops on windows 7/8/10 with different resolutions and scaling settings.
serge000 is offline   Reply With Quote
Old 14th February 2021, 03:39   #35
serge000
Junior Member
 
Join Date: Oct 2018
Posts: 37
I had the same problem you having years ago with delphi when using labels, took me days to find out it was coming from some corrupted windows fonts. if the exe of MilkDrop2077 v1 works fine it's because I wasn't using label but areas. I've switched to labels on lazarus to make the code easier to understand to everyone.
serge000 is offline   Reply With Quote
Old 14th February 2021, 03:58   #36
serge000
Junior Member
 
Join Date: Oct 2018
Posts: 37
I've checked on an online sandbox and it's fine too :
https://app.any.run/tasks/50da6561-6...-d4504c86ab90/
serge000 is offline   Reply With Quote
Old 14th February 2021, 16:04   #37
Nitorami
Major Dude
 
Join Date: Mar 2008
Location: Erlangen
Posts: 919
Alright.
As to the fonts: I NEVER had any issue with fonts here, so I don't believe this is the reason. Plus, your initial version worked ok and you still did not explain what you have changed to introduce the scaling problem !

Anyway, I have just (17:00) downloaded the source from github and compiled.
Ok , the scaling issue appears to be fixed. And the intro is now working.

I still have some critizism:

1. The window is huge. It covers almost the entire screen. If I need the task manager to kill it (likely), I can't get to it. Can't you make this half size ?

2. HOW DO I LEAVE the options menu ? Once in, I can only exit the program !

3. I ran this from Lazarus first. Selected a source folder, level 4 and Go. After generation of 30 presets, the progress bar froze and Lazarus as well. I could not even bring the task manager to top, so I had to use my PC's power button. Lovely ! Up again, I recompiled with range checks on, and now reliably get a range check error when clicking the GO button. TEST your progam, and don't disable checks pramaturely, they are there for reason !
Nitorami is offline   Reply With Quote
Old 14th February 2021, 16:04   #38
isosceles
Junior Member
 
Join Date: Feb 2020
Posts: 19
The latest build fixed the issue. Thanks!
isosceles is offline   Reply With Quote
Old 14th February 2021, 17:20   #39
isosceles
Junior Member
 
Join Date: Feb 2020
Posts: 19
Had some fun creating mashups with this app. Here are some of my fav results.
Attached Files
File Type: zip Isosceles_Mashup_20210214.zip (55.5 KB, 51 views)
isosceles is offline   Reply With Quote
Old 14th February 2021, 18:50   #40
serge000
Junior Member
 
Join Date: Oct 2018
Posts: 37
Quote:
As to the fonts: I NEVER had any issue with fonts here, so I don't believe this is the reason. Plus, your initial version worked ok and you still did not explain what you have changed to introduce the scaling problem !
I have changed areas to transparent labels to click on the buttons . Easier to resize and move a label than generating a new area if someone wants to change the program. Try the exe on a freshly installed windows, you'll see, it will be working fine, you must have a font problem.

Quote:
1. The window is huge. It covers almost the entire screen. If I need the task manager to kill it (likely), I can't get to it. Can't you make this half size ?
Yes now that I have disabled the auto form scaling it's a bit too big for low resolution screen.
I need to think of a solution.

Quote:
2. HOW DO I LEAVE the options menu ? Once in, I can only exit the program !
Click again on the options button to leave!

Quote:
3. I ran this from Lazarus first. Selected a source folder, level 4 and Go. After generation of 30 presets, the progress bar froze and Lazarus as well. I could not even bring the task manager to top, so I had to use my PC's power button. Lovely ! Up again, I recompiled with range checks on, and now reliably get a range check error when clicking the GO button. TEST your progam, and don't disable checks pramaturely, they are there for reason !
Ok I have to change the form style stayontop to normal so it doesn't stay on top of the task manager.
Does the bug happen all the time? it's weird. I had a similar problem with lazarus if I check the randomize everything while auto-generating presets. After 25 or 30 presets, all the new ones created are empty. And this is not happening with delphi

thanks isosceles for the presets!
serge000 is offline   Reply With Quote
Reply
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