SONAR Mods

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1] 2 3 4 5 ... 8   Go Down

Author Topic: Duckbar [Download & Changelog]  (Read 11150 times)

Panu

  • Administrator
  • [SONAR Mods]
  • *****
  • Offline Offline
  • Posts: 1814
    • SONAR Mods
Duckbar [Download & Changelog]
« on: October 16, 2012, 04:12:36 AM »

Duckbar



Duckbar installer version 1.05 (64 bit)
Duckbar installer version 1.05 (32 bit)





Changelog

1.05

  • New toolbar configuration file format. See Toolbar Customizing Guide for more info.
  • Updated toolbar context menu item texts. Now the slowest toolbar fade-out time is 180% slower.
  • SONAR Browser / Plugins tree view is automatically expanded on toolbar start-up.
  • Toolbar: removed a background worker to save a couple of valuable CPU cycles for SONAR.
  • Added color presets for floating toolbar background. Access by right clicking toolbar.
  • New method to launch SONAR commands.
    + More robust
    + Compatible with any SONAR language
    + Better compatibility with future SONAR versions
  • New floating tool bar buttons:
    Toggle Audio Engine
    Smart Tool, Select Tool, Move Tool, Edit Tool, Draw Tool,  Erase Tool
    Toggle Vintage Transport Bar
    Track President
    Toggle Status bar (pre X1 style)
    Toggle Automatic Track Zoom
    Toggle take lanes
    Toggle automation lanes
    Toggle Bus Pane
    Toggle Navigator
    Go to marker 1,2,3....12 (SONAR 8.5 Transport bar feature brought to X1 and X2)
    Show Duckbar (context menu: Exit program)
  • Updated floating tool bar icon set.
     Max icon size is now 48 pixels.
  • Main window status bar: sizing grip (in the bottom right corner) hidden.
  • Start up: if Duckbar was closed as minimized or in system tray on last run, it will start as normal window on next start up.
  • Faster First Run splash screen if Windows session is in Remote Desktop.
  • By default wallpaper is disabled if Windows session is in Remote Desktop to speed up screen refreshing.
  • Start up: added two 100 ms pauses between the most time consuming procedures to free up CPU for SONAR (or any other program) in case it's open to prevent audio engine dropouts in old, underpowered laptops.
  • Colors dialog:
    - added Lighten and Darken effects.
    - removed # character from color codes
    - lots of code imported from EXE Colors.
    - user is asked if he wants to save changes on exit.
    - improved method to import BGR formatted registry colors in RGB.
    - removed obsolete code.
    - added "Show" sub menu, similar to EXE Colors Show sub menu to filter list of colors.
    - fixed typo in color "Continuous Event 3=Piano Roll - Continuous Event 3" description
    - Color / Apply: crash if colors were not ever changed in SONAR.
  • New command in Main menu | Window: Reset saved window states. All saved main and child window locations and sizes (for re-sizable windows) are cleared.
  • New options added in settings: Restore MultiDock on exit and Restore Track View Menu on exit.
  • First Run Wizard: tab page headers (shown previously in the right) are now hidden in an elegant way.
  • Picture cache window: OK, Apply and Cancel buttons removed. Added toolbar with "Apply" and "Clear cache" buttons.
  • Performance options: changed layout. Renamed description of "Extra buffers for External Inserts". Renamed "Apply" button as "Save". Removed OK button. Renamed "Cancel" button as "Close". Window borders are now fixed. Minimize and maximize buttons removed.
  • Settings | SONAR Settings: Insert Track Template default options are now set as enabled if settings are not yet <stored in Windows Registry (SONAR uses internal default settings and does not store settings in the registry until user changes them for the first time). This caused Duckbar to read settings as "disabled".
  • New option: Float child windows. If checked, windows are opened as floating. Default: open in main window as child windows.
  • Updated Duckbar.exe icon
  • Streamlined First Run Wizard: removed welcome page, launching Duckbar Protection opens Create restore point | Enter name dialog.
  • Removed obsolete options in settings.
  • New option: Personalization | Misc tab: Enable experimental features. Inspector and Browser tweaking menu items as well as "Add Empty ProChannel preset" (for SONAR X1 only) are now shown only if this option is checked.
  • Minimized in system tray icon: added context menu.
  • Floating windows are now always shown in the taskbar.
  • Duckbar Protection window was resizable. Now it's fixed as designed.
  • First run wizard: added notification to reproduce issue without Duckbar and mods if contacting Cakewalk support.
  • Personalization
    - Paths: now paths must be selected using browser.
    - Show status bar option was ineffective.
    - Changed selecting of wallpaper. Click image to change wallpaper. Drag & drop works as before.
    - Personalization | Misc: removed obsolete performance options.
  • Internal: removed unused graphics resources.
  • EXE Colors:
    - removed obsolete code.
    - Modified color set "Save file?" question no more asked in File|Append before appending.
    - Color set is marked as "has been modified" after append.
    - New Options menu and changed default behavior: Options | Read colors automatically from EXE on startup is checked by default.
    - Crashed if selected multiple colors and opened context menu|Color...
    - Clear recent files: warning messages removed if recent file entries were not found. Recent files list is now updated immediately after clear command.
  • INI File handling: fixed an issue when the first character of INI file was '[' (beginning of a section).
  • Create restore point: confirmation dialog is now shown after successful creation of restore point.
  • Skylight Colors:
    - several interface layout changes
    - Target folder selection dialog: now root folder is My Computer.
