View Single Post
  #57  
Old 2020-02-19, 07:22 PM
Five's Avatar
Five Five is offline
 
Join Date: Oct 2004
Location: Canada
Re: The Validity of MD5 Checksums

the batch files posted below really give a window into how we used to do things back in the day.

shortn32.exe description and tutorial by Mike Wren, 2000-10-19
Quote:
Originally Posted by etree.org
etree.org | shortn32.exe introduction

Shorten® (.shn) is an audio compression scheme that is used to compress audio (.wav) files losslessly. This means that after you decompress a Shorten file, everything that was in the original .wav is there. This is unlike MP3, in which the compression step throws away information that can never be recovered.

For distribution and archiving purposes, the Shorten (.shn) files themselves can also be burned onto a CD-R as data. One big advantage to archiving Shorten files is that you'll never have to deal with digital audio extraction (DAE) from an audio disc, which can sometimes produce clicks and other undesired artifacts.

The Shorten source code is the property of SoftSound Limited and has been made available to the general public for non-commercial use. The original SoftSound code has been extended by etree.org (most notably by the work of Wayne Steilau and Jason Jordan) to include "seek-tables" so that you can easily skip to any portion of a song in audio players like WinAmp and XMMS. The latest version of Shorten can always be found on the etree.org shnutils page or the FreshMeat project page.

For Windows users who wish to use a command line version of Shorten, you've come to the right place! When shortn32.exe is used along with the etree.org batch files, it's surprisingly robust and easy to use, minus all the bells and whistles of a graphical user interface.

etree.org | shortn32.exe download

This is the official distribution site for SHN v3 (seeking SHN)

shorten-3.5.1.zip v3.5.1 (Cygwin) - 440KB Released 2/12/03
[color=blue][u]Cygwin version of Shorten. Works on Windows 9x/ME/NT/XP.

shortn32.exe v3.1 OLD - 99KB Released 10/10/00 31336 Downloads since 10/10/00

etree.org batch files - 3KB Updated 8/20/02 10478 Downloads since 10/9/00
These batch files will work for Windows users ONLY!

etree.org | shortn32.exe installation

You will want to replace your existing shortn32.exe file.

Windows 95/98: Download shortn32.exe to c:\windows\command

Windows NT/2000: Download shortn32.exe to c:\winnt\system32

To find out what version of shortn32.exe you are currently using, open an MS-DOS window and type:

shortn32 -h

The version number will be at the top.

If you downloaded the [color=blue]etree.org batch files for Windows[/blue], extract the three batch files (compress.bat, decompress.bat, makeskt.bat) to the directory: c:\windows\command

etree.org | shortn32.exe usage, extracting

To extract .shn files to .wav files (for burning to CD-R), open an MS-DOS window, go into the directory where the .shn files are located, and type the following:

shortn32 -x [filename].shn [filename].wav

You must insert the names of the .shn files [without the brackets]. Example:

shortn32 -x ph94-06-26d1t01.shn ph94-06-26d1t01.wav

The first file (.shn) is your input file, the last file (.wav) is your output file. You will have to repeat this process for each SHN file in the directory, unless you are using the etree.org batch files.

If you're using the etree.org batch files, open an MS-DOS window and go to the directory you wish to extract from SHN to WAV. Type: "decompress" (without quotes). The batch file will prompt you what drive you wish to save the WAV files to.

etree.org | shortn32.exe usage, compressing

After making sure you have downloaded and copied shortn32.exe into the proper directory (see installation), open an MS-DOS window and go to the directory of the show you wish to compress into Shorten format.

Type:

shortn32 [filename].wav [filename].shn

You must insert the names of the .shn files [without the brackets]. Example:

shortn32 ph94-06-26d1t01.wav ph94-06-26d1t01.shn

The first file (.wav) is your input file, the last file (.shn) is your output file. You will have to repeat this process for each file in the directory, unless you are using the etree.org batch files. Also, if you are using Shorten v3.0 or above, any SHN's you compress will have seek data embedded into the SHN file by default. Please encode the seek data to the Shorten files if you are creating/seeding a new show!

If you're using the etree.org batch files, open an MS-DOS window and go to the directory you wish to convert to SHN. Type: "compress" (without quotes). The batch file will prompt you what drive you wish to save the Shorten files to.

etree.org | shortn32.exe usage, creating seek

If you have older SHN files that are not SHN v3 (seek) enabled, you can manually create seek data for these files!!! The easiest way to do this is by using the etree.org batch files.

Open an MS-DOS window and go to the directory containing the SHN files you want to create seek files for.

Type: "makeskt" (without quotes). The batch file will then create and save in that same directory a seek (.skt) file for each SHN file. It's that easy!

etree.org | shortn32.exe etcetera

When compressing new Shorten files, please remember to follow the etree.org naming scheme, and also make sure you are using the most recent version of Shorten!

etree.org | shortn32.exe credits

Special thanks to Wayne Stielau, the creator of SHN v3. All documentation written and updated by Mike Wren.
complete contents of batch.zip

readme.txt
Code:
Shorten® Batch Utilites for Windows® 95/98
Written by Terrapin, Updated for SHN v3 by Mike Wren.

10/9/00

http://etree.org · Leading the Lossless Audio Revolution!

Special Thanks to Wayne Stielau for creating the SHN v3
standard for the etree.org community.




Installation:

First, make sure you have the most recent version of 
shortn32.exe in your c:\windows\command directory.  Extract 
the three batch files (compress.bat, decompress.bat and 
makeskt.bat) to the c:\windows\command directory.



Usage:

Compressing - Open an MS-DOS window and go to the directory 
you wish to convert to SHN.  Type: "compress" (without quotes).
The batch file will prompt you what drive you wish to save the 
Shorten files to.

Extracting - Open an MS-DOS window and go to the directory
you wish to extract from to SHN to WAV.  Type: "decompress"
(without quotes).  The batch file will prompt you what drive
you wish to save the WAV files to.

Creating Seek (.skt) files - If you have older SHN files you
want to make seek indexes for, you can do so with this new
batch file.  Open an MS-DOS window and go to the directory
containing the SHN files you want to create seek files for.  
Type: "makeskt" (without quotes). The batch file will then 
create and save in that same directory seek (.skt) files for 
each SHN file.


Updates:

Don't forget to check http://etree.org/software.html regularly 
for software updates.  For questions or comments about these
batch utilitites, please email Mike Wren < [email protected] >.


--------------------------------------------------------------

Etree.org is the leader in lossless digital audio distribution 
on the Internet! We are a community committed to providing the 
highest quality live concerts in a lossless, downloadable format.

You can find every band that allows taping in the jambands 
community on etree.org, including Phish, the Grateful Dead, 
String Cheese Incident, The Slip, Medeski, Martin & Wood, 
Umphrey's McGee, The Big Wu, Amphibian and The New Deal.

To use Etree.org, all you need is a high speed Internet 
connection (cable modem, xDSL, T1, or Ethernet) and a CD-R burner. 
Etree.org uses Shorten (.shn) audio compression because it creates 
an exact clone of the original DAT source.

We do not use MP3 due to it's lossy compression scheme which 
greatly degrades from the quality of the music. If you trade a 
CD-R burned from MP3 audio, you're polluting the CD-R trading 
community.

Etree.org gives everyone the means to easily create and trade music 
with no loss of quality. Best of all, it's all FREE!
compress.bat
Code:
@echo off
cls
echo WAV to SHN batch compression utility for Windows 95/98
echo Written by Terrapin ú Updated for SHN v3 by Mike Wren 
echo ÿ
echo http://etree.org ú Leading the Lossless Audio Revolution
echo ÿ
echo ÿ
lfnfor on
choice /c:CDEFGHIJKLMNOPQRSTUVWXYZA /N Select a drive letter to compress to:ÿ

if errorlevel 25 goto end
if errorlevel 24 goto z
if errorlevel 23 goto y
if errorlevel 22 goto x
if errorlevel 21 goto w
if errorlevel 20 goto v
if errorlevel 19 goto u
if errorlevel 18 goto t
if errorlevel 17 goto s
if errorlevel 16 goto r
if errorlevel 15 goto q
if errorlevel 14 goto p
if errorlevel 13 goto o
if errorlevel 12 goto n
if errorlevel 11 goto m
if errorlevel 10 goto l
if errorlevel 9 goto k
if errorlevel 8 goto j
if errorlevel 7 goto i
if errorlevel 6 goto h
if errorlevel 5 goto g
if errorlevel 4 goto f
if errorlevel 3 goto e
if errorlevel 2 goto d
if errorlevel 1 goto c


:C
@echo on
FOR "%%f" in (*.wav) DO shortn32 "%%f" "c:\%%f.shn"
@echo off
goto end

:D
@echo on
FOR "%%f" in (*.wav) DO shortn32 "%%f" "d:\%%f.shn"
@echo off
goto end

:E
@echo on
FOR "%%f" in (*.wav) DO shortn32 "%%f" "e:\%%f.shn"
@echo off
goto end

:F
@echo on
FOR "%%f" in (*.wav) DO shortn32 "%%f" "f:\%%f.shn"
@echo off
goto end

:G
@echo on
FOR "%%f" in (*.wav) DO shortn32 "%%f" "g:\%%f.shn"
@echo off
goto end

:H
@echo on
FOR "%%f" in (*.wav) DO shortn32 "%%f" "h:\%%f.shn"
@echo off
goto end

:I
@echo on
FOR "%%f" in (*.wav) DO shortn32 "%%f" "i:\%%f.shn"
@echo off
goto end

:J
@echo on
FOR "%%f" in (*.wav) DO shortn32 "%%f" "j:\%%f.shn"
@echo off
goto end

:K
@echo on
FOR "%%f" in (*.wav) DO shortn32 "%%f" "k:\%%f.shn"
@echo off
goto end

:L
@echo on
FOR "%%f" in (*.wav) DO shortn32 "%%f" "l:\%%f.shn"
@echo off
goto end

:M
@echo on
FOR "%%f" in (*.wav) DO shortn32 "%%f" "m:\%%f.shn"
@echo off
goto end

:N
@echo on
FOR "%%f" in (*.wav) DO shortn32 "%%f" "n:\%%f.shn"
@echo off
goto end

:O
@echo on
FOR "%%f" in (*.wav) DO shortn32 "%%f" "o:\%%f.shn"
@echo off
goto end

:P
@echo on
FOR "%%f" in (*.wav) DO shortn32 "%%f" "p:\%%f.shn"
@echo off
goto end

:Q
@echo on
FOR "%%f" in (*.wav) DO shortn32 "%%f" "q:\%%f.shn"
@echo off
goto end

:R
@echo on
FOR "%%f" in (*.wav) DO shortn32 "%%f" "r:\%%f.shn"
@echo off
goto end

:S
@echo on
FOR "%%f" in (*.wav) DO shortn32 "%%f" "s:\%%f.shn"
@echo off
goto end

:T
@echo on
FOR "%%f" in (*.wav) DO shortn32 "%%f" "t:\%%f.shn"
@echo off
goto end

:U
@echo on
FOR "%%f" in (*.wav) DO shortn32 "%%f" "u:\%%f.shn"
@echo off
goto end

:V
@echo on
FOR "%%f" in (*.wav) DO shortn32 "%%f" "v:\%%f.shn"
@echo off
goto end

:W
@echo on
FOR "%%f" in (*.wav) DO shortn32 "%%f" "w:\%%f.shn"
@echo off
goto end

:X
@echo on
FOR "%%f" in (*.wav) DO shortn32 "%%f" "x:\%%f.shn"
@echo off
goto end

:Y
@echo on
FOR "%%f" in (*.wav) DO shortn32 "%%f" "y:\%%f.shn"
@echo off
goto end

:Z
@echo on
FOR "%%f" in (*.wav) DO shortn32 "%%f" "z:\%%f.shn"
@echo off
goto end

:end
echo ÿ
echo Compression complete!
echo ÿ
lfnfor off
decompress.bat
Code:
@echo off
cls
echo SHN to WAV batch decompression utility for Windows 95/98
echo Written by Terrapin ú Updated for SHN v3 by Mike Wren 
echo ÿ
echo http://etree.org ú Leading the Lossless Audio Revolution!
echo ÿ
echo ÿ
lfnfor on
choice /c:CDEFGHIJKLMNOPQRSTUVWXYZA /N Select a drive letter to decompress to:ÿ

if errorlevel 25 goto end
if errorlevel 24 goto z
if errorlevel 23 goto y
if errorlevel 22 goto x
if errorlevel 21 goto w
if errorlevel 20 goto v
if errorlevel 19 goto u
if errorlevel 18 goto t
if errorlevel 17 goto s
if errorlevel 16 goto r
if errorlevel 15 goto q
if errorlevel 14 goto p
if errorlevel 13 goto o
if errorlevel 12 goto n
if errorlevel 11 goto m
if errorlevel 10 goto l
if errorlevel 9 goto k
if errorlevel 8 goto j
if errorlevel 7 goto i
if errorlevel 6 goto h
if errorlevel 5 goto g
if errorlevel 4 goto f
if errorlevel 3 goto e
if errorlevel 2 goto d
if errorlevel 1 goto c

:C
@echo on
FOR "%%f" in (*.shn) DO shortn32 -x "%%f" "C:\%%f.wav"
@echo off
goto end

:D
@echo on
FOR "%%f" in (*.shn) DO shortn32 -x "%%f" "D:\%%f.wav"
@echo off
goto end

:E
@echo on
FOR "%%f" in (*.shn) DO shortn32 -x "%%f" "E:\%%f.wav"
@echo off
goto end

