It seems that you're using an outdated browser. Some things may not work as they should (or don't work at all).
We suggest you upgrade newer and better browser like:Chrome,Firefox,Internet Explorer orOpera

×
arrow-down2arrowcart2close4fat-arrow-leftfat-arrow-rightfeedbackfriends2happy-facelogo-gognotificationnotifications-emptyownedremove-menusad-facesearch2wishlist-menuwishlisted2own_thingsheartstartick
high rated
I've put together a Wine wrapper for Saints Row 2, allowing it to be played on Linux almost like a native game & with no Wine knowledge required. I know there is an official Linux release and usually I wouldn't make a Wine wrapper for such games because the publishers *should* make the official Linux releases available here, but I'm making an exception in this case:

- The official release uses a wrapper much like Wine, but a proprietary one - and it has numerous issues e.g. lots of sound issues, radio music playback doesn't work, rendering issues

- The official Linux release appears to have been abandoned despite the outstanding issues it has.

(it's for the above two reasons that I doubt the official version will ever come here - in its present state GOG would most likely reject it)

- The Wine-wrapped version is over 3GB smaller than the official Linux release.

- In addition to the above, the Wine-wrapped version is completely DRM-free! Unlike the official Linux release which is available only on Steam :/ and it won't run without Steam; I checked :(

Simply place the script, resource archive and installer files together in the same directory & run the script. The output is a directory containing a "GOG-style" ready-to-go Wine-wrapped version of the game (the build script also has the option to create a tarball of the assembled game package); from there installation is simply a case of moving the directory to wherever you want it installed to - then just run the start script to play, create a shortcut for the game, access the advanced options etc :)

(to uninstall simply delete the game directory and any shortcuts you created, and the game's user data directory in ~/.local/share if you don't want to keep your saves & settings)

Running the start script with the argument "play" will bypass the menu and start the game immediately (this is the default setting for shortcuts created by the script).

Saves and settings will by default be stored under ~/.local/share/saintsrow2

Full information is in the readme.txt and release notes. Here is the download link:

saintsrow2_wine.tar.xz
(29.6 kB, SHA256: c51a487421a6c3175f64c778ebe85fb4cde3a987bdd3f21777927696d2ed6ff4)

Updated 2017/11/18: The display resolution reset option can now be set to use an alternative display resolution by setting the virtual desktop.

The wrapper uses Wine Staging 2.10 with CSMT enabled. Wine and Winetricks will be downloaded automatically if not present; to avoid redownloading for other scripts the downloaded Wine package will be stored in ~/.cache/winewrap

In addition to Wine and Winetricks, Wine Mono will also be downloaded. This will be stored in ~/.cache/wine to save having to redownload it if it's needed again for something else.

I don't think there are likely to be any problems, but if anyone does run into problems with this let me know by posting in this thread, Adamhm's Linux Wine Wrappers - News, FAQ & Discussion and/or The "Judas™ does this run in Wine" thread v1.173. I haven't done a huge amount of testing with the Wine version used in this wrapper but I have previously played through the game using an older version without issue.

Performance seems reasonable (considering the poor performance on Windows) on my main system with an Nvidia GPU and the proprietary drivers, however I have noticed on the other system with an AMD RX 480 (using kernel 4.10.0-14 and AMDGPU + Mesa 17.0.2 via Padoka's stable Mesa PPA) that performance is substantially worse than expected. It might be better with a more recent version of Mesa or the proprietary AMDGPU-PRO drivers, although I have not tested with those yet.

Performance can be improved by disabling GOG's framerate limit hack - an option for doing this is included in the script's menu.

Setting UseGLSL to disabled might also help improve performance but I found that doing this resulted in instant crashes on the AMD graphics card.

For more of my Linux Wine wrappers see my GOGmix: adamhm's Linux Wine wrappers. Also check out Adamhm's Linux Wine Wrappers - News, FAQ & Discussion
Post edited November 19, 2017 by adamhm
Bumping for a big update: I've converted the Gentlemen of the Row .bat file into a Bash script for use on Linux, and it's now included with my wrapper. Using it is pretty idiot-proof: access the start script's menu and select the GotR option. It'll automatically put all of the files in the right place so it'll be ready to play as soon as it's done :) It also includes the ability to download and extract Gentlemen of the Row automatically, although you can manually download it if you'd prefer (download "Gentlemen_of_the_Row_Saints_Row_2_Super_Mod_v1.9.2.rar" from http://idolninja.com/sr2.php & extract it into the gotr directory).