1.04
  • Personalization: Set default wallpaper button referred to removed image. Fixed.
  • Several windows were clipping if other than 100% DPI text setting was used.
    Fixed Skylight Colors, First Run Wizard, Duckbar Protection, First Run Splash screen, Mod Patcher, Select SONAR version dialog. Improved Runtime Colors, Picture Cache Options.
  • EXE Colors: now there are 334 colors for X2a 64 bit. 200+ colors found by the mighty ZMODs.
1.03
  • New feature: First Run Wizard.
  • New mod for X2: Track View Context Menu - SonarMods. ALERT: Do not apply this mod for X1. Danger of crash.  It will be disabled for X1 in the next release.
  • Updated SONAR installations detection routine. No more duplicate findings targeting to same installation folder with different build version information.
  • Added more EXE Colors for X2a 64 bit: new record is 333 colors! Thanks to ZMODs for skipping Christmas and New Year party to hunt exe colors.
Mod Patcher:
  • Updated Guide.
  • Removed old backup system. Added shortcut button to Duckbar Protection.
  • Updated error message when source and target files are the same.
  • Moved target file textbox over the mod list.
  • Removed status bar.
  • Crash if backup file not found: solved.
  • Toolbar image size follows main form size (customizable).
1.0.2, December 30, 2012
  • Mod Patcher: added X2a Interleave button fix mod and moved Quad EQ mods to a new sub folder.
  • Extract Skylight Graphics: extracting Bitmap resources fixed
  • EXE Colors: 270 colors for X2a 64 bit (thank you ZMODs)
  • EXE Colors: added Default To SONAR toolbar button.
  • EXE Colors: added Developer utils sub menu.
  • EXE Colors: EXE Color search: now address location neighborhood is examined more to prevent false locations getting thru when searching problematic color codes
    Main menu/Duckbar: added word "orphaned" to "Kill orphaned Bitbridge processes" menu item.
    X2: Runtime Colors were broken. Fixed.
  • Runtime Colors: Now plugins tab follows media browser tree view colors
  • Speed optimization: Background worker reading SONAR window handles
1.0 build 13
  • New backup/restore system "Duckbar Protection" coding is under active development. Check at Main menu / Maintenance / Duckbar Protection.
  • default backup folder moved from Application folder to My Documents\Duckbar Backup files in order to preserve backups when updating Duckbar to newer versions.
  • EXE Colors: Color set for X2a 64 bit English made by ZMODs, 233 colors!
  • EXE Colors: added Piano roll and Staff view to Show menu
  • EXE Colors: full range search scans entire exe file 
  • EXE Colors: new options in EXE Color search dialog: user can set maximum number of search results and set how many first candidates are skipped 
  • Readme file updated
