Kitsune Tails Next Fest Demo on Windows 7

Have a method to get an application work on an older unsupported Windows version? Post it here.
Jevil7452
Posts: 37
Joined: 14 Jan 2024, 15:21
OS: Windows 7 x64 Ent
Been thanked: 20 times
Poland

Kitsune Tails Next Fest Demo on Windows 7

Unread post by Jevil7452 »

Steam page for game:
The demo can be downloaded for free
It claims compatibility with Windows 7 on the store page:
Image
...but in reality calls a function that isn't in Windows 7's user32.dll:
Image
Image
Just using VxKex doesn't work (maybe it doesn't work for .NET apps, as it didn't say anything about kxuser, or whatever the file that has user32.dll exports is called)
However, the game is based on .NET Framework (you can easily notice this when it starts to reinstall .NET Framework 4.8 for no damn reason on first run, as well as from the mention of "CLR" in the crash dialog)
This means, that you can simply use dnSpy to remove the call to the function that doesn't exist.
dnSpy download link: https://github.com/dnSpy/dnSpy/releases
Patching steps:
1. Open "KitsuneTails.exe" in dnSpy
2. Use dnSpy's search tool (at the bottom, or the search icon in the toolbar) to search for GetDpiForSystem
3. It will show you only one thing, double click it
4. Right click anywhere, then click "Edit Class (C#)..."
5. Remove the following 3 lines:
Image
6. Scroll down until you see the following 6 lines:
Image
and delete them too (alternatively you can click Compile after doing step 5, it will show you an error, double click on it and it'll bring you to the relevant piece of code)
7. Click File > Save All..., then just click OK
After that, you're done.
Image

265 993 303
Posts: 8
Joined: 28 Nov 2023, 19:09
Been thanked: 2 times
Poland

Kitsune Tails Next Fest Demo on Windows 7

Unread post by 265 993 303 »

In Win32, the correct way to detect dpi is to use

Code: Select all

GetDeviceCaps(hdc,LOGPIXELSX)
for horizontal dpi and

Code: Select all

GetDeviceCaps(hdc,LOGPIXELSY)
for vertical dpi.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest