Sign in to follow this  
Wulfsige

[RESOLVED] Linux and WU Issues

Recommended Posts

Hi all, hopefully somebody who uses WU with Linux can help me ?

 

I have Steam and WU running on Linux Mint 19 with all working, I have applied the txt file for allowing multiple clients.

 

I have copied the Wurm directory but i cannot figure out how to run Wurmlauncher from this 2nd WU instance folder, the Steam shortcut appears to run through the steam client so i cannot use that to start a 2nd instance, so i have no idea on how to start the Wurm launcher.

 

Thanks in advance if anyone can help as want to play 2 toons ? at same time.

 

BTW I have this all working in Windows 10 with no issues using the WurmLauncher.exe but cannot in Linux, and i have searched the forums for help.

Edited by Wulfsige

Share this post


Link to post
Share on other sites

You can run multiple instances in the original folder though, don't need to make a copy.

After having the txt filen in the WurmLauncher folder, create a file:

 

start.sh

 

#!/bin/bash
env LD_PRELOAD=./libsteam_api.so ./WurmLauncher
WurmLauncher

 

make it executable:

chmod a+s start.sh


 

Run the first client from the original icon - it will load steam and such.

 

You can run the additional clients from a console typing "./start.sh" - or you could make a desktop shortcut to run it. That process is different for the distros, you can look up on google how to create a shortcut to an executable script.

 

I hope this helps...

  • Like 1

Share this post


Link to post
Share on other sites

Hi Jax thanks for the reply,

 

I tried this and it did not work, i got the following error:

 

Quote

bash: ./start.sh: /bin/bash^M: bad interpreter: No such file or directory

 

I then opened up a terminal and did line by line from WurmLauncher folder

 

#!/bin/bash

worked

env LD_PRELOAD=./libsteam_api.so ./WurmLauncher

Worked and game started ok without putting the bash line in?

 

I then edited start.sh and took out the 3rd line as it was not required.

 

tried to rerun start.sh and got the same error above bash: ./start.sh: /bin/bash^M: bad interpreter: No such file or directory
 

I restarted machine and opened up terminal in the WurmLauncher folder and pasted 

 

env LD_PRELOAD=./libsteam_api.so ./WurmLauncher

 

and the game started and worked.

 

I cant get this one line to work from start.sh I am not familar enough with Linux to figure out why it does this.

 

Hopefully you can advise further



 

Edited by Wulfsige

Share this post


Link to post
Share on other sites

RESOLVED

 

I recreated the start.sh, without line 3 and used the file manager in Linux Mint to make it executable, started the original shortcut for 1st instance the ran start.sh and hey ho all is working.

 

Obviously different flavours of Linux work slightly different.

 

Many Thanks Jaz for your help and pointing me in the right direction.

 

Hopefully this will help others.

 

  

  • Like 1

Share this post


Link to post
Share on other sites

Well, my bad, you don't need the 3rd line. The application is indeed started on the second line, I've left the third line accidentally there.

#!/bin/bash line tells the system where to find the command interpreter - actually it may be at a different location on your Mint (although afaik Mint is Debian based just like my Ubuntu)

 

I'm happy you could fix my error :D

Edited by Jaz

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
Sign in to follow this