decompme / decomp.me

Collaborative decompilation and reverse engineering website
https://decomp.me
MIT License
383 stars 119 forks source link

[BUG] PS2 scratches may not match due to assembler differences #1303

Open 1superchip opened 4 months ago

1superchip commented 4 months ago

Describe the bug Some scratches may not match due to assembler differences. https://decomp.me/scratch/jo4dl doesn't match on decomp.me but locally with Ps2EeAs it does. The code is compiled with a ProDG compiler which was packaged with a custom assembler Ps2EeAs.

Expected behavior ProDG compilers should use Ps2EeAs (the assembler shipped with ProDG) or the assembler should be selectable in the Compiler Options tab.

Screenshots On decomp.me: Note that the Current doesn't use at as the original does. image

Assembled with Ps2EeAs locally: image

Scratches (https://decomp.me/scratch/jo4dl)

mkst commented 4 months ago

Where is this Ps2EeAs binary? are there different versions? do they have different behaviour in terms of matching?

sha1sum ee-gcc2.95.3-136/lib/gcc-lib/ee/2.95.3/as.exe
ed3d3d82c8f99608cd797a6b47bb0bcaaa8afaf0  ee-gcc2.95.3-136/lib/gcc-lib/ee/2.95.3/as.exe