ARW/NEF-Repair-Tool is a PyQt6 application for repairing ARW/NEF image files using a reference ARW/NEF file. Provides a user-friendly GUI.
- Python 3.x
- PyQt6
- Rawpy
- imageio
pip install pyqt6 rawpy imageio
-
Clone the repository or download the
arwnefrepair-gui.py
file. -
Install PyQt6 if you haven't already:
pip install PyQt6
-
Run the
arwnefrepair-gui.py
file:python arwnefrepair-gui.py
-
The GUI window will appear. Use the "Browse" buttons to select the reference ARW/NEF file and the encrypted folder.
-
Click the "Repair" button to start the repair process.
-
Progress will be displayed in the progress bar and log box. Once the repair is complete, a success message will appear.
- The tool reads the reference ARW/NEF file and locates the offset header.
- It then scans the encrypted folder for ARW/NEF files to be repaired.
- For each file found, it copies the data after the offset header from the reference file and writes it to a new file in the "Repaired" folder.
- The process is tracked in the log box, and progress is shown in the progress bar.
- The GUI features modern blue buttons styled with CSS to enhance the user experience.
- This tool is specifically designed for repairing ARW/NEF files and may not work with other file formats.
- It assumes that the reference ARW/NEF file and the encrypted files have a specific structure, so results may vary with different files.
- Use this tool at your own risk. Always make backups of your files before attempting any modifications.