1.0 build 12
  • New default wallpaper
  • New Add-on mod: Track View Head Pane background color - Forum 2013 style
  • New Add-on mod: Panu's Simple Main Menu
  • EXE Colors Developer mode: new command "Import EXE Color set from older build..." in Edit menu to help migrating color sets from previous SONAR builds.
  • EXE Colors: Replace EXE Color dialog:
    Window style is now Fixed sized tool window.
    Replace and Close buttons style is changed.
    Default "Replace with" color code is no more empty.
  • EXE Colors: Now Toggling Developer Mode updates all menu items instantly.
1.0 build 11
  • SONAR X2a compatible.
  • EXE Colors: created initial template EXEColors X2a Producer64 English build 351.xml. Support for 32 bit EXE comes later.
  • New Add-on mod: "Intuitive Main Menu"
    Mod copies several "Insert ...." menu items from Project menu to Insert menu; to the place they were in pre X series era.

    It also removes the following items from Utilities Menu:
    • Burn Audio CD...
    • Cakewalk &Publisher
    • Clean Audio &Folder...
    Project/Info menu item is copied to File/Project Info.
  • New Add-on mod: "Remove Any PC Module"
    Purpose of this mod is to add a menu item in the ProChannel context menu to allow you to remove any module, including the artificially fixed EQ module.
   
  • Mod Patcher: added support for SONAR Menu mods. Now we can modify any pull down menu or context menu by using Duckbar X1mod files.
  • Skylight Colors: added Reset buttons for Contrast, Hue, Saturation and Lightness sliders.
  • Skylight Colors: new, cool looking sliders were tested but not taken in production because there were a couple of compatibility issues. We're back in the (ugly) Windows trackbar sliders.
1.0 build 10
  • EXE Colors: Edit/Delete Selected color(s) shortcut changed from Del to Ctrl-Del.
  • Default English X2 PDF Manual search file name fixed.
  • Personalize / Paths: "Start SONAR association" radio buttons could overlap. Fixed.
  • Personalize / Paths: Default search path for PDF manuals is now Desktop instead of some random folder.
  • Removed unused code to shrink exe file.
  • Utilities Menu Editor: minor cosmetic changes


1.009 - Internal version



1.008 - EXE Colors update
  • Loading color sets is 100 times faster than before. I tested loader with 500 exe colors. Old loader: 34 seconds. New loader: tiny fraction of a second. Bottleneck: adding stuff to grid view cell by cell is very slow. Now grid view items are added using a row template which is loaded with data before it is fed to grid view.
  • Now enabled for any SONAR version even if no EXE color sets are not found.
  • New commands added in File menu: Append, Close, Reload from Disk, Delete from Disk. Note: deleting and editing factory setting EXE files is not restricted in any way. You may want to save your custom color sets as new file - now it's  both easy and recommended.
  • New EXE color search commands in Developer Mode: Search similar colors nearby (Alt-Space), Search similar colors extended (Ctrl-Alt-Space), Search similar colors everywhere. Usage: select colors and start search. "Nearby" searches near addresses, extended looks further away, "everywhere" (Ctrl-Alt-Shift-Space) scans almost whole exe file.
  • New Developer Mode on/off button to enable/disable menu items.
  • In Developer Mode location can no more be edited manually.
  • EXE Color search routine is faster than before
  • Recent files system added (under construction - list still accepts duplicates). Recent File list is stored in HKEY_CURRENT_USER\SonarMods\Duckbar.


    Tip of the day:

    Start EXE Colors,
    press Ctrl-A to select all colors; then press Ctrl-Space to find new color candidates.




1.007
  • Skycolors could crash if output was set as "mod" but target did not exist.
  • Skycolors: interface is now 125% DPI compatible. (tnx ZMODs)
  • Skycolors: "Target preview" is now updated when target file or target type is changed
  • SONAR Protection: backup command can already do backups. Restore feature not yet implemented.  Do a backup now and restore later! (Maintenance / SONAR Protection [preview])
    SONAR Protection backs up SONAR executable, TTSRES.dll, registry settings, AUD.INI and Cakewalk.ini. Files are stored in ZIP archive and saved on the disk under My Documents\SONAR Protection.

New EXE Colors interface
  • All color edit commands affect to the selection.
  • Changed behavior: currently open colorset is always opened next time EXE Colors window is opened.
  • In developer mode it's possible to remove, cut or copy colors to clipboard in XML format and paste them back.
  • OK, Cancel and Apply buttons removed from the bottom of the window. Apply button is now in the same place as in Mod Patcher: top left corner.
  • New column: SONAR color, which always reflects to the color stored in SONAR executable.
  • EXE Colors Search is now in Edit/Search from EXE... (Shortcut Ctrl-Find)


    EXE Colors Keys bindings summary:
    Ctrl-L: lighten selected colors
    Ctrl-D: darken selected colors
    Ctrl-R: randomize selected colors
    Alt-A: Apply (write to sonar)

    List editing:
    Select all: Ctrl-A
    Select none: Ctrl-Shift-A
    Ctrl-X, Ctrl-C, Ctrl-V: cut, copy, paste
    Del: delete selected colors from the list
    Ctrl-F: search colors from SONAR executable
    Ctrl-H: replace colors

    File:
    Ctrl-S: Save colorset
    Ctrl-O: Load (open) color set

    Last one of my favorites:
    Space: pick color from anywhere at mouse location to selected items.
Known issues:
  • Skylight colors requires more testing. It works in my dev system but your results may vary. :-/
  • EXE Colors has many new features which means there's code that's not tested in all circumstances.
  • SONAR Protection is for preview only.
  • EXE Colors: toggling developer mode requires restart of EXE Colors to update Edit menu

1.006

1.005
  • SONAR Protection coding continues. Create restore point made.
  • Fixed: Colors: Several colors blue and red components were swapped. It caused customized colors show incorrectly in SONAR. Grey scale and pure green colors were always working OK.
  • More Color descriptions added
  • Added Duck City color set
  • Improved EXE Colors Developer mode:
    * EXE Colors search results can be appended directly to the list (remember to save list manually).
    * Search supports for multiple colors at once. Separate colors by semicolon, for example 1f1f1f;333333;C7C7C7
    * Edit EXE Color list enhancements: multiple rows selection enabled, delete selected rows
    * Inline Location and Default Color editing
    * Invalid locations are now reported by message box (earlier they were written to the log file)
    * Sort list by location and default color

1.004

New:
  • Added more EXE Colors for X2 x64 build 308
  • EXE Colors Search: added many default SONAR preset colors. Colors are defined in Duckbar install folder\EXEColors\HunterX2.txt. File format example:
    Location="8BF307" / Default="8D8D8D" / Description="ProChannel | Dead Space"
    Location="8BAABE" / Default="8D8D8D" / Description="ProChannel | Preset background"
    Location="FAF2FA" / Default="5AD2FA" / Description="ProChannel | Preset Text"

  • EXE Colors Search: added address range select
  • EXE Colors Search: added address range presets
Fixed:
  • Skylight Colors: mods in the image list caused a crash.
  • EXE Colors Search: default "Save to" folder is now initialized to the default EXEColors folder during the first run.


1.003
New:
  • Added support for Color Descriptions. Descriptions are stored in Duckbar install folder\Colors\Descriptions.txt. File format is identical to SONAR's INI files.
    Usage example (color names are for demonstration only):
    [X1]
    Clip text=Clip text foreground color
    [X2]
    '
    ' descriptions for X2
    '
    Clip text=Clip text and recording levels color
    CrypticColor=Track View header pane background color
Fixed:
  • "Save EXEColors as..." opened the Mod folder instead of the EXEColors folder. Now it opens EXEColors folder. NOTE: Save custom EXE Colors file outside Duckbar installation folder before uninstalling Duckbar!
  • Personalization: improved compatibility with non-default display DPI values (ZMODs, thanks for the screen capture.)
  • Personalization: now all tab pages have caption
  • Cleaned log file writing during startup
  • Runtime Colors are saved to registry HKEY_CURRENT_USER\Software\SonarMods\Duckbar\RuntimeColors instead of Duckbar settings file to preserve them during updates.
  • Uninstaller cleans and removes Application Data\SonarMods folder properly leaving no garbage behind.

