View Single Post
  #64  
Old 2020-02-20, 01:39 AM
Five's Avatar
Five Five is offline
 
Join Date: Oct 2004
Location: Canada
Re: The Validity of MD5 Checksums

jclark guide v2.0, last archive image 2005-02-05
Quote:
Originally Posted by Jeremy Clark
Shorten Information

Here's a great way to set up your Windows 95/98 system to handle shorten and md5 files:
  1. Download the following files and place them in the windows/command directory (right click and choose "save link as...":

    shortn32.exe
    md5sum.exe
    md5gen.bat
    checksum.bat
    shorten.bat
    unshorten.bat
    shorten.ico
    md5b.ico

  2. Create a folder on your C: drive called "burning". If you have a different folder to hold files to be burned, you need to open all the .bat files above into notepad and change all occurrances of c:/burning/ to whatever directory you use.

  3. Open Windows Explorer and go to View>Folder Options>File Types, click on "New Type" and enter the following information:

    Description of Type: Shorten file
    Associated extension: .shn

  4. Now click on "Change Icon" and browse to the file "shorten.ico" on your computer.

  5. Create a "New..." action and call it "Extract", and enter the following information:

    Application to perform action: shortn32.exe

  6. Click on "Ok".

  7. Create a "New..." action and call it "Extract all", and enter the following information:

    Application to perform action: unshorten.bat
    Click on "Ok".

  8. Create a "New..." action and call it "Generate MD5", and enter the following information:

    Application to perform action: md5gen.bat
    Click on "Ok".

  9. Back in View>Folder Options>File Types, click on "New Type" and enter the following information:

    Description of Type: MD5 Checksum
    Associated extension: .md5

  10. Now click on "Change Icon" and browse to the file "md5b.ico" on your computer.

  11. Create a "New..." action and call it "Check", and enter the following information:

    Application to perform action: checksum.bat
    Click on "Ok".

  12. Find "Wave sound" (or something similar) on the list of registered file types and double click on it.

  13. Create a "New..." action and call it "Shorten All", and enter the following information:

    Application to perform action: shorten.bat
    Click on "Ok".

  14. Create a "New..." action and call it "Shorten", and enter the following information:

    Application to perform action: "shortn32.exe" "%1" "%1.shn" (WITH the quotes)
    Click on "Ok".
Now your system is set up to do the following:
  • Right click on a .shn file on a CDROM disc or a folder on your computer and choose "Extract all". All the shorten files in the current directory will be sequentially extracted into .wav files in your burning directory.

  • Right click on a .shn file in a directory and choose "Generate MD5". A file called "~NameMe~.md5" will be created in the current directory. Rename the file appropriately.

  • Right click on an .md5 file in a directory and choose "check".A DOS window will open and md5sum will sequentially verify that all the .shn files in the directory match the .md5 file.

  • Simply double-click on any .shn file anywhere and it will decompress to a .wav file in the same directory.

  • Right click on a .wav file and choose "Shorten".A .shn file will be created in the same directory.

  • Right click on a .wav file and choose "Shorten All".All the .wav files in the current directory will be compressed into .shn files in the Burning directory.



Frequently Asked Questions

Q: I can't find "wave sound" or anything like that on my list of registered file types. Where is it?

A: Several audio programs such as Realplayer and Winamp will steal your audio file extensions upon installation. To free up the .wav extension, open the preferences or options of your audio software and make sure .wav isn't registered as a native file type for that program.

If you have further problems with these instructions contact me at xxxxx-xxxxxxxxxxxx.xxx, or you can try the mkw Audio Compression Tool, I'm told it works well.


Jeremy Clark

Other shorten help:

http://alumni.umbc.edu/~hamilton/shnfaq.html
md5gen.bat
Code:
md5sum --binary *.shn > > ~NameMe~.md5
checksum.bat
Code:
cls
lfnfor on
for %%f in (*.md5) do md5sum.exe --check %%f
lfnfor off
shorten.bat
Code:
cls
lfnfor on
for %%f in (*.wav) do shortn32.exe %%f f:\shn\%%f.shn
lfnfor off
unshorten.bat
Code:
cls
lfnfor on
for %%f in (*.shn) do shortn32.exe -x %%f f:\wav\%%f.wav
lfnfor off
Etree Setup 0.43b, circa 2000-09-03
Quote:
Etree Shorten and MD5sum Setup File Download

Click here the download EtreeSetup0.43b.exe (839K)

Thanks to Jeremy Clark for supplying the initial batch instructions I used to create this program. <RubyBroomxxxxxxxx.xxx>
This setup will configure Windows NT or Windows 9x for trading music in the shn format.

Features:

Right click on .shn file to create an md5sum file for a folder of shn files.
Right click on .shn file to extract a folder of shn files to the folder c:\burning.

Right click on .md5 file to run md5sum.exe to check a folder of shn files for corruption.

Right click on .wav file to compress a folder of wav files into shn files.

You can edit the .bat files in c:\program files\etree\misc to change the burning
directory to a different drive, ie d: ***you must then create a burning dir on that drive***



i don't have a whole lot of time so feel free to help me out with the documentation.


email:treyhowxxxxxxxxxxx.xxx
__________________
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