HGL
eastern-cyan

How to force resolution in game arguments

I've got a game opening at a ridiculously small resolution (talking like 120x50). I've been googling for about 3 hours now, but I can't find any documentation on game arguments. Can anybody point me in the right direction here, please?
35 Replies
harsh-harlequin
harsh-harlequin17mo ago
it depends on the game and the developers of each game, most games don't have that option in the command line one thing you can try is to use Gamescope and it will tell the game the screen resolution you want and if the game is nice it will use it
eastern-cyan
eastern-cyanOP17mo ago
I'll give that a try. Legendary spits out a "Wine not found" error every time I use gamescope, but that's an entirely different problem.
variable-lime
variable-lime17mo ago
Logs and screenshots please
eastern-cyan
eastern-cyanOP17mo ago
No description
variable-lime
variable-lime17mo ago
What wine runner are you trying to use? What game? We need more context Everything from the game log #:pushpin: Read Me First | Frequently Asked Questions
eastern-cyan
eastern-cyanOP17mo ago
Sorry, yeah. I'm trying to run Alan Wake 2 using Proton-GE-8-27, which worked literally a day ago. I'm trying to upload the lastplay log now Okay, it's not letting me upload the file, so I'll figure that out after lunch
variable-lime
variable-lime17mo ago
You shouldn’t be using Proton or GE-Proton
eastern-cyan
eastern-cyanOP17mo ago
That's great and all, except that Wine and Wine-GE don't run the game at all. And yes, @termdisc , if you would like, I can create and upload log files for that too, once I figure out why Discord is blocking my uploads with a general error.
variable-lime
variable-lime17mo ago
Drag the log to the desktop or documents folder and upload from there. If that doesn’t work, just upload the contents to pastebin And if you paste a full log here, it’ll ask for you to upload as a file, where you can just delete all of the text afterward and it’ll have message.txt attached When switching to Wine-GE, you need to ensure you have the dependencies installed. There’s an automated way for this now
eastern-cyan
eastern-cyanOP17mo ago
variable-lime
variable-lime17mo ago
"launcherArgs": "gamescope -f --",
This looks wrong as it appears that you are not using the gamescope tab in Heroic
name": "Proton - Proton-GE-latest",
I already addressed this I see that you have stuff set in the tab now But having that in launcher arguments is wrong. Gamescope shouldn’t be invoked after the game command is called
vicious-gold
vicious-gold17mo ago
fwiw wine-ge works fine with alan wake 2.. this runs perfectly for me at least.. you should clear out the uneeded options Since you are on nvidia hardware you might want to enable dxvk-nvapi as well
eastern-cyan
eastern-cyanOP17mo ago
Thanks for the advice. I have a log from my latest (of many) crash using Wine-GE-Latest. Basically, any time I try to change a graphics setting or skip a cutscene, it throws up an exception and crashes. Also I'm getting like 10 FPS at medium settings with no ray-tracing, which feels wrong for an RTX 3070.
eastern-cyan
eastern-cyanOP17mo ago
eastern-cyan
eastern-cyanOP17mo ago
And I have dxvk-nvapi turned on by default
variable-lime
variable-lime17mo ago
Couple of thoughts: what file system is the drive that the game installed to? Also, have you verified that you have matching nvidia drivers and runtimes installed?
vicious-gold
vicious-gold17mo ago
you're in a flatpak container, so might be worth it to follow the update advice in the readme first.. sometimes flatpak updates can.. break? heh also turn the post processing effects to lowest setting, it gets very little visual gain for a lot of performance loss in alan wake2
eastern-cyan
eastern-cyanOP17mo ago
Interesting thought. It's an ext4 drive. I made sure to adjust access permissions accordingly in flatseal.
vicious-gold
vicious-gold17mo ago
did you do the flatpak update stuff?
eastern-cyan
eastern-cyanOP17mo ago
Working on that now as well as testing Wine-GE-8-27 (apparently Heroic's definition of "latest" is a bit behind) flatpak update turns up the same crash as expected (still using ge-latest)
vicious-gold
vicious-gold17mo ago
just to be clear this command tright
flatpak update && flatpak install --reinstall com.heroicgameslauncher.hgl
flatpak update && flatpak install --reinstall com.heroicgameslauncher.hgl
eastern-cyan
eastern-cyanOP17mo ago
That's what I did. Still crashing any time I skip a cutscene or change a setting in-game Should I try the non-flatpak version just for kicks?
vicious-gold
vicious-gold17mo ago
tbh i dont use flatpak 😄 this works fine on my 3080 and radeon 6700xt
eastern-cyan
eastern-cyanOP17mo ago
I'll give the non-flatpak version a spin, then
vicious-gold
vicious-gold17mo ago
eastern-cyan
eastern-cyanOP17mo ago
Heh, I actually did that this morning
vicious-gold
vicious-gold17mo ago
nodnod def will need it if you are going to use a non flatpak version
eastern-cyan
eastern-cyanOP17mo ago
Good to know, thanks
vicious-gold
vicious-gold17mo ago
out of curiosity did you install anything with winetricks? or do you have automatically install wine tricks fixes enabled?
eastern-cyan
eastern-cyanOP17mo ago
The latter probably would have been smarter, but no I followed the instructions to install the two d3dcompilers and vcrun2022 that got posted on day 1
vicious-gold
vicious-gold17mo ago
nodnod those should be all you need
variable-lime
variable-lime17mo ago
Heroic’s definition is correct. wine-GE-8-27-LoL is for LoL, not general use
eastern-cyan
eastern-cyanOP17mo ago
Yep, that explains why it froze at the Remedy logo with that particular instance. Finally got to test non-flatpak. Same crashes. wine-ge-8-25
eastern-cyan
eastern-cyanOP17mo ago
eastern-cyan
eastern-cyanOP17mo ago

Did you find this page helpful?