1.002


New:
  • Colors Blacklist in Customize | Colors to clean up the list from unused entries.
Fixed:
  • Entering Personalize / Paths crashed Duckbar.
  • SONAR_X2_Reference_Guide.pdf path is set automatically during first run if file is on Desktop.
  • Duckbar is forced to come on the top after Personalize window has been closed.
  • Default toolbar configuration file "ToolbarConfiguration.xml" is no more copied to Application Data folder. It's now in Program Files\Duckbar\
  • QuickLaunch bar size was initialized always to 16 px in Personalize window.
  • Runtime Colors caused Browser background color flickering.
  • Installer language follows now operating system language.


1.001

Improvements:
  • Starting a new Duckbar instance brings current Duckbar to front (previously it did nothing)
  • Skylight Colors/Save preset: initial directory is now the default folder
  • Select Wallpaper: initial directory is now the default folder
  • First startup on a fast PC: Splash screen is shown at least 1.5 seconds
  • Start up: less flickering
  • Customize/Colors: Removed several entries from the color list because they're ineffective in X1 and X2 (you can still find these in SONAR Preferences which is confusing):
Removed:
  • Options from Customization/Colors
Fixes
  • Stupid behavior in Customize/Colors: Pressing Arrow Down key did the same as Space; it picked color under the cursor. Fixed.
  • Customize/Colors: "Track View Clips Pane Background" was encoded incorrectly; it is one of the colors that are stored in Blue-Green-Red format rather than the ordinary Red-Green-Blue. It caused red and blue components swap their values. List of Blue-Green-Red colors I have found so far:  "Toolbar Background *", "Menubar Gradient Start", "Menubar Gradient End", "MenuBar Border Dark", "MenuBar Border Light".


1.000
  • Changelog started!



Misc hints:
- Use mouse wheel to re-size tool bars. Ctrl + mouse wheel over the toolbar in main window darkens/lightens toolbar background color.
- Skylight Colors drag & drop supports PNG and BMP resources, Mods (*.x1mod), SONAR DLL files (TTSRES*.dll), image lists and filter preset files.
- Use Alt-1, Alt-2, Alt-3 etc. keys to switch between SONAR versions.
- Backup TTSRES and SONAR executable before playing with mods and EXEColors. Click Alt-B and make backups.
« Last Edit: July 08, 2013, 08:32:40 AM by Panu »
Logged

ZMODs

  • V.I.P
  • Living here
  • *****
  • Offline Offline
  • Posts: 467
Re: ### Duckbar 1.0 ###
« Reply #1 on: October 16, 2012, 01:20:31 PM »


C
O
O
L
!

;D
« Last Edit: October 16, 2012, 01:24:03 PM by ZMODs »
Logged

Panu

  • Administrator
  • [SONAR Mods]
  • *****
  • Offline Offline
  • Posts: 1814
    • SONAR Mods
Re: ### Duckbar 1.0 ###
« Reply #2 on: October 16, 2012, 02:53:40 PM »

THANKS
Logged

Panu

  • Administrator
  • [SONAR Mods]
  • *****
  • Offline Offline
  • Posts: 1814
    • SONAR Mods
Re: ### Duckbar 1.0 ###
« Reply #3 on: October 16, 2012, 03:52:42 PM »

Duckbar Version 1.0 Technical Notes

Improvements
  • New Skylight Colors editor
  • Simplified installer
  • Uninstaller leaves less garbage behind
  • Reduced disk usage
  • Improved automatic Toolbar, MultiDock and Track View menubar show/hide
  • Toolbar support different PDF manuals for X1 and X2
  • CPU overhead can be adjusted in settings by changing background worker priority
  • New set of HD wallpapers
  • Set QuickLaunchBar and Toolbar size by Mouse Wheel
  • Set QuickLaunchBar and Toolbar background color by Ctrl+Mouse wheel
  • QuickLaunchBar Tap tempo button can be used for tapping (for tempo tapping, not VH style guitar tapping)
  • Uninstall shortcut added to Start menu
  • Clicking available Picture Cache in the statusbar opens Picture Cache options
  • Added "Clear Picture Cache" to Picture Cache options
  • Progress Bar appears if importing many Skylight resources (drag & drop PNGs and BMPs to main window)
