fgsfds / Steam-Superheater

Steam Superheater is an app that can fix and improve games on Steam that are broken or have troubles running on modern systems
GNU General Public License v3.0
114 stars 0 forks source link

Fixes variants support #15

Closed fgsfds closed 9 months ago

fgsfds commented 9 months ago

Fixes variants provide a way to have multiple variants of the same fix and select which one to install.

It will be the most useful for (ultra)widescreen fixes that are distributed as a modified exes. Each fix will have multiple variants for different resolutions and the user will be able to select the one he needs from a combo box.

image

Each variant is located in a subfolder inside a zip archive

image

and in fixes.xml it's represented by a list of strings with the same names as subfolders

<FixEntity>
        <Guid>d207c355-0d68-43fd-a1ee-16a931421145</Guid>
        <Url>https://github.com/fgsfds/SteamFD-Fixes-Repo/raw/master/fixes/desperados_resolutions.zip</Url>
        <Description />
        <Variants>
          <string>1920x1080</string>
          <string>2560x1080</string>
        </Variants>
        <Dependencies />
        <Name>Resolution Fix</Name>
        <Version>1</Version>
</FixEntity>