Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1] 2

Author Topic: Dwarf Fortress 0.22.123.23a Released  (Read 6419 times)

Toady One

  • The Great
    • View Profile
    • http://www.bay12games.com
Dwarf Fortress 0.22.123.23a Released
« on: December 21, 2006, 07:47:00 pm »

Download (Click refresh on your browser if it doesn't show up)

Changes

A bug fix release along with a test-change for the FPS toggling.  There was something of a problem with how it was capping the frame rate -- of course, every time I touch this part of the code, some other problem crops up.  Anyway, the CPU usage rates should go up now as it attempts to attain the ideal FPS.  If you want to cap this in some way, let me know, and it should be fairly easy to lower the maximum frame rate in the init.  I'm not sure how I could cap the actual amount it wants to use though.

Logged
The Toad, a Natural Resource:  Preserve yours today!

Kjoery

  • Bay Watcher
    • View Profile
Re: Dwarf Fortress 0.22.123.23a Released
« Reply #1 on: December 21, 2006, 09:25:00 pm »

Yeah, I've been playing around with the FPS and have been noticing that. Thanks alot; the 28 FPS was starting to bug me >.>

[ December 21, 2006: Message edited by: Kjoery ]

Logged

flap

  • Bay Watcher
    • View Profile
Re: Dwarf Fortress 0.22.123.23a Released
« Reply #2 on: December 22, 2006, 03:54:00 am »

Thanks Toady !

Well, I hope that you'll enjoy your few days of rest in Washington.

And don't forget : DF is good, but Turkey is not bad either !!

Youhou, christmass, food, wine... Yummy

Logged

Toady One

  • The Great
    • View Profile
    • http://www.bay12games.com
Re: Dwarf Fortress 0.22.123.23a Released
« Reply #3 on: December 23, 2006, 04:44:00 am »

You mean lutefisk right?  Lutefisk day is tomorrow.  Fish jello.  I'm not going to eat it but being near it is enough.

FPS and speed reports?  Did this work out at all?  Strange new speed issues?

Logged
The Toad, a Natural Resource:  Preserve yours today!

ussdefiant

  • Bay Watcher
    • View Profile
Re: Dwarf Fortress 0.22.123.23a Released
« Reply #4 on: December 23, 2006, 02:17:00 pm »

it tends to get really speedy near the start of the game, at least until the 1st migration. After that, the speed is quite good.
Logged

FFT

  • Bay Watcher
  • stringless elsewhere -- don't click on old links
    • View Profile
    • audio
Re: Dwarf Fortress 0.22.123.23a Released
« Reply #5 on: December 23, 2006, 04:51:00 pm »

I don't know that it needs a maximum FPS to attain, but a limiter in the init would be convenient. With my LCD it's a wasted effort to go past 60 fps  ;)
Logged

Maximus

  • Bay Watcher
    • View Profile
Re: Dwarf Fortress 0.22.123.23a Released
« Reply #6 on: December 23, 2006, 07:04:00 pm »

I'm not positive, but I believe these "FPS" are not display frames, but in-game time frames.  In which case, DF at 120 FPS is going to run twice as fast as at 60.  How often it updates the screen is pretty irrelevant above, say, 10 FPS; it's not a shooter.
Logged

scjohnno

  • Bay Watcher
    • View Profile
Re: Dwarf Fortress 0.22.123.23a Released
« Reply #7 on: December 24, 2006, 12:53:00 pm »

I drop from my normal 50 FPS to around 20 when irrigating a farm via Underground River -> Floodgate -> Channel -> Floodgate. I'm guessing the fluids code still isn't fully optimised.
Logged

Toady One

  • The Great
    • View Profile
    • http://www.bay12games.com
Re: Dwarf Fortress 0.22.123.23a Released
« Reply #8 on: December 24, 2006, 03:57:00 pm »

It's the pathfinding code for that -- the fluids disrupt a lot of the precalculated path-finding information and it is marked as stale, so if dwarves form paths while the fluids are flowing, there's a bit of info that needs to be recalculated.  There's probably a bit more that can be done there, but it's far superior doing it this way than not calculating the information in advance.  The info is in part the numbering of the connected components of the map.  It already does a bit with not making the information stale when it can be tweaked locally, but this isn't something you can always count on.  There might be some intermediate local flood fills it could do to check if the information needs to be trashed globally, but I'm not in a rush to optimize this since everything about fluids is due to undergo large changes at some point to fix the flow bugs.
Logged
The Toad, a Natural Resource:  Preserve yours today!

Griz

  • Bay Watcher
    • View Profile
Re: Dwarf Fortress 0.22.123.23a Released
« Reply #9 on: December 26, 2006, 11:50:00 pm »

quote:
Originally posted by Maximus:
<STRONG>I'm not positive, but I believe these "FPS" are not display frames, but in-game time frames.  In which case, DF at 120 FPS is going to run twice as fast as at 60.  How often it updates the screen is pretty irrelevant above, say, 10 FPS; it's not a shooter.</STRONG>

I turned off vsync, it went from 60 to 100 fps, and everything is really fast now.

Logged

Zanfib

  • Bay Watcher
    • View Profile
Re: Dwarf Fortress 0.22.123.23a Released
« Reply #10 on: December 27, 2006, 08:35:00 am »

Vsync? What is that and how do I turn it off?
Logged

Griz

  • Bay Watcher
    • View Profile
Re: Dwarf Fortress 0.22.123.23a Released
« Reply #11 on: December 27, 2006, 08:44:00 pm »

video card control panel, if you don't know where it is then it's probably on the default setting of off.
Logged

DR

  • Bay Watcher
    • View Profile
Re: Dwarf Fortress 0.22.123.23a Released
« Reply #12 on: December 28, 2006, 09:26:00 am »

Cor, you weren't kidding about the increase... the game now goes blisteringly fast for me. A way to slow it down again would be much appreciated.
Logged

Toady One

  • The Great
    • View Profile
    • http://www.bay12games.com
Re: Dwarf Fortress 0.22.123.23a Released
« Reply #13 on: December 28, 2006, 03:04:00 pm »

There's that other thread as well -- how fast is this?  Faster than 100 FPS with the counter?

[ December 28, 2006: Message edited by: Toady One ]

Logged
The Toad, a Natural Resource:  Preserve yours today!

DR

  • Bay Watcher
    • View Profile
Re: Dwarf Fortress 0.22.123.23a Released
« Reply #14 on: December 28, 2006, 04:28:00 pm »

quote:
Originally posted by Toady One:
<STRONG>There's that other thread as well -- how fast is this?  Faster than 100 FPS with the counter?

[ December 28, 2006: Message edited by: Toady One ]</STRONG>


Hovering just below 100. More in the 94-97 range.

Logged
Pages: [1] 2