In case anyone wants to use it with the Steam version here's a download link for the GotR install script by itself: GotR_Linux.tar.xz
(11.9 kB, SHA256: 5c99c7bc8512930f6f40f8475883ccb34fa83f1e08b545a5dd3d4175d70139fa)

Just drop it into the GotR directory and run it, then move the mod files to the game dir when it's done. It requires Wine with Wine Mono in order to work so make sure that's installed before you try using it.

The script has not been 100% tested (there's a hell of a lot to go through) so there might be some bugs - a *lot* of very boring copy+pasting was involved so it's quite possible some mistakes were made - but it all seems to be fine from what I've tested so far. As usual, post here if you find any problems.
Attachments:
gotr.png (56 Kb)
I do not use Linux but its great to see support like this :)

I also saw your post on the official SR forums about that; If not done already you might want to post this over here: https://www.saintsrowmods.com/forum/

Its kind of THE hang out place for SR modders; including idolninja.
Thank you adamhm!
avatar
adamhm: Performance can be improved by disabling GOG's framerate limit hack - an option for doing this is included in the script's menu.

Setting UseGLSL to disabled might also help improve performance but I found that doing this resulted in instant crashes on the AMD graphics card.
Hello adamhm,

Thank you for putting this together. It is relatively simple to do with your script. I opted to try this on my LinuxMint 18.1 Cinnamon 64 bit box since GOG offered it for free briefly, otherwise I would not have taken a chance on buying it. I'm having problems with it. It is barely playable at the moment. It feels sluggish, maybe laggy is a better word. This make driving and aiming really challenging and almost not possible. Intermittently but regularly enough, keyboard input either momentarily doesn't work, or not at all depending on the situation.

I don't know how to access the script's menu to disable GOG's framerate limit hack.

And I have not tried setting UseGLSL to disabled. This is from internally in the game?

I also have not installed the Gentlemen of the Row mod. I assumed it had nothing to do with fixing the game and more to do with adding mods.

Here's my hardware specs:

---------------------------------------------

Kernel: 4.4.0-53-generic x86_64 (64 bit gcc: 5.4.0)
Desktop: Cinnamon 3.2.7 (Gtk 3.18.9-1ubuntu3.3)
Distro: Linux Mint 18.1 Serena
Machine: Mobo: Gigabyte model: GA-890FXA-UD5
Bios: Award v: F6 date: 11/24/2010
CPU: Hexa core AMD Phenom II X6 1055T (-MCP-) cache: 3072 KB
flags: (lm nx sse sse2 sse3 sse4a svm) bmips: 33753
clock speeds: max: 2800 MHz 1: 1500 MHz 2: 800 MHz 3: 2800 MHz
4: 1500 MHz 5: 1500 MHz 6: 800 MHz
Graphics: Card: NVIDIA GM107 [GeForce GTX 750] bus-ID: 01:00.0
Display Server: X.Org 1.18.4 drivers: nvidia (unloaded: fbdev,vesa,nouveau)
Resolution: 1920x1200@59.95hz
GLX Renderer: GeForce GTX 750/PCIe/SSE2
GLX Version: 4.5.0 NVIDIA 367.57 Direct Rendering: Yes
Audio: Card-1 NVIDIA Device 0fbc driver: snd_hda_intel bus-ID: 01:00.1
Card-2 C-Media CMI8738/CMI8768 PCI Audio
driver: snd_cmipci port: 9e00 bus-ID: 06:06.0
Sound: Advanced Linux Sound Architecture v: k4.4.0-53-generic
Network: Card: Intel 82574L Gigabit Network Connection
driver: e1000e v: 3.2.6-k port: cf00 bus-ID: 04:00.0
IF: enp4s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Drives: HDD Total Size: 2000.4GB (11.5% used)
ID-1: /dev/sda model: WDC_WD2002FAEX size: 2000.4GB
Partition: ID-1: / size: 805G used: 199G (27%) fs: ext4 dev: /dev/sda7
ID-2: swap-1 size: 17.18GB used: 0.00GB (0%) fs: swap dev: /dev/sda8
RAID: No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors: System Temperatures: cpu: 22.5C mobo: N/A gpu: 0.0:32C
Fan Speeds (in rpm): cpu: N/A
Info: Processes: 218 Uptime: 12 min Memory: 1199.6/16045.4MB
Init: systemd runlevel: 5 Gcc sys: 5.4.0
Client: Shell (bash 4.3.461) inxi: 2.2.35