Changed behavior
  • Duckbar wallpaper can no more be changed by dropping image to main window unless image path contains word "Wallpaper". Drag & drop in settings page still works.
  • There is just one checkbox for "Show Toolbar". Now toolbar appears always when a SONAR project is opened and it hides after all projects have been closed.
Removed
  • Customize / Big Time (not hippy enough)
  • Customize / V-Vocal (problems with GDI+)
  • Customize / Wallpaper (can be customized otherwise with ease)
  • Several buttons from the QuickLauch bar to simplify interface
Fixes
  • Mod Patcher: default target dll is now correct in X2
  • "No SONAR installed" scenario is handling is more elegant
  • Toolbar is always brough to top when shown.
  • + over 100 fixes, optimizations and better behavior all over the codebase
Known
  • Skylight Editor is "late alpha version".
  • Skylight Editor save process has no indicator. Don't get worried if it hangs for a while.
  • Skylight Editor filters are not as exact and smooth than in PhotoShop but they're good enough for this purpose.
  • Uninstaller does not clean HKEY_CURRENTUSER\Software\SonarMods\Duckbar registry entries.
  • Uninstallar may leave orphaned file 1033.dll or similar in %appdata\SonarMods.
  • Main Theme Mods are not perfect in X2. They're usable but not finished. Good news is now you have tools to modify them.
  • Documentation is far from adequate. If you get lost in the program, ask help directly from me.
If you find a bug, please make a report!

More to come.
« Last Edit: October 16, 2012, 05:54:49 PM by Panu »
Logged

ahan

  • Member
  • *
  • Offline Offline
  • Posts: 5
Re: ### Duckbar 1.0 ###
« Reply #4 on: October 16, 2012, 05:23:10 PM »

genial!!!!!!!!!!!!!!
Logged

ZMODs

  • V.I.P
  • Living here
  • *****
  • Offline Offline
  • Posts: 467
Re: ### Duckbar 1.0 ###
« Reply #5 on: October 16, 2012, 09:50:24 PM »



Suuuuper, that is!  8)
« Last Edit: October 16, 2012, 09:52:00 PM by ZMODs »
Logged

Panu

  • Administrator
  • [SONAR Mods]
  • *****
  • Offline Offline
  • Posts: 1814
    • SONAR Mods
Re: ### Duckbar 1.0.0.1 ###
« Reply #6 on: October 17, 2012, 01:17:51 AM »

Duckbar changelog

1.01

Improvements
  • Starting a new Duckbar instance gets you to the currently open Duckbar (previously it did nothing)
  • Skylight Colors/Save preset: initial directory is now the default folder
  • Select Wallpaper: initial directory is now the default folder
  • First startup on a fast PC: Splash screen is shown at least 1.5 seconds
  • Startup: less flickering
  • Customize/Colors: Removed the following entries from the color list because they're ineffective in X1 and X2 (you can still find these in SONAR Preferences which is confusing):
Code: [Select]
Dialog Box Banner Text
Dialog Box Banner Background
Console View Blank Background
Enable/Disable Toggles
Large Transport Background
Large Transport Labels
Large Transport LCD Text
Track View Button Outline
Arpeggiator Button
Arpeggiator Gradient
Window Background
Window Text
Audio Clip Background
Track View Clips Pane Background
Track View Strip Background
Track View Control Background
Track View Bus Input Pan Control
Track View Disabled Control Text
Track View Instrument Track Name Background
Track View Slider Background
Master Control Bar Background
Console EQ Plot Grid
Console EQ Plot Graph
Console View Slider Background
Console View Drop-down Controls
Console FX Bin Text
Console View Slider
Console View Strip Background
Track Inspector Background
Toolbar Static Text *
Toolbar LCD Text *
Toolbar LCD Background *
Toolbar Background *
Toolbar Background - In Views *

