Veyrdite Posted February 25, 2019 Report Share Posted February 25, 2019 Last updated 2020-09-24 (tested on wine 5.16 and W3Dhl: 0.11.2.1) Summary: The W3D engine itself (in current game releases) has no compatibility issues on Wine, the games are click and play. Some games that use older versions of scripts (ECW) require a simple workaround to get working. The W3D Hub launcher itself requires some non-obvious workarounds to get working (as detailed further down in this post). New renderer (scripts 5.x games) do not perform as well as of the time of writing. (lower framerates). EDIT: this is now in a lot of flux, both in the engine and the Linux graphics driver world. Things are a lot better. Introduction For years I have run Renegade and other Windows games using Wine on Linux. Wine's compatibility is reasonably impressive, but recent dotnet versions and DRM in popular games are known headaches or showstoppers. The W3Dhub launcher uses a recent version of dotnet and WPF, making it problematic. Wine lets you run Windows programs on Linux. It's not an emulator, it doesn't have to be (we're all on x86), instead it provides a userspace compatible with Windows (dlls, services, etc) so Windows programs can be run natively. Once wine is installed you can double-click on EXEs and they'll run. Wine can be installed on any major Linux distro through your relevant package manager. W3D Hub Launcher Download and run the W3Dhub installer as you normally would. I've ordered these problems based on the order I think you will encounter them. Prerequisite: Wine 4.0 or later Make sure you are running an up to date copy of wine: $ wine --version wine-4.0 Many distributions (eg Ubuntu, Mint, Debian) ship out of date copies of Wine. These will not allow dotnet and the W3Dhub launcher to operate correctly. Manually install a copy of Wine Stable if you have to. Problem 1: The W3Dhub installer hangs when it tries to install dotnet. Workaround: Kill the dotnet installer process. The W3DHub launcher won't notice the failure and will continue normally. Install winetricks. Your distro should have winetricks in its package manager. Use winetricks to install dotnet461: $ winetricks dotnet461 Installing 461 will take quite some time: various versions of dotnet have to be installed in a certain order to get there. In my case one of the steps hung because I had other Wine applications open ("Waiting for all wine applications to close"), so I had to manually close some other Windows applications I was using. Problem 2: (updated!) Graphical glitches in the launcher and drop-down menus misbehaving Workaround: open a terminal and run this command: wine reg add "HKCU\\SOFTWARE\\Microsoft\\Avalon.Graphics" /v DisableHWAcceleration /t REG_DWORD /d 1 /f This forces WPF to use software rendering, as detailed in Wine bug 49055. This will not affect your game, only the launcher (and other WPF apps). Problem 3: Extremely poor framerate/performance, even in game menus This is a common symptom seen by people using 64 bit Linux distros that don't come with the necessary libraries for 32 bit graphics acceleration. As a result your system uses slow software rendering for 32-bit games. On Debian based distros (Debian, Ubuntu, Mint, etc) you need to install several packages: $ sudo apt-get install libglx-mesa0:i386 (other packages?) TODO: find the full list of packages that need installing, or a source to link to. Nag me if you need help here, even if it's years in the future Problem 4: DXSETUP fails to run when installing a game Workaround: ignore. Appears to be harmless. Problem 5: Expansive Civilian Warfare (ECW) crashes on start with a "please report this error" dialog ECW came from an era of scripts/shaders where some directx8->directx9 conversions were being performed using a 'thunk' dll. Wine (by default) ignores any game-provided or microsoft-provided d3d8.dll and instead uses it's own version. Workaround: Open up winecfg and add a native override for d3d8.dll: Additionally: this workaround may affect or break some other games. Change it to '"Builtin (Wine)" to disable the fix. Thankyou to the members of the WineHQ community for providing the fix . Problem 6: Screen is left looking bright (or dark) after a game is closed. The W3D engine changes your screen/card gamma settings when the game is launched, but it does not always to restore them back when you close the game. Some Windows users also (used to?) experience this. Workaround: reset your gamma. A simple way on the command line: xgamma -gamma 1.0 Alternative workaround: set all of the brightness/contrast/gamma sliders in the in-game settings to 1.0 or 0.0 (as appropriate). This will make the game use a gamma of 1.0, making things appear darker overall but also ensuring a strange gamma level is not left when you close the game. Technically this also "improves" the image quality by avoiding colour crushing, so it's my preferred fix. Problem 7: Mouse problems: limited aiming angles, mouse leaves game, sluggish or slow mouse movement Cause 1: "borderless windowed mode" is not well supported. Workaround: Choose "fullscreen" or "windowed" mode instead for the game settings. Cause 2: external applications running, eg screenshot utilities when you press PrintScreen. Workaround: press Esc to enter the pause menu, then esc again to return back to game. The game will grab the mouse back properly again. The problem of 'limited mouse movement', where you feel that your mouse has been constrained in a large box, is also known to occur when some specific directinput DLLs are installed. If you have previously installed these DLLs to fix other games you may need to remove them. (Retired problem): My login credentials are not being saved The W3Dhub launcher only saves your login credentials when it exits normally. If the launcher crashes then it won't save them. Workaround: Enter your credentials Wait until you are logged in Close the W3Dhub launcher before it crashes. (Retired problem): The W3Dhub launcher crashes exactly 15 seconds after logging in EDIT: As of Wine 4.3 (March 2019) this problem no-longer appears to occur. If you are still suffering this problem then please reply to this topic saying so. Workaround: Open the W3Dhub launcher Wait for it to log you in (your name and avatar will appear on it) Launch a second copy of the W3Dhub launcher The second copy will login, work normally and will not crash. The first copy will crash, but you can safely close it and ignore it. I've paced the steps above for a reason: please follow them. If you launch two copies of the launcher at the same time then there is a chance one copy won't login properly. You can also open more than two copies, but this is not generally that useful. (Retired problem): The W3Dhub launcher pegs a few CPU cores EDIT: As of Wine 4.3 (March 2019) this problem no-longer appears to occur. If you are still suffering this problem then please reply to this topic saying so. I have no idea what's going on here. Excessive redraw loops if not vsync limited? Mining for tibercoin? This may negatively affect your gameplay if you do not have spare processor cores. Do you have a GPU that supports Vulkan? Install DXVK and reap better performance! winetricks dxvk DXVK converts directX calls into Vulkan calls. This is (generally) less CPU intensive than converting directX calls to OpenGL calls (which Wine normally does), and many W3D/Renegade games are CPU-bound. Warning: whilst this works for W3Dhub games, it is known to break other ones! If all else goes wrong: starting from scratch Sometimes installers will refuse to cooperate because of the state of your Wine environment. Installing some older versions of dotnet can 'break' dotnet461, stopping the launcher from running Installing dotnet461 or other dlls can (in some circumstance) break other older games or programs. If you need to start with a 'fresh windows environment', then consider deleting the ".wine" folder in your home directory. Warning: this will delete all files in your virtual C:\ drive, including other windows programs and games! Note: Filenames and foldernames beginning with a dot are hidden. Alternatively you can create a single "Wineprefix" just for W3Dhub and W3D games. Every "Wineprefix" you have is like a separate Windows installation and environment, complete with its own version of the C:\ drive and Windows registry. Whilst Wineprefixes are a very effective way of segregating different Windows programs/games, they require some more advanced steps to setup and use, so I don't recommend them for beginners. https://askubuntu.com/questions/956244/what-is-a-wineprefix https://wiki.winehq.org/FAQ#Wineprefixes I use wine prefixes extensively. I have had bad experiences with experimental windows programs breaking my registry and ruining modded game installs that have otherwise survived many years of my abuse. I have also had certain games require dlls that dramatically slow other games down. End notes This is a very Windows/MSVC-centric community so I don't ever expect Linux support to be priority, but it's nice to have it. Dotnet and all of its extensions are always going to be a PITA to get working on other platforms, that's arguably one of the motivations of dotnet. We now have projects like Mono and some interest from Microsoft in become cross platform, but things are far from perfect. Happy to answer questions and hear people's opinions; I don't mind if you have not used Linux before and there's no such thing a silly question. 3 Quote Link to comment Share on other sites More sharing options...
Brigitte Posted February 25, 2019 Report Share Posted February 25, 2019 Love some Linux. Good post! 0 Quote Link to comment Share on other sites More sharing options...
Raap Posted February 25, 2019 Report Share Posted February 25, 2019 I suspect we'd have more Linux users if Westwood/EA supported the OS with the C&C franchise. Expanding Linux support might be worth considering if there is evidence of a userbase that would play W3D games on Linux. In the short term thought, I'd argue we're even lacking Windows based users. Certainly a lot of room for improvement at all times in regards to simply speaking of "more players". 0 Quote Link to comment Share on other sites More sharing options...
danpaul88 Posted February 25, 2019 Report Share Posted February 25, 2019 I have been moving a lot of the launcher code into dotnet standard recently which is cross platform compatible. Ultimately once dotnet standard 3 and xaml standard are available then we can cross compile the launcher directly as a dotnet core 3 app, but that's probably a long way off yet. The drawing code is pure WPF, so rendering issues suggest that the wine implementation of WPF is behaving questionably. Might be related to the high CPU usage. FWIW, the launcher doesn't do any mining or whatnot 0 Quote Link to comment Share on other sites More sharing options...
danpaul88 Posted February 25, 2019 Report Share Posted February 25, 2019 As a quick follow up, I just wanted to mention that I'm open to suggestions to ease Linux support - in fact there have been a few code changes contributed from one of our staff members aimed at improving how the launcher runs on Linux. He's posted forum topics about getting it working in the past too. The next update to the launcher already includes a command line switch for the installer that skips the dotnet install, a feature requested to aid Linux support. Also if you've got the dotnet environment already installed it'll check the registry keys and see that it doesn't need to try installing it at all. 0 Quote Link to comment Share on other sites More sharing options...
danpaul88 Posted February 25, 2019 Report Share Posted February 25, 2019 Having done a bit of googling to check up on the status of xaml standard 3, it looks like Microsoft are not actually intending to bring WPF to the cross platform part of dotnet core but actually put it alongside it as a Windows specific extension. Somewhat disappointing! I have however found a xaml based cross platform UI library which is inspired by WPF which I intend to keep an eye on - http://avaloniaui.net https://gitlab.com/w3dhub/w3dhub-launcher-net/issues/92 0 Quote Link to comment Share on other sites More sharing options...
Einstein Posted February 26, 2019 Report Share Posted February 26, 2019 21 hours ago, Veyrdite said: Mining for tibercoin? Oh you know it! Good tutorial @Veyrdite, this is definitely well-put-together. 0 Quote Link to comment Share on other sites More sharing options...
Jeod Posted February 26, 2019 Report Share Posted February 26, 2019 Not a Linux user myself, but if anything Linux has shown me that it's extremely helpful in discovering programming code that can still be optimized for compatibility. 0 Quote Link to comment Share on other sites More sharing options...
Veyrdite Posted February 26, 2019 Author Report Share Posted February 26, 2019 (edited) Thankyou for all of the replies. I smell a reply party organised on chat Launcher bugs harv-walking As of today the '15 second crash' and 'CPU hogging' problems have stopped occurring for me. This is going to take some digging to understand. The launcher UI is being drawn with 3D acceleration, so I'm able to peek at the OpenGL frametimes. I'll keep an eye on the launcher and see if I can recreate the issues. On 2/26/2019 at 3:32 AM, Raap said: I suspect we'd have more Linux users if Westwood/EA supported the OS with the C&C franchise. Expanding Linux support might be worth considering if there is evidence of a userbase that would play W3D games on Linux. In the short term thought, I'd argue we're even lacking Windows based users. Certainly a lot of room for improvement at all times in regards to simply speaking of "more players". If we ignore the launcher troubles: I think the W3Dhub games themselves would have a good chance for getting players in the Linux world. We have websites like gamingonlinux.com that represent an environment dominated by 2D game releases, likely because they're less risk for people to make from scratch. As far as mature & free 3D Linux games go we have lots of mature quake-likes (Warsow, Sauerbraten, Red Eclipse, Xonotic, OpenArena, Alien Arena, Urban Terror, Tremulous, Unvanquished, etc) and a few 3D RTS games (Spring variants), but there's nothing like C&C gameplay or even anything with remotely the same map scale. You have to go to the commercial sector for this, which is primarily dominated by drunken Steam ports (Wine with little care). I think a website like Gol would go bananas over a well-performing mature free 3D game that runs on Linux. "Outdoors and not quake". The Renegade community has set some very high bars internally if you compare with other free (or open-source) 3D game projects. The catch would be making sure it's a pleasant experience for Linux users across the different graphics drivers (Intel SNA, Nouveau, Nvidia Proprietary, Radeon and AMDGPU) of which I can test everything except the last (requires newer hardware). Given that W3D looks like it uses a fixed pipeline (correct? I've noticed that the alpha sort order problems seem to have been fixed) I don't expect there to be any massive issues. On 2/26/2019 at 6:15 AM, danpaul88 said: I have been moving a lot of the launcher code into dotnet standard recently which is cross platform compatible. Ultimately once dotnet standard 3 and xaml standard are available then we can cross compile the launcher directly as a dotnet core 3 app, but that's probably a long way off yet. The drawing code is pure WPF, so rendering issues suggest that the wine implementation of WPF is behaving questionably. Might be related to the high CPU usage. FWIW, the launcher doesn't do any mining or whatnot From what I read Mono has compatibility with a lot of dotnet, excluding WPF. If we ignore WPF: I'm not familiar enough to know whether or not mono is an easy compatibility target or a world away in terms of effort to get it working. Context: Mono comes bundled with Wine. There's also native mono support on Linux. On 2/26/2019 at 7:09 AM, danpaul88 said: As a quick follow up, I just wanted to mention that I'm open to suggestions to ease Linux support - in fact there have been a few code changes contributed from one of our staff members aimed at improving how the launcher runs on Linux. He's posted forum topics about getting it working in the past too. Thankyou for the tipoff. Link: It looks like Omar hit some similar issues three years ago. Omar's scripts appear to do a lot more work than I expect; some of it specific to older version numbers of Wine. Off the bat I don't think most of that is necessary any more, but I may be wrong. I'd recommend people try my guide before running Omar's script anyway, there's a lot less dependence on specific versions of things. The ideal goal for Linux users would be: Install Wine Double-click the W3Dhub launcher installer Everything works from there All of the current in-game bugs (gamma left on exit, AA not working, etc) are completely excusable if the game is fun and easy to get working. The moment you require a terminal to install the game you lose most users. I don't think I can provide any suggestions here that don't have big compromises. Porting to a compatible dotnet/mono version (inc replacing WPF) takes lots of time and creating a second launcher would be a maintenance burden; and probably not at feature parity (for practical purposes). Whilst the task of launching game.exe with some flags is easy, the presentation of the launcher is not. On 2/26/2019 at 7:09 AM, danpaul88 said: The next update to the launcher already includes a command line switch for the installer that skips the dotnet install, a feature requested to aid Linux support. Also if you've got the dotnet environment already installed it'll check the registry keys and see that it doesn't need to try installing it at all. Hmm. Might be an option for making a new script to automate this. My thoughts are still out on whether it's better to automate workarounds or get people to do them by hand. On 2/26/2019 at 1:20 PM, Jeod said: Not a Linux user myself, but if anything Linux has shown me that it's extremely helpful in discovering programming code that can still be optimized for compatibility. Something of vague interest: because I'm running W3D on OpenGL I have access to a different set of profiling tools to most people: Note: The drawcall count is probably skewed by the DirectX->OpenGL shims that Wine provides Edited February 27, 2019 by Veyrdite 0 Quote Link to comment Share on other sites More sharing options...
dblaney1 Posted February 26, 2019 Report Share Posted February 26, 2019 Wow MSAA is being done as supersampling in Wine from the look of it. The alpha on the trees is definitely being supersampled. I manually enable this on my end in windows with NVIDIA control panel but its interesting to see that Wine is doing this by default. Its also impressive to see how well wine emulates direct3d in opengl. The Launcher using 3d acceleration is normal. WPF was created specifically to use the GPU for rendering as well as be DPI independent as it primarily uses vector drawing rather than bitmaps. It was introduced in Window Vista. 0 Quote Link to comment Share on other sites More sharing options...
Veyrdite Posted February 27, 2019 Author Report Share Posted February 27, 2019 Hmm, I don't recall seeing any AA in person. You are right however: those screenshots definitely have smooth edges. Smooth foliage: not just JPEG? I'll upload some cropped foliage PNG shots later. 0 Quote Link to comment Share on other sites More sharing options...
dblaney1 Posted February 27, 2019 Report Share Posted February 27, 2019 I have MSAA 4x on by default in the IA client. That will smooth out everything except alpha textures. Those require supersampling to smooth out. Although now that I am thinking you may have turned on FXAA in the ingame performance menu which will smooth out alpha textures (it really just blurs them). I recommend turning fxaa off though. Its nothing more than a smear filter. It looks decent right now cause you also have MSAA 4x on. 0 Quote Link to comment Share on other sites More sharing options...
Veyrdite Posted March 2, 2019 Author Report Share Posted March 2, 2019 Updates to "launcher crashes 15 seconds after login" and cpu core pegging I've now tested extensively on my desktop (Radeon HD 6850 with 'radeon' in-kernel drivers) and my laptop (Intel HD Graphics 405, Braswell). Both exhibit these problems reliably. A few posts ago I mentioned these two problems being miraculously fixed, it seems that was pot luck that day. I have not been able to reproduce it again. My best guess is I had some part of dotnet or the launcher still hiding away as another sleeping process. Anti-aliasing deep dive All of my statements about AA not working are wrong, it's my eyesight that needs checking. From the best I can tell: the launcher's AA setting is proper old-fashioned MSAA and the in-game FXAA setting is the crappy 2D filter AA. Each setting is only accessible from the afore-mentioned places, so it takes a bit of searching and discovery. FXAA immediately makes me unhappy. Small objects in the distance (vehicles, people) go blurry. The AA settings don't seem to have any effect on close foliage (where texture pixels >> screen pixels): Some further away and overlapping foliage with different in-game texture filter settings (both MSAA and FXAA turned off): I'm trying to read up on supersampling; but I'm a bit confused. Some sources refer to it as a generic category of AA methods that MSAA sits into (where MSAA usually uses a square grid); others suggest it's a more spacial interpolation/filtering thing (ie filtering of textures on planes inclined to the camera). Screenshot reference: Wine version=wine-4.0, Card=Radeon (BARTS) HD 6850, Driver=in-kernel radeon Linux 4.19.18_1 1 Quote Link to comment Share on other sites More sharing options...
Maraneshi Posted March 2, 2019 Report Share Posted March 2, 2019 2 hours ago, Veyrdite said: I'm trying to read up on supersampling; but I'm a bit confused. Some sources refer to it as a generic category of AA methods that MSAA sits into (where MSAA usually uses a square grid) There are literally dozens of different anti-aliasing methods, though most of the newer and cheaper ones operate in screen space after the image is already rendered, which is not the case for SSAA and MSAA. SSAA is the first and easiest to understand since it essentially renders the game at a higher resolution (multiple "samples" per output pixel) and scales it back down to the output resolution similar to how you would scale an image in Photoshop. This eliminates aliasing across the entire image, but is obviously very expensive. MSAA optimizes this method by first testing how many different triangles are intersecting those sample points within each pixel and then only computing the shading for at most one sample per individual triangle. This effectively limits MSAA to the edges of geometry, which is the place where most aliasing happens (especially in old games; unfortunately, during the last 15 years or so shader aliasing became a major problem as well). Foliage, chain-link fences, grates, etc. are usually made using alpha-test textures, which means the geometry edge is not where the visible part of the object ends since it's just a transparent texture on a much larger surface. Thus MSAA by itself will not help with the aliasing here, but there are ways to manually make use of the texture alpha to explicitly tell the MSAA implementation "hey I want this pixel multi-sampled" (this is called "Alpha-To-Coverage"). Both SSAA and MSAA can use different patterns for the extra samples per pixel. A regular grid is the easiest to implement in hardware, but if the geometry edges align with the pattern (i.e. nearly horizontal or vertical lines), there will still be visible aliasing. Thus many different variants were introduced like rotated grids or semi-random distributions. MSAA can additionally vary the amount of samples used for testing how many triangles intersect this pixel (coverage samples) and for computing the actual shading (color samples) as the former are very cheap in terms of performance compared to the latter and can improve the results by weighting the color samples more accurately (examples of this are called CSAA [Nvidia] and EQAA [AMD]). 2 hours ago, Veyrdite said: others suggest it's a more spacial interpolation/filtering thing (ie filtering of textures on planes inclined to the camera). I'm not sure, but that sounds to me like you're reading about the generic theory of image resampling (how to scale an image from one resolution to another), which happens to be the last part of the SSAA/MSAA process. Surprisingly, downscaling is an incredibly difficult problem even though you have all the information available. It's almost impossible to tell which information is or is not "important" to preserve during this process so that the end result neither looks excessively blurry nor has additional artifacts that weren't in the original (e.g. aliasing, ringing). Regular SSAA and MSAA as implemented in the hardware will by default just use a simple average of the samples within each pixel ("box filter"), but some other variants have been introduced over the years as well. 1 Quote Link to comment Share on other sites More sharing options...
Veyrdite Posted March 3, 2019 Author Report Share Posted March 3, 2019 (edited) Thankyou Dghelneshi. I've seen "MSAA" quoted so often I've always assumed it's what you describe as SSAA. I had no idea there has been so much effort into optimising traditional ("worldspace" is the right term?) AA. My oblivity shows the optimisations have succeeded > most of the newer and cheaper ones operate in screen space after the image is already rendered The pits of hell oscillate mildly. > others suggest it's a more spacial interpolation/filtering thing (ie filtering of textures on planes inclined to the camera). I meant this: https://en.wikipedia.org/wiki/Anisotropic_filtering A better wording might be 'mipmapping method'. Many games call this 'texture filtering' in their config; which is probably a bit too generic of a term. Edited March 3, 2019 by Veyrdite 0 Quote Link to comment Share on other sites More sharing options...
Veyrdite Posted March 18, 2019 Author Report Share Posted March 18, 2019 Edited and updated to reflect a few bugs that have been fixed in recent (4.3, 4.4) wine versions. Any objections if I rename, move and pin/sticky this topic into "Help & Support"? 0 Quote Link to comment Share on other sites More sharing options...
danpaul88 Posted March 18, 2019 Report Share Posted March 18, 2019 Also FYI the latest installer accepts a /skipDependencies flag explicitly added to help with Linux deployment - it won't ever try to install the dot net framework if this command line flag is set 0 Quote Link to comment Share on other sites More sharing options...
Veyrdite Posted March 19, 2019 Author Report Share Posted March 19, 2019 22 hours ago, danpaul88 said: Also FYI the latest installer accepts a /skipDependencies flag explicitly added to help with Linux deployment - it won't ever try to install the dot net framework if this command line flag is set I've been debating whether or not it's wise to add this to the guide. In the long term: I think the guide is better if it tells people to install normally and then shows them how to work around individual problems. This means that when problems are fixed in the future the guide is still valid, and if users experience different problems (eg different graphics drivers) they're not lost. The opposite end of the spectrum is a shell script that does everything for the player. This is very specific to wine and launcher versions, with little tolerance for changing conditions. I too often come across guides that read like scripts, looking like they're designed by genius' but giving a newbie no hope of understand what fixes they are implementing and how to fix things if they go differently. Thoughts? 0 Quote Link to comment Share on other sites More sharing options...
Veyrdite Posted March 21, 2019 Author Report Share Posted March 21, 2019 Hmm, I thought I had the ability to move topics, but it appears I cannot. @OWA can I request you move this to "General Discussion/Help & Support"? 0 Quote Link to comment Share on other sites More sharing options...
GraYaSDF Posted March 21, 2019 Report Share Posted March 21, 2019 I have Ubuntu Linux 14 installed as a second OS. I used it when my friend said that I need to test Avorion before we run an own server on Linux. Good to know there is a topic on W3D Hub that shows you how to prepare Wine for Renegade-games. Thanks a lot! =) 0 Quote Link to comment Share on other sites More sharing options...
OWA Posted March 21, 2019 Report Share Posted March 21, 2019 13 hours ago, Veyrdite said: Hmm, I thought I had the ability to move topics, but it appears I cannot. @OWA can I request you move this to "General Discussion/Help & Support"? Done! 1 Quote Link to comment Share on other sites More sharing options...
Veyrdite Posted May 31, 2019 Author Report Share Posted May 31, 2019 Update 2019-06-01: ECW now works, it's fix seems to be trivial. Does this now mean that all release W3Dhub games now work on Linux/Wine? I'll have to give Reborn another test (I think I've only played the Testing version). 0 Quote Link to comment Share on other sites More sharing options...
sicanjal Posted January 23, 2020 Report Share Posted January 23, 2020 (edited) Thanks Veyrdite for the guide! It's cool that wine has been looked into and I'm pleased to say I've got APB running nicely out of the box! Tested on wine-5.0-rc6 on Arch Linux; the install for me can be summarised as: export WINEARCH=win32 export WINEPREFIX=$HOME/.wine-w3dhub winetricks dotnet461 wine ./w3dhub_launcher_0.10.0.0_install.exe Regarding 32/64bit WINEARCH - is there a particular WINEARCH that is recommended for W3D Hub? I tested this initially with the default (mixed 32/64), but APB occasionally locked up when it tried to load a map. Seemed to be solved when I swapped it to a 32-bit WINEARCH - is it safe to assume that we'd be working with mostly x86 binaries for W3D Hub? The only remaining issue I have is that the launcher will crash if you open up the "Login" form then click on the password field - as soon as that field gets focus it falls over with the following: 0009:err:eventlog:ReportEventW L"Application: W3D Hub Launcher.exe\nFramework Version: v4.0.30319\nDescription: The application requested process termination through System.Environment.FailFast(string message).\nMessage: Unrecoverable system error.\nStack:\n at System.Environment.FailFast(System.String)\n at MS.Inter"... (ellipses in original message) I'll continue digging to see if I can find a work around with this (may try wine-staging as well to see if a version bump helps) Edited January 23, 2020 by sicanjal 1 Quote Link to comment Share on other sites More sharing options...
FRAYDO Posted January 24, 2020 Report Share Posted January 24, 2020 It's refreshing to see this guide still finding use. Welcome, sicanjal! Glad you found us and can play our games. Hopefully Veyrdite or someone also knowledgeable in Wine may be able to answer your questions. 1 Quote Link to comment Share on other sites More sharing options...
Jeod Posted January 24, 2020 Report Share Posted January 24, 2020 19 hours ago, sicanjal said: The only remaining issue I have is that the launcher will crash if you open up the "Login" form then click on the password field - as soon as that field gets focus it falls over with the following: 0009:err:eventlog:ReportEventW L"Application: W3D Hub Launcher.exe\nFramework Version: v4.0.30319\nDescription: The application requested process termination through System.Environment.FailFast(string message).\nMessage: Unrecoverable system error.\nStack:\n at System.Environment.FailFast(System.String)\n at MS.Inter"... (ellipses in original message) I'll continue digging to see if I can find a work around with this (may try wine-staging as well to see if a version bump helps) @danpaul88 You might find this interesting. 0 Quote Link to comment Share on other sites More sharing options...
Veyrdite Posted April 13, 2020 Author Report Share Posted April 13, 2020 Hmm, I thought I had email notifs setup. Apparently not. @sicanjal: still having this issue? Have not played in a while, I might try reinstalling some time soon since I'm off work sick intermittently at the moment. Last time I checked I managed to ruin my dotnet install somehow. Der Papst has setup a thingy on Lutis for W3Dhub, so I might look at that, and I now have a graphics card that can support dxvk (yay). 1 Quote Link to comment Share on other sites More sharing options...
Veyrdite Posted August 21, 2020 Author Report Share Posted August 21, 2020 Updated 2020-08-21 Added reliable workaround for the graphical corruption in the W3D hub launcher Added info about DXVK Re-arranged several of the older fixes and labelled them as retired I had not been able to launch the W3Dhub launcher for a while, but a system update (I think Mesa was at fault?) fixed the issue today. I'm on a rolling release distro, Ubuntu & Debian users are unlikely to see this problem. 0 Quote Link to comment Share on other sites More sharing options...
mrfry Posted September 23, 2020 Report Share Posted September 23, 2020 This also helped me run the Launcher on Arch (with vulkan): https://old.reddit.com/r/linux4noobs/comments/firqs9/getting_windows_wpf_applications_to_run_with_wine/ Commands I ran in order: winetricks -q dotnet48 winetricks -q dxvk155 winetricks -q d3dcompiler_47 wine reg add "HKCU\\SOFTWARE\\Microsoft\\Avalon.Graphics" /v DisableHWAcceleration /t REG_DWORD /d 1 /f Before running these W3DHub Launcher crashed instantly on startup. After this it works now. For detailed info pls read the reddit link. hf c: 1 Quote Link to comment Share on other sites More sharing options...
BukkitHead Posted August 10, 2023 Report Share Posted August 10, 2023 (edited) I know this is an older thread, but does this method still work? I'm running wine-8.0.1 on macOS Ventura 13.5. When I run the file "w3dhub_launcher_0.14.0.0_installer.exe," I get a blank setup window: Any help would be greatly appreciated. Edited August 10, 2023 by BukkitHead 0 Quote Link to comment Share on other sites More sharing options...
dblaney1 Posted November 27, 2023 Report Share Posted November 27, 2023 I'm in the process of updating the lutris installer to work with the latest version. It should make installing the launcher and the games seamless hopefully. Gonna test on my steam deck later today. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.