decompals / wibo

Quick-and-dirty wrapper that tries to run 32-bit Windows command-line executables on Linux
MIT License
57 stars 19 forks source link

Intermittent CWParserSetOutputFileDirectory error with mwldmips.exe 2.3.1 #38

Open Adubbz opened 1 year ago

Adubbz commented 1 year ago

Unfortunately this error occurs inconsistently, and some mwldmips runs are fine and others are not. Using wine does not seem to result in the same issue. Full error:

#0 548.4 wibo tools/compilers/mw/2.3.1.01/mwldmips.exe -map -nostdlib -m _start -nodead -g -o build/SCUS_971.11 SCUS_971.11.lcf @build/o_files
#0 548.4 Unexpected error in CWParserSetOutputFileDirectory [3]

mwldmips is used by my Dark Cloud decompilation project here.

simonlindholm commented 1 year ago

This is a known bug in mwld and not wibo's fault. See https://discord.com/channels/710646040331681844/991954626448457828/996405978197151805, https://discord.com/channels/710646040331681844/991954626448457828/996674280421068941.

We probably should detect when buggy executables are run and print an error/patch them, though, since this has come up repeatedly...