├── README.md └── vrDecryptor.py /README.md: -------------------------------------------------------------------------------- 1 | ## Description 2 | The script will batch decrypt multiple .wsdcf vr files inside a folder, and convert them to .mp4, you will need jav-it.exe, VR.mod file, this script, inside the same folder were the vr videos are stored, is also suggest to temporany unistall Steam VR, or it will pop up each video that the script will decrypt. 3 | 4 | ## Installation for the script 5 | 1. Install the latest python version from: https://www.python.org/downloads/ (tick add to PATH option) 6 | 2. Install the python depencies, by running this command on CMD: pip install tqdm 7 | 3. Open the script and replace the path dmmVideoPlayer with your path where DMMVRPlayer_Windows.exe is located, save the script. 8 | 4. Transfer jav-it.exe, VR.MOD, vrDecryptor.py, inside the same folder where all the .wsdcf encrypted files are located. 9 | 5. Unistall SteamVR untill the decryption is over. 10 | 6. Open 1 video manually and do the Log in, no VPN required. 11 | 7. Open CMD move to the script location and run the script using: python vrDecryptor.py 12 | P.S. I suggest to decrypt max 200 files x run, too many will cause some issue. 13 | -------------------------------------------------------------------------------- /vrDecryptor.py: -------------------------------------------------------------------------------- 1 | import os 2 | import subprocess 3 | from tqdm import tqdm 4 | from time import sleep 5 | import signal 6 | 7 | def isVr(file): 8 | if file.endswith(".wsdcf"): 9 | return True 10 | else: 11 | return False 12 | 13 | def main(): 14 | errorCounter = 0 15 | dmmVideoPlayer = "C:\\Users\\USERNAME\\AppData\\Local\\DMMVRPlayer\\DMMVRPlayer_Windows.exe" 16 | with open("vrDecryptionLog.txt", "w") as f: 17 | print("Created log file") 18 | scanPath = ".\\" 19 | javItPath = ".\\jav-it.exe" 20 | fileList = [] 21 | for file in os.listdir(scanPath): 22 | if isVr(file=file): 23 | print(f"Found the following file: {file}") 24 | process = subprocess.Popen([dmmVideoPlayer, file]) 25 | sleep(20) 26 | process.kill() 27 | sleep(5) 28 | fileList.append(file) 29 | print(f"Found a total of {len(fileList)} vr files to decrypt\nNow decrypting") 30 | 31 | for vrFile in tqdm(fileList): 32 | outFile = vrFile.split(".")[0] + ".mp4" 33 | commandLine = " ".join([javItPath, "decrypt", "-i", vrFile, "-o", outFile, "-t", "dmm-vr"]) 34 | print (commandLine) 35 | result = subprocess.run(commandLine) 36 | if result.returncode != 0: 37 | with open("vrDecryptionLog.txt", "a") as f: 38 | f.write("Couldn't decrypt the following file: " + vrFile + "\n\n") 39 | errorCounter += 1 40 | else: 41 | os.remove(vrFile) 42 | 43 | print(f"Process terminated. Decryptions failed: {errorCounter}, Check the file logs to see the files that failed decryption") 44 | 45 | main() 46 | --------------------------------------------------------------------------------