Two months, 154 e-mails, 2077 lines of code, countless hours of testing, debugging, think tanking...
...just to produce the BEST THEME PRODUCTION TOOL, EVER! Errr... almost. Sort of.
So here it is,
***RthemeL - aRtistic Theme Loader***
SammaySarkar and I joined forces to bring you the ultimate word on theme making for XYplorer.v1.2: fixes a bug with a missing parameter, updating writefile with mode 'ta' instead of deprecated 'b'
v1.3: double values on color table removed; this WONT increase theme generation times (which vary from instant to
~20 seconds, on several measurements I made on different machines) because those times depend on picked value from $schM1, actually.
The larger the number of seed tokens there, the slower the script goes.
The idea is pretty simple:
1. the script auto-generates a visual theme;
2. you tweak minor details using the XYstylEZR - RthemeL Theme Creation Tool. Several functions are added for your aid;
3. a file theme is auto-created, as well as the new theme is applied.
*For the RELOAD button to work, the file "RthemeL.xys" must be put under <xyscripts>.
Screenshot at the bottom of this post.
Sammay: incredible job. Thank you!
Estrelinha: isto é dedicado a você. ^^
More details as follows:
-each time you run the script, it'll generate a full theme variation based off a randomly selected color in less time than you'd spend to change 3 values via XY options (31 color values are supported, plus 2 other style configs: Tree Path Tracking and Grid Style).
-Sammay's wonderful code, HthemeL, will not just bring the preview for the generated theme, but also an interface through which tweak each aspect of the theme. Sometimes minor changes may be required for better visualization, so HthemeL is the perfect tool to fine tune your themes.
-at any time you can RESET to session's original color values, paste a previously stored '|'(hex) or '*'(dec)-separated theme from CLIPBOARD (a small button will be displayed so the last valid clipboard'ed theme can be reset), rip CURRENT XYplorer theme in use or EXPORT current values on preview pane for future usage. The numeric overlay can be toggled on or off, original key values can also be displayed at the pane for better reference (default pane has respective tooltip balloons for each input box), and extra T(reePathTracking) and G(ridStyle) buttons control proper styles. For the RELOAD to work, the file "RthemeL.xys" must be put under <xyscripts>.
-color values can be directly operated as they can be decimal or extracted from XY proper configs (Hex values; they must be preceded by a '#', like in '#FFFFFF'); either way, a color picker is also available by clicking the small button to the right of each input box.
-once all is set, clicking CONTINUE will restart the working instance of XYplorer, applying the newly generated theme and generating a respective .xyt (XYplorer Theme) under <xyscripts>/Themes. Also, a "XYstylEZrandTheme_schemeSEEDs.txt" file logs additional info concerning the generated theme, including the base used scheme and a numeric sequence which is the '|'(hex) or '*'(dec)-separated theme which later can feed the XYstylEZR - RthemeL via the CLIPBOARD button.
General notes:
Section "//scheme:" contains a variable, "$schM1", holding color schemes which can be customized. By default it delivers 29 color schemes including some conceptual. Variable "$gREseed" contains 2 schemes, but this number can be increased at the expense of speed - adjust it via "$gTTseed". Schemes can be added or removed.
The variable "$chnc" controls the number of chances a totally random theme will show up. The greater it is, the less chances you'll get such a theme. If set to "1", you'll always get a random theme.
classification codes for theme naming:
Base - BAS (may apply to Random [Rnd] themes, too)
Base, Tweaked - BTW (may apply to Random [Rnd] themes, too)
Current Theme - THM
Current Theme, Tweaked - TTW
Clipboard - CLB
Clipboard, Tweaked - CTW
Non-Available (just in case) - NAV / else
Hope you enjoy it.
***
This post will be revised, anytime soon.