Jump to content
lavoro

Wartale on Linux pls

Recommended Posts

lavoro

I would really like to play on Linux, but the proton valve steam couldn't run
please help us Linux users

 

5l6mSEe.png

 

 

DtftLXA.png

  • Haha 1

Share this post


Link to post
Share on other sites
DarkLink64
  On 12/13/2021 at 6:53 PM, Br0wns said:

Help linux users!

Total of linux users: 1 ?

Read more  


You must be out of touch from reality. Linux gaming is on the rise, and with the release of Steam Deck, it will be a serious competitor to Windows. You must ask a big aumont of money from Microsoft/Apple to limit your potential users by making games/apps exclusive to a unique platform.

Me as a dev i've already gave up wasting time on DirectX in favor of learning OpenGL. Much easier completely multi-platform, with more than enough performance. 

I expect a big downfall on Windows/DirectX exclusive titles from the release of Steam Deck onwards, Valve is really pushing hard on Linux Gaming and it's already making huge impact.

As for running Wartale on Linux, i've succeeded to run it 100% a year ago before q u i ting.

I've followed a guide on how to run a Ragnarok client on Linux, and all the commands and prep work with winetricks worked for Wartale.

.


Wartale worked 100% on Ubuntu 20.04 after following this guide. With a GTX1060, performance was around 50 to 70%, but was enough to play. IF your GPU is from AMD, expect a much better performance, since Nvidia drivers are crap on Linux (due to their closed source nature).

I'll update these answers IF i manage to get Wartale running using Proton and/or Protontricks, to see if it has a better performance compared to Wine and Winetricks. (it shouldn't since Proton and Protontricks are forks/wrappers for Wine)

 

Edited by DarkLink64

Share this post


Link to post
Share on other sites
DarkLink64
Updated 2019-10-14

Install / Update Wine and Winetricks

You will need the latest version of wine-stable. Do not install wine-staging due to glitches found in testings.

Installation varies from distro to distro. For the best information, please follow the wiki on WineHQ.

Here are links to popular distros:

Once you have wine installed or updated. Check the version by utilizing the command in terminal:

wine --version terminal

The output should say wine-4.0.2 or higher.

Next, you need to get the latest version of winetricks. Version 20190912 was used in time of testing. Follow the guide on WineHQ:

cd "${HOME}/Downloads"
wget  https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks
chmod +x winetricks
sudo cp winetricks /usr/local/bin

Source: https://wiki.winehq.org/Winetricks#Installing_winetricks

If you are on Ubuntu, instead of the last command, do:

sudo cp winetricks /usr/bin

Preparation

We need to start clean and setup the architecture to Win32.

  1. Delete your pre-configured $HOME/.wine folder via terminal command
sudo rm -rf $HOME/.wine
  1. Setup a Win32 WINEPREFIX with the command
WINEARCH=win32 wineboot --init
  1. Install required libraries and runtime  via winetricks
WINEARCH=win32 winetricks corefonts d3dx9_42 d3dx9_43 dinput dinput8 directx9 vcrun2008 vcrun2010 vcrun2013 vcrun2015 vcrun6

Make sure to click through all installation guides for each Visual Studio Runtime Redistributables as necessary such as

vcrun

  1. Install .NET 3.5 via winetricks (forced).
winetricks --force dotnet35

You will have to click on any continues that pops up.

  1. Install .NET 4.6.1 via winetricks (forced).
winetricks --force dotnet461

Configuration 

  1. Install in $HOME/.wine/drive_c/ folder.

 

  1. Configure wine to emulate a desktop of your liking. Type winecfg in terminal and go to Graphics tab.

In this example I chose 1280x720.

emulatedesktop

Press apply and close.

  1. Go to the game direction in terminal by cd $HOME/.wine/drive_c/game

Running Patcher and Game

To run the patcher, make sure you are in the game directory in terminal cd $HOME/.wine/drive_c/game then run the command.

wine "launcher.exe"

Once game is fully patched. Close it.


To run the game, make sure you are in the game directory in terminal cd $HOME/.wine/drive_c/game then run the command.

WINEDEBUG=warn+all,-d3d,-d3d_perf,-wgl,-ntdll wine game.exe

NOTE: Debug output is required to avoid a race condition in the client.

  • Like 3
  • Love 2

Share this post


Link to post
Share on other sites
lavoro
  On 12/14/2021 at 10:24 PM, DarkLink64 said:
Updated 2019-10-14

Install / Update Wine and Winetricks

You will need the latest version of wine-stable. Do not install wine-staging due to glitches found in testings.

Installation varies from distro to distro. For the best information, please follow the wiki on WineHQ.

