Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
MatVeiQaaa committed Aug 24, 2022
1 parent 24fc86d commit 27e3772
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions LR2GAS/GaugeIncrementsAsm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -265,15 +265,15 @@ namespace
void GetIncrements::HookIncrements()
{
uintptr_t moduleBase;
// TOOD: check for errors.
// TODO: check for errors.
// https://docs.microsoft.com/en-us/windows/win32/api/libloaderapi/nf-libloaderapi-getmodulehandlea#return-value
if ((moduleBase = (uintptr_t)GetModuleHandle("LR2body.exe")) == 0)
{
moduleBase = (uintptr_t)GetModuleHandle("LRHbody.exe");
}

double g_winver = getSysOpType();
g_winver = 10;
//g_winver = 10;
if (g_winver >= 10)
{
g_win10Offset = 0x10000;
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ An injected .dll to add "Gauge Auto Shift" feature for Lunatic Rave 2.

It works by calculating "Easy", "Groove" and "Hard" gauge types simultaniously during gameplay and by tracking current gauge value in game memory. According to conditions it replaces the values in game memory with those from hook memory. Also restores the gauge type to the one you started with after the score is saved, so you can start next chart with same gauge type, and displays according graph for the gauge type you finished with.

NOTE: 1. Never tested with any gauge aside from main three, expect bugs or even crashes.
2. Will only work on Windows 7 (that is to be fixed soon)
3. Displays the texture for gauge graph on score result screen respective to the gauge you started with. Very difficult problem to tackle.
NOTE: 1. Displays the texture for gauge graph on score result screen respective to the gauge you started with. Very difficult problem to tackle.

2. Doesn't support courses and gauges that arent EASY, GROOVE or HARD yet.

0 comments on commit 27e3772

Please sign in to comment.