Showing posts with label ASCII. Show all posts
Showing posts with label ASCII. Show all posts

Monday, January 25, 2010

Batch MS DOS ASCII to Web Converter Script 2

This is an update to my  little script that converts MS DOS ASCII files, such as NFO's  or FILE_ID.DIZ text files (Code Page 437, USA) to ASCII files with HTML encoded Unicode characters and also to Unicode text for the use in MS Windows. The HTML encoded ASCII files 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:

just to name a few.

You can download the script here:   ROY-BATCHCONVERT-ASCII2WEB2.ZIP (700KB)

The Release NFO File :)




▄▄▄▄▄▄ ▄▄▄▄▄ ▄▄▄▄▄ █▄
▀███████████▄▄ ▄ ▄▄ ▄▄██████████▀████▀▀███▄ ▄▄████████▄
▀█▓█ ▀████ ▄███ ▄▄▓▓▓█ ▄██████▀▀ █▒▓█ ███▀ █▓▓█ █████▀▀ ██▀█▀▄
██▓█ █▓▓██ ██▓▓█ █▓▓▒▒▓█ ███▓██▀ ██▓██▐██ █▓▓▌ ██▓█▀ ▐▀ ▐ ▌
████ ▐█▒▓▓█ ▄▄████▄ ██▓█ █▓▒░▒▓▌ █████ ████ ██▌ ▐▓▓█▌ █▓▓▓▌ ▌ ▐ ▌
████ ▄▄█▓█▀▀ ▄██▀▀ ███▐███ █▓▒░▓█ ▀███▄ ▀ ▄███▀▄▄▄ ██▓██ █▓▒█ ▀▀▀▄▄▄ █
▐▌ ▀██▀███▄▄ ███▌ ▐▓▒▓▌███▄ ██▓▓█ ▄▄▄ ▀▀████▄▄ ▀███▌ ▀▀▀██████ █▓▒█ ▀▀
█ █ ▀█ ▀█▄ ▀█ █▓▒▓█▀███▄ ███▓█ ▐█ ▀▌ ▀█▓▓█ ███ ▀████ █▓▓█ █
▐▌ ▐▌ █ █▌ █▄ ▄█▒░▒█▌ ▀███████▌ ▀▌ █ █▒▓█▐██ █ ▀█ ██▓▓▌ ██▄
█ █ ▐▌ ▐█ █████▓░▒▓█ ▀▀████ █▄▄█▌ █▓██ ██ ▐▌ █ ██▓█ ████
█▄▄▄▄▄▄▄█▄█ █ ▀█████▓█▀ ▄▀▄ ████ ▀███▄ ▄████ ██ █ █ ████▄▄ ████
▄▀ █ ▀▀▀▀ ▄▀ ▀▄▄ ███▌ ▀▀██████▀▀ █▌ ▄▀ █ ▀█████████
▄▀ ▐▌ ▄▀ ▀█▄████ ▌ ▄▀ █ ▀▀▀▀███
█ █ ▀▄ ████ ▀▀▀▀▀▀▀▀▀ ▀
█ █ ▀▀▄▄ ▄███▀ Roy<SAC>
▀▀▀▀▀▀▀▄▄▄ █ ▀▀▀▀▀ ▄▄██████▀ ▄▄▄▄ █▄
▀▀█ ███▀ ███ ▄██▀████ ██▄ ▄█ ▄██▄
███ ▀ ██▀ ████ ███▀██ ███
▄█▄ ██ ▄ ██▌ ▐███ ██ █ ███
████▐█ ██▄ █ ████ ██ ███
▀▀ ▐██▄ ███ ██▄▄▄████ ██ ███
▀▀██████ ▀█████▀ ██▀ ███▀
▀ ▀▀ ▀ ▀
Roy/SAC presents

▒ ▀ ▀▀ ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ ▀▀▀▀▀▀▀▀▀▀ ▀▀ ▀ ▒
▓ Batch ASCII to Web File Converter 2 ▓
■▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄■
▀█▀ ▀█▀
▀▄ Packaged and Released on January 25, 2010 ▄▀
▌ ▐
▄▀ ▀▄
▐ ▌
▀■· ·■▀

░▒ ▄■·
·■▄▄▄▄▄▄▀■· ·■▀▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ▄▄▄▄▄▄▒▓▄▓▄▄▄▄▄▄▄▄▄ ■ ▄ ■▄ ▄▄▄▄▄▄■·
▀█▀▓▒░ ▀■· ·■▀ ░░░▓▓ · ■ ▄▄▄▄▓▓▄▄▄ ░ ░▒▓▀█▀
▀▄ ■▄ Release Notes ... ░ ░▒▒▒▓▒ ░░░░░░▒▓▒░ ░ ▀■· ▄■ ▄▀
▌ ▀▀■▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▓▓▓▒░ ■▄▄▄▄▄▒▄▄▄▄▄▄▄▄▄▄■▀▀ ▐
▄▀ ▒▓▓░ ░ ▀▄
▐ ░▒▓ ▌
▀■· ░▒ ·■▀

