Archive
HowTo: install multiple Corel Painter brushpacks silently
I got a nice expression software charity bundle with Corel Painter 2020 (current version is 2021) and a bunch of brushes in it and then noticed that the brush packs where available for download as separate installers than the Painter software.
So I launched one of the brush pack installers from the command-line (can give CMD and press enter at the address bar of the file explorer window to open command-line in the current folder) with a /? parameter to see its syntax:
e:\brushpack_abstract_windows.exe /?
Then I created a batch file to loop over all the brush_* installer files using the following commands in the console (press ENTER after each one). The for loop executes each brush pack installer from the same folder passing parameters for silent mode (/S /v/qn), as instructed by the dialog above:
copy con PainterInstallBrushes.bat
@for %%f in (brushpack_*) do %%f /S /v/qn
^Z
The last one (^Z) means Press CTRL+Z (then press ENTER for that line too). It signifies the end-of-file / input. We were inputing/copying keystrokes from the console (CON) into the file PainterInstallBrushes.bat (note that if the file exists you’re asked to overwrite it as soon as you copy the 1st line into it, but you still have to press CTRL+Z and ENTER to end input).
To avoid having to press Yes at repeated security dialogs (due to User Access Control [UAC] being activated), I opened an administrator command-prompt (can give CMD at Windows search and right click the found cmd.exe and select to open it as administrator), then executed the batch file (E: goes to drive E, CD \Corel.com goes to Corel.com folder under E: drive root)
c:\windows\system32> e:
e:\somefolder> cd \Corel.com
e:\Corel.com> PainterInstallBrushes.bate:\Corel.com>PainterInstallBrushes.bat
e:\Corel.com>brushpack_abstract_windows.exe /S /v/qn
e:\Corel.com>brushpack_alcoholink_windows.exe /S /v/qn
e:\Corel.com>brushpack_bristly_windows.exe /S /v/qn
e:\Corel.com>brushpack_bubbles_windows.exe /S /v/qn
e:\Corel.com>brushpack_drytexture_windows.exe /S /v/qn
e:\Corel.com>brushpack_feather_windows.exe /S /v/qn
e:\Corel.com>brushpack_fireworks_windows.exe /S /v/qn
e:\Corel.com>brushpack_gesturalillustration_windows.exe /S /v/qn
e:\Corel.com>brushpack_mangaii_windows.exe /S /v/qn
e:\Corel.com>brushpack_michellewebbmasterpack_windows.exe /S /v/qn
e:\Corel.com>brushpack_nature_windows.exe /S /v/qn
e:\Corel.com>brushpack_perfectpets_windows.exe /S /v/qn
e:\Corel.com>brushpack_popart_windows.exe /S /v/qn
e:\Corel.com>brushpack_rain_windows.exe /S /v/qn
e:\Corel.com>brushpack_rake_windows.exe /S /v/qn
e:\Corel.com>brushpack_rustandpatina_windows.exe /S /v/qn
e:\Corel.com>brushpack_scrape_windows.exe /S /v/qn
e:\Corel.com>brushpack_stipple_windows.exe /S /v/qn
e:\Corel.com>brushpack_suminagashi_windows.exe /S /v/qn
e:\Corel.com>brushpack_sunnyrays_windows.exe /S /v/qn
An alternative way to using the command-line would have been to create the batch (.bat) file with a text editor in the same folder as the brush pack installers, then right click it and select to run it as an administrator from the popup menu.
HowTo: Fix DVD/CD with Live filesystem (Packet/UDF) on Windows
The other day I found how easy it is to use a Live CD/DVD (where packet writing occurs when adding stuff) instead of a Mastered one (where all is kept to be written when you close the disk) on Windows.
It feels more like using a USB flash disk and should be more safe regarding losing data in the long run if you want to keep some file archive. In theory at least, since there are cases the live disk last write operation may fail and it may appear as an unreadable disk after one, making funny noises when you insert it and freezing for long time periods Windows Explorer when you try to access it.
However, the UDF filesystem that it uses keeps multiple VAT tables for the blocks written to the disk, which means it can be restored to the last workable state of the disk (you might still lose data from the last block I guess, but you’ll have access to the rest of the files you had written to the disk). For any files you find missing, you can try file recovery software with deep search option, like ISOBuster.
To restore such a disk back to working state, on Windows 10 you can right click the Start menu button and from the context (popup) menu shown, you can select to run PowerShell as Administrator. Then you can write CMD and press ENTER. The classic command-line shell (DOS syntax) will open up, where you should type-in chkdsk /f e: (replacing e: with the letter of the drive where the problematic disk has been inserted – can find that one easily from Windows Explorer / My Computer) and press ENTER again.
The disk should be detected as being of UDF format and the disk checking (chkdsk) command will check for a valid VAT on the last written block and if it can’t will try to revert the media to a previous state, before the corruption occurred by placing at the the end of the disk the last valid VAT.
Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.PS C:\WINDOWS\system32> cmd
Microsoft Windows [Version 10.0.17134.165]
(c) 2018 Microsoft Corporation. Με επιφύλαξη κάθε νόμιμου δικαιώματος.C:\WINDOWS\system32>chkdsk /f e:
The type of the file system is UDF.
Volume Μουσική is UDF version 2.01.Chkdsk is running on media that does not support writes in place.
On such media chkdsk operation is limited to verifying the presence
of a valid VAT on the last written block and if necessary searching
for the last valid VAT and placing it at the end of the disk.
This could revert the media to a previous state before the corruption
occured.Chkdsk could not find a valid VAT at the end of the volume.
CHKDSK is searching for a valid VAT …
And after some ages (stayed at 0% for some time and then took around a day progressing slowly on my machine for a DVD) you’ll hopefully see something like:
Search for VAT completed.
Chkdsk is copying last valid VAT at block 1722719 to the end of the
volume. This will revert the volume to its state at 01:13 on
10/09/2018.Windows has made corrections to the file system.
No further action is required.4595200 KB total disk space.
222240 KB available on disk.2048 bytes in each allocation unit.
2297600 total allocation units on disk.
111120 allocation units available on disk.
Then type exit followed by ENTER key twice to exit the command processor (cmd) and PowerShell. This will close the console window.
C:\WINDOWS\system32>exit
PS C:\WINDOWS\system32> exit
Enjoy your disk with its files again, hopefully all of them… Plus you’ll be able to add more files to the disk, which could have even been near to empty when the corruption had occurred. Note that when you’re finished and don’t want to write anymore files to the disk, you can right click it and close the session, so that it can be readable on more systems.