Git Product home page Git Product logo

Comments (7)

Aemony avatar Aemony commented on May 20, 2024

I know there's a way to limit FPS and mute sound of an inactive window with Special K, and those do still work with FFXIV. However, I'd prefer to do those things from the game because the game lets you configure certain sounds to come through even when not in focus.

So you mean that SK is aware that the game has lost focus, but the game itself is not?

from specialk.

Ceiyne avatar Ceiyne commented on May 20, 2024

So you mean that SK is aware that the game has lost focus, but the game itself is not?

As far as I can tell, yes, because the mute and reduced FPS options in SK do work with FFXIV whereas the ones built into the game do not.

from specialk.

Ceiyne avatar Ceiyne commented on May 20, 2024

This is still an issue with SpecialK v 22.9.26 and SKIF v 0.9.10 (Oct 5 2022). Tested with a fresh SpecialK.ini (not my old one from the earlier version of SpecialK).

Some other weirdness, including a clunky workaround:

  • My FFXIV in-game settings specify "Borderless Window" and this works as expected when SpecialK is not injected. However, when I started the game with a fresh SpecialK.ini, the game appeared in a bordered window. This continues unless I apply window type and resolution overrides in SpecialK. (This happened in the old version of SpecialK, too.)
  • If I change the in-game settings to either Windowed or Full Screen, and then change them back to Borderless Window, the game properly displays in a Borderless Window instead of the bordered one. In addition, at this point the game DOES properly detect when it loses focus.

Note: Since I originally opened this issue, I did a full uninstall/reinstall of FFXIV. So, since this issue still exists, that seems to rule out the possibility of something corrupted/funky with my FFXIV installation.

from specialk.

Ceiyne avatar Ceiyne commented on May 20, 2024

After entering the last comment, I played around with delaying global injection for the game, but it didn't fix the issue. If I injected it late enough to prevent the game from going into a window, then it didn't run with G-SYNC. If I injected it earlier, then it ended up in a window.

If the problem where FFXIV goes into a bordered window for no reason could be fixed, that would take care of the issue with loss of focus. I'm only getting the issue with no loss of focus when I apply window & resolution overrides in SpecialK (which is needed to avoid the workaround of manually setting/resetting options in-game to get it back in a window).

from specialk.

MiKE41 avatar MiKE41 commented on May 20, 2024

After doing some digging, it seems that FFXIV relies on the WM_NCACTIVATE message to determine if the game is in the background or not, and the code at 651eefc#diff-b0f3940fc8077de17e026c472533a7f495580334f015a16e2ea41a6da858535fR5282 appears to be stopping this message from getting to the game.

Michael

from specialk.

MiKE41 avatar MiKE41 commented on May 20, 2024

c1a3ab5

The changes made in this commit fix this issue. I believe this issue can be closed.

from specialk.

Aemony avatar Aemony commented on May 20, 2024

Ah, great to hear that!

from specialk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.