A little script that converts MS DOS ASCII files, such as NFO's
or FILE_ID.DIZ text files (Code Page 437, USA) to ASCII
but HTML encoded files that can be used to display the ASCII
art, specifically the "High ASCII" or block ASCII art on a
web site or to Unicode Text files for the use in Windows Apps.


───────── ▄ ▄▄▄▄ ▄▄▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄▄▄ ▄ ▄▄▄ ▄ ▄▄▄ ▄▄▄▄▄ ▄ ─────────
·R·E·L·.· ▄ ▄▄▄▄ ▀▀▀▀▀▀███ ▀▀▀▀▀▀▀▀███ █ ███ ▀ ███ ▄▄▄▄ ▄ ·2·0·1·0·
─────────── ▄ ▄▄▄ ███ ▄▄██▀ █ ███ █ ███ █▄ ▀▀▀▀▀███ ▄▄▄ ▄ ───────────
▄▄ ███ ▄ ███ █ ███▄▄▄▄▄▄▄▄ ▄▄▄▄▄███ ▄▄
▀▀▀ ███ ▀ ▀▀▀▀▀▀▀▀▀ ▀▀▀▀▀▀▀▀


For example the small logo above (which is in DOS ASCII Format)
would be converted to the following;


&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;
&#9604; &#9604;&#9604;&#9604;&#9604; &#9604;&#9604;&#9604;&#9604;&#9604;
&#9604;&#9604;&#9604;&#9604; &#9604;&#9604;&#9604;&#9604;&#9604;&#9604;
&#9604;&#9604;&#9604; &#9604; &#9604;&#9604;&#9604; &#9604; &#9604;&#9604;
&#9604; &#9604;&#9604;&#9604;&#9604;&#9604; &#9604; &#9472;&#9472;&#9472;
&#9472;&#9472;&#9472;&#9472;&#9472;&#9472; &middot;R&middot;E&middot;L
&middot;.&middot; &#9604; &#9604;&#9604;&#9604;&#9604; &#9600;&#9600;&#9600;
&#9600;&#9600;&#9600;&#9608;&#9608;&#9608; &#9600;&#9600;&#9600;&#9600;
&#9600;&#9600;&#9600;&#9600;&#9608;&#9608;&#9608; &#9608; &#9608;&#9608;
&#9608; &#9600; &#9608;&#9608;&#9608; &#9604;&#9604;&#9604;&#9604; &#9604;
&middot;2&middot;0&middot;1&middot;0&middot; ...


Note: I manually added line breaks and spaces to the example for
NFO layout reasons and it is also not the entire logo.
I included the files roy.asc and roy.web as examples also.
The file Roy.TXT contains the same example for the conversion to
Unicode text result.


The Web Encoded ASCII does not include <BR> Tags for the line–breaks
You have to add those manually or do what I do on my web site and
enclose the code in <PRE> </PRE> tags, which preserves the line–breaks
within the enclosed text.

Since the result is Unicode and not DOS ASCII anymore, you can
use any monospace font to display the ASCII somewhat correctly.
You won't get a 100% acurate result anyway, because the old
MS DOS font set is not part of Windows anymore. What you can get
is only a close aproximation. I use on my web site the font
"Lucida Console", which seems to be installed on many machines.
If the Windows of the user who visits your page with the ASCII for
example does not have that font installed, Windows will automatically
pick another font that comes close. I use the following CSS formatting
for the PRE tags where I show ASCIIs.

pre {
background–color:#000;
color:#FFF;
display:block;
font–family:"Lucida Console", monospace;
font–size:9pt;
line–height:12px;
padding:10px;
text–align:left;
}

If the PRE Tag is also used for something else on your web site
then you can also define it for a specific class selector like


pre.asciiart {
...
}

You would then also have to extend the PRE HTML tag like this:

<PRE class=asciiart>
...
</PRE>

The script is designed to convert all files with a specified
extension (.ASC by default) to web ready files with a new
extension (.WEB by default, but you could also make it .HTML or
whatever).

There are two additional options, where I recommend
to use the defaults (which is "yes").

The first option is "HTML Encode?", which means that all non–US–ASCII
characters (the 7 bit ASCII codes) will be converted to HTML codes
like &#XXX;. Also standard ASCII characters that could be misinterpreted
by HTML or DHTML and XML are also encoded, like the " becomes &quot;,
& becomes &amp;, < becomes &lt; and > becomes &gt; etc.
If you select "No", the ASCII will be converted to Windows Unicode (UTF–8)
instead.


The second one is "Sanitize?"
What that does, is removing ASCII characters with an ASCII code
smaller than 32, which are special control characters that cannot
be printed anyway, with 3 exceptions, chr(10) = line–feed,
chr(13) = cariage–return and chr(9) = tab. LF and CR remain unchanged.
Tab characters will be converted to 8 spaces, which is the default
MS DOS tab–stop. You might not want to select "Yes", if you convert
ASCII files to Windows Unicode, but you could, if you like.


Part of this package is the image "Batch–ASCII2WebOrUniCode–Steps.jpg",
which shows screenshots of all the steps where the script goes through.

Enjoy!
Carsten aka Roy/SAC

p.s. This script is freeware. Do with it whatever you like, except
selling it. You can use it free, copy it, share it, even modify it
if you like to. You are using it at your own risk. You cannot make me
liable for any damage or loss of data that might results directly
or indirectly because of the use of my script.

p.s.2 I also included a very early beta of a HTA version of the tool
with an interface. The conversion from Unicode to ASCII is not supported
by the HTA application yet and the file selector uses MS Word and might
not work, if you don't have Office installed. Since the latest security
updates for Windows XP as well as Vista and Windows 7, the drag and drop
feature also stopped working unfortunately.

▄■·' `·■▄
▐ ▌
▀▄ ▄▀
■▄ ▄■
▀■▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄■▀

░▒ ▄■·
·■▄▄▄▄▄▄▀■· ·■▀▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ▄▄▄▄▄▄▒▓▄▓▄▄▄▄▄▄▄▄▄ ■ ▄ ■▄ ▄▄▄▄▄▄■·
▀█▀▓▒░ ▀■· ·■▀ ░░░▓▓ · ■ ▄▄▄▄▓▓▄▄▄ ░ ░▒▓▀█▀
▀▄ ■▄ Installation ... ░ ░▒▒▒▓▒ ░░░░░░▒▓▒░ ░ ▀■· ▄■ ▄▀
▌ ▀▀■▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▓▓▓▒░ ■▄▄▄▄▄▒▄▄▄▄▄▄▄▄▄▄■▀▀ ▐
▄▀ ▒▓▓░ ░ ▀▄
▐ ░▒▓ ▌
▀■· ░▒ ·■▀

You can either execute the VBS script file (which is the source code
and should be executed by WSCRIPT.EXE, which comes with Windows) or
run the EXE file. The EXE is just the VBScript converted to an
executable via VBSEdit by Adersoft.

Also check out my little intro "RoySAC.exe" :)

▄■·' `·■▄
▐ ▌
▀▄ ▄▀
■▄ ▄■
▀■▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄■▀

░▒ ▄■·
·■▄▄▄▄▄▄▀■· ·■▀▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ▄▄▄▄▄▄▒▓▄▓▄▄▄▄▄▄▄▄▄ ■ ▄ ■▄ ▄▄▄▄▄▄■·
▀█▀▓▒░ ▀■· ·■▀ ░░░▓▓ · ■ ▄▄▄▄▓▓▄▄▄ ░ ░▒▓▀█▀
▀▄ ■▄ Greeting ... ░ ░▒▒▒▓▒ ░░░░░░▒▓▒░ ░ ▀■· ▄■ ▄▀
▌ ▀▀■▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▓▓▓▒░ ■▄▄▄▄▄▒▄▄▄▄▄▄▄▄▄▄■▀▀ ▐
▄▀ ▒▓▓░ ░ ▀▄
▐ ░▒▓ ▌
▀■· ░▒ ·■▀

Defacto2.net, Scene.org, Textfiles.com, Pouet.net
Demoscene.tv, GfxZone, Intro Inferno, C64.org, OSDM,
AMP, Edge, Sizteen Colors, Flashtro, Old–Skool.net,
Untergrund.net, Bitfellas, Exotica and everybody else who
works on preserving the rich history of the scene and makes
it accessible for future generations to enjoy.

Group Greetings:
Blocktronix (thanks for keeping the ANSI scene alive and kickin)
CPI (Oldskool forver!)
Andomeda Software Development (Your demos rock! Period!)

Personal Greetings to:
Madmax/CPI, Peace/Testaware, Smash/Fairlight, Shamen/Dytec,
DaLezy, Dipswitch, Mandibular Joint Dysfunction, RaD Man/ACiD,
Jason Scott/Textfiles.com, Ben Garrett/Defacto2, my blog readers,
Lord Scarlet/SixteenColors, Zerovision/Blocktronics and everybody
else I know and forgot to mention :)

For a full list of greetings, check out my Intro, which is
included with this release.

▄■·' `·■▄
▐ ▌
▀▄ ▄▀
■▄ ▄■
▀■▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄■▀

░▒ ▄■·
·■▄▄▄▄▄▄▀■· ·■▀▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ▄▄▄▄▄▄▒▓▄▓▄▄▄▄▄▄▄▄▄ ■ ▄ ■▄ ▄▄▄▄▄▄■·
▀█▀▓▒░ ▀■· ·■▀ ░░░▓▓ · ■ ▄▄▄▄▓▓▄▄▄ ░ ░▒▓▀█▀
▀▄ ■▄ Other Stuff ... ░ ░▒▒▒▓▒ ░░░░░░▒▓▒░ ░ ▀■· ▄■ ▄▀
▌ ▀▀■▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▓▓▓▒░ ■▄▄▄▄▄▒▄▄▄▄▄▄▄▄▄▄■▀▀ ▐
▄▀ ▒▓▓░ ░ ▀▄
▐ ░▒▓ ▌
▀■· ░▒ ·■▀


Check out the intro in this release "RoySACIntro.exe" :)

and don't forget visiting http://www.RoySAC.com
and to check out my blog at http://www.roysac.com/blog

Additional URLs you might want to check out

Over 300 demos, cracktros and other scene related videos
http://www.youtube.com/sacreleases

Scene Images of all sorts
http://www.flickr.com/photos/cumbrowski/collections/72157611288618058/
http://www.flickr.com/photos/cumbrowski/collections/72157612320706642/

My Mediafire.com file share with tons of files to download!
http://www.mediafire.com/?sharekey=b570d9e07985879c7069484bded33bcd06b0971baa3373fa

My ASCII Art Academy to learn more about classic Text Art
http://www.roysac.com/learn/

Links to other useful resources online to learn more about the scene
http://www.roysac.com/roy_links.asp

Signing off!

Roy of Superior Art Creations, CPI, Dytec,
Razor 1911, TRSI, TDU–Jam, PNS

▄■·' `·■▄
▐ ▌
▀▄ ▄▀
■▄ ▄■
▀■▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄■▀

You can download the script here:   ROY-BATCHCONVERT-ASCII2WEB2.ZIP (700 KB)

Batch-ASCII2WebOrUniCode-Steps

You can download the script here:   ROY-BATCHCONVERT-ASCII2WEB2.ZIP (700 KB)

Enjoy!
Carsten aka Roy/SAC

PS. This script is freeware. Do with it whatever you like, except selling it. You can use it free, copy it, share it, even modify it if you like to. You are using it at your own risk. You cannot make me liable for any damage or loss of data that might results directly or indirectly because of the use of my script.

BatchASCII2WebBeforeAfter6

Friday, December 25, 2009

Batch MS DOS ASCII to Web Converter Script

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:

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;

&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472; &#9604; &#9604;&#9604;&#9604;&#9604; &#9604;&#9604;&#9604;&#9604;&#9604;&#9604;&#9604;&#9604;&#9604;   &#9604;&#9604;&#9604;&#9604;&#9604;&#9604;&#9604;&#9604;&#9604;  &#9604; &#9604;&#9604;&#9604; &#9604; &#9604;&#9604;&#9604; &#9604;&#9604;&#9604;&#9604;&#9604; &#9604; &#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;
&middot;R&middot;E&middot;L&middot;.&middot;  &#9604; &#9604;&#9604;&#9604;&#9604; &#9600;&#9600;&#9600;&#9600;&#9600;&#9600;&#9608;&#9608;&#9608; &#9600;&#9600;&#9600;&#9600;&#9600;&#9600;&#9600;&#9600;&#9608;&#9608;&#9608; &#9608; &#9608;&#9608;&#9608; &#9600; &#9608;&#9608;&#9608; &#9604;&#9604;&#9604;&#9604; &#9604;  &middot;2&middot;0&middot;0&middot;9&middot;
&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472; &#9604; &#9604;&#9604;&#9604; &#9608;&#9608;&#9608; &#9604;&#9604;&#9608;&#9608;&#9600; &#9608; &#9608;&#9608;&#9608; &#9608; &#9608;&#9608;&#9608; &#9608;&#9604; &#9600;&#9600;&#9600;&#9600;&#9600;&#9608;&#9608;&#9608; &#9604;&#9604;&#9604; &#9604; &#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;
               &#9604;&#9604; &#9608;&#9608;&#9608; &#9604; &#9608;&#9608;&#9608; &#9608; &#9608;&#9608;&#9608;&#9604;&#9604;&#9604;&#9604;&#9604;&#9604;&#9604;&#9604;  &#9604;&#9604;&#9604;&#9604;&#9604;&#9608;&#9608;&#9608; &#9604;&#9604;
                  &#9600;&#9600;&#9600;   &#9608;&#9608;&#9608; &#9600;  &#9600;&#9600;&#9600;&#9600;&#9600;&#9600;&#9600;&#9600;&#9600;  &#9600;&#9600;&#9600;&#9600;&#9600;&#9600;&#9600;&#9600;

