Skip to content

[Undesired Behavior] ImGui Doesn't Work Because Of Other Overlays #34

@GreenComfyTea

Description

@GreenComfyTea

Me on my way to create 10 more issues:
3x

Describe The Problem

The default ImGui key is F9. It was not registering by SPL at all because of GeForce Experience (and Nvidia App) overlay. They have a Alt+F9 hotkey. ImGui wasn't showing and doing if(Input.IsPressed(Key.F9)) Log.Info("F9 is pressed"); printed nothing.

image

Removing the hotkey didn't help, but closing GeForce Experience completely solved the issue.

Personally, I have Nvidia overlay on, and I didn't encounter this issue. But with the other person that did have it we went thru a full troubleshooting process and I can confidently say it was because of Nvidia overlay.

PS. As a side note, it seems that there are ImGuiRenderingEnabled and PrimitiveRenderingEnabled entries that go into loader-config.json. On the first SPL install, if there is loader-config.json file already then ImGui will work by default, but these entries wont be added to the file. But if there is no loader-config.json file then it will be generated with these entries set to false, and ImGui won't work. This is confusing for end users. At least the default value should be true.

PPS. I am not sure \Monster Hunter World\nativePC\plugins\CSharp\Loader\SharpPluginLoader.log is a good place for a log file. Too hidden from end users. I would be prefer if it was in the root folder, alongside regular stracker's log file. That's my personal opinion thou.

PPPS. Another thing, I have several reports claiming that BetterMatchmaking doesn't work with AMD GPUs, it crashes. One of the errors that I got a report of was AccessViolationException that happened in startRequest hook when actually trying to search for sessions. I assume netRequest address was incorrect. I don't know how GPU can affect the functionality of hooks, I checked Reloaded.Hooks issues and didn't see anything related, and I don't have enough information to create a proper issue. So I am just mentioning it here.

To Reproduce

I don't have a reliable way of reproducing the issue.

Expected Behavior

Ideally, all key inputs should work regardless of other overlays. But I don't know if its even doable. As a workaround I can suggest making a entry for changing the ImGui key in a config file.

Priority

Suggested P2 Priority. Inaccessible ImGui makes people think the mods are not working at all. And if not, no menu means no easy customization.

PC Specs

Show/Hide
  • GPU: Nvidia

Environment

Show/Hide
  • Nvidia Drivers: v551.76

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions