Eclipse Community

Kitsune Tails Next Fest Demo on Windows 7

Post Reply   Page 1 of 1  [ 2 posts ]
First unread post
Author Message
Jevil7452
Post subject: Kitsune Tails Next Fest Demo on Windows 7
+ Posted: 08 Jun 2024, 19:14
Offline
 
Posts: 37
Joined: 14 Jan 2024, 15:21
OS: Windows 7 x64 Ent
 
Steam page for game:
The demo can be downloaded for free
It claims compatibility with Windows 7 on the store page:
[ img ]
...but in reality calls a function that isn't in Windows 7's user32.dll:
[ img ]
[ img ]
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:
[ img ]
6. Scroll down until you see the following 6 lines:
[ img ]
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.
[ img ]

_________________



Top
Profile Quote
265 993 303
Post subject: Kitsune Tails Next Fest Demo on Windows 7
+ Posted: 08 Jun 2024, 19:18
Offline
 
Posts: 8
Joined: 28 Nov 2023, 19:09
 
In Win32, the correct way to detect dpi is to use
GetDeviceCaps(hdc,LOGPIXELSX)
for horizontal dpi and
GetDeviceCaps(hdc,LOGPIXELSY)
for vertical dpi.


Top
Profile Quote
Display: Sort by: Direction:
Post Reply   Page 1 of 1  [ 2 posts ]
Return to “Compatibility Mods”
Jump to:

Who is online

Users browsing this forum: No registered users and 0 guests