Note: I included the release ZIP archive are the files roy.asc and roy.web as examples also.

It would look just like the ASCII above the blue code, if you use it properly in your HTML page.

The Web encoded ASCII does not include <BR> Tags for the line-breaks. You have to add those manually or do what I do on my web site and enclose the code in <PRE> </PRE> tags, which preserves the line-breaks within the enclosed text.

Since the result is Unicode and not DOS ASCII anymore, you can use any mono-space font to display the ASCII somewhat correctly. You won't get a 100% accurate result anyway, because the old MS DOS font set is not part of Windows anymore. What you can get is only a close approximation. I use on my web site the font "Lucida Console", which seems to be installed on many machines. If the Windows of the user who visits your page with the ASCII for example does not have that font installed, Windows will automatically pick another font that comes close. I use the following CSS formatting for the PRE tags where I show ASCIIs. 

 


   1: pre {
   2:    background-color:#000;
   3:    color:#FFF;
   4:    display:block;
   5:    font-family:"Lucida Console", monospace;
   6:    font-size:9pt;
   7:    line-height:12px;
   8:    padding:10px;
   9:    text-align:left;
  10:  } 

If the PRE Tag is also used for something else on your web site then you can also define it for a specific class selector like


   1: pre.asciiart {
   2: ...
   3: } 

You would then also have to extend the PRE HTML tag like this:


   1: <PRE class=asciiart>
   2: ...
   3: </PRE> 

The script is designed to convert all files with a specified extension (.ASC by default) to web ready files with a new extension (.WEB by default, but you could also make it .HTML or whatever).

There are two additional options, where I recommend to use the defaults (which is "yes").

The first one is "Sanitize?"


What that does, is removing ASCII characters with an ASCII code smaller than 32, which are special control characters that cannot be printed anyway, with 3 exceptions, chr(10) = line-feed, chr(13) = carriage-return and chr(9) = tab. LF and CR remain unchanged. Tab characters will be converted to 8 spaces, which is the default MS DOS tab-stop.


The second option is "HTML Encode?", which means that all non-US-ASCII characters (the 7 bit ASCII codes) will be converted to HTML codes like &#XXX;. Also standard ASCII characters that could be misinterpreted by HTML or DHTML and XML are also encoded, like the " becomes &quot;, & becomes &amp;, < becomes &lt; and > becomes &gt; etc.


Part of this package is the image "Batch-ASCII-2-Web-Steps.jpg", which shows screenshots of all the steps where the script goes through.

You can download the script here:   ROY-BATCHCONVERT-ASCII2WEB.ZIP (555 KB)

Batch-ASCII-2-Web-Steps

You can download the script here:   ROY-BATCHCONVERT-ASCII2WEB.ZIP (555 KB)

Enjoy!
Carsten aka Roy/SAC

PS. This script is freeware. Do with it whatever you like, except selling it. You can use it free, copy it, share it, even modify it if you like to. You are using it at your own risk. You cannot make me liable for any damage or loss of data that might results directly or indirectly because of the use of my script.

Batch-ASCII-2-Web-BeforeAfter

Thursday, October 08, 2009

ASCII Nudes Gallery Revamp

I wasn’t really happy with how my ASCII nude’s gallery One thing that bugged me the most was that it was hard to find a certain piece and that the selection was somewhat confusing. The confusion came from overload. I wanted to put too much stuff into too little space. I added a couple months ago the feature of having the selection boxes with the image thumbnails of the 100 ASCII art pieces scroll horizontally, which looked nice, but did not really help with the usability. So I removed it again (It wasn’t with Internet Explorer anyway).

The selection is now again a grid (10 x 10), as it was at the beginning. See the partial screen shot of gallery page below where you can see how the grid looks today. First thing you will notice is that there is only one thumbnail image for each ASCII now; instead of two (the second thumb was showing the image with white font on black background).

