Hellgate Revival :: Forums

Hellgate: London (Single Player) => Steam => Topic started by: Zor on May 03, 2019; 05:40 AM

Title: Announcing Augmentrex 1.0 (includes a fix for the 1 FPS bug)
Post by: Zor on May 03, 2019; 05:40 AM
Hello,

Since I finally got fed up with the 1 FPS bug, I spent the last few days reverse engineering the game to try to fix it. While I haven't found the root cause of the issue, I have found one way to fix it, with a few side effects.

For more information and downloads, head over here: https://github.com/alexrp/augmentrex

If you have any issues getting it to work, either post here or open an issue on GitHub (I'm more likely to notice those sooner).
Title: Re: Announcing Augmentrex 1.0 (includes a fix for the 1 FPS bug)
Post by: Bryan on May 03, 2019; 08:39 AM
Looks like stellar work indeed :)

I took the liberty of making this a sticky for easier access, as it's bound to be useful to many.
Title: Re: Announcing Augmentrex 1.0 (includes a fix for the 1 FPS bug)
Post by: Lasius on May 03, 2019; 11:15 AM
If this works I will build a temple and worship you
Title: Re: Announcing Augmentrex 1.0 (includes a fix for the 1 FPS bug)
Post by: Zor on May 03, 2019; 11:16 AM
It's very easy to verify that it works. Just start the game with it attached, go to some arbitrary Tokyo area, get an FPS drop, and then type 'patch-long-ray-vm' in the console window. It will instantly resolve the FPS drop.
Title: Re: Announcing Augmentrex 1.0 (includes a fix for the 1 FPS bug)
Post by: Lasius on May 03, 2019; 12:20 PM
Just to be clear: 'patch-long-ray-vm' is used to toggle the effect on, same command again will toggle off? I cant wait to give this a try later today. Thank you very much for putting your time and effort into this.
Title: Re: Announcing Augmentrex 1.0 (includes a fix for the 1 FPS bug)
Post by: Zor on May 03, 2019; 12:29 PM
Yep, that's right. You can toggle the patch at any point, even in the middle of gameplay (which you have to do for Ash and Oculis, for example).
Title: Re: Announcing Augmentrex 1.0 (includes a fix for the 1 FPS bug)
Post by: skullhead222 on May 03, 2019; 04:18 PM
hallo,

i cant find the Augmentrex.exe file from the github page please help
Title: Re: Announcing Augmentrex 1.0 (includes a fix for the 1 FPS bug)
Post by: Zor on May 04, 2019; 12:27 AM
Go to the releases page: https://github.com/alexrp/augmentrex/releases
Title: Re: Announcing Augmentrex 1.0 (includes a fix for the 1 FPS bug)
Post by: chaos0ne on May 04, 2019; 10:05 AM
it´s a good work from you. Maybe you Need the DVD Version or the data from the DVD Version to find out what the failure is?
Title: Re: Announcing Augmentrex 1.0 (includes a fix for the 1 FPS bug)
Post by: SuE on May 04, 2019; 11:15 AM
Hi, first,  thanks for your effort :)
I play on AMD processor so I probably do not experience the "real" FPS bug. However, I always have severe FPS drop at the end of Upper Edo castle,  where the unique mad oni crusher is.  Unfortunately, it occured with your augmentrex on too. So I guess, it is different issue?
I started the game from the augmentrex, log looked okay, so I guess it was active at that time or is it necessary to toggle it on with the command?
Title: Re: Announcing Augmentrex 1.0 (includes a fix for the 1 FPS bug)
Post by: Zor on May 04, 2019; 07:02 PM
You have to toggle the fix on with the 'patch-long-ray-vm' command. It's not on by default.
Title: Re: Announcing Augmentrex 1.0 (includes a fix for the 1 FPS bug)
Post by: SuE on May 04, 2019; 09:10 PM
oh, thanks, I give it another try, then :)

Update:  works like charm
no FPS drop on way to Natan, no FPS drop due to moth spawns and killing of moths swarms

love you  :P
Title: Re: Announcing Augmentrex 1.0 (includes a fix for the 1 FPS bug)
Post by: Lasius on May 05, 2019; 09:15 AM

(https://www.templeinstitute.org/images/building-the-altar.jpg)
Title: Re: Announcing Augmentrex 1.0 (includes a fix for the 1 FPS bug)
Post by: Zor on May 05, 2019; 12:09 PM
Glad to hear it worked. :)

By the way, if anyone here happens to have Hellgate Global still lying around, I'd love it if you could send me a copy somehow. Having various versions of the game is really helpful when reverse engineering, and unfortunately the drive I had the game from back when I still played has long since died.
Title: Re: Announcing Augmentrex 1.0 (includes a fix for the 1 FPS bug)
Post by: chaos0ne on May 05, 2019; 03:54 PM
have only steam Version and DVD Version. have test between both versions the most Settings cames later in the game from corean Version. i see that one or two skills drigger the 1 fps bug. with lower Settings it Comes not so often. i think the dx9 Version is a Little bit broken with it Maybe wrong dll´s too

