Old 31st July 2016, 22:01   #1
p.fitzek
Junior Member
 
Join Date: Jul 2016
Posts: 1
song title animation

Hello everybody,

I have a problem with the song title animation. Unfortunately the title is not displayed fully - at the end are only displayed dots (for example: AC DC - Hells Be...)
I know that I change a line in a configuration file - I've done it once already. Unfortunately, I have now a new computer and a new operating system.

Best regards
Peter
p.fitzek is offline   Reply With Quote
Old 2nd August 2016, 17:29   #2
dickchuck
Junior Member
 
Join Date: Jan 2011
Posts: 17
Title Anims

Hey,

On your new system/setup, there may not be enough room for the title.

I've done a lot of work recompiling Milkdrop2 for adding MDC (Cue) support. The original formatting of Song Title animations used the DT_SINGLELINE flag which forces a single line, even if CTRL_LF (line break) codes are in the string, or if clipping would otherwise occur. The DX9 version is noted as not supporting DT_ELLIPSIS modes - the ellipses are SUPPOSED to be added in various places when something got clipped by being too long for the single line. As I recall when I first started into this, I concluded that some form of ELLIPSIS must be the default because I could trigger it without the added flags. The DX11 version out there might have DT_ELLIPSIS_WORD or _END flags set.

You are welcome to use the MDC version of Milkdrop. It uses the DT_WORDBREAK flag that allows words to wrap in the title. It also recognizes CTRL_LF codes in MDC-cued Texts and Karaoke lines. VJ live-cued custom Messages are handled in the original way (I could change that if you rely on messages and they are doing this, too).

If you are compiling the source code - look for the milkdropfs.cpp code file. Then find the function ...:RenderStringToTitleTexture(). Scroll down to the section that handles title animations (not custom messages) and find the DT_SINGLELINE flag that appears in (I think) two places. Try replacing it with DT_WORDBREAK and if those results aren't what you like, you could try removing that flag altogether.

-Dick Chuck
dickchuck is offline   Reply With Quote
Reply
Go Back   Winamp & SHOUTcast Forums > Visualizations > MilkDrop

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