The second thing you will notice is the larger preview thumb which is 400 pixels high for vertical pictures and 400 pixels wide for horizontal pictures. The preview thumb appears when you hover over one of the hundred mini thumbnails (which get’s highlighted when hovered over). There was a bug with the highlighting border of the picture that is currently shown in full, which I believe I got fixed now as well.

ASCIINudesPreview

From the grid are you still having the fairly new features that I did not add with the current change but a couple weeks ago already, which allows you to open (and save or print) the original ASCII text art piece in a separate window. Simply click on the text link “ASCII” below the thumbnail of the picture. If I found the original photograph of picture that the artist used as model for his ASCII, a text link labeled "Photo" is shown right from the "ASCII" text link also below the thumbnail. That photo is also opened in a new browser window.

If you wondered what happened to the option to look at the ASCII with white font on black background instead of black font on white background, no worries. The feature is still there, just not accessible directly from the main selection grid. You can access this alternative version, if you clicked on a thumbnail in the grid to load the full size version of an ASCII. Above the ASCII are now two buttons. Automatically selected is the first button labeled "White Bg". Next to it is the second button labeled "Black Bg". Click on that and the visual presentation of the ASCII will change from the white/black mode to the negative or inverse black/white mode. See the illustration below, which shows this nicely.

ASCIINudesBWSwitch

I also would like to remind you of my special post, where I show side by side the ASCII art pictures where I found the original model photograph (50 of the 100 ASCII’s as of today). That post focuses specifically on the comparison of the original photograph to the picture and thus offers some view options that are not available from the main collection page and grid. A good example would be the special image that shows in a single picture the original and the ASCII side by side. There you can also get a picture snapshot version of the ASCII, if you like to have that, for the use elsewhere (like a presentation slide or video or whatever).

There are still 50 ASCII art pieces where I have not found the model/source photograph yet.

Your help is still needed, if you would like to do so. You can find out more details about what you could do at this post of mine, which is specifically about the "What" and "How".

I found a few more nude ASCIIs, which I want to add to my collection eventually. However, I am still looking for more. If you have any that I do not have in my collection yet, please let me know and send me a copy or a link to the place where I can download it. I only look for authentic ASCIIs and not for any current day automatic conversions of photographs that were done with an Image 2 ASCII converter.

Let me finish this post with two of my favorite nude ASCIIs where I have unfortunately not found the original photograph that was used by the artist as model yet. Do you recognize them and could point me into the right direction? Post it to the comments below. I’d appreciate it. Thanks.

Cheers!

Carsten aka Roy/SAC

Update October 15, 2009

I continued to tweak the gallery even further. Now it is also much easier to access the original photo or picture that was used by the text artist as motive for his ASCII as well a the side by side comparison of the ASCII with that original photo were it is available. That’s available for 50 of the 100 ASCIIs.

I added them to the selection bar where I already had the options to switch between the different display modes and the link to download the original ASCII text file. Oh, I also changed the layout of that download link to distinguish it from the display options selectors and to better indicate that it is triggering a download in a new browser window.

The screen shot below shows the triggered “View Photo” option.

asciinudesphoto2

The second screen shot shows the triggered “Side by Side” option, where you can see the downscaled versions of the original photograph or image next to the ASCII version of it.

ASCIINudesSBS22

I hope that you will also enjoy those latest updates and enhancements of my ASCII Nudes gallery.

Monday, April 27, 2009

The SAC – Superior Art Creations All-Time Member List Project Update

scr-sac.NFO I am trying for a while now to create an all time Superior Art Creations member list. This is unfortunately no easy task, because the information in the SAC.NFO files of the SAC Pack releases were not always as well maintained as they should have been. I don’t want to point and blame anybody, but its is pretty tough to get a clear picture of who is who and who was in when as what, with the amount of information that can be extracted from the releases of the group itself.

Here is what I came up with so for. The stuff that is high lighted with an orange background is where I would be happy, if anybody has an answer to my question or the missing information, whatever the case might be.

Also, the whole last section with “Non-Contributing Temp Members” is open for input. Listed there are names that were mentioned that they are members of SAC, but I could not find any contribution of those guys in any of the SAC art packs. Maybe they did something under the name of SAC, but nothing that found its way into an art pack. If that is the case, then I want of course give the credits where credits are due and remove that person from the “non-contributing” section.

asx-s30

If you know any of the folks where questions are still in the room or if you have any tip how or where I could find out more about them etc. Please let me know. The comments section of this blog post would do just fine.

I’d appreciate it. Thanks.