or Maybe ill be wrong with that
Title: Re: Announcing Augmentrex 1.0 (includes a fix for the 1 FPS bug)
Post by: Bryan on May 05, 2019; 05:08 PM
Glad to hear it worked. :)

By the way, if anyone here happens to have Hellgate Global still lying around, I'd love it if you could send me a copy somehow. Having various versions of the game is really helpful when reverse engineering, and unfortunately the drive I had the game from back when I still played has long since died.

Some members should still have it, if memory serves.

The 2038 devs could also possibly be of help with that.
Title: Re: Announcing Augmentrex 1.0 (includes a fix for the 1 FPS bug)
Post by: MikePaixao on May 11, 2019; 07:48 PM
Hey! had been really annoyed at this bug, so I checked out the tool! nicely done!

some notes from my experience / suggestion

I also downloaded the source, since the compiled version would not work..

1: I have 3 HDD's with steam games, this will bork things (dirty workaround is dirty... folder lookup breaks)
2: I removed the required admin rights, everything seems to continue working
3: would be interesting to try and have a hotkey that just toggles the rays off and on, then just hit it when lag starts
4: compiling the code in debug seems to have created some local VS sandbox mode that my pc was unhappy about, a release compile may fix this if other users face it


I will try and find free time to look at fixing these, ping me if you want some help :)

Title: Re: Announcing Augmentrex 1.0 (includes a fix for the 1 FPS bug)
Post by: Zor on May 11, 2019; 10:03 PM
I know there is currently a bug with the game location detection logic when non-standard library paths are used. If you could give me a list of your Steam library folders including which manifest files are present in them, I could try to fix that.

It may very well work without administrator privileges. I just couldn't be bothered to verify that since I have almost all aspects of UAC disabled on my system.

Hotkeys are definitely something I'd like to do. Would probably take the form of a command that would install a global key hook for any given key (plus modifiers) to run a given command. Dunno when I'll get around to that, though.

Not sure what the VS sandbox thing you mentioned is. Never heard of anything like that. ???
Title: Re: Announcing Augmentrex 1.0 (includes a fix for the 1 FPS bug)
Post by: chaos0ne on May 13, 2019; 09:32 PM
mine is E:\Steam\steamapps with all the manifests

hope it helps you
Title: Re: Announcing Augmentrex 1.0 (includes a fix for the 1 FPS bug)
Post by: chaos0ne on May 14, 2019; 04:15 PM
i cant edit my last post sry for double post
but i found something on the net i hope it´s helped you a Little

https://pcgamingwiki.com/wiki/Hellgate:_London

and

https://pcgamingwiki.com/wiki/Glossary:Game_data#Windows_data_paths
Title: Re: Announcing Augmentrex 1.0 (includes a fix for the 1 FPS bug)
Post by: Kami0 on May 15, 2019; 01:43 PM
Hi,

First of all, big thanks for this fix!!!


My HGL steam game is stored on another drive so i had to modify the "Augmentrex.exe.config"
<
<add key="gamePath" value="D:\Steam\steamapps\appmanifest_939520.acf" />
>

Here it's what i have:
Augmentrex.exe will crash (with admin rights or not) IF i don't launch the game first (i load a character first too but that may not be relevant)

Here is the errors:
<
Unhandled Exception: System.ComponentModel.Win32Exception: The specified executa
ble is not a valid application for this OS platform.
   at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startIn
fo)
   at System.Diagnostics.Process.Start()
   at Augmentrex.Launcher.AttachOrLaunch() in C:\Users\alex\Documents\Visual Stu
dio 2019\Projects\Augmentrex\Augmentrex\Launcher.cs:line 98
   at Augmentrex.Program.Main() in C:\Users\alex\Documents\Visual Studio 2019\Pr
ojects\Augmentrex\Augmentrex\Program.cs:line 15
>

My system is W7 SP1 x64, .Net framework 4.7.2

Again big thanks!!

Update:
I think this patch affects flying and jumping mobs too.
Blood seraphim (flying mobs) in Aldgate for Broken quests line can fly through obstacles and "never fly back to map" hence they're missing.
I saw ravagers jump and end as they are swimming on the ground then disappear.
Title: Re: Announcing Augmentrex 1.0 (includes a fix for the 1 FPS bug)
Post by: Zor on May 15, 2019; 06:24 PM
The gamePath configuration option is the path to Hellgate_sp_x86.exe.
Title: Re: Announcing Augmentrex 1.0 (includes a fix for the 1 FPS bug)
Post by: chaos0ne on May 15, 2019; 08:19 PM
did you mean that?

E:\Steam\steamapps\common\HELLGATE_London\bin\Hellgate_sp_x86.exe