home *** CD-ROM | disk | FTP | other *** search
/ HomeWare 14 / HOMEWARE14.bin / games / cheats / doubldos.arj / DOUBLDOS.UNP
Text File  |  1992-11-23  |  9KB  |  220 lines

  1. *********************** DOUBLEDOS Ver. 1.00 *************
  2.  
  3.                  DOUBLEDOS  -  Unprotect
  4.                                         Based on The Lone Victor's
  5.                                         routine.
  6.  
  7.      The following instructions show you how to bypass the SoftGuard
  8. copy protection scheme used on DOUBLEDOS version 1.00.  This is the same
  9. scheme used for FrameWork 1.10 and for Wordstar 2000 1.00.  Wordstar
  10. 2000 version 1.10 does not use a copy protection scheme, while versions
  11. 1.00 of dBase III and FrameWork used ProLock.  To unprotect Prolock disks
  12.  
  13. read the file PROLOCK.UNP.
  14.  
  15.      First, using your valid, original DOUBLEDOS diskette, install it on
  16. a fixed disk.  Softguard hides three files in your root directory:
  17. CML0200.HCL, VDF0200.VDW, and DOUBLEDO.EXE.  It also copies DOUBLEDO.COM 
  18. into
  19. your chosen DOUBLEDOS directory.  DOUBLEDO.EXE is the real DOUBLEDOS prog
  20. ram,
  21. encrypted.  When you run DOUBLEDOS, the program DOUBLEDO.COM loads CML020
  22. 0.HCL
  23. high in memory and runs it.  CML decrypts itself and reads VDF0200.VDW.
  24. The VDF file contains some code and data from the fixed disk FAT at the
  25. time of installation.  By comparing the information in the VDF file with
  26. the current FAT, CML can tell if the CML, VDF, and DOUBLEDO.EXE files are
  27.  
  28. in the same place on the disk where they were installed.  If they have
  29. moved, say from a backup & restore, then DOUBLEDOS will not run.
  30.  
  31.      Second, un-hide the three files in the root directory.  You can do
  32. this with the programs ALTER.COM or FM.COM found on any BBS.
  33.  
  34.      Make copies of the three files, and of DOUBLEDO.COM, into some other
  35.  
  36. directory.
  37.  
  38.      Hide the three root files again using ALTER or FM.
  39.  
  40.      Following the DOUBLEDOS  instructions, UNINSTALL DOUBLEDOS.  You can
  41.  now
  42. put away your original DOUBLEDOS diskette.  We are done with it.
  43.  
  44.      Next we will make some patches to CML0200.HCL to allow us to trace
  45. through the code in DEBUG.  These patches will keep it from killing our
  46. interrupt vectors.
  47.  
  48. debug cml0200.hcl
  49. e 3F9 <CR>  2A.4A <CR>          ; change the 2A to 4A
  50. e 49D <CR>  F6.16 <CR>          ;  if any of these numbers don't show up
  51. e 506 <CR>  E9.09 <CR>          ;  it's not working.
  52. e A79 <CR>  00.20 <CR>          ;
  53. e AE9 <CR>  00.20 <CR>          ;
  54. e 73C  97 FA FA F4 F1 7E <CR>   ; this is an encrypted call to 0:300
  55. w                               ; write out the new CML file
  56. q                               ; quit debug
  57.  
  58.  
  59.      Now copy your four saved files back into the root directory and
  60. hide the CML0200.HCL, VDF0200.VDW, and DOUBLEDOS.EXE files using ALTER or
  61.  FM.
  62.  
  63.      We can now run DOUBLEDO.COM using DEBUG, trace just up to the point
  64. where it has decrypted DOUBLEDO.EXE, then write that file out.
  65.  
  66. debug dOUBLEDO.COM
  67. r <CR>                          ; write down the value of DS for use belo
  68. w.
  69. a 0:300 <CR>                    ; we must assemble some code here
  70.         pop     ax
  71.         cs:
  72.         mov     [320],ax        ; save return address
  73.         pop     ax
  74.         cs:
  75.         mov     [322],ax
  76.         push    es              ; set up stack the way we need it
  77.         mov     ax,20
  78.         mov     es,ax
  79.         mov     ax,0
  80.         cs:
  81.         jmp     far ptr [320]   ; jump to our return address
  82.  <CR>
  83. g 406                           ; now we can trace CML
  84. t
  85. g 177                           ; this stuff just traces past some
  86. g 1E9                           ;   encryption routines.
  87. t
  88. g 54E                           ; wait while reading VDF & FAT
  89. g=559 569
  90. g=571 857                       ; DOUBLEDO.EXE has been decrypted
  91. rBX <CR>                        ; length DOUBLEDO.EXE = 04800 bytes
  92. :0                              ; set BX to 0
  93. rCX <CR>
  94. :4800                           ; set CX to 4800.
  95. nDOUBLEDO                       ; name of file to write to
  96. w XXXX:100                      ; where XXXX is the value of DS that
  97.                                 ;   you wrote down at the begining.
  98. q                               ; quit debug
  99.  
  100.      Last, unhide and delete the three root files CML0200.HCL, VDF0200.VD
  101. W,
  102. and DOUBLEDO.EXE.  Delete DOUBLEDO.COM and rename DOUBLEDO to DOUBLEDO.EX
  103. E.  This is the
  104. real DOUBLEDOS program without any SoftGuard code or encryption.  It requ
  105. ires
  106. only the DOUBLGD2.PGM and DDCONFIG.SYS files to run.
  107.  
  108.  
  109. *********************** DOUBLEDOS Ver. 2.00 *************
  110.  
  111. Unprotect DoubleDOS, Version 2.00
  112. ---------------------------------
  113.  
  114. The following instructions show you how to bypass the DoubleDOS
  115. copy protection scheme used on Version 2.00.  My thanks to Lone
  116. Victor, whoever he/she is, for a push in the right direction, by
  117. way of DB3V110.UNP, and most of all, Thanx and a tip of the hat
  118. to the guy I learn something technical from every day, The Coffee
  119. Man, who did the work!!
  120.  
  121. First, using your ORIGINAL DoubleDOS diskette, install it on
  122. a FIXED DISK!  DoubleDOS hides three files in your root directory:
  123. CML0200.HCL, VDF0200.VDW, and DOUBLEDO.EXE.  It also copies DOUBLEDO.COM
  124. to the current logged hard disk directory.  DOUBLEDO.EXE is the real
  125. DoubleDOS program, encrypted.  When you run DoubleDOS, the program
  126. DOUBLEDO.COM loads CML0200.HCL high in memory and runs it.  CML0200.HCL
  127. decrypts itself and reads VDF0200.VDW.  The VDF0200.VDW file contains
  128. some code and data from the fixed disk FAT at the time of installation.
  129. By comparing the information in the VDF0200.VDW file with the current
  130. FAT, CML0200.HCL can tell if the three hidden files are still in the
  131. same place on the disk where they were installed.  If they have
  132. moved, say from a backup & restore, then DoubleDOS will not run.
  133.  
  134. Second, un-hide the three files in the root directory.  You can do
  135. this with the programs ALTER.COM or FM.COM found on any BBS, or many
  136. other commercially available programs.
  137.  
  138. Make copies of the three files, and of DOUBLEDO.COM, into some other
  139. directory.  Hide the three root files again!
  140.  
  141. Following the DoubleDOS instructions, UNINSTALL DoubleDOS.  You can now
  142. put away your original DoubleDOS diskette.  We are done with it.
  143.  
  144. Next we will make some patches to CML0200.HCL to allow us to trace
  145. through the code in DEBUG.  These patches will keep it from killing our
  146. interrupt vectors.
  147.  
  148. debug cml0200.hcl
  149. e 3F9 <CR>  2A.4A <CR>          ; change the 2A to 4A
  150. e 49D <CR>  F6.16 <CR>          ; if any of these numbers don't show up
  151. e 506 <CR>  E9.09 <CR>          ; it's not working.
  152. e A79 <CR>  00.20 <CR>          ;
  153. e AE9 <CR>  00.20 <CR>          ;
  154. e 73C  97 FA FA F4 F1 7E <CR>   ; this is an encrypted call to 0:300
  155. w                               ; write out the new CML file
  156. q                               ; quit debug
  157.  
  158.  
  159. Now copy your four saved files back into the root directory and
  160. hide the CML0200.HCL, VDF0200.VDW, and DOUBLEDO.EXE files.
  161.  
  162. We can now run DOUBLEDO.COM using DEBUG, trace just up to the point
  163. where it has decrypted DOUBLEDO.EXE, then write that file out.
  164.  
  165. debug doubledo.com
  166. r <CR>                          ; write down the value of DS for use belo
  167. w.
  168. a 0:300 <CR>                    ; we must assemble some code here
  169.         pop     ax
  170.         cs:
  171.         mov     [320],ax        ; save return address
  172.         pop     ax
  173.         cs:
  174.         mov     [322],ax
  175.         push    es              ; set up stack the way we need it
  176.         mov     ax,20
  177.         mov     es,ax
  178.         mov     ax,0
  179.         cs:
  180.         jmp     far ptr [320]   ; jump to our return address
  181.  <CR>
  182. g 406                           ; now we can trace CML
  183. t
  184. g 177                           ; this stuff just traces past some
  185. g 1E9                           ; encryption routines.
  186. t
  187. g 54E                           ; wait while reading VDF & FAT
  188. g=559 569
  189. g=571 857                       ; DOUBLEDO.EXE has been decrypted
  190. rBX <CR>                        ; length DOUBLEDO.EXE = 1AC00 bytes
  191. :1                              ; set BX to 1
  192. rCX <CR>
  193. :AC00                           ; set CX to AC00.
  194. nDOUBLEDO                       ; name of file to write to
  195. w XXXX:100                      ; where XXXX is the value of DS that
  196.                                 ; you wrote down at the begining.
  197. q                               ; quit debug
  198.  
  199. Last, unhide and delete the three root files CML0200.HCL, VDF0200.VDW,
  200. and DOUBLEDO.EXE.  Delete DOUBLEDO.COM and rename DOUBLEDO (the one we
  201. just wrote, with Debug) to DOUBLEDO.EXE.  This is the real DoubleDOS
  202. program without any encryption or protection.  It requires only the
  203. remaining files you already have probably worked with (DDCONFIG.SYS,
  204. etc.) to run.
  205.  
  206. The only words above that are different from Lone Victor's DBase III
  207. unprotection are the substitution of DOUBLEDO.COM and DOUBLEDO.EXE
  208. in place of the references to DBASE!  Because of this, the BX and CX
  209. values above will create a DOUBLEDO.EXE file that is over 100K in
  210. length.  This .EXE program runs just fine, but Relia's Spacemaker
  211. will pack that file down to a .COM file of 2,979 bytes!  So far, no
  212. problems - it works great!
  213.  
  214. Good luck from the Coffee Man and Big-A!
  215. 5-5-85
  216.  
  217. *********************** DOUBLEDOS Ver. 2.1R *************
  218.  
  219. See SOFTGARD.TXT
  220. s