All Projects → CookiePLMonster → UptimeFaker

CookiePLMonster / UptimeFaker

Licence: MIT license
Generic Windows library designed to help detecting issues related to high PC uptime

Programming Languages

C++
36643 projects - #6 most used programming language
c
50402 projects - #5 most used programming language

Projects that are alternatives of or similar to UptimeFaker

Winlamb
A lightweight modern C++11 library for Win32 API, using lambdas to handle Windows messages.
Stars: ✭ 157 (+196.23%)
Mutual labels:  winapi
ino
In 'n Out - See what goes in and comes out of PEs
Stars: ✭ 28 (-47.17%)
Mutual labels:  winapi
Captain
Captain Claw external hack
Stars: ✭ 18 (-66.04%)
Mutual labels:  winapi
Windows Hacks
Creative and unusual things that can be done with the Windows API.
Stars: ✭ 2,171 (+3996.23%)
Mutual labels:  winapi
UniWindowController
Makes your Unity window transparent and allows files dropping
Stars: ✭ 148 (+179.25%)
Mutual labels:  winapi
SvcHostDemo
Demo service that runs in svchost.exe
Stars: ✭ 61 (+15.09%)
Mutual labels:  winapi
Ai tetris
AI 俄罗斯方块(C++)
Stars: ✭ 150 (+183.02%)
Mutual labels:  winapi
Inflame
User-mode Windows DLL injector written in Assembly language (FASM syntax) with WinAPI.
Stars: ✭ 63 (+18.87%)
Mutual labels:  winapi
GetConsoleHistoryAndOutput
An Incident Response tool to extract console command history and screen output buffer
Stars: ✭ 41 (-22.64%)
Mutual labels:  winapi
isotoxin
Isotoxin source
Stars: ✭ 69 (+30.19%)
Mutual labels:  winapi
Xdpw
XD Pascal: A small embeddable self-hosting Pascal compiler for Windows. Supports Go-style methods and interfaces
Stars: ✭ 199 (+275.47%)
Mutual labels:  winapi
Injectopi
A set of tutorials about code injection for Windows.
Stars: ✭ 237 (+347.17%)
Mutual labels:  winapi
performance-counters
Extremely useful library for collecting and tracking performance metrics in your .NET application
Stars: ✭ 16 (-69.81%)
Mutual labels:  performance-counters
Mctrl
C library providing set of additional user interface controls for Windows, intended to be complementary to standard Win32API controls from USER32.DLL and COMCTL32.DLL.
Stars: ✭ 169 (+218.87%)
Mutual labels:  winapi
MaiSense
Touch Sensor Emulation for SDEY - 💦 Touchlaundry Disco
Stars: ✭ 110 (+107.55%)
Mutual labels:  winapi
Win32 Programming
Win32编程
Stars: ✭ 151 (+184.91%)
Mutual labels:  winapi
perf counter
A dedicated performance counter for Cortex-M systick. It shares the SysTick with users' original SysTick function without interfere it. This library will bring new functionalities, such as performance counter, delay_us and clock() service defined in time.h
Stars: ✭ 197 (+271.7%)
Mutual labels:  performance-counters
sqlite-gui
Lightweight SQLite editor for Windows
Stars: ✭ 151 (+184.91%)
Mutual labels:  winapi
pelauncher
Portable Executable launcher for Windows NT bypassing loader
Stars: ✭ 49 (-7.55%)
Mutual labels:  winapi
ListEx
List control with innate tool-tips, color, sorting, embedded hyperlinks, sub-item custom data, column hiding and lot more abilities.
Stars: ✭ 17 (-67.92%)
Mutual labels:  winapi

Uptime Faker

Generic Windows library designed to help detecting issues related to high PC uptime.

Reason for creating this plugin

The most accurate timers in Windows all count time from the time Windows has started. Historically, these values often were relatively small, as people usually shut down their PC at night, and therefore uptime stayed low. However, with the introduction of Fast Startup in Windows 8, uptime stopped resetting after shutting down the PC (since it's now effectively a partial hibernation). This led to uptimes inflating noticeably for most people, as with Fast Startup enabled it resets only on a full PC reboot.

Turns out, older software often cannot handle high uptimes. Much to my surprise, Application Verifier did not have any options to help detecting such issues by faking high uptime, I decided to create this plugin.

To allow using Uptime Faker as a general purpose fix for games and/or applications not handling high uptime gracefully, v1.1 added a ProcessTime INI option, making timers count time from the process creation instead of the last reboot.

Usage

This plugin is a Detours plugin. Therefore, it can be injected into the process with DetourCreateProcessWithDlls or by any other means. It is also possible to inject UptimeFaker by using Ultimate ASI Loader, but file extension needs to be renamed to ASI first.

Hooked WinAPI functions, the amount of uptime added and a process time mode can be configured with a provided UptimeFaker.ini file.

Supported functions

  • From kernel32.dll:
    • QueryPerformanceCounter
    • GetTickCount
    • GetTickCount64
  • From winmm.dll:
    • timeGetTime
    • timeGetSystemTime

Third party dependencies

This project uses Detours to hook into WinAPI time functions.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].