- Follow the instructions below to set the FPS cap withous VSync - the compiling process takes seconds; it won't take long:
- Open https://gitlab.com/torkel104/libstrangle to find out which dependencies your Linux distribution needs as well as to learn about how to use it
- Install dependencies:
For Ubuntu/Debian enter the following commands: sudo apt-get update && sudo apt-get install -y gcc-multilib g++-multilib libx11-dev mesa-common-dev
For OpenSUSE type: sudo apt-get update && sudo apt-get install -y glibc-devel-32bit gcc gcc-32bit gcc-c++ gcc-c++-32bit
- Clone the repository: git clone https://gitlab.com/torkel104/libstrangle.git
- Enter the libstrangle directory: cd libstrangle
- Compile the package:
make
sudo make install
- Right-click the game in Lutris, select "Configure", go to "System options", find the "Command prefix" option and paste the following command (also add a space at the end, after the "60"): strangle 60
- Save the changes by clicking the green "Save" button in the upper-right corner
- You can check if the framerate is limited to 60 by using an environment variable (located under "System options" tab): select "Add", insert "DXVK_HUD" under the "Key" column and "fps" under "Value"
- If you'd rather use the VSync method described above (or even simply if you're having trouble getting dgVoodoo2 to work properly on your Linux distribution), you'll need to configure Wine properly before dgVoodoo2 can begin to work its magic:
- dgVoodoo2, unlike nGlide which works out of the box, simply won't work unless you configure Wine properly so it can utilize the dgVoodoo2 .dlls you copied in the game folder.
- So, in order to use dgVoodoo2 on Linux (using either a Wine frontend like Lutris or Playonlinux, or using Wine directly without any frontend), after copying the dgVoodoo2 executable, dgVoodoo2 config file and all the necessary .dlls into the game directory (same as you would do on Windows).
- You then need to add all the DLL overrides for the .dlls you copied in the game directory: to do so, specify the DLL override by inputting the the names every dgVoodoo2 .dll file that you copied, as well as specifying the "Load order" as "Native" (you only need to type the name of the copied .dlls, don't type in the .dll extension).
- You only need to add overrides of .dlls you copied - you can safely ignore the .dlls you didn't copy.
- Usually, you'd open Wine configurator and add the overrides there. But if you're using Lutris, there is another way: you can instead right-click the game name, click the "Configure" option, go to "Runner options" tab, and then add the overrides in the "DLL overrides" section.
- To do so, press the "Add" button, after which a new row will be created and already selected for you.
- Since the row is already selected when you add it, click the empty box that corresponds to the "Key" column once, type the .dll name (again, without the .dll extension), then click the empty box that corresponds to the "Value" column, type "n" and press Enter; once you do that, you will have successfully added a DLL override. Repeat the process for every dgVoodoo2 .dll that you copied.
- For non-Lutris users, you need to instead open the Wine configurator, select the "Libraries" tab, type the .dll name (again, just the name without extension) in the box to the left of the "Add" button, click the "Add" button, find the added .dll in the list of overrides (located just under the box used for adding overrides); once you find the added .dll, select it, click "Edit", after which you'll be prompted to choose the desired "Load order" - choose the "Native" load order; this is the method you should use if you're using something other than Lutris.
- Once you've added the necessary overrides, you can then launch dgVoodooCpl.exe and tweak the settings to your liking - just make sure that the Config folder/Running instance corresponds to where the game binaries are located and where you've copied dgVoodoo configurator, config file and .dlls before you start making changes to the dgVoodoo2 controlled renderer(s).
- You can check if dgVoodoo2 is working properly by ticking the "dgVoodoo watermark" box; if it's configured properly, you'll see the dgVoodoo text on the lower left corner of the screen
|