lab313ru / ghidra_psx_ldr

Sony Playstation PSX executables loader for GHIDRA
231 stars 31 forks source link

File psyq/patches.json not found error (9.2.3) #45

Closed DLDrago closed 3 years ago

DLDrago commented 3 years ago

Ghidra 9.2.3 gives this error with the latest plugin:

file psyq/patches.json does not exist in module ghidra_psx_ldr
java.io.FileNotFoundException: file psyq/patches.json does not exist in module ghidra_psx_ldr
    at ghidra.framework.Application.getDataFileInModule(Application.java:361)
    at ghidra.framework.Application.getModuleDataFile(Application.java:874)
    at psx.PsxAnalyzer.applyPsyqSignaturesByVersion(PsxAnalyzer.java:108)
    at psx.PsxAnalyzer.added(PsxAnalyzer.java:89)
    at ghidra.app.plugin.core.analysis.AnalysisScheduler.runAnalyzer(AnalysisScheduler.java:186)
    at ghidra.app.plugin.core.analysis.AnalysisTask.applyTo(AnalysisTask.java:39)
    at ghidra.app.plugin.core.analysis.AutoAnalysisManager$AnalysisTaskWrapper.run(AutoAnalysisManager.java:688)
    at ghidra.app.plugin.core.analysis.AutoAnalysisManager.startAnalysis(AutoAnalysisManager.java:788)
    at ghidra.app.plugin.core.analysis.AutoAnalysisManager.startAnalysis(AutoAnalysisManager.java:667)
    at ghidra.app.plugin.core.analysis.AutoAnalysisManager.startAnalysis(AutoAnalysisManager.java:632)
    at ghidra.app.plugin.core.analysis.AnalysisBackgroundCommand.applyTo(AnalysisBackgroundCommand.java:58)
    at ghidra.framework.plugintool.mgr.BackgroundCommandTask.run(BackgroundCommandTask.java:102)
    at ghidra.framework.plugintool.mgr.ToolTaskManager.run(ToolTaskManager.java:315)
    at java.base/java.lang.Thread.run(Thread.java:831)

As well, the extension doesn't seem to want to stay installed.

lab313ru commented 3 years ago

It's a problem of Ghidra. Remove the plugin manually from ~/Ghidra/. Then install again.

DLDrago commented 3 years ago

Ok, I fixed it by going to the .ghidra folder in my user directory and deleting the settings folder. After that, I was able to install the extension and get it to stick.