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

Do you want to advertise at Project Perfect Mod. Find out how to do it HERE.

The time now is Fri Oct 22, 2021 1:39 pm
All times are UTC + 0
 Forum index » Featured Projects » Twisted Insurrection » Your Input
WINE and Twisted Insurrection
Moderators: Aro, Crimsonum, ErastusMercy, Lin Kuei Ominae, ^Rampastein
Post new topic   Reply to topic Page 1 of 1 [3 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
zany_reaper
Civilian


Joined: 27 Aug 2021

PostPosted: Fri Aug 27, 2021 8:43 am    Post subject:  WINE and Twisted Insurrection
Subject description: How I got this working with WINE (a windows emulator on LINUX)
Reply with quote  Mark this post and the followings unread

Hi All,

Given that TI 0.9 has been released (hurrah!), perhaps my WINE info here will be of use regarding the new version.  Of note, I am aware that 0.8 has issues with WINE, whereas 0.7 does not.  I'm using Kubuntu 20.04 as my OS with WINE 5, though to my knowledge this should be reproducible on other Ubuntu systems.

---

In short, I followed this guide - https://appdb.winehq.org/objectManager.php?sClass=version&iId=37997
Though, additional info was useful here (Tiberian Sun section) - https://www.reddit.com/r/linux_gaming/comments/mtixee/a_linux_users_guide_to_command_conquer/

Once all was done, I was able to execute the game in my TI directory with the command:
env WINEARCH=win32 WINEPREFIX=~/.wine32 wine TwistedInsurrection.exe

on my system, .wine32 is the directory in my Ubuntu home folder which this 32 bit prefix is pointed to.

---

Of note, I had to install the .NET framework 2.0.  Thus, after installing winetricks on my 32 bit wine prefix, I used

winetricks dotnet20 dotnet40 dotnet45 dotnet xna40

For me xna40 didn't install directly, so I had to run the msi using msiexec instead - https://askubuntu.com/questions/671277/is-it-possible-to-run-a-windows-msi-installer



The reddit guide above informed me that I needed to run in Windows XP compatibility mode, as well as making ddraw.dll native (see screenshots).  Then I could use the TS-DDRAW renderer in windowed mode.  These were key, otherwise both the client wouldn't display any graphics, and the ingame speed and graphics were slow and choppy.  

DLL to native - https://askubuntu.com/questions/431790/how-to-set-dll-to-native-wine

Of note, on older computers OpenGL might not run correctly with WINE.  I used the command export MESA_GL_VERSION_OVERRIDE=4.5

which i acquired here - https://forum.winehq.org/viewtopic.php?f=8&t=34889


I started from installing version 0.7 and then upgrading to 0.8.9 (and then to 0.9).  However I got this working starting from 0.8 and 0.9 directly as well.

Hope this helps!
Z


winecfg_libraries.png
 Description:
Native library configuration (notably ddraw)
 Filesize:  46.15 KB
 Viewed:  333 Time(s)

winecfg_libraries.png



winecfg_xp.png
 Description:
winecfg - where I set compatibility mode to XP
 Filesize:  23.1 KB
 Viewed:  333 Time(s)

winecfg_xp.png



graphics_settings.png
 Description:
The graphics settings I used
 Filesize:  543 KB
 Viewed:  333 Time(s)

graphics_settings.png



Last edited by zany_reaper on Tue Oct 05, 2021 8:47 pm; edited 3 times in total

Back to top
View user's profile Send private message
Crimsonum
Seth


Joined: 14 Jul 2005
Location: Fineland

PostPosted: Sat Aug 28, 2021 9:12 am    Post subject: Reply with quote  Mark this post and the followings unread

Hi, thanks for the tutorial. I have stickied it.
_________________
OmegaBolt wrote:
TS is abysmal to play, unless you're just casually city building in it.

Back to top
View user's profile Send private message
zany_reaper
Civilian


Joined: 27 Aug 2021

PostPosted: Tue Aug 31, 2021 7:49 pm    Post subject: Reply with quote  Mark this post and the followings unread

Crimsonum wrote:
Hi, thanks for the tutorial. I have stickied it.


No problem, hope it's of use!  

Of note I'd like to think that this will extend to helping out with other C&C mods and games, though I have not tested anything yet.  Tiberian Sun of course is well known to work on WINE now.

Z

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [3 Posts] Mark the topic unread ::  View previous topic :: View next topic
 Forum index » Featured Projects » Twisted Insurrection » Your Input
Jump to:  
Share on TwitterShare on FacebookShare on Google+Share on DiggShare on RedditShare on PInterestShare on Del.icio.usShare on Stumble Upon
Quick Reply
Username:


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.1613s ][ Queries: 16 (0.0117s) ][ Debug on ]