Shop  •   Avatar  •   FAQ  •   Search  •   Memberlist  •   Usergroups  •   Profile  •   Log in to check private messages  •   Log in  •  Register 

Somewhat Universal Widescreen Fix (SUWSF)
Post new topic   Reply to topic     Forum Index -> Technical Issues
View previous topic :: View next topic  
Author Message
corsair91
Sailing Master
Posts: 10370



296901 Gold -

more...
PostPosted: Wed Nov 18, 2026 4:59 pm    Post subject: Somewhat Universal Widescreen Fix (SUWSF) Reply with quote

SUWSF

https://github.com/PhantomGamers/SUWSF


Somewhat Universal Widescreen Fix
intended to enable widescreen aspect ratios in games where it is unsupported.

WARNING IT IS NOT RECOMMENDED TO USE THIS FIX IN GAMES THAT CONTAIN ANTICHEAT


Installation

Ensure you have the latest 64bit VC Redist or 32bit VC Redist installed.

https://aka.ms/vs/17/release/vc_redist.x64.exe

https://aka.ms/vs/17/release/vc_redist.x86.exe


Download the latest release
https://github.com/phantomgamers/suwsf/releases/latest

For 32bit (x86) games download SUWSF-x86.zip, for 64bit (x86_64) games download SUWSF-x64.zip.

Extract it so that SUWSF.asi, SUWSF.ini, and dsound.dll are in the same folder as the game executable that you are trying to fix.

If dsound.dll would collide with a file included in the game try a different name on this list which is marked as supporting the architecture (x86 or x64) of the game you are trying to fix.

https://github.com/ThirteenAG/Ultimate-ASI-Loader#description

Note that it must be alongside the actual game executable, it will not work if it is only placed alongside a game's launcher.


Uninstall
To uninstall, delete the SUWSF.asi, SUWSF.ini, and dsound.dll files that you extracted to the game executable location.

Configuration
In SUWSF.ini you can configure the following settings:


[UserSettings]
A group of settings specific to the user.

Resolution
The user's screen resolution that should be used in patch calculations.

Valid options: A screen resolution (e.g. "3440x1440"), "auto" (automatically detect from primary screen, may be affected by DPI scaling)
Default: "auto"


[Patch]
A group of settings related to a patch. Patches can optionally have names (e.g. [Patch:AspectRatio] or [Patch:FOV]). Names do not matter as long as they contain the word Patch.
As many patch groups as needed can be used.

Enabled
Whether a patch should be enabled. Use this for optional patches that users can choose to enable or disable.

Valid options: "true", "false"
Default: "true"

Pattern
This should be set to a pattern that matches the bytes you would like to patch.

Commonly this will be 16/9 in bytes, which can either be 39 8E E3 3F or 3B 8E E3 3F depending on the game.

Wildcards are supported for bytes that can vary between game versions (e.g. 39 8E ?? 3F).

Offset
The offset from the pattern match that should be written. Use this if you need to include bytes before the thing you are trying to patch.
e.g. to get to 39 in 90 90 39 8E E3 3F set to 2

Default: 0

Value
The value to write to the matched bytes.

If ValueType is float then this can contain numbers or included variables. This can also contain an expression!

If ValueType is byte then this should contain an array of bytes! e.g. 90 90 90 90

Included variables:
aspectratio - This will be replaced with the user's screen's aspect ratio.
width - This will be replaced with the user's screen's width.
height - This will be replaced with the user's screen's height.

Example:
Value="width/height"

ValueType
What type the Value setting contains.

Valid options: "float", "double", "int", "byte"
Default: float

Match
Which match should be targeted. Useful for cases where a pattern can have multiple matches but only one should be changed.

Valid options: number of match (starting from 1), "last", "all"
Note that last might match different bytes than the last match in a hex editor. This is because SUWSF works from memory while a hex editor works on the file on disk.
Default: "all"

Module
Which file should be targeted by patch. Useful for cases where the patch needs to be applied to a file other than the main game executable. (e.g. "UnityPlayer.dll")

Valid options: "auto" (detects main game executable name), any string.
Default: "auto"


Troubleshooting

If you get an error such as "Unable to load SUWSF.asi. Error:126", ensure you have the latest 64bit VC Redist or 32bit VC Redist installed depending on which version of SUWSF you are trying to use.

https://aka.ms/vs/17/release/vc_redist.x64.exe

https://aka.ms/vs/17/release/vc_redist.x86.exe

If this does not work for you, try renaming dsound.dll to dinput8.dll or any other name on this list and see if the problem remains.

https://github.com/ThirteenAG/Ultimate-ASI-Loader#description

version.dll is a good alternative to try.
Back to top
View user's profile Send private message
corsair91
Sailing Master
Posts: 10370



296901 Gold -

more...
PostPosted: Wed Nov 18, 2026 4:59 pm    Post subject: Reply with quote

https://www.pcgamingwiki.com/wiki/Sid_Meier%27s_Pirates!_(2004)

You need to use the x86 version for SUWSF and extract to game folder.

https://github.com/PhantomGamers/SUWSF

Edit SUWSF.ini file with [Resolution="your full screen resolution"] and [Pattern="AB AA AA 3F"].

Then, either:

[If using Lossless Scaling] Edit Pirates! config.ini to use windowed mode, and the 4:3 resolution matching your monitor resolution (1440x1080 for 1080p, 1920x1440 for 1440p, 2880x2160 for 4k). Scale the game window with Lossless Scaling using Fullscreen mode and Scale cursor On.

https://store.steampowered.com/app/993090/Lossless_Scaling

OR

[If using dgVoodoo2] Edit Pirates! config.ini to use fullscreen mode, and the 4:3 resolution matching your monitor resolution (1440x1080 for 1080p, 1920x1440 for 1440p, 2880x2160 for 4k).

Use dgVoodoo 2.86.3
https://dege.freeweb.hu/dgVoodoo2/dgVoodoo2/

or greater (copy d3d9.dll from MS/x86 folder into game folder) and apply the following options:

In General Tab: Appearance: Full Screen, scaling mode Stretched, keep Aspect Ratio.

In DirectX Tab: Set Resolution to your Fullscreen resolution. Make sure "Application controlled fullscreen/windowed state" and "dgVoodoo Watermark" are unchecked.

The game will run with proper 3d widescreen rendering, no cutoffs and proper mouse support. HUD will be streched.

Link SUWSF Github.
https://github.com/PhantomGamers/SUWSF

Link Lossless Scaling on Steam.
https://store.steampowered.com/app/993090/Lossless_Scaling

Link dgVoodoo2 Homepage
https://dege.freeweb.hu/dgVoodoo2/dgVoodoo2/


Notes

Lossless scaling app is paid.
dgVoodoo2 method has some occasional cursor flicker.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> Technical Issues All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group