# Handles / Aliases File Prefix(es) Country PPE PRG VGA MFX ANS ASC ADM Notes/Comments
Contributing Members (Included in Art Packs)                
1 2Fast 2F
Germany           X    
2 Acen AC
Germany       X        
3 Allanon ALN
Sweden           X    
4 Antibody ANTI / AB Denmark     X   X X    
5 Argon Factor AR Germany       X        
6 Arlequin ARL / AR Argentina         X X    
7 Asphyx ASX
France     X   X X    
8 Axess AXS
Germany     X X        
9 Barium B5
n/a     X   X X    
10 Bazilla BAZ
Germany     X          
11 Brane BNE
Sweden           X    
12 Cokine COK
Sweden     X          
13 Comrade COM
Canada   X            
14 Creator CRE
Australia     X          
15 Creature of Hell COH / CH USA     X X X      
16 Crome CROME / CRM Germany       X        
17 cRu / Maverick CRU
Germany         X X    
18 Crusader CDR
Sweden           X    
19 D0n DN
n/a           X    
20 DAC DAC
Germany       X        
21 Dalezy / The Unconsciousness / Animal DLZ / TU / AN Germany       X        
22 Dark Star / Puschel DS / PL Germany     X   X X    
23 Davek DKNY
USA         X X    
24 Desolation Angel DA
USA     X          
25 Dipswitch DIP
Germany           X    
26 Don Rapello DON
Finland           X    
27 Dream Design DD
Germany   X X   X      
28 DW0 DW0
n/a         X     What's the full name?
29 Eboy EB
Finland     X   X X    
30 Edge ED
USA     X          
31 Ex0 EX0
Australia         X X    
32 F0st FST / FS France     X     X    
33 Ferrex FRX / FX Germany   X X   X X    
34 Flames FLAMES
Germany     X     X    
35 Fourth 4TH
n/a           X    
36 Geareo MYD
n/a           X    
37 Giovanni GIO
Germany       X        
38 Grap GP
Germany   X            
39 GrymmJack GJ
USA           X    
40 GTI GTI
Canada     X   X X    
41 Helix HLX
USA           X    
42 Hetero HT
Germany   X X   X X    
43 HKultra HKU
n/a     X          
44 IxLover Buddha IX
n/a     X     X    
45 [K] K Germany   X X          
46 Kaethe KT
Germany         X X    
47 Kenet K
France     X          
48 KMX KMX
Poland   X           What does KMX stand for?
49 Maktone MT / M1 Sweden       X        
50 Markgoh MG
Canada           X    
51 Marky MY / M Germany     X     X    
52 Matador MTD
Russia   X       X    
53 Mattey MATTEY
n/a     X          
54 McBarn MB
Sweden       X        
55 Midfit MF
Germany   X            
56 Moolok MOO
Germany     X   X      
57 Mr.Death MRDEATH / MRD Sweden       X        
58 Mr.Jezus MRJEZUS
Finland     X          
59 Mydknight MID
Canada           X    
60 Myth MYTH
Germany   X            
61 Neophyte NP
Germany   X            
62 Nerv NERV / NR France     X   X X    
63 Nova N Australia     X          
64 Pasha P
Germany     X     X    
65 PDZ PDZ
n/a           X   PDZ = Podzi?
66 Poldi PD
Germany     X   X X    
67 Quasar QS
Sweden           X    
68 Rainer RN
Germany       X        
69 Raiser RS
Germany         X X    
70 Rave RV
Germany     X   X X    
71 Rez REZ
Netherlands   X   X       Is Rez an abbreviation?
72 Roodolph ROO Poland           X    
73 Roy ROY
Germany/USA X X X   X X    
74 RZ RZ
n/a           X   RZ = Rahzel? Uses }8]a or }8] as sig in pics
75 S! S!
n/a           X   S! = Stylez or S! = Serges or somebody else?
76 Scour SCR
USA           X    
77 Senser SNS
France     X   X X    
78 Sergeon Cuts SERGEON
USA     X          
79 Stonehedge SH
Germany       X        
80 Shaq SQ Russia           X    
81 Shot ST
Germany         X      
82 Silent SiL
n/a     X          
83 sOul SOUL
Germany       X        
84 Spectrum SPC
Germany   X            
85 Spoon SPN
Germany       X        
86 Sprocket SPROCKET
Norway     X          
87 Squizzy SQZ
Netherlands           X    
88 Strike Light SL
Canada         X X    
89 Svenzzon SVENZZON / SVEN / SV n/a       X   X    
90 Synec SY
Germany   X            
91 Techbit TB
Canada     X          
92 Teepak TPK
Germany     X   X X    
93 Toxic Trancer TOX
Germany
      X        
