Skip to content

Commit 889a903

Browse files
authored
Merge pull request #5187 from SquidCoderIndustries/squid-docs-fix
Update Stonesense docs (see description)
2 parents 3ef9f09 + 5c2bcee commit 889a903

File tree

1 file changed

+18
-16
lines changed

1 file changed

+18
-16
lines changed

docs/plugins/stonesense.rst

Lines changed: 18 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,8 @@ Usage
1515
Open the visualiser in a new window.
1616

1717
The viewer window has read-only access to the game, and can follow the game view
18-
or be moved independently. Configuration for stonesense can be set in the
19-
``dfhack-config/stonesense/init.txt`` file in your DF game directory. If the window refresh
20-
rate is too low, change ``SEGMENTSIZE_Z`` to ``2`` in this file, and if you are
21-
unable to see the edges of the map with the overlay active, try decreasing the
22-
value for ``SEGMENTSIZE_XY`` -- normal values are ``50`` to ``80``, depending
23-
on your screen resolution.
18+
or be moved independently. Configuration for Stonesense can be set in the
19+
``dfhack-config/stonesense/init.txt`` file in your DF game directory.
2420

2521
.. figure:: ../images/stonesense-roadtruss.jpg
2622
:align: center
@@ -37,10 +33,9 @@ Mouse controls are hard-coded and cannot be changed.
3733
:Scrollwheel: Move up and down
3834
:Ctrl-Scroll: Increase/decrease Z depth shown
3935

40-
Follow mode makes the Stonesense view follow the location of the DF
41-
window. The offset can be adjusted by holding :kbd:`Ctrl` while using the
42-
keyboard window movement keys. When you turn on cursor follow mode, the
43-
Stonesense debug cursor will follow the DF cursor when the latter exists.
36+
Follow mode makes the Stonesense view follow the location and zoom level of the DF
37+
window. The offset can be adjusted by holding :kbd:`Alt` while using the
38+
keyboard window movement keys.
4439

4540
You can take screenshots with :kbd:`F5`, larger screenshots with
4641
:kbd:`Ctrl`:kbd:`F5`, and screenshot the whole map at full resolution with
@@ -57,14 +52,14 @@ views, fog, and rotation. Here's the important section:
5752
:end-before: VALID ACTIONS:
5853

5954

60-
Streaming stonesense on Windows
55+
Streaming Stonesense on Windows
6156
-------------------------------
62-
If you wish to stream stonesense thru a broadcasting software such as `OBS <https://obsproject.com/>`_
63-
then you may find that opening stonesense causes your main DF window to flicker
64-
between DF and stonesense. While it is unknown exactly what causes this, a fix
65-
does exist. Simply make sure that both DF and stonesense are using ``Window Capture``
57+
If you wish to stream Stonesense thru a broadcasting software such as `OBS <https://obsproject.com/>`_
58+
then you may find that opening Stonesense causes your main DF window to flicker
59+
between DF and Stonesense. While it is unknown exactly what causes this, a fix
60+
does exist. Simply make sure that both DF and Stonesense are using ``Window Capture``
6661
and NOT ``Game Capture``. This will stop the flickering from happening and enable
67-
you to stream stonesense for all to enjoy. This has been tested in OBS on Windows 10 but
62+
you to stream Stonesense for all to enjoy. This has been tested in OBS on Windows 10 but
6863
should work on Windows 11 and in `Streamlabs <https://streamlabs.com/>`_. Linux, having no
6964
``Game Capture`` option should be unaffected by this issue.
7065

@@ -75,6 +70,13 @@ If Stonesense gives an error saying that it can't load
7570
detail sprites used. Either open :file:`creatures/init.txt` and remove the
7671
line containing that folder, or :dffd:`use these smaller sprites <6096>`.
7772

73+
Sometimes if you have opened Stonesense and then resize the DF window, DF will appear to be
74+
unresponsive. This bug is graphical only and if you hit :kbd:`Ctrl`:kbd:`Alt`:kbd:`S` and wait
75+
a minute or so (since you can't see when the game finishes saving) the game should quicksave.
76+
77+
If you have Stonesense open in a fort and want to load a new fort, you MUST close Stonesense before
78+
loading the new fort or the game will crash.
79+
7880
Stonesense requires working graphics acceleration, and we recommend
7981
at least a dual core CPU to avoid slowing down your game of DF.
8082

0 commit comments

Comments
 (0)