MTV2RAW 100% Freeware! Copyright 1992 Jonathan E. Roy MTV2RAW is a simple program that will convert between RayShade's MTV format (And other programs that output MTV) and QRT's RAW format. This is useful because the post-processors for QRT are more powerful than for RayShade. Converting an MTV file to RAW format allows you to then convert the file to Targa, Spectrum 512, or other format2. Otherwise, you can't decently view your RayShade renderings. When you run the program you can select either MTV -> RAW or RAW -> MTV conversion. Then, type in the names of the input/output files (with full pathnames), and the program will convert the file for you. If the file already exists, you'll be asked if you want to delete it. MTV2RAW cannot, yet, support wildcards for multiple conversions. Included in this archive: - MTV2RAW.TOS executable program - MTV2RAW.TXT this file Revision History 1.00 - April 30th 1992 ---------------------- This is the first version of MTV2RAW. I've tested it on both RAW and MTV files, and haven't noticed any problems. Make sure you have at least 15K free when you run the program (grin) and have enough free disk space in the destination directory equal to the input file. (They will be almost the same size.) Future versions may offer GEM and a file selector (once I learn how). Technical Notes: ---------------- QRT's RAW format is as follows (from the QRT documentation): " [lf]" The X and Y resolution of the file, as ASCII strings seperated by a space, and terminated with a linefeed (chr$(10)). One byte each of red, green, and blue for each pixel. The bytes are in the range of 0 to 255, proving a 24 bit colour resolution (16 million colours). The difference between this and the MTV format is simply a [cr] before the [lf]. MTV2RAW removes or inserts this byte depending on the command you choose. You can also do this manually with a text editor like EdHack. Thanks! ------- Thanks go to John Eidsvoog and Doug Livingston at the CodeHeadQuarters BBS for thier assitance in debugging this program. Thanks also go to Chet @ Wizworks, and all the others I can't think of on GEnie who gave me tips and advice on file handling. Finally, thanks go to Clayton Walnum for writing The ST Assembly Workshop Voulme One that I learned assembly from. If you have any problems with this program, please contact me! Suggestions are, of course, gladly accepted. Jonathan Roy 9821 113th St. N. #103 Seminole, FL 34642 GEnie: J.ROY18 Internet: as666@cleveland.free.edu