Unzip the archive and put the folder ODFRepar_v_1_0_1 anywhere you want.
Java must be installed on your machine (usually the case).
Note that the tool does not work with OpenJDK 9 due to a bug with the Swing library (handling the graphical interface).
Java from Oracle or OpenJDK11 work just fine.
You have 2 possibilities to launch the tool:
- Double-clic on the ODFRepar.jar
- Command line with: java -jar {path to ODFRepar_v_1_0_1}/ODFRepar.jar
Note: use a Unix/Linux-like syntax, with slashes / as separators (and not anti-slashes \) for folders
A window opens with a toolbar with Fichier and Aide menus (File and Help), and a text area.
Use the Fichier menu and look at the text area for the progress.
1. Menu Fichier -> Ouvrir (Open) to select the file to be repaired.
2. Menu Fichier -> Analyser (Analyze) to start the analysis of the file. It provides information on the findings and the chances of success.
3. Menu Fichier -> Extraire (Extract) to extract the content that can be retrieved. You have to select or create an empty folder.
4. Menu Fichier -> Réparer (Repair) to reassemble the archive with all the elements repaired in the folder used for extraction. The XML files are automatically repaired.
Note: you have to complete each step before accessing the next one.
Warnings:
If the file is too badly damaged, the repair tool may fail to retrieve anything at all.
Always use the tool with a copy of the damaged file. No need to wreck it further, keeping the file might be useful if another method can help.