Tedious Travel 0.4.1 (2019-06-08)

A curated forum for approved mods. Users are unable to create new topics in this forum but can reply to existing topics. Please message a moderator to have your mod moved into this forum area.
CasualClark
Posts: 6
Joined: Fri Jan 18, 2019 3:27 pm

Re: Tedious Travel 0.2.2

Post by CasualClark » Wed Jan 23, 2019 3:41 pm

Just another thank you for this wonderful mod. With all of the other great changes to DF with Unity and the many mods available, and the nostalgia of playing this game again, one of my all time favorites, and actually discovering far more of the game with your mod than I ever did before, I'm more hooked on this game than ever before.

Funny how this mod, which might otherwise be 'tedious', is in fact the only way I can play DF now. It forces me to plan in advance where to plant my anchor for teleporting, and not to accept every quest since most have a window of time to complete them. Makes the game far more immersive for me.

Keep up the great work!

User avatar
Hazelnut
Posts: 1388
Joined: Sat Aug 26, 2017 2:46 pm
Contact:

Re: Tedious Travel 0.2.2

Post by Hazelnut » Sat Jan 26, 2019 12:31 am

jedidia wrote:
Tue Jan 22, 2019 10:08 am
but that assumes it was chosen due to technical performance limitation reasons so I thought I should ask.
It was, though somewhat arbitrarily.
The problem is that at some point, you start outrunning terrain generation and fall of the map. 25 was chosen because it seemed a reasonable maximum value where this didn't yet happen on lower mid-range hardware in a good days travel, though without mods. With the KoW overhaul, I actually started to fall of the map way sooner.
Also, the higher the compression, the more it exacerbates the problems with "false encounters" (an enemy *was* nearby, and travelling stopped, but you already outran him and he was nowhere to be seen) and overshooting destinations. All things that are depending on performance, of course.
Hi Jedidia, I decided to up the limit tonight and see if the recent optimisations allow for a higher upper limit. I found that there was a major performance issue in the mod and couldn't get above 40-50x so I took a look with the profiler. Every single frame was doing large numbers of fixed updates that cripples performance. Basically when you change the unity timeScale you should also change the fixedDeltaTime accordingly. It defaults to 0.02 of timeScale (50/sec) and if you change timeScale to 10 then it's doing 500/sec fixed updates.

Once I fixed that, and tested some more. My optimisations remove much of the stutter when crossing into new map pixels and I found that on my PC (R5 1600, RX580) with a speed 100 char on a horse I could travel at 150x no problem. I covered about a third of Daggerfall province. At 160x it got behind if loading a large location and I fell off the world. So I think that a sensible upper limit is 100x although that may not be possible on low spec computers, it should be fine for DFU min requirement and above. Maybe this could become a setting?

Anyway I've submitted a PR with these changes to your Tedious Travel mod github repo. Also cleared destination when loading or starting a game, I assume that was a bug. I seem to recall you were wondering how to span text across multiple lines on message boxes so I change a couple to use the DaggerfallUI helper shortcuts to give you an example. You can also see many examples in the inventory window class or the quest journal window class.

Let me know if you have any questions.

jedidia
Posts: 129
Joined: Sat Sep 15, 2018 9:49 am

Re: Tedious Travel 0.2.2

Post by jedidia » Mon Jan 28, 2019 9:03 am

Wow, thanks! I hope I'll get around to taking a look at it this week.

I wasn't aware DFUnity used a fixed timestep. Had I known that I would indeed have had that idea myself, but I just assumed that it was using a varying timestep as I couldn't see anything that would require fixed timestep precision. No wonder it was running so slow... :)

User avatar
Hazelnut
Posts: 1388
Joined: Sat Aug 26, 2017 2:46 pm
Contact:

Re: Tedious Travel 0.2.2

Post by Hazelnut » Mon Jan 28, 2019 9:36 am

I wasn't specifically aware of this either. :) But a lot of the entity udpates use it - I imagine so they're constant and never get affected by framerate changes.

jedidia
Posts: 129
Joined: Sat Sep 15, 2018 9:49 am

Re: Tedious Travel 0.3.0

Post by jedidia » Thu Jan 31, 2019 8:40 pm

Here we are, the "need for speed" update, all credits to Hazelnut. I didn't need to do more than merge the pull request, build, run a few quick tests, and push a new release. Thanks a lot, man!

With this drastic performance improvement, the mod now integrates into the game better than I ever thought possible. It's quite a seamless experience!

User avatar
Midknightprince
Posts: 1082
Joined: Fri Aug 11, 2017 6:51 am
Location: San Antonio TX
Contact:

Re: Tedious Travel 0.3.0

Post by Midknightprince » Sun Feb 03, 2019 5:46 pm

This is still working for me with the current Dev build, good stuff, and it does run better I'm seeing it, I can go up to like 20 now..
Check out my YouTube Channel!

User avatar
Hazelnut
Posts: 1388
Joined: Sat Aug 26, 2017 2:46 pm
Contact:

Re: Tedious Travel 0.3.0

Post by Hazelnut » Sun Feb 03, 2019 6:09 pm

Yep there's no incompatibility issues. Should be able to get up higher once the parallel terrain gen comes online, but it mostly just reduces the stutters when moving to a new map pixel so if your FPS is getting low it wont fix that.

User avatar
Midknightprince
Posts: 1082
Joined: Fri Aug 11, 2017 6:51 am
Location: San Antonio TX
Contact:

Re: Tedious Travel 0.3.0

Post by Midknightprince » Mon Feb 11, 2019 2:40 am

This mod doesn't work with the map image they redid here viewtopic.php?p=21034#top

It works without the mod on so I guess it's the ports thing that's in it.
TRAV0I000.IMG.png in the folder.
I think they just turned that on, and I was checking it out..
Check out my YouTube Channel!

jedidia
Posts: 129
Joined: Sat Sep 15, 2018 9:49 am

Re: Tedious Travel 0.3.0

Post by jedidia » Mon Feb 11, 2019 8:34 am

Huh, that seems strange... The map loads the same resource as the default map, so if that resource is replaced, I don't quite see why it wouldn't work. Will have to take a look at it.

Narf the Mouse
Posts: 757
Joined: Mon Nov 30, 2015 6:32 pm

Re: Tedious Travel 0.3.0

Post by Narf the Mouse » Tue Feb 12, 2019 11:54 pm

I'm not sure where to put this, but I found a dungeon (The Citadel of Yoemcraft) while tedious travelling, and it's not marked on my map.
Previous experience tells me it's very easy to misunderstand the tone, intent, or meaning of what I've posted. If you have questions, ask.

Post Reply