Where exactly is the version number of files like "ntdll.dll.so" tracked at?

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
Snoucher
Newbie
Newbie
Posts: 2
Joined: Tue Aug 06, 2024 10:26 am

Where exactly is the version number of files like "ntdll.dll.so" tracked at?

Post by Snoucher »

TL;DR

I need help in locating where the version string used to identify any potential mismatch is located in a modified ntdll.dll.so so I can bypass the mismatch and attempt to run a game which said .so file will help run properly. Here's the file if you're interested in solving this: https://drive.google.com/file/d/1AVKi2h ... sp=sharing

Explanation

I've been trying desperately to get Soldiers: Heroes of World War II to run this whole day. It started when I looked through winehq to see this report. I then followed the subsequent bugzilla thread to patch wine. Until then I've never known or attempted patching wine, so I might've made a lot of crucial mistakes; not to mention that I have cold as well. I used "make -i" because of a lot of errors, which basically lead to that scrapheap (the custom wine 3.5) to not start at all, though it still compiled ntdll.dll.so. I didn't know at the time that ntdll.dll.so mattered, but I didn't delete the wine 3.5 project (thank you past me) so I was able to frankenstein the supposedly custom ntdll.dll.so into a working wine version (lutris-4.21-86x_64 [which was named after the game I wanted to play "lutris-soldiers-4.21-x86_64"]) and I run into this error:

Code: Select all

user.reg:4: Mismatched architecture '#arch=win64'
user.reg is not a valid registry file
wine client error:0: version mismatch 594/548.
Your wine binary was not upgraded correctly,
or you have an older one somewhere in your PATH.
Or maybe the wrong wineserver is still running?
Monitored process exited.
Initial process has exited (return code: 256)
Exit with return code 256
The Question

At this point, I don't really care about the version mismatch, so I honestly tried to see if there's a way around it. I looked almost everywhere, but I didn't see anything matching my case. AFAIK there's no way to ignore version mismatch, no easy way to change the version of ntdll.dll.so and even tried to find help in other platforms. The only thing left is to just find where the version is tracked in the file itself, and hope that I can finally run this stupid game that I wasn't able to run since I first tried it back in 2020. Here is the file in question: https://drive.google.com/file/d/1AVKi2h ... sp=sharing
Locked