------------------------------------------------

Is my hardware not fast enough for this game? Or do I need to do something to make it play better?

Thank you for your time and effort.
avatar
blammy314568: I don't know how to access the script's menu to disable GOG's framerate limit hack.
It's in the release notes in the docs directory - run the start script with the menu option like so:

./start.sh menu

I'm thinking of changing all of my wrappers to start at the menu by default & adding a new create shortcut option in the menu (with shortcuts defaulting to "play" unless other options are specified). Edit: I did, new versions up now
And I have not tried setting UseGLSL to disabled. This is from internally in the game?
This is a Wine setting, it needs to be set from Wine's registry editor (accessed from the script menus). Under HKEY_CURRENT_USER\Software\Wine\Direct3D (you'll need to create the Direct3D key), create a string value named "UseGLSL" and set it to "disabled". The difference is minor at best though so it's probably not worth the effort.
I also have not installed the Gentlemen of the Row mod. I assumed it had nothing to do with fixing the game and more to do with adding mods.
It's just a very popular mod, although it does include some minor fixes.
Is my hardware not fast enough for this game? Or do I need to do something to make it play better?
Looks ok here, CPU is maybe a little weak. I played using an i7 2600k with GTX 750 Ti, also tested for a few minutes on an i3 6100 with integrated graphics (it worked on that but as you'd expect its performance wasn't very good).

I'd also suggest disabling vsync too if you haven't already. The main problem is that it's a pretty poor quality port & tends to run poorly even on Windows. Edit: Another thing you can try is rebooting after running the build script before you try playing it
Post edited May 02, 2017 by adamhm
Hi,

Cool script, thanks for making Windows games easier to run for everyone. However, this wrapper does not work for me. This is my terminal output:
~/Games/SR2/Saints Row 2$ ./start.sh
Current display resolution: 4416x1080
Gamma (R/G/B) = 1.000 / 1.000 / 1.000
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
Running: SR2_pc.exe
Not forcing virtual desktop
wine: cannot find L"C:\\windows\\system32\\winemenubuilder.exe"
Wine cannot find the ncurses library (libncurses.so.5).
Wine cannot find the FreeType font library. To enable Wine to
use TrueType fonts please install a version of FreeType greater than
or equal to 2.0.5.
(link to free type website, edited out because posting restriction)
Wine cannot find the FreeType font library. To enable Wine to
use TrueType fonts please install a version of FreeType greater than
or equal to 2.0.5.
(link to free type website)
wine: Unhandled page fault on write access to 0x00001c08 at address 0x7bc57786 (thread 0009), starting debugger...

I use Ryzen 1700, RX 480 w/ Mesa-git, Ubuntu 16.04. Thanks.
avatar
Xicronic: Wine cannot find the ncurses library (libncurses.so.5).
Have you installed Wine's dependencies (it's easiest to install the system's Wine package to get them all in one go)?
One more thing: make sure you have the 32-bit versions installed as the Wine version used here is 32-bit & needs 32-bit libraries.
With the latest update this should now perform a bit better on systems using the open graphics drivers :)