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 Fri Apr 19, 2024 7:01 am
All times are UTC + 0
WINE and Twisted Insurrection
Moderators: Aro, Crimsonum, ErastusMercy, Lin Kuei Ominae, ^Rampastein
Post new topic   Reply to topic Page 1 of 1 [6 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:  5824 Time(s)

winecfg_libraries.png



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

winecfg_xp.png



graphics_settings.png
 Description:
The graphics settings I used
 Filesize:  543 KB
 Viewed:  5824 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.

_________________


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
timmehg86
Civilian


Joined: 10 Aug 2020

PostPosted: Sun May 15, 2022 1:03 am    Post subject: Reply with quote  Mark this post and the followings unread

Is it possible for someone to put together a complete noobs guide for getting this going from scratch, im talking from installing WINE and everything else you need from scratch. Im very new to Linux/Raspberry Pi and spend half my time stumbling through things trying to work out what i've done wrong and im sure im not the only one in this boat. I dont want to have to go back to a winblows machine just to be able to play amazing games like this and a number of the standalone mods for RA2 etc. The above mentioned guides, at least to me half of it doesnt make sense, as like i said above, i have minimal clue what im doing haha. The WINE HQ one doesnt even seem like it is complete anymore? On behalf of myself and im sure many other Rpi users we thank you in advance.

Back to top
View user's profile Send private message
radar92
Rocket Cyborg


Joined: 14 Nov 2004

PostPosted: Tue May 17, 2022 1:18 am    Post subject: Reply with quote  Mark this post and the followings unread

timmehg8686 wrote:
Is it possible for someone to put together a complete noobs guide for getting this going from scratch, im talking from installing WINE and everything else you need from scratch. Im very new to Linux/Raspberry Pi


If you doing it on Pi you'll have to over come the different CPU architecture too if thats what you're getting at.  I googled quick and it didn't look promising.  

Myself I use Windows VMs to run the different games.  XP works well for this.  I just isolate them from the internet.  Each VM for a different game so I can only bork one at a time.  I also  use Win 10 and it has worked well.  

I run almost all Linux in my lab so I get the goal.  My lab is built off micro PCs and I ended up with the licenses anyway.

_________________
ph34r the cute ones!

Back to top
View user's profile Send private message
undergoesreprieve
Vehicle Driver


Joined: 18 Nov 2022

PostPosted: Fri Nov 18, 2022 10:01 pm    Post subject: Reply with quote  Mark this post and the followings unread

Thank you so much for this thread, I was banging my head against the wall trying to get TI to work.

I had done everything noted (except for one thing!) but when starting a skirmish it would hang on "Deploying forces to combat zone..."

The solution was the ddraw override. It works perfectly now! And for that matter, I was having the exact same issue with TS6, which I solved in the same way.

Thanks again!

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [6 Posts] 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
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.1656s ][ Queries: 16 (0.0132s) ][ Debug on ]