Orvid / Champollion

A PEX to Papyrus Decompiler for Skyrim, Fallout 4 and Starfield
GNU Lesser General Public License v3.0
106 stars 20 forks source link

Cannot decompile a directory unless using threaded mode #33

Open w1ndStrik3 opened 2 months ago

w1ndStrik3 commented 2 months ago

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 "file3edited.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.