OptiScaler icon indicating copy to clipboard operation
OptiScaler copied to clipboard

Optiscaler setup for Linux

Open cssrumi opened this issue 9 months ago • 9 comments

Works flawlessly with AMD gpu using defaults.

cssrumi avatar Mar 26 '25 17:03 cssrumi

I will fix everything today :) thx

cssrumi avatar Mar 28 '25 09:03 cssrumi

I fixed everything :)

cssrumi avatar Mar 28 '25 18:03 cssrumi

Found a problem with copying nvngx file while searching.

cssrumi avatar Mar 28 '25 18:03 cssrumi

I'll look over this as well. There are some grammatical errors in there.

Lawstorant avatar Mar 30 '25 19:03 Lawstorant

just a question since i never had any problems just running the Optiscaler Setup.bat in my proton prefixes, what does this do better?

VoodaGod avatar Apr 01 '25 07:04 VoodaGod

You can use bash directly from the Linux side, without Wine.

But I wonder if you couldn't do even better. instead of bundling a script with the package, why not create a script that will automatically download and install optiscaler in current directory?

Lawstorant avatar Apr 01 '25 07:04 Lawstorant

But I wonder if you couldn't do even better. instead of bundling a script with the package, why not create a script that will automatically download and install optiscaler in current directory?

I've been doing something like that with fgmod but with dlss enabler mod bundle and haven't yet updated it to use only OptiScaler after opti added support for Nukem's mod.

The idea there is a wrapper added to the launch commands that on every launch copies over the correct files into the game folder. It being a wrapper has the advantage of having access to the game's path so no need to tell the user where to copy the files. Auto-update could technically be added but for security and compatibility reasons I'm not a fan.

Talking about this MR, most people were fine with running the batch script via wine and adding a bash script will create a new issue of having to add any changes to it as well. There's a lot of talk in here right now but when something breaks/will need to be updated in this script then it either won't, I will need to do it, or someone will use AI. Instead of just doing the fixed once in the batch file. For that reason, in my opinion, if this script is to be added it should be kept simple

FakeMichau avatar Apr 01 '25 08:04 FakeMichau

Hi I got a feedback like this, probably paths with spaces?

image

cdozdil avatar Apr 23 '25 19:04 cdozdil

Quite honestly, the already included .bat files work great on Linux with wine and behave exactly the same as on Windows. Is it even a good idea to duplicate the work? Someone would have to maintain this.

Lawstorant avatar May 06 '25 19:05 Lawstorant

Superseded by: https://github.com/optiscaler/OptiScaler/pull/544

FakeMichau avatar Jun 24 '25 21:06 FakeMichau