Here are links to popular distros:

Once you have wine installed or updated. Check the version by utilizing the command in terminal:

wine --version terminal

The output should say wine-4.0.2 or higher.

Next, you need to get the latest version of winetricks. Version 20190912 was used in time of testing. Follow the guide on WineHQ:

cd "${HOME}/Downloads"
wget  https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks
chmod +x winetricks
sudo cp winetricks /usr/local/bin

Source: https://wiki.winehq.org/Winetricks#Installing_winetricks

If you are on Ubuntu, instead of the last command, do:

sudo cp winetricks /usr/bin

Preparation

We need to start clean and setup the architecture to Win32.

  1. Delete your pre-configured $HOME/.wine folder via terminal command
sudo rm -rf $HOME/.wine
  1. Setup a Win32 WINEPREFIX with the command
WINEARCH=win32 wineboot --init
  1. Install required libraries and runtime  via winetricks
WINEARCH=win32 winetricks corefonts d3dx9_42 d3dx9_43 dinput dinput8 directx9 vcrun2008 vcrun2010 vcrun2013 vcrun2015 vcrun6

Make sure to click through all installation guides for each Visual Studio Runtime Redistributables as necessary such as

vcrun

  1. Install .NET 3.5 via winetricks (forced).
winetricks --force dotnet35

You will have to click on any continues that pops up.

  1. Install .NET 4.6.1 via winetricks (forced).
winetricks --force dotnet461

Configuration 

  1. Install in $HOME/.wine/drive_c/ folder.

 

  1. Configure wine to emulate a desktop of your liking. Type winecfg in terminal and go to Graphics tab.

In this example I chose 1280x720.

emulatedesktop

Press apply and close.

  1. Go to the game direction in terminal by cd $HOME/.wine/drive_c/game

Running Patcher and Game

To run the patcher, make sure you are in the game directory in terminal cd $HOME/.wine/drive_c/game then run the command.

wine "launcher.exe"

Once game is fully patched. Close it.


To run the game, make sure you are in the game directory in terminal cd $HOME/.wine/drive_c/game then run the command.

WINEDEBUG=warn+all,-d3d,-d3d_perf,-wgl,-ntdll wine game.exe

NOTE: Debug output is required to avoid a race condition in the client.

Read more  

 

 

First of all i want to thank you for sharing your knowledge, but it didn't work for me, I did it exactly as it is in the description

but on this command line it gave an error to install  vcrun6

WINEARCH=win32 winetricks corefonts d3dx9_42 d3dx9_43 dinput dinput8 directx9 vcrun2008 vcrun2010 vcrun2013 vcrun2015 vcrun6

would that be the reason for not running?

I believe that ant cheat is a problem too

 

"and congratulations for commenting on the previous topic"

Share this post


Link to post
Share on other sites
DarkLink64
Post the errors from your terminal, so we can find a solution
  • Like 1

Share this post


Link to post
Share on other sites
lavoro

vcrun6 installs normal, I didn't understand why the first time it gave an error

 

7KXlxuH.png

 

after that the installation goes normal

 

then, when I try to run wine launcher.exe, the window closes and shows this message

 

sMOyUlS.png

 

and finally the terminal output with error, when I try to run WINEDEBUG=warn+all,-d3d,-d3d_perf,-wgl,-ntdll wine game.exe

 

  Reveal hidden contents

 



 

  • Like 1

Share this post


Link to post
Share on other sites
DarkLink64

There are a few new stuff since i've played Wartale for the last time on Linux, that might cause the problem. One is crucial - Wartale is now 64 bits.

I would advise you to wipe wine from your setup and install a pure 64 bit version of Wine, then do not use 32 bit wine_prefix. I strongly believe it will solve the BAD EXE FORMAT problem.

 

Then, other few things that might cause problems:

1. Wartale now has two rendering backends, standard DirectX 9 and DirectX 9 Ex. I think Wartale defaults to DirectX 9 Ex. Problem must be with the Ex version. Try tweaking  .config or .ini file on wartale directory and set non-ex dx9 as the backend.

2. Wine recommends to be never run as sudo.

 

3. Install the DirectX setup file on Wartale directx folder, through wine. Wartale requires some extensions of directx that normally doesn't not come installed on any Windows platform, and it is automatically installed when you first run Wartale. This auto install might not happen on Linux.

 

4. Disable multi-monitor, set to full screen exclusive

As for the debug log, most of these are just warnings related to missing fonts and/or incompatibility between True Type (default of Windows) with Free Type. The game should run even with these warnings.

Edited by DarkLink64

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

News and Updates

×
×
  • Create New...