Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could you please tell me how to converter a milkdrop preset to butterchurn? #2

Closed
lexterror opened this issue Aug 27, 2020 · 6 comments

Comments

@lexterror
Copy link

lexterror commented Aug 27, 2020

Hi, I would like to convert 1 preset to butterchurn, could you please help?

Is there somewhere online I can convert?

This is my preset: http://www.mediafire.com/file/nvx3v9uo65ituvx/LuxXx_-_MoltenWheel_i_-_Isosceles_edit9.milk/file

Thank you!

@jberg
Copy link
Owner

jberg commented Aug 28, 2020

Hi,

I tested it out and if you drag that milkdrop file into the visualizer window on webamp, it will convert the preset in browser and render:

Screen Shot 2020-08-27 at 9 17 54 PM

Does that work for what you are trying?

Cheers,

Jordan

@lexterror
Copy link
Author

Thanks very much!

@lexterror
Copy link
Author

jberg it doesn't work either on Firefox or Google Chrome. I tried dragging the file into the window/viz of webamp.org and it won't convert or render. Is there a trick?

Thank you!

@jberg
Copy link
Owner

jberg commented Sep 2, 2020

It should work in both Firefox and Chrome (but not Safari).

If you hit 'L' while highlighting the Milkdrop window, you will see the listings of presets, it should be at the bottom:

Screen Shot 2020-09-01 at 7 45 39 PM

@lexterror
Copy link
Author

Hi jberg,

Is there any possibility of telling users how to use their own presets. I'm really concerned that a very few people have the information needed to use their own presets. The preset above works very well I don't mind trying to convert it. But it seems the builtin presets are "hardcoded" to the butterchurnPresets.min. Could you please tell me how to use one of your "json" converted presets. Thank you!

@jberg
Copy link
Owner

jberg commented Dec 20, 2020

Hi jberg,

Is there any possibility of telling users how to use their own presets. I'm really concerned that a very few people have the information needed to use their own presets. The preset above works very well I don't mind trying to convert it. But it seems the builtin presets are "hardcoded" to the butterchurnPresets.min. Could you please tell me how to use one of your "json" converted presets. Thank you!

Hi!

If you already have a JSON preset, loading it should be as easy as calling loadPreset on the visualizer object. Converting milkdrop presets to the JSON format is unfortunately a harder process.

I'm planning on updating my converter to use a Docker container, as currently its not building in most environments. Once thats accomplished it should hopefully be possible to use that to convert presets.

Just as an aside, the main barrier for easily converting milkdrop presets to butterchurn JSON format is the necessity of converting the original milkdrop HLSL shader code into GLSL so it can run in the browser. Thats why I can't just load a milkdrop preset directly :-/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants