Roy of Superior Art Creations archive
Category : Tools

thumb

Batch MS DOS ASCII to Web Converter Script

Categories: ASCII, text art, Tools
Tags: No Tags
Comments: No Comments
Published on: December 25, 2009

A little script that converts MS DOS ASCII files, such as NFO’s?? or FILE_ID.DIZ text files (Code Page 437, USA) to Unicode?? and HTML encoded files that can be used to display the ASCII art, specifically the “High ASCII” or block ASCII art on a web site. The script is written in VBScript, but the release package also includes a Windows executable, which is the VBScript converted via VBSEdit by Adersoft. I used the same script to prepare the ASCIIs in my text art galleries on my web site, such as: My ASCII Art Gallery My Early ASCII Art Gallery Various ASCII Art by Others or my FILE_ID.DIZ Collection just to name a few. NOTE: An Updated Version of the Script is also available now! You can download the script here: ?? ROY-BATCHCONVERT-ASCII2WEB.ZIP (555 KB) For example the top logo of this NFO file, which is in DOS ASCII Format and looks like this: ??????????????????????????? ??? ???????????? ??????????????????????????? ??????????????????????????? ??? ????????? ??? ????????? ??????????????? ??? ??????????????????????????? ??R??E??L??.?? ??? ???????????? ??????????????????????????? ????????????????????????????????? ??? ????????? ??? ????????? ???????????? ??? ??2??0??0??9?? ????????????????????????????????? ??? ????????? ????????? ??????????????? ??? ????????? ??? ????????? ?????? ???????????????????????? ????????? ??? ????????????????????????????????? ?????? ????????? ??? ????????? ??? ????????????????????????????????? ???????????????????????? ?????? ????????? ????????? ??? ??????????????????????????? ???????????????????????? would be converted to the following;   ───────── ▄ ▄▄▄▄ ▄▄▄▄▄▄▄▄▄???? ▄▄▄▄▄▄▄▄▄?? ▄ ▄▄▄ ▄ ▄▄▄ ▄▄▄▄▄ ▄ ───────── & middot;R·E·L·.·?? ▄ ▄▄▄▄ ▀▀▀▀▀▀███ ▀▀▀▀▀▀▀▀███ █ ███ ▀ ███ ▄▄▄▄ ▄?? ·2·0·0·9· & #9472;────────── ▄ ▄▄▄ ███ ▄▄██▀ █ ███ █ ███ █▄ ▀▀▀▀▀███ ▄▄▄[…]

thumb

File Processing Scripts Collection V1.0

Categories: Tools
Tags: No Tags
Comments: No Comments
Published on: November 28, 2009

Here is a collection of useful DOS BATCH and VBSCRIPT scripts for processing, moving, sorting of files. The code for all scripts can be downloaded in a single ZIP file called: Roy-FileProcScripts.zip The ZIP archive also contains a nice intro for RoySAC.com, which I recommend to check out :). ImageFilesSort2Dirs.bat IMAGES Cleanup/Sorting Batch Script looks for IMAGE files in current directory (Extensions JPG, PNG, GIF, BMP, LBM, TGA, PCX, SVG, TIF, IFF) looks for “-” in file name (assumed to be the separator between Artist Name and Image Title) parses string before first “-“, trims trailing spaces checks if directory with that name exists 4.1 If not, it creates it (artist name) moves all image files of the artist into the artist dir 1: @echo off 2: :: ——————————————————- 3: :: IMAGES Cleanup/Sorting Batch Script 4: :: ——————————————————- 5: :: 1. looks for IMAGE files in current directory 6: :: (Extensions JPG, PNG, GIF, BMP, LBM, TGA, PCX, SVG, TIF, IFF) 7: :: 2. looks for “-” in file name (assumed to be 8: :: the separator between Artist Name and Image Title) 9: :: 3. parses string before first “-“, trims trailing spaces 10: :: 4. checks if directory with that name exists 11: :: 4.1 If not, it creates it (artist name) 12: :: 5. moves all image files of the artist into the artist dir 13: :: 14: :: Batch Script by Carsten Cumbrowski aka Roy/SAC 15: :: visit http://www.roysac.com 16: 17: 18: setlocal enabledelayedexpansion 19: CLS[…]

