For some reason I checked my Mediafire account recently, and I noticed that the cmdgfx archive was getting quite a few downloads (more so than the others), even though no new release was made since Feb 2020
Because of this I decided, why not release 1.6
in its current state (I don't think I have touched it since late 2020).
So here is
version 1.6
Download link is in the first post of this thread.
Luckily, I had written down the changes/fixes I had done, so I hope this list is accurate:
1. Threading for operations: block, fbox, bitblit+pixelprep. Can enable up to 8 threads to allow splitting these operations, basically allowing multi-core CPU's to work simultaneously. This is faster but of course also heavier for the CPU(s). Many scripts in the archive now have this flag enabled.
2. External C color expression "hooks" as dll now supported
3. Expressions: Added perlin noise, fix of neg, added mod(+fixed mod, since it was INT only), fsin,fcos
4. Transform for RGB now allows checking for (various) kinds of color too (Max,Avg,R,G,B (both fg and/or bg)). Cannot SET color though. So what it is is: search for color and/or char, replace char
5. RGB colexpr has new functions(makebgcol, makefgbgcol, keepbgcol, keepfgcol, safeor, bgr, bgg, bgb) and can now also create bgcolor as well as preserve bgcol (or fgcol)
6. Cmdgfx_input: zn flag
7. Pixel fonts d-f (4x4,5x5,6x6)
8. New flag r, to set wrapping mode for block expressions (x/y + use of col/char/fgcol/bgcol)
9. [P|W|H] added as last param for image to be percentage or aspect ratio correction for width or height if only a single value was given for w,h
10. Bug fix: using 3d cmdblock with 'n' flag now works as expected
11. only echo "cmdgfx:" (with no space before last ") caused memory copy error
12. Removed operation "insert" and flags 'o' and 'w' (never used any of them)
13. Scaling (i.e. Windows Display Scale setting) should now look acceptable for *most* scripts
14. Possible to pan in a larger draw buffer using new last two arguments in the 'f' flag (currently only available for cmdgfx_gdi and cmdgfx_RGB)
15. Added flag Qn to allow setting a seed for the random() function available in block expressions
New/fixed scripts for 1.6:
1. Lots of ScreenSaver-Automata.bat scripts. These are pretty nice.
2. Many (not all) scripts had scaling support added (i.e. they should look ok on screens where scaling has been enabled in Windows Settings)
3. New scripts like ExpressionLab, RGB-SS-Fire, RGB-SS-Kaleidoscope-Transp.bat, RGB-Kaleidoscope-Blended-Pixel-fake.bat, ScreenSaver-ObjHollow1-IPoly, etc
4. Small fixes for various scripts (such as improved fade for starwars scroller, enemy facing the viewer in 3d example via tan, fog for RGB-Maze)
Download link is, as always, in the first post of this thread.