home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD1.mdf / basic / library / gwbasic / unprotec / binary.txt < prev    next >
Encoding:
Text File  |  1993-12-13  |  2.4 KB  |  66 lines

  1.         ┬─┬───┐                                 ┬─┬───┐
  2.         │ │   │                                 │ │   │
  3.         │ ├───┴─┐ ┬┬ ┌┬─┐ ┬ ┌┬──┐ ┬┬──┐ ┬  ┬┬   │ ├───┴─┐ ┌┬──┐ ┌┬──┐
  4.         │ │     │ ││ ││ │ │ │├──┤ │├─┬┘ └──┤│   │ │     │ │├──┤ └┴─┬┐
  5.         ┴─┴─────┘ ┴┴ ┴┴ └─┘ ┴┴  ┴ ┴┴ ┴─ └──┴┘ o ┴─┴─────┘ ┴┴  ┴ └──┴┘
  6.  
  7.                        Mon  12-13-1993  22:59:44
  8.  
  9.      Saw the December 1992 issue of PC Computing and a "Hot Tip" that
  10.      converted a regular binary GWBASIC program to a ASCII file. I sent
  11.      them this one saying that their "Hot Tip" was lukewarm... <sigh> as
  12.      usual I was ignored even though BINARY.BAS is really and truly a
  13.      genuine "Hot Tip."
  14.  
  15.      BINARY.BAS does something that no other program (that I know of)
  16.      does.... it will convert a ** protected ** binary saved GWBASIC
  17.      program to ASCII.
  18.  
  19.      There are three modes of file save in GWBASIC:
  20.  
  21.      1.   Normal binary
  22.      2.   Protected binary
  23.      3.   Ascii
  24.  
  25.      The protected binary saved GWBASIC program can be run but can not
  26.      be EDITed or LISTed so you can't see how the program works.  The
  27.      authors of these programs have SAVEd these programs using the
  28.      command:
  29.  
  30.      SAVE "FileName.BAS", P
  31.  
  32.      The only way I know how to "break the code" is to make a dummy file
  33.      containing Chr$(255) alone, load the protected program, load that
  34.      dummy file and then the protected program will be in memory and can
  35.      be LISTed or copied as ASCII.
  36.  
  37.      The accompanying file BINARY.BAS will do the above.  I included a
  38.      program called TEST.BAS that displays nice colored geometric
  39.      patterns in color. Most folk who run the program TEST.BAS would
  40.      want to see how it draws all those interesting lines and colors.
  41.  
  42.      TEST.BAS is PROTECTED. It was SAVEd as a binary protected program
  43.      and can not be LISTed, EDITed, or SAVEd in ASCII.  Using
  44.      BINARY.BAS, you can convert TEST.BAS to an ASCII format.
  45.  
  46.      You have to have the file GWBASIC.EXE to run this program.
  47.  
  48.      So, by the numbers:
  49.  
  50.      1. LOAD TEST.BAS by typing:
  51.  
  52.           GWBASIC.EXE TEST.BAS  {Enter}
  53.  
  54.           a.   Try to LIST, SAVE, or EDIT TEST.BAS
  55.           b.   You fail...
  56.           c.   Type SYSTEM {Enter} to EXIT the program
  57.  
  58.      2. LOAD BINARY.BAS by typing:
  59.  
  60.           GWBASIC.EXE BINARY.BAS {Enter}
  61.  
  62.           a.   Follow the instructions on the screen.
  63.  
  64.  
  65.      John De Palma on CompuServe 76076,571
  66.