https://bugs.winehq.org/show_bug.cgi?id=51990
Bug ID: 51990 Summary: Far Cry - New Dawn, won't open: unimplemented function ntdll.dll.RtlGetCurrentUmsThread Product: Wine Version: 6.21 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: ntdll Assignee: wine-bugs@winehq.org Reporter: gab.pulcio@gmail.com Distribution: ---
Created attachment 70979 --> https://bugs.winehq.org/attachment.cgi?id=70979 Reason of the bug
Title
https://bugs.winehq.org/show_bug.cgi?id=51990
--- Comment #1 from Gabriele gab.pulcio@gmail.com --- Created attachment 70980 --> https://bugs.winehq.org/attachment.cgi?id=70980 Backtrace
https://bugs.winehq.org/show_bug.cgi?id=51990
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Far Cry - New Dawn, won't |Far Cry New Dawn crashes on |open: unimplemented |unimplemented function |function |ntdll.dll.RtlGetCurrentUmsT |ntdll.dll.RtlGetCurrentUmsT |hread |hread |
--- Comment #2 from Gijs Vermeulen gijsvrm@gmail.com --- Is this bug also present when you set your prefix to windows 7? The store page for the game says it _should_ be supported.
https://bugs.winehq.org/show_bug.cgi?id=51990
Gabriele gab.pulcio@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|6.21 |6.22
https://bugs.winehq.org/show_bug.cgi?id=51990
--- Comment #3 from Gabriele gab.pulcio@gmail.com --- (In reply to Gijs Vermeulen from comment #2)
Is this bug also present when you set your prefix to windows 7? The store page for the game says it _should_ be supported.
Yes, it happens, same error.
https://bugs.winehq.org/show_bug.cgi?id=51990
--- Comment #4 from Gabriele gab.pulcio@gmail.com --- (In reply to Gabriele from comment #3)
(In reply to Gijs Vermeulen from comment #2)
Is this bug also present when you set your prefix to windows 7? The store page for the game says it _should_ be supported.
Yes, it happens, same error.
It's the function that is not implemented yet, maybe it would work even as a stub
https://bugs.winehq.org/show_bug.cgi?id=51990
Gabriele gab.pulcio@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |leslie_alistair@hotmail.com | |, z.figura12@gmail.com Component|ntdll |-unknown Product|Wine |Wine-staging
https://bugs.winehq.org/show_bug.cgi?id=51990
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|6.22 |6.21 CC|leslie_alistair@hotmail.com | |, z.figura12@gmail.com | Component|-unknown |ntdll Product|Wine-staging |Wine
--- Comment #5 from Gijs Vermeulen gijsvrm@gmail.com --- The version field reflects the version this bug was reported against, please don't change it.
This is also not a problem specific to wine-staging, as this function is also unimplemented in upstream wine.
https://bugs.winehq.org/show_bug.cgi?id=51990
Ben Shefte shefben@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |shefben@gmail.com
--- Comment #6 from Ben Shefte shefben@gmail.com --- Created attachment 71549 --> https://bugs.winehq.org/attachment.cgi?id=71549 ntdll rtlgetcurrentumsthread stub
Here is a stub implementation of rtlgetcurrentumsthread()
https://bugs.winehq.org/show_bug.cgi?id=51990
Ben Shefte shefben@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #71549|0 |1 is obsolete| |
--- Comment #7 from Ben Shefte shefben@gmail.com --- Created attachment 71555 --> https://bugs.winehq.org/attachment.cgi?id=71555 fixed a couple mistakes from first patch
Fixed the spec file to specify it is only for windows x64
https://bugs.winehq.org/show_bug.cgi?id=51990
Ben Shefte shefben@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #71555|fixed a couple mistakes |rtlgetumsthread_stub.patch description|from first patch |
--- Comment #8 from Ben Shefte shefben@gmail.com --- Comment on attachment 71555 --> https://bugs.winehq.org/attachment.cgi?id=71555 rtlgetumsthread_stub.patch
just a basic RtlGetCurrentUmsThread stub, I fixed the spec file to specificy that RtlGetCurrentUmsThread is only in the 64bit version
https://bugs.winehq.org/show_bug.cgi?id=51990
--- Comment #9 from Gabriele gab.pulcio@gmail.com --- When is this going to be sent to staging?
https://bugs.winehq.org/show_bug.cgi?id=51990
mk939@ymail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mk939@ymail.com
--- Comment #10 from mk939@ymail.com --- As a result from a discussion on IRC I found the following, more complete implementation: https://github.com/shefben/wine-patches/blob/main/ntdll_RtlGetCurrentUmsThre...