d2lmirrors / anolis

Anolis is the underlying project for the XPize and Vize resource switchers for Windows XP and Vista respectivly. The codebase allows for the easy swapping around of resources within Win32 executables and other files. (just adding some missing data)
GNU General Public License v2.0
1 stars 0 forks source link

MUI resource being handled as bitmap #21

Closed Dobby233Liu closed 1 year ago

Dobby233Liu commented 1 year ago

creation date = 2009-01-11T04:58:22.52-08:00

in Anolis.Core.ResourceData.FromResource() when loading a MUI resource the factories[i++].FromResource(lang, rawData) would cause it to be treated as a bitmap and crash when trying to investigate the bitmap header

Dobby233Liu commented 1 year ago

creation date = 2009-01-11T05:06:12.533-08:00

This happens on some MUI resources, like the one in 64-bit explorer.exe - > "The bitmap uses an unknown biCompression value"

Dobby233Liu commented 1 year ago

creation date = 2009-01-11T14:41:33.58-08:00

This is a bug in the BmpImageResourceDataFactory class that asserts it can handle that kind of file without giving other factories the chance to handle it. I'll have it fixed for the next release.

Dobby233Liu commented 1 year ago

closed date = 2009-01-31T06:25:01.43-08:00

This issue was fixed in the 0.7 release.