Sklo:D

[Released] Distant Rendering for Wurm Unlimited

Recommended Posts

Distant Rendering for Wurm Unlimited

 

zL9V547.gif

 

Our team finally found enough time to implement distant rendering into the Wurm Unlimited client. Therefore, we created a mod that enables distant tree rendering and so implemented a feature that has been requested a lot for the last years.

This mod requires Ago's client modloader that can be downloaded from GitHub: https://github.com/ago1024/WurmClientModLauncher/releases

Simply put this mod into your Wurm Unlimited client mod folder like any other mod. This mod only works on servers that are using the server side mod that improves the distant terrain generation.

 

Server side mod: (for server admins)

The server side mod can be found at the following URL: https://gitlab.com/Dominikk/wu-sklotopolis-distantrendering-server/-/releases

Requires Ago's server modloader from GitHub: https://github.com/ago1024/WurmServerModLauncher/releases

 

Client side mod: (for every player)

The client side mod can be found at the following URL: https://gitlab.com/Dominikk/wu-sklotopolis-client-distantrendering-pub/-/releases

 

Please report any found problems as a GitLab issue, we will look into them. In case you find any problem please include as many details as possible and screenshots of the problem.

You are using these mods at your own risk!

 

You can use the command:

render_distance <Number of tiles>

in the console that can be opened by pressing the F1 key.

This number can be changed on runtime and does not need a restart of the game.

You also can set this number by typing the following command into the autorun.txt of the game config you are using: render_distance 400 (This will set your render distance to 400 on login and ignore the value in the properties file) The autorun.txt file is located at the following Windows directory: C:\Program Files (x86)\Steam\steamapps\common\Wurm Unlimited\WurmLauncher\PlayerFiles\configs\default

The last word in our case default is the name of the config you are using, you can change this config in the Settings of your Wurm Launcher. (Before you join a server)

 

Known Issues and Limitations:

  • The mod currently only works on servers that use the server side mod that improves distant terrain generation.
  • If you crash with an OutOfMemory error either perform the OPTIONAL part below or reduce the render distance to like 400 or 500 in the properties file of the client mod.
  • Every 125 tiles of movement there is a small lag spike on the client because the render origin is changed to shrink the vertices.
  • Performance is good but not perfect small lag spikes can happen, I am testing with a Gefore GTX 1050Ti from 2017, getting around 50 FPS. Reduce the rendering range in the properties file if your FPS drop too low.
  • This mod will not run on the old potatoe you bought as a PC 10 years ago :)

 

 

(OPTIONAL) If you want to render really far

 

This step is optional and solves a potential out of memory error. It only works on pretty decent hardware.
Navigate to the root directory of the Wurm Unlimited Client (wurmlauncher) and check if you have the file "LaunchConfig.ini".
Edit or create it and enter the following details:

[Memory]  
InitialHeap=512m  
MaxHeapSize=8192m

 

Screenshots

 

68747470733a2f2f692e696d6775722e636f6d2f

 

68747470733a2f2f692e696d6775722e636f6d2f

 

8Jqaxru.png

 

68747470733a2f2f692e696d6775722e636f6d2f

Edited by Sklo:D
  • Like 21

Share this post


Link to post
Share on other sites

This looks amazing, good work! 

Share this post


Link to post
Share on other sites

Only allowed one heart reaction, unfortunately.

 

Very nice work.

Edited by TheTrickster

Share this post


Link to post
Share on other sites

Hey great job... I got this working on a standalone server, but have tried it on a non-login server in a cluster and it doesn't work. It will be enabled on the login server at the daily restart... is that going to make a difference? Does it need to be enabled on a login server to work on a non-login server?

Share this post


Link to post
Share on other sites
3 hours ago, Kiama said:

Hey great job... I got this working on a standalone server, but have tried it on a non-login server in a cluster and it doesn't work. It will be enabled on the login server at the daily restart... is that going to make a difference? Does it need to be enabled on a login server to work on a non-login server?

 

We have been using it on the 4 Sklotopolis servers for a week. Just install it on every server and restart them.

Make sure that the server mod is installed on the server and the client mod is installed on the clients.

There is no difference between login and non-login servers. The mod is also really small so it should be quite simple.

Edited by Sklo:D

Share this post


Link to post
Share on other sites

Added another detail:

 

  • If you crash with an OutOfMemory error either perform the OPTIONAL part or reduce the render distance to like 400 or 500 in the properties file of the client mod.
Edited by Sklo:D

Share this post


Link to post
Share on other sites
3 hours ago, Sklo:D said:

 

We have been using it on the 4 Sklotopolis servers for a week. Just install it on every server and restart them.

Make sure that the server mod is installed on the server and the client mod is installed on the clients.

There is no difference between login and non-login servers. The mod is also really small so it should be quite simple.

It is working fine on the login server but still doesn't appear to be working on the other server I have tested it on... I don't know what is going on but it isn't a big deal. The login server has way more trees than the others so it was great to see it working there.

Share this post


Link to post
Share on other sites
3 minutes ago, Kiama said:

It is working fine on the login server but still doesn't appear to be working on the other server I have tested it on... I don't know what is going on but it isn't a big deal. The login server has way more trees than the others so it was great to see it working there.

 

There need to be at least 50 trees in a 16x16 area otherwise it will not show as forest

  • Like 1

Share this post


Link to post
Share on other sites
1 hour ago, Sklo:D said:

 

There need to be at least 50 trees in a 16x16 area otherwise it will not show as forest

Ah that's probably it then, thanks. Again, great job.

Share this post


Link to post
Share on other sites

OLD GPU test
AMD Ryzen 5 1600 (3.2ghz)
16.0GB Ram
Windows 10
Nvidia 9600GT OC 512MB  (Yes that is from 2008)

Disabled = ~58FPS
At 350 distance  = ~45FPS
At 500 distance  = ~20FPS
Tested while standing still, looking over a river at trees across the water.

Snow/rain gives me a bigger FPS impact than the 350 distance setting.

  • Like 1
  • Cat 1

Share this post


Link to post
Share on other sites

This mod is absolutely awesome! Many thanks! 🌟

  • Like 1

Share this post


Link to post
Share on other sites
21 hours ago, Sklo:D said:

Version 1.1-RELEASE

 

New version available:

https://gitlab.com/Dominikk/wu-sklotopolis-client-distantrendering-pub/-/releases/1.1-RELEASE

 

  • Added a command to change render distance on runtime - Open Console with F1 and type render_distance <Number of tiles>
  • Small improvements to the code base



One of the uses of the console command is to have custom distances set per character. My default is 350 which I override to 500 for the main.
Edit the .....\steamapps\common\Wurm Unlimited\WurmLauncher\PlayerFiles\players\<char name>\autorun.txt and add the 
render_distance <distance> to it.

You can also set the config group by editing the autorun of it.
......\SteamLibrary\steamapps\common\Wurm Unlimited\WurmLauncher\PlayerFiles\configs\<config group\
autorun.txt
 

Edited by axeblade346

Share this post


Link to post
Share on other sites

 the kind of QoL changes the entire community deserves, thank you,

Share this post


Link to post
Share on other sites
On 9/9/2021 at 7:30 PM, kaidley said:

 the kind of QoL changes the entire community deserves, thank you,

 

You're welcome, glad you love the mod.

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