thumb

RoySAC.com Updates Brief

Categories: Oldskool, text art, Tools, Video
Tags: No Tags
Comments: No Comments
Published on: November 19, 2009

I have not posted at my blog for a long while (in comparison to the months before). This was actually not because of the lack of things to write about. There was plenty for me to write, but it seems that I tend to write less, the more is happening. Maybe because of the lack of time that usually concurs with more events happening or maybe it is just that I think too much about all the stuff I should write about that I forget to actually write something altogether.?? Well, I need to think about that one :). I decided now to write about each thing that I consider noteworthy only briefly and consolidated in this and another post to follow. Each thing by itself would probably have warranted its own post, but not at this time. Downloads Section Expanded ???? I expanded the downloads page of my website to include two new sections. 1. Music Trackers tools for Windows and DOS. See Tracker Downloads Tracker music is a staple of the classic demo scene before the computers became powerful and advanced enough to use fully digital recordings of music for programs, demos and games. It was also the limitations of hard disk space and memory that lead to the development of alternatives such as the ???Tracker???. The most famous known tracker software is probably the program ???Sound Tracker??? for the Commodore Amiga. Its file format, the classic ???.MOD???, is still a pseudo standard today, including on the PC[…]

thumb

Some Handy MS DOS Batch Tricks ??? Infinite Loop and Wait Command

Categories: Tools
Tags: No Tags
Comments: 5 Comments
Published on: October 25, 2009
I am always interested in how to do stuff with Windows command line tools and BATCH scripts to make things easier and to automate processes that are related to the operating system itself or to the file system. I found some interesting tricks and tips in one of the recent issues of my favorite computer magazine from Germany called ???CT Magazin??? (CT stands for ???Computer Technik???) by the publisher ???Heise??? (which I am still subscribed to here in the United States). I???d like to share those with you, but written in English language. I also included some additional tips and practical examples for using the tricks. Infinite Loop The obvious method to do an infinite loop within a BATCH script is the use of ???LABELS??? and a ???GOTO??? command within it that jumps to the same label address e.g. 1: :MYLABEL 2: ??? commands to execute here ??? 3: GOTO :MYLABEL However, this code might ends up to be harder to read and it has the short-coming that it cannot be used from the command line directly and only from within a .BAT Batch script. But there is another way to create an infinite loop via BATCH commands. 1: for /L %i in (0,0,0) do SINGLE-COMMAND or if you want to execute a list of commands within the loop: 1: for /L %i in (0,0,0) do ( 2: ??? multiple commands here ??? 3: ) where you have to replace ???SINGLE-COMMAND??? with your own command call or ?????? multiple commands[…]
thumb

How to Turn Paying Customers into Pirates

Tags: No Tags
Comments: 6 Comments
Published on: September 23, 2009

I want to use my registered copy of Babylon 7 Pro, including the additional professional dictionaries ???Oxford Dictionary and Thesaurus???, ???Merriam-Webster’s Collegiate?? Dictionary and Thesaurus??? and ???Britannica Encyclopedia??? on my new Dell laptop with MS Vista (and soon on Windows 7). This is not much to ask for you would think. Hey, I bought this stuff directly from the author of the software and paid good money for it. I entered all license keys yesterday and everything was fine. Today all keys are gone and except for one that unlocks one of the three additional dictionaries, none is working anymore. When I entered the codes again, I received the message that I must have made a typo or something. I didn???t make a typo, thanks but no thanks. I went to their web site at Babylon.com I used the online form to retrieve license keys that they have created for this purpose I guess, enter the captcha code and my email address and submit the form. The form neither returned an error nor acknowledged the input telling me that new and valid license keys will be send to me again. Since I also did not get an email yet, I assume that it did not work as it was intended (hint: this implies another suggestion for the folks at Babylon). This is not the first time that I had to contact them about this. I lost count of how many different license keys I got from them for the same[…]

Welcome , today is Friday, April 26, 2024