Bay 12 Games Forum

Please login or register.

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

Author Topic: HSF Testrun  (Read 2057 times)

PatrikLundell

  • Bay Watcher
    • View Profile
Re: HSF Testrun
« Reply #15 on: November 30, 2018, 11:20:02 am »

@Robsoie: Toady has commented upon speed running time several times. He's not averse to doing it and thinks it would be useful, but it's a hard problem, so it's not high on the priority list. The reason it's hard is that world gen runs abstracted events with limited amounts of information, but once the world starts, the box is unpacked and things are running "normally". Putting everything back into the abstract box isn't really doable, as that would mean discarding a lot of information that's been generated, and it would then not exist when resuming again.
It has been reported (MaxTM?) that it's possible to hack DF into making the two week embark time longer, which means it should be possible to advance time at a higher rate than in a fortress, but at a considerably slower rate than in worldgen through some hacking. However, you'd probably have to run DF in such a mode for real time days to cover longer distances.

Edit: Extending the pre embark duration is actually fairly easy using DFHack:
- type "gui/gm-editor df.global.gview.view.child" into the DFHack console without hitting return, to prepare the command.
- Read the next step before performing this one, as the next step has to be performed within a limited time window. Then: Go back to DF and select Start Playing, select a save, select Dwarf Fortress
- This is the tricky step: While DF has loaded the world and is passing time (the regular 14 days), go back to the DFHack console and hit <ENTER> to activate the command.
- Go back to the DF window that now shows viewscreen_update_regionst information.
- Step down to year and change to the desired year
- Step down to the year_tick to change the desired tick
- <ESC> out of gui/gm-editor to see the game continue to tick up the time past the original 14 days onward to your target year/date (I tested by increasing the year by one and doubling the tick (from two weeks into the year to 1 month) and saw the ticking go on to the date set, which took a while, since each day took about a second). Embarking displayed the desired year/time.
« Last Edit: December 01, 2018, 06:04:13 am by PatrikLundell »
Logged
Pages: 1 [2]