Kaldaien / TZF

Tales of Zestiria "Fix" - Framerate, Render and Sound Fixes
GNU General Public License v2.0
115 stars 14 forks source link

GetSystemTimePreciseAsFileTime Error upon Game Start #20

Closed LionCerieals closed 8 years ago

LionCerieals commented 8 years ago

Hi there! So I was trying to install your mod and I put all the files that were in the folder into the Tales of Zestiria folder and when I start the .exe file I get an error message which says: "GetSystemTimePreciseAsFileTime could not be found in the KERNEL32.dll." Do you guys have any idea how I can fix this? I've searched for an hour on Google but I couldn't find anything. :(

drdaxxy commented 8 years ago

What version of Windows are you running?

Kaldaien commented 8 years ago

It checks Windows version before using that. It must be Windows 6.3 or greater. That's equivalent to Windows 8. If your Windows version is not 6.3 or greater, it does not use this feature.

drdaxxy commented 8 years ago

You mean 6.2.

And this is exactly why I ask - this looks like OP is not on 8+, and the check's not working.

Kaldaien commented 8 years ago

No, I mean 6.3 It's a Windows Server 2012 R2 / Windows 8.1 feature. 8.1 is a free upgrade, so I consider all 8 users as 8.1 users. Either way, I disabled the code and re-uploaded 1.2.2

I did not expect it to DLL import those functions at load-time. I thought Windows was smarter about doing things like that that depend on a certain version of Windows. I did not actually call the functions on unsupported systems, but it still tried to import them from kernel32.dll.