Orvid/Champollion

Cannot decompile a directory unless using threaded mode

Opened this issue · 0 comments

In the old Champollion (v1.0.1) I can without any issues decompile all .pex files in a directory without having to use the threaded mode. Trying the same in the new Champollion (v1.3.2) results in an error. For example:

OLD Champollion (v1.0.1)

Command
C:\Users\%USERNAME%\Desktop\test>champollion.exe smallTest/scripts -p smallTest/source
Output
smallTest/scripts\file1.pex decompiled to smallTest/source\file1.psc
smallTest/scripts\file2.pex decompiled to smallTest/source\file2.psc
ERROR: smallTest/scripts\file3_edited.pex : Invalid string index
smallTest/scripts\file4.pex decompiled to smallTest/source\file4.psc
smallTest/scripts\file5.pex decompiled to smallTest/source\file5.psc
5 files processed in 0.0224941 s

Please note that "file3_edited.pex" is corrupted on purpose

NEW Champollion (v1.3.2)

Command
C:\Users\%USERNAME%\Desktop\test>champollion.exe smallTest/scripts -p smallTest/source
Output
ERROR: smallTest/scripts : Unable to open file
ERROR: smallTest/scripts : Unable to open file
ERROR: smallTest/scripts : Unable to open file
ERROR: smallTest/scripts : Unable to open file
ERROR: smallTest/scripts : Unable to open file
5 files processed in 0.0013759 s
5 files failed to decompile.