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 Nov 13, 2024 7:01 am
All times are UTC + 0
Strange error while trying to run DTA via Wine
Moderators: Dawn of the Tiberium Age Staff
Post new topic   Reply to topic Page 1 of 1 [14 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
thehx
Vehicle Drone


Joined: 24 Feb 2016

PostPosted: Thu Sep 29, 2016 1:09 am    Post subject:  Strange error while trying to run DTA via Wine Reply with quote  Mark this post and the followings unread

Hi!

My Linux-loving friend tried running DTA via Wine.



This seems rather buggy.
Installation of Windows Media Player did not really solve the problem.
In case you are interested in the client being cross-platform, you perhaps would want to check out OpenAL.

As a hacky fix, perhaps a command-line switch to disable all sounds in client will do until we figure what exactly went wrong?

Back to top
View user's profile Send private message
Bittah Commander
Defense Minister


Joined: 21 May 2003
Location: The Netherlands

PostPosted: Thu Sep 29, 2016 1:50 am    Post subject: Reply with quote  Mark this post and the followings unread

A command-line switch does exist. In the Resources directory, try running clientxna.exe or clientdx.exe with -NOAUDIO and see if it works.

_________________

Back to top
View user's profile Send private message ModDB Profile ID YouTube User URL Facebook Profile URL
^Rampastein
Rampastring


Joined: 11 Oct 2008
Location: Gensokyo

PostPosted: Thu Sep 29, 2016 5:07 am    Post subject: Reply with quote  Mark this post and the followings unread

You can also try removing MainMenuTheme.xnb and MainMenuTheme.wma from the Resources\ folder and the Resources\Classic Theme\ folder.

Note that "officially" I currently only support Windows, so you're kind-of on your own if you encounter problems trying to use DirectX. There is a version of MonoGame that uses OpenGL, but I'm not sure how well it'd handle the client on Linux. Dkeeton of CnCNet tested it back in July and it worked well according to him, but since then I've done a lot of changes to the client so there's a high chance that it wouldn't work as well anymore, which is why we've included no OpenGL build of the client in DTA 1.15.

Maybe you'd be interested in testing it?

_________________
CnCNet Client | CnCNet TS patches | More Quality-of-Life Improvements for RA Remastered


Back to top
View user's profile Send private message ModDB Profile ID Facebook Profile URL
Graion Dilach
Defense Minister


Joined: 22 Nov 2010
Location: Iszkaszentgyorgy, Hungary

PostPosted: Thu Sep 29, 2016 11:21 am    Post subject: Reply with quote  Mark this post and the followings unread

Which version of .NET the client uses atm? Because installing 4.0 alone wasn't enough - trying to confirm the report here.

Update: I cannot test this. Winetricks requires all the previous .NET versions installed for .NEt 4.5 and the 3.0 installer crashes on my system. >_>

_________________
"If you didn't get angry and mad and frustrated, that means you don't care about the end result, and are doing something wrong." - Greg Kroah-Hartman
=======================
Past C&C projects: Attacque Supérior (2010-2019); Valiant Shades (2019-2021)
=======================
WeiDU mods: Random Graion Tweaks | Graion's Soundsets
Maintainance: Extra Expanded Enhanced Encounters! | BGEESpawn
Contributions: EE Fixpack | Enhanced Edition Trilogy | DSotSC (Trilogy) | UB_IWD | SotSC & a lot more...

Back to top
View user's profile Send private message Visit poster's website ModDB Profile ID
^Rampastein
Rampastring


Joined: 11 Oct 2008
Location: Gensokyo

PostPosted: Thu Sep 29, 2016 1:08 pm    Post subject: Reply with quote  Mark this post and the followings unread

The client uses the full version of .NET 4.0.

_________________
CnCNet Client | CnCNet TS patches | More Quality-of-Life Improvements for RA Remastered


Back to top
View user's profile Send private message ModDB Profile ID Facebook Profile URL
Graion Dilach
Defense Minister


Joined: 22 Nov 2010
Location: Iszkaszentgyorgy, Hungary

PostPosted: Sat Oct 01, 2016 1:35 pm    Post subject: Reply with quote  Mark this post and the followings unread

Does it also needs XNA 4.0? Because if yes, then it needs .NET 4.5 due to XNA and not 4.0, which would pretty much explain why it throws me a wrong .NET version if I start from clean wineprefixes with only 4.0 installed on top of it.

_________________
"If you didn't get angry and mad and frustrated, that means you don't care about the end result, and are doing something wrong." - Greg Kroah-Hartman
=======================
Past C&C projects: Attacque Supérior (2010-2019); Valiant Shades (2019-2021)
=======================
WeiDU mods: Random Graion Tweaks | Graion's Soundsets
Maintainance: Extra Expanded Enhanced Encounters! | BGEESpawn
Contributions: EE Fixpack | Enhanced Edition Trilogy | DSotSC (Trilogy) | UB_IWD | SotSC & a lot more...

Back to top
View user's profile Send private message Visit poster's website ModDB Profile ID
^Rampastein
Rampastring


Joined: 11 Oct 2008
Location: Gensokyo

PostPosted: Sat Oct 01, 2016 1:55 pm    Post subject: Reply with quote  Mark this post and the followings unread

XNA 4.0 uses .NET 4.0. .NET 4.5 is never needed for the client.

Depending on OS the client either needs or doesn't need XNA 4.0. On XP the client needs XNA 4.0, on Vista and newer it uses MonoGame with SharpDX (DX11).

_________________
CnCNet Client | CnCNet TS patches | More Quality-of-Life Improvements for RA Remastered


Back to top
View user's profile Send private message ModDB Profile ID Facebook Profile URL
Graion Dilach
Defense Minister


Joined: 22 Nov 2010
Location: Iszkaszentgyorgy, Hungary

PostPosted: Sat Oct 01, 2016 2:34 pm    Post subject: Reply with quote  Mark this post and the followings unread


_________________
"If you didn't get angry and mad and frustrated, that means you don't care about the end result, and are doing something wrong." - Greg Kroah-Hartman
=======================
Past C&C projects: Attacque Supérior (2010-2019); Valiant Shades (2019-2021)
=======================
WeiDU mods: Random Graion Tweaks | Graion's Soundsets
Maintainance: Extra Expanded Enhanced Encounters! | BGEESpawn
Contributions: EE Fixpack | Enhanced Edition Trilogy | DSotSC (Trilogy) | UB_IWD | SotSC & a lot more...

Back to top
View user's profile Send private message Visit poster's website ModDB Profile ID
^Rampastein
Rampastring


Joined: 11 Oct 2008
Location: Gensokyo

PostPosted: Sat Oct 01, 2016 5:07 pm    Post subject: Reply with quote  Mark this post and the followings unread

They're wrong. .NET Framework 4.5 doesn't work on Windows XP, and I've personally developed XNA 4.0 games on XP. We've also made sure that the latest client runs on XP.

_________________
CnCNet Client | CnCNet TS patches | More Quality-of-Life Improvements for RA Remastered


Back to top
View user's profile Send private message ModDB Profile ID Facebook Profile URL
Graion Dilach
Defense Minister


Joined: 22 Nov 2010
Location: Iszkaszentgyorgy, Hungary

PostPosted: Thu Oct 06, 2016 3:21 pm    Post subject: Reply with quote  Mark this post and the followings unread

Well, I've put two days of mine into this and the best I could get is a nice "Unable to find a version of the runtime to run this application." message.

I give up.

_________________
"If you didn't get angry and mad and frustrated, that means you don't care about the end result, and are doing something wrong." - Greg Kroah-Hartman
=======================
Past C&C projects: Attacque Supérior (2010-2019); Valiant Shades (2019-2021)
=======================
WeiDU mods: Random Graion Tweaks | Graion's Soundsets
Maintainance: Extra Expanded Enhanced Encounters! | BGEESpawn
Contributions: EE Fixpack | Enhanced Edition Trilogy | DSotSC (Trilogy) | UB_IWD | SotSC & a lot more...

Back to top
View user's profile Send private message Visit poster's website ModDB Profile ID
^Rampastein
Rampastring


Joined: 11 Oct 2008
Location: Gensokyo

PostPosted: Thu Oct 06, 2016 3:50 pm    Post subject: Reply with quote  Mark this post and the followings unread

We'll likely include an OpenGL build of the client in DTA at some point in the near-ish future (within this year), which won't need XNA and should be easier to run with Wine. At least based on dkeeton's testing results some time ago.

_________________
CnCNet Client | CnCNet TS patches | More Quality-of-Life Improvements for RA Remastered


Back to top
View user's profile Send private message ModDB Profile ID Facebook Profile URL
thehx
Vehicle Drone


Joined: 24 Feb 2016

PostPosted: Thu Oct 13, 2016 3:13 am    Post subject: Who reads message subjects lol Reply with quote  Mark this post and the followings unread

My friend tested it as it is on linux, and said, "Too damn slow". Literally a TBS in place of an RTS, with around 4 or 5 frames per second. Tiberian sun itself, by the way, is running fine, he says.

I'll try to get a more detailed report out of him later...

Back to top
View user's profile Send private message
Bittah Commander
Defense Minister


Joined: 21 May 2003
Location: The Netherlands

PostPosted: Thu Oct 13, 2016 9:10 am    Post subject: Reply with quote  Mark this post and the followings unread

Have him try out the different renderers. If Tiberian Sun itself runs fine, the 'Default' renderer should likely work well.

_________________

Back to top
View user's profile Send private message ModDB Profile ID YouTube User URL Facebook Profile URL
thehx
Vehicle Drone


Joined: 24 Feb 2016

PostPosted: Thu Oct 13, 2016 7:16 pm    Post subject: Reply with quote  Mark this post and the followings unread

He tried all available renderers, not a single one gave reasonable performance. He launched it using Wine, launcher started without sound, I'll post his logs later.

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