Removed
  • Options from Customization/Colors
Fixes
  • Customize/Colors: Pressing Arrow Down key did the same as Space; it picked color under the cursor. Fixed.
  • Customize/Colors: "Track View Clips Pane Background" was encoded incorrectly; it is one of the colors that are stored in Blue-Green-Red format rather than the ordinary Red-Green-Blue. It caused red and blue components swap their values. List of Blue-Green-Red colors I have found so far:  "Toolbar Background *", "Menubar Gradient Start", "Menubar Gradient End", "MenuBar Border Dark", "MenuBar Border Light".
« Last Edit: October 17, 2012, 01:26:39 AM by Panu »
Logged

ZMODs

  • V.I.P
  • Living here
  • *****
  • Offline Offline
  • Posts: 467
Re: ### Duckbar 1.0.0.1 ###
« Reply #7 on: October 17, 2012, 11:30:44 AM »

WHOA Nelly! Not so fast, Kemosabe!

The "Toolbar Background*" is actually the area surrounding the Track View control area. DO NOT REMOVE!

With X2 came even more color confusion when Cakewalk inadvertantly misnamed several color choices making it seem like some colors do nothing when they really do.

I'm currently making a list of them and will try to have it posted by the weekend.


Steve
Logged

ZMODs

  • V.I.P
  • Living here
  • *****
  • Offline Offline
  • Posts: 467
Re: ### Duckbar 1.0.0.1 ###
« Reply #8 on: October 17, 2012, 11:36:29 AM »

Question: Is the Color list in Preferences tied to the list in the registry? And is there any way to edit/update it so its less confusing?

I tried changing a line in the registry color list but it did nothing to the Preferences list so its odd to me how the two interact.


Steve
Logged

Panu

  • Administrator
  • [SONAR Mods]
  • *****
  • Offline Offline
  • Posts: 1814
    • SONAR Mods
Re: ### Duckbar 1.0.0.1 ###
« Reply #9 on: October 17, 2012, 05:43:58 PM »

Question: Is the Color list in Preferences tied to the list in the registry? And is there any way to edit/update it so its less confusing?

I tried changing a line in the registry color list but it did nothing to the Preferences list so its odd to me how the two interact.


Steve

It is tied to the registry HKEY_CURRENTUSER\Software\Cakewalk Music Software\[sonar version]\Colors.
I make tests myself too and see how editing registry works.

Here is the registry reader code from version 1.0.0.0:
Code: [Select]
    '
    ' Populate List from registry
    '
    Private Sub populateList()
        Dim RegKey As String = Mid(My.Settings.hkeyUserSonar, InStr(My.Settings.hkeyUserSonar, "Software")) & "\Colors"
        Dim rk As RegistryKey
        Dim i As Integer = 0

        rk = Registry.CurrentUser.OpenSubKey(RegKey, True)
        Dim temp As Drawing.Color
        Dim r, g, b As Integer
        If rk Is Nothing Then
            MsgBox("Run SONAR, open Preferences / Colors and make at least one change to the color scheme. Then apply settings and open this dialog again.", MsgBoxStyle.Critical, "SONAR Color settings not found")
            Me.Close()
        End If
        For Each Entry In rk.GetValueNames
            Select Case Entry
                Case "Custom Colors"
                         ' Skip this key
                Case Else
                    List(i).Name = Entry
                    Select Case Entry.ToUpper
                        Case "Toolbar Background *".ToUpper, _
                              "Menubar Gradient Start".ToUpper, "Menubar Gradient End".ToUpper, _
                              "MenuBar Border Dark".ToUpper, "MenuBar Border Light".ToUpper
                            ' Convert BGR <=> RGB
                            temp = Drawing.Color.FromArgb(&HFF000000 + CType(Registry.GetValue(My.Settings.hkeyUserSonar & "\Colors", Entry, 0), Long))
                            ' Take R component from Blue
                            r = temp.B
                            r <<= 16

                            g = temp.G
                            g <<= 8

                            ' Take blue component from R
                            b = temp.R
                            List(i).ARGBColor = &HFF000000 + b + g + r
                           
                        Case Else
                            ' Normal RGB
                            List(i).ARGBColor = &HFF000000 + CType(Registry.GetValue(My.Settings.hkeyUserSonar & "\Colors", Entry, 0), Long)
                    End Select
                    List(i).PreviousColor = List(i).ARGBColor
                    i += 1
                    ReDim Preserve List(i + 1)
            End Select
        Next
        ReDim Preserve List(i - 1)             
    End Sub