:F
@echo on
FOR "%%f" in (*.shn) DO shortn32 -x "%%f" "F:\%%f.wav"
@echo off
goto end

:G
@echo on
FOR "%%f" in (*.shn) DO shortn32 -x "%%f" "G:\%%f.wav"
@echo off
goto end

:H
@echo on
FOR "%%f" in (*.shn) DO shortn32 -x "%%f" "H:\%%f.wav"
@echo off
goto end

:I
@echo on
FOR "%%f" in (*.shn) DO shortn32 -x "%%f" "I:\%%f.wav"
@echo off
goto end

:J
@echo on
FOR "%%f" in (*.shn) DO shortn32 -x "%%f" "J:\%%f.wav"
@echo off
goto end

:K
@echo on
FOR "%%f" in (*.shn) DO shortn32 -x "%%f" "K:\%%f.wav"
@echo off
goto end

:L
@echo on
FOR "%%f" in (*.shn) DO shortn32 -x "%%f" "L:\%%f.wav"
@echo off
goto end

:M
@echo on
FOR "%%f" in (*.shn) DO shortn32 -x "%%f" "M:\%%f.wav"
@echo off
goto end

:N
@echo on
FOR "%%f" in (*.shn) DO shortn32 -x "%%f" "N:\%%f.wav"
@echo off
goto end

:O
@echo on
FOR "%%f" in (*.shn) DO shortn32 -x "%%f" "O:\%%f.wav"
@echo off
goto end

:P
@echo on
FOR "%%f" in (*.shn) DO shortn32 -x "%%f" "P:\%%f.wav"
@echo off
goto end

:Q
@echo on
FOR "%%f" in (*.shn) DO shortn32 -x "%%f" "Q:\%%f.wav"
@echo off
goto end

:R
@echo on
FOR "%%f" in (*.shn) DO shortn32 -x "%%f" "R:\%%f.wav"
@echo off
goto end

:S
@echo on
FOR "%%f" in (*.shn) DO shortn32 -x "%%f" "S:\%%f.wav"
@echo off
goto end

:T
@echo on
FOR "%%f" in (*.shn) DO shortn32 -x "%%f" "T:\%%f.wav"
@echo off
goto end

:U
@echo on
FOR "%%f" in (*.shn) DO shortn32 -x "%%f" "U:\%%f.wav"
@echo off
goto end

:V
@echo on
FOR "%%f" in (*.shn) DO shortn32 -x "%%f" "V:\%%f.wav"
@echo off
goto end

:W
@echo on
FOR "%%f" in (*.shn) DO shortn32 -x "%%f" "W:\%%f.wav"
@echo off
goto end

:X
@echo on
FOR "%%f" in (*.shn) DO shortn32 -x "%%f" "X:\%%f.wav"
@echo off
goto end

:Y
@echo on
FOR "%%f" in (*.shn) DO shortn32 -x "%%f" "Y:\%%f.wav"
@echo off
goto end

:Z
@echo on
FOR "%%f" in (*.shn) DO shortn32 -x "%%f" "Z:\%%f.wav"
@echo off
goto end

:end
echo ÿ
echo Decompression complete - Enjoy the music!
echo ÿ
lfnfor off
makeskt.bat
Code:
@echo off
cls
echo Seeking Shorten batch creation utility for Windows 95/98
echo Written for SHN v3 by Mike Wren
echo ÿ
echo http://etree.org ú Leading the Lossless Audio Revolution
echo ÿ
echo ÿ
echo Working...
echo ÿ
lfnfor on

FOR "%%f" in (*.shn) DO shortn32 -s "%%f" "%%f.shn"
goto end

:end
echo ÿ
echo Seek (.skt) files successfully created and saved
echo in the same directory as your Shorten files.
echo ÿ
lfnfor off
makeskt2k.bat
Code:
@echo off
cls
echo Seeking Shorten batch creation utility for Windows 2K/XP
echo Written for SHN v3 by Mike Wren
echo Updated for Win2K/XP By Rich Denis
echo ÿ
echo http://etree.org ú Leading the Lossless Audio Revolution
echo ÿ
echo ÿ
echo Working...
echo ÿ


FOR %%f in (*.shn) DO shortn32 -s %%f %%f
goto end

:end
echo ÿ
echo Seek (.skt) files successfully created and saved
echo in the same directory as your Shorten files.
echo ÿ
__________________
Checksums Demystified | ask for help in Technobabble

thetradersden.org | ttd recommended free software/freeware webring
shntool tlh eac foobar2000 spek audacity cdwave vlc

Quote:
Originally posted by oxymoron
Here you are in a place of permanent madness, be careful!
Reply With Quote Reply with Nested Quotes