March 24, 2026
9:29 a.m.
On Tue Mar 24 09:13:59 2026 +0000, Nikolay Sivov wrote:
If it's not important to get application running, it's better to keep stub to a minimum. For instance here, we don't know if this is correct, without tests. I believe this is the minimal stub for this game to work.
The call pattern I observed is that it will call Compress first with a 0 byte input buffer, expecting to get ERROR_INSUFFICIENT_BUFFER back and reads the output data size to produce a new buffer. It then re-calls the function with the corrected size and expected data written to it. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/10352#note_133513