Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Main menu is offset, top cuts through the window and bottom is unreachable by the mouse cursor #931

Open
MirceaKitsune opened this issue Dec 14, 2024 · 6 comments
Labels
Milestone

Comments

@MirceaKitsune
Copy link

I'm compiling VegaStrike on Manjaro Linux (KDE Plasma / Wayland) and running it and the asset production from latest Git master. Although everything compiles fine, VS is currently unusable due to the main menu being cut off and having parts that cannot be clicked.

Screenshot_20241215_003837

This is what I see both when running in fullscreen or windowed mode, the resolution option in vegasettings is ignored. Also the mouse cursor won't go lower than somewhere before the Quit option, it's like there's a virtual border at the bottom.

@evertvorster
Copy link
Contributor

Hi there!

The screen configuration has changed in git master, and is now not handled by vsettings anymore.
Right now it is a little tricky to get right, but I will outline the steps for you.

The first thing to get is the apparent resolution of your monitor. Since scaling became a thing, it may not be the native resolution of your monitor.
Click on the link below to see the resolution of your monitor:
https://mdigi.tools/screen-resolution/

Once you have that, you need to edit config.json in the system vegastrike directory. Because it is a system file, you will need to be a super user like root. Because you are using Manjaro, the location of the file is most likely /usr/share/vegastrike/config.json.

At the top of that file there is a resolution section. Plug in the numbers you got from the link earlier, and save your file.

This issue should be solved for you the next time you run VegaStrike

@MirceaKitsune
Copy link
Author

Thanks, that seems to have solved it! Definitely an easy workaround, just had to know where to look: I know my screen resolution is 1920x1080, the default mod is installed from its Git repo so no need to edit any system files just modified it locally. Hope this can be fixed properly soon... in the meantime perhaps set it to 1080p there by default, given that's the the resolution almost everyone uses.

@kheckwrecker
Copy link

If anyone is looking for config.json under Windows, you'll find it in the game directory where you installed to game asset files and not in the system .vegastrike directory. Seems like a weird place for it, but at least I could find it.

@royfalk
Copy link
Contributor

royfalk commented Dec 24, 2024

If anyone is looking for config.json under Windows, you'll find it in the game directory where you installed to game asset files and not in the system .vegastrike directory. Seems like a weird place for it, but at least I could find it.

Everything including the old vegastrike.config start there. It's just that this file is new and in progress. I hope to replace the old file with config.json and place it in .vegastrike in a month or two. I apologize for the inconvenience.

@kheckwrecker
Copy link

Thanks for the update - no need for an apology. Will the config.json have a tool for editing when you're finished? Currently, there is no tool for editing vegastrike.config in Windows, so all edits have to be done manually.

@royfalk
Copy link
Contributor

royfalk commented Dec 24, 2024

The plan is to have this in the GUI. However, for now any text editor that handles JSON is fine.

@BenjamenMeyer BenjamenMeyer added this to the 0.10.x milestone Dec 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants