Jump to content

Linux compatibility


Frogfoot9013
 Share

Recommended Posts

Hello and welcome to W3D-Hub!

 

I know that at one time there was some work being done by Omar007 (one of our staff) on getting this working, but I'm not sure what progress he made on it. The launcher was coded by danpaul88, and because of some things he used, it is not able to run in wine (yet). I believe that Omar found a way but I don't believe it ever got implemented. Anyone that knows more want to chime in?

Link to comment
Share on other sites

You can still bypass the launcher and go directly into APB if Linux supports shortcut parameters. The Windows version looks like this:

 

"C:\Program Files (x86)\W3D Hub\games\apb-release\game.exe" +connect 178.162.193.144:9016 +netplayername <INSERT YOUR NAME>

 

The only downside is not knowing how many players are in the server or what map is playing. But, you can see that from IRC.

Link to comment
Share on other sites

Well beings as the launcher is required to download and install the games, this adds several extra steps. One could download and install on a windows PC, and then in theory copy the games over to a linux install and then run a direct connect shortcut probably. I believe someone a while back did verify that the games themselves can run under linux (in wine of course). I could be mistaken though.

Link to comment
Share on other sites

@Einstein; that has been me most likely as well ;)

 

The last state of the changes I had to make were good. Things were working with mostly just cosmetic issues.

I'll check my changes against the latest versions and update where needed. Hopefully this can be pushed upstream some time as well.

 

That aside, with what's currently publicly available, your best option right now is to install the games under Windows and copy them over. The games themselves should work fine under WINE.

Link to comment
Share on other sites

  • 11 months later...

To make things worse the W3D launcher installs a version of dotnet 4 which only works in wine with a "32 wine prefix".

i'm surprised no one has made an open source re implementation of  westwood's W3D engine with projects like Open Morrowind becoming more common place. wouldn't help with the launcher but, sure would make it easier to get a newer optimized engine that would allow way more modding and support all platforms.

 

when supports dotnet out of the box or with little/simple tweaks it might be possible to run W3D hub out of the box as well. games like the witcher 3 and GTA V are already playable.  I think i may play around with trying to get it work in wine.

Edited by cdoublejj
Link to comment
Share on other sites

7 hours ago, cdoublejj said:

To make things worse the W3D launcher installs a version of dotnet 4 which only works in wine with a "32 wine prefix".

i'm surprised no one has made an open source re implementation of  westwood's W3D engine with projects like Open Morrowind becoming more common place. wouldn't help with the launcher but, sure would make it easier to get a newer optimized engine that would allow way more modding and support all platforms.

 

when supports dotnet out of the box or with little/simple tweaks it might be possible to run W3D hub out of the box as well. games like the witcher 3 and GTA V are already playable.  I think i may play around with trying to get it work in wine.

Hello and welcome to W3D-Hub!

We.......kinda already started modding/rebuilding the engine a long time ago (10+ years ago), the source is just not public. We have a "scripts" development team that takes care of rewriting the engine to be our own and to better suit our needs as we need new features for the evolution of our various projects. If that sounds like something you might be interested in helping with, then by all means speak up! I can get you pointed to the right people.

Again welcome! Please read all our forum/game-server rules and please post or PM me or another staff member with any questions you have. Thanks!

Link to comment
Share on other sites

From version 2.19 of Wine i.c.w. launcher version 0.7.5.x and up I believe most blocking issues preventing it from running, or at least somewhat without crashing, have been resolved.
Good chances you can get it running in Wine now relatively easily compared to before that point.

I had planned to update what I had already made accordingly but with version 0.8 of the launcher the way it has been packaged has changed so several things I set up no longer work.
If I get around to it somewhere this week I may put something up for those that want to try to run things on Linux.

DISCLAIMER: Running on Wine/Linux is not officially supported by W3DHub so any crashes you can not reproduce on Windows will probably not be looked at by anyone.

Link to comment
Share on other sites

i am not a coder but, my relationship with wine and linux is getting better. if i get it working perhaps i could explain how i did so with some sort of guide like forum post. I have went ahead submitted W3D Hub as an app to be added to the Wine Application Data Base so that compatibility reports and or any needed work arounds can be filed and published.

 

IF anyone has tried installing and not had it hand let me know. i was not very patient to let it it install dot net since i know wine has problems and almost always requires a 32bit prefix to make it work. i am currently researching this.

Additionally wine 3.0 RC out and 3.0 is a big jump from 2.21. idk if that's stable version number or a big jump from the current staging version. if the later maybe they have added a lot more features and api calls.

Link to comment
Share on other sites

  • 11 months later...

I've found 3 ways to do it:

Lutris: https://lutris.net/games/w3d-hub-launcher/

 

The winetricks-way ( recommended for experienced users only )

  1. Create a new prefix
  2. Use winetricks to install dotnet 4.6.1
  3. run the w3dhub-installer in the prefix
  4. run w3dhub in the prefix. wine3.1 worked well :)

The PlayOnLinux-way ( more comfortable )

  1. Install PlayOnLinux (you can find it usually in your distribution's sources, for example "sudo apt-get install playonlinux" on Debian, (K)ubuntu,...)
  2. Download the latest w3dhub-installer and the attached script( w3d and dependencies tested.polscript )(store both anywhere you like, just remember where)
  3. Open PlayOnLinux, go to tools -> run local script and select the attached script.
  4. The script tells you what it currently does - but you have to click next whenever possible (pls give me feedback if you would prefer a "silent" installation. I did this for debugging-purposes and just didn't change it)
  5. When the install script asks for the setup file, select it
  6. After the w3dhub-installer finished, create a shortcut to the w3dhub-launcher
Spoiler

The attached script is written in bash and calls only PlayOnLinux-functions. PlayOnLinux will show you its content before running, you can also read it in every text-editor.

What the script does: exactly the same winetricks does when asked to install dotnet 4.6.1:

  • create a new 32bit PlayOnLinux-prefix and install wine3.1 (if not already installed)
  • remove mono from the prefix
  • download and install dotnet 4.0, 4.5 and 4.6.1 (which depends on 4.0 and 4.5)
  • create some dll-overrides
  • ask for w3dhub-installer and run it

Please give me feedback about this guide and just ask if you have problems :)

I've played Interim Apex with PlayOnLinux >25 hours now, without any problems, A Path Beyond procudes crashes quite often.

(I'm also trying to create an official PlayOnLinux-installer without local scripts, but their script for dotnet4.5 doesn't work with wine 3.1)

Edited by der Papst
Added Lutris to original post
Link to comment
Share on other sites

  • 2 weeks later...
  • 2 years later...

Hello, i  use Ubuntu 21.04, on the installation use "3 partś "

after installation auto update, software center updates, ctrl+alt+T

sudo apt-get install wine-stable 
sudo dpkg --add-architecture i386 
sudo apt-get update 
sudo apt-get install wine32 

 reboot

software center, playonlinux  > w3d hub 

 

but framework 4.7.2  cannot  istall,  "works  only for 64bit?"

 

for lutris +winetricks tape ctrl+alt+T

 

sudo add-apt-repository ppa:lutris-team/lutris


sudo apt update


sudo apt install lutris

Edited by Displayname
Link to comment
Share on other sites

26 minutes ago, Displayname said:

Hello, i  use Ubuntu 21.04, on the installation use "3 partś "

after installation auto update, software center updates, ctrl+alt+T

sudo apt-get install wine-stable 
sudo dpkg --add-architecture i386 
sudo apt-get update 
sudo apt-get install wine32 

 reboot

software center, playonlinux  > w3d hub 

 

but framework 4.7.2  cannot  istall,  "works  only for 64bit?"

 

for lutris +winetricks tape ctrl+alt+T

 

sudo add-apt-repository ppa:lutris-team/lutris


sudo apt update


sudo apt install lutris

So this is a working method for the launcher and the games to run? What about the .net framework error, does that affect anything?

Link to comment
Share on other sites

[POL_Wine] Message: Running wine-3.1 regedit /home/x/.PlayOnLinux//tmp/override-dll.reg (Working directory : /home/x/.PlayOnLinux/ressources/dotnet472)

[POL_Wine] Message: Wine return: 0

[POL_Call] Message: ----- Ending function POL_Install_dotnet472 -----

[POL_SetupWindow_Close] Message: Closing window for pid 2647

10 minutes please wait, about

Edited by Displayname
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...