« Last Edit: October 17, 2012, 05:50:08 PM by Panu »
Logged

ZMODs

  • V.I.P
  • Living here
  • *****
  • Offline Offline
  • Posts: 467
Re: ### Duckbar 1.0.0.1 ###
« Reply #10 on: October 17, 2012, 07:26:54 PM »

Here are some discrepencies I've found so far:

Preferences - Customization - Colors

   "Console View Strip Label Text" = "Peak Marker (< 0dB)" & SENDS Module number in CV

    (no actual listing for SENDS Module number above)

   "Console Segmented VU Tick Marks"  =  DEAD (no longer used)

   "Header"  =  Track View Clip Header bar

   "Header (Selected)"  =  Track View Clip Header bar (Selected)

   "Peak Marker (< 0dB)"  =  DEAD (see above)

   "Peak Marker (>= 0dB)"  =  DEAD (see below)

   "Peak Marker Text" =  DEAD (no longer used?)

   "Track View Header Peak Text"  =  Peak Marker (< 0dB) in TV

   "Track View Header Warning Text"  =  "Peak Marker (>= 0dB)" in TV & CV



Not found in Preferences but listed in the registry:

   "Toolbar Background*" = Tracks Pane Boarder

   "Time Ruler Background"


No longer used:

   "MIDI Tracks, x, xx, xx, Background"

« Last Edit: October 17, 2012, 08:48:40 PM by ZMODs »
Logged

Panu

  • Administrator
  • [SONAR Mods]
  • *****
  • Offline Offline
  • Posts: 1814
    • SONAR Mods
Re: ### Duckbar 1.0.0.1 ###
« Reply #11 on: October 17, 2012, 09:51:41 PM »

Make a plain list of unused registry names. I add support for "color blacklist" in the next version.

Format:
---clip---
Window Background
Another unused color
And One More
--clip--

Case: insensitive but original case is better.
Logged

Keni

  • V.I.P
  • Living here
  • *****
  • Offline Offline
  • Posts: 269
    • Deep Space Records
Re: ### Duckbar 1.0.0.1 ###
« Reply #12 on: October 17, 2012, 10:05:01 PM »

Hi Panu...

I can't install on my x64 machine for a while as I'm busy making some backups...

I did try (once again) to install on my Vista32 machine with almost the same result...

Dbl-click to launch and the dialog questioning me whether I want to run the program appeared (at least something happened this time)... I waited near 10 minutes before using Task Manager to stop the process from running... it still did not open the installer program. I allowed it to run that long because it appeared to have my hard drive busy that long... Maybe co-incidental?

Keni
Logged
_________
Keni Fink
In Exile
Deep Space Records

Panu

  • Administrator
  • [SONAR Mods]
  • *****
  • Offline Offline
  • Posts: 1814
    • SONAR Mods
Re: ### Duckbar 1.0.0.1 ###
« Reply #13 on: October 17, 2012, 11:19:00 PM »

I asked about the vista problem from Advanced Installer support. They could not replicate this... 
Logged

Keni

  • V.I.P
  • Living here
  • *****
  • Offline Offline
  • Posts: 269
    • Deep Space Records
Re: ### Duckbar 1.0.0.1 ###
« Reply #14 on: October 17, 2012, 11:45:25 PM »

Why am I not surprised? <sigh>...

I will do my best to investigate some more.... But other programs still install fine. I just installed thunderbird 16.0.1 with no problems moments ago...

Thanks for sticking with me on this...

I'm waiting for the last disc to finish burning then I will install on the x64 machine and report...

Keni
Logged
_________
Keni Fink
In Exile
Deep Space Records
Pages: [1] 2 3 4 5 ... 8   Go Up