Project Perfect Mod Forums
:: Home :: Get Hosted :: PPM FAQ :: Forum FAQ :: Privacy Policy :: Search :: Memberlist :: Usergroups :: Register :: Profile :: Log in to check your private messages :: Log in ::

The time now is Wed Apr 24, 2024 6:25 pm
All times are UTC + 0
Running Twisted Insurrection On Linux [Refreshed]
Moderators: Aro, Crimsonum, ErastusMercy, Lin Kuei Ominae, ^Rampastein
Post new topic   Reply to topic Page 1 of 1 [1 Post] Mark the topic unread ::  View previous topic :: View next topic
Author Message

PostPosted: Wed Apr 26, 2023 8:58 pm    Post subject:  Running Twisted Insurrection On Linux [Refreshed]
Subject description: A new and updated guide on getting this awesome mod to run on Linux
Reply with quote  Mark this post and the followings unread

Requirements & Dependencies

All the packages listed in in this holy guide by the amazing GloriousEggroll

- Guide-Link

You’re also going to want to install the latest drivers for your Nvidia, AMD, or Intel graphics cards.

You’ll want at least WINE 8.0, or staging. If you are feeling curious, you can try WINE-GE-Custom which is also maintained by Glorious Eggroll.

- Wine-GE-Custom Repository

Gamemode, Mangohud, and other assorted tools are also nice to have if you want them.

Getting Started

First things first. You’ll want to make a WINE prefix. I am using a 64 bit prefix, so if it gives you issues try recreating in 32 bit.

WINEARCH=64 WINEPREFIX=/path/to/prefix winecfg

Once you see the winecfg menu, close it and cd to your prefix.

Once there run the following Winetricks command to install your verbs

WINEARCH=64 WINEPREFIX=${PWD} winetricks --unattended --force dotnet 20 dotnet40 xna40 cnc_ddraw dxvk corefonts

- Do NOT install .Net 4.5, or .Net 7.0! These will break Online play.

Once that completes, extract Twisted Insurrection to a directory of your choice INSIDE your Wine prefix.

After that, go to your Resources folder, and check the CNC_DDRAW.ini file, make sure the renderer is set to DirectX9.

Typically Line 46:

If you have another copy in the root directory of Twisted Insurrection, also check that one.

There’s a workaround we have to do here and that’s use the XNA based client, not DirectX or OpenGL.

If you REALLY want to make sure you’re using Vulkan(like I did), then  set Vulkan as the Wine 3D Renderer AFTER we set up the game.

First Run & Testing

Now we need to test if it works. Edit the following command to your path, and launch the XNA client.


Now you should see the Twisted Insurrection splash screen and then the menu

Next you want to click Settings and set the following:

In-Game Resolution | Your Resolution
Renderer | CnC-DDraw
DTA/TI/TS Compatibility Fix | Enabled

Once you have that setup, restart your game and open a new Multiplayer/CNC-Net session.

Create a new game, lock it with a password.

Lock the game and start.

You should get the loading screen and load the game.
If you get an error, document it. It’s most likely something to do with networking or handing off between the Client and Game.

Now that you’ve gotten the game running, we need to enable FSR and add it to the desktop or launchers in the start menu.

To add FSR and get that HD look, setup a new launcher/shortcut with the following parameters:

env WINEDEBUG=-all WINEARCH=win64 WINEPREFIX="/Your/Prefix/Path/"  __GL_THREADED_OPTIMIZATIONS=1 WINE_FULLSCREEN_FSR=1 WINE_FULLSCREEN_FSR_MODE=ultra WINE_FULLSCREEN_FSR_STRENGTH=1 gamemoderun wine "/path/to/twisted/insurrection/Resources/clientxna.exe"

Set the working directory to the Wine Prefix folder.

As mentioned earlier, you can also tell WINE to use Vulkan as it’s renderer.

Do do so, run the following command inside the prefix folder:

WINEARCH=64 WINEPREFIX=${PWD} winetricks renderer=vulkan

After that, run the launcher and confirm that things are running well.

I wrote a google doc guide for easy access here: Link

Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [1 Post] Mark the topic unread ::  View previous topic :: View next topic
Share on TwitterShare on FacebookShare on Google+Share on DiggShare on RedditShare on PInterestShare on Del.icio.usShare on Stumble Upon
Quick Reply

If you are visually impaired or cannot otherwise answer the challenges below please contact the Administrator for help.

Write only two of the following words separated by a sharp: Brotherhood, unity, peace! 

You can post new topics in this forum
You can 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
You cannot attach files in this forum
You can download files in this forum

Powered by phpBB © phpBB Group

[ Time: 0.1441s ][ Queries: 11 (0.0092s) ][ Debug on ]