94 v0uck VK
n/a           X    
95 W.O.T.W. WOTW
Germany       X        
96 Webpige0 W0
n/a     X   X X    
SAC PPE Coders (Had no file prefix)                
97 Cyz   Germany X              
98 Monster   Germany X              
99 Fox   Germany X              
100 Cyber Brain   Germany X              
Administrative Members                    
Internet Coordinators, except for Idiana who did Group Management and Organization
101 Hoziris   Israel             X  
102 Cercyon   Germany             X  
103 Corex   Germany             X  
104 Idiana   Germany             X  
Guest Contributors                    
Included in one or more SAC Pack releases, but never had status of SAC member
n/a Z80 Z80 Germany   1            
Non Contributing Temp Members                
This list may includes members where I could not match them up confidentially with a file prefix from the pack.
It could also be that one person is listed with multiple nick names or real name.
If you know of any contributions to the group and it to the comments please.
  Ripper   Germany                
  Prosthesis   Finland                
  Paledeth   Sweden                
  White Zombie TWZ Denmark                
  Darkheart   Sweden                
  Felix   Germany                
  Timelord   Italy                
  Necrotoad   Canada                
  Nitrifik   Sweden                
  Spinsane SP n/a                
  Xeek XK n/a                
  PODZI   n/a               Podzi = PDZ
  Stylez   Germany               Styles = S!?
  Serges   n/a               Serges = S!?
  Sick Doctor   n/a               Serges = Sick Doctor?
  Rahzel   n/a               Rahzel = RZ?
  Shady   Germany               Shady = S!?

Explanation of Columns
PPE = PCBoard BBS Tools Programmer (using PPL-PCBoard Programming Language, which are compiled to PPE’s)
PRG = Programmer/Coder of Intros, tools etc. such as the SACtros for SAC artpack releases.
VGA = Pixel Art Graphician and later also hi-res art via Photoshop etc.
MFX = Musician, mainly old-school tracker MOD modules (or FastTracker, ScreamTracker etc.)
ANS = ANSI text artist (like the image below)
ASC = ASCII text artist, 7-Bit and/or “high ASCII” (Block ASCII)
ADM = Administrative work, Internet Coordinator, Bot-Master (IRC) and those sorts of things)w0-sacns.ANS

I am feeling that we come slowly but surely closer to the goal of having a complete and correct all-time Superior Art Creations member list that I can post on the SAC section of the site as I promised to do so already two or some more years ago.

Cheers!

Carsten aka Roy/SAC

Friday, April 17, 2009

Jason Scott from Textfiles.com Text-urized

I wrote a while back already a post about the online Image to Text (ASCII) converter tool at Photo2Text.com.

Back then I used Matt Cutts from Google as my Guinea-Pig to illustrate it’s capabilities. This is not the purpose of this blog post though. Shortly after I did my post, I played around with it a bit more. I experimented with a photograph of Jason Scott Sadofsky from Textfiles.com (who also did the DVD documentary “BBS – The Documentary”, which I highly recommend, if you are interested in the subject of Bulletin Board Systems)

I tweaked the source photo of him to get better results and saved them on my hard drive and then forgot about them until now. I stumbled across them by accident and thought that I should not hide them, or at least make them accessible for Jason himself.

I took the results from the converter and tweaked them a bit more in Photoshop, adding some color and stuff like that. You can see below the stages of my changes. Click on the thumbnail images for the larger original sized version of it.

tn_JasonScott-7bit-ascii tn_JasonScott-7bit-ascii-color tn_JasonScott-7bit-ascii-color-ccu
Original 7-Bit ASCII as Image. 
Download the original text ASCII file
Colors added Final picture with background added
and name tag

This is the final piece and I hope that Jason (and you too) will like it.

JasonScott-7bit-ascii-color-ccu

I also created an ANSI version of the photograph with the tool. It is only using the number characters 0-9, but a very small font. The result is good, but it looks to little like an ASCII to me, because of the font size.

tn_JasonScott-ANSI-0-9-large

This ANSI was actually created as a HTML document. You can see the original HTML/Text version here.

If you are interested in the subject of image to ASCII art conversion, I also suggest to check out my post where I reviewed a number of online and desktop image to text converter tools.

I also wrote a post about video to text conversion via the vlan video player with special conversion plug-in.

If the subject of ASCII and ANSI text art is new to you and you would like to learn more about this old school art form that actually pre-dates the computer, check out my ASCII Art Academy for more resources and information.

Semi-related: Did you see my post about ASCII/RTTY art nudes versus their original Centerfold Photographs?
I still need help with matching up more of the ASCIIs with their source photographs. You can help.

Cheers!

Carsten aka Roy/SAC