hyprland-plugins/csgo-vulkan-fix
2024-09-25 00:12:04 +10:00
..
CMakeLists.txt treewide: add CMake files 2024-05-05 16:36:13 +03:00
default.nix treewide: add CMake files 2024-05-05 16:36:13 +03:00
globals.hpp Meson: init in all plugins and fix include paths 2023-04-27 02:01:22 +03:00
main.cpp csgo-vulkan-fix: Use InitialClass instead of InitialTitle which was changed to not be specific to CS2 2024-09-25 00:12:04 +10:00
Makefile treewide: update pkgconfig flags to include irregular locations of headers on distros like openSUSE (#150) 2024-04-20 13:05:44 +03:00
meson.build treewide: update pkgconfig flags to include irregular locations of headers on distros like openSUSE (#150) 2024-04-20 13:05:44 +03:00
README.md csgo-vulkan-fix: change cs2 class to match current class, remove unneeded -vulkan option 2024-09-24 23:42:13 +10:00

csgo-vulkan-fix

Originally meant for csgo / cs2, but can work with any app, really.

csgo-vulkan-fix is a way to force apps to a fake resolution without them realizing it.

If you want to play CS2, you're locked to your native res. Other resolutions (especially not 16:9) are wonky.

With this plugin, you aren't anymore.

CS2 launch options:

-window -w <RESX> -h <RESY>

example plugin config:

plugin {
    csgo-vulkan-fix {
        res_w = 1680
        res_h = 1050

        # NOT a regex! This is a string and has to exactly match initial_class
        # At some point Counter Strike 2's class was changed to 'SDL Application'
        class = SDL Application

        # Whether to fix the mouse position. A select few apps might be wonky with this.
        fix_mouse = true
    }
}

fullscreen the game manually and enjoy.