v50 Steam/Premium information for editors
  • v50 information can now be added to pages in the main namespace. v0.47 information can still be found in the DF2014 namespace. See here for more details on the new versioning policy.
  • Use this page to report any issues related to the migration.
This notice may be cached—the current version can be found here.

Difference between revisions of "Utility:Stonesense"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
m
(various updates; reviewed for v50; changed uv to "multiple" from "2014")
 
Line 1: Line 1:
 
{{Quality|Superior|01:14, 29 September 2013 (UTC)}}
 
{{Quality|Superior|01:14, 29 September 2013 (UTC)}}
{{uv|DF2014}}
+
{{uv|multiple}}
 
{{Infobox utility
 
{{Infobox utility
 
| image = File:stonesense_screen.png
 
| image = File:stonesense_screen.png
 
| misc  =
 
| misc  =
 
* [http://www.bay12forums.com/smf/index.php?topic=106497 Bay12Forum Thread]  
 
* [http://www.bay12forums.com/smf/index.php?topic=106497 Bay12Forum Thread]  
* [https://docs.dfhack.org/en/stable/plugins/stonesense/docs/Stonesense.html Documentation]
+
* [https://docs.dfhack.org/en/latest/docs/tools/stonesense.html Documentation]
 
* [[Utility:Stonesense/Content_repository|Content Repository]]
 
* [[Utility:Stonesense/Content_repository|Content Repository]]
 
* [https://github.com/peterix/stonesense Github page]
 
* [https://github.com/peterix/stonesense Github page]
Line 16: Line 16:
 
==For Users==
 
==For Users==
  
Stonesense is distributed as part of [[Utility:DFHack|DFHack]], and included in the [[Utility:Lazy_Newb_Pack|Lazy Newb Pack]]. The standard function (dfhack "stonesense") opens a separate viewer window, which has read-only access to the game.  It can follow the game view, or be moved independently.
+
Stonesense is distributed as part of [[Utility:DFHack|DFHack]]. The command <code>stonesense</code> opens a separate viewer window, which has read-only access to the game.  It can follow the game view, or be moved independently.
  
As of June 2014, it is also possible to use Stonesense as a live overlay of the map in the main ''Dwarf Fortress'' window, replacing the usual 2D tiles. The DFHack command for this is "<code>stonesense overlay</code>", but print mode must not be set to "TWBT" for this to run.  For best results, edit [segmentsize_z:2] in init.txt, and if you are unable to see the edges of the map with the overlay active, try also decreasing or increasing the [segmentsize_XY] - normal values are 50 to 80 depending on screen resolution.
+
===Overlay===
 +
 
 +
In DF2014 up to v47.0, it was also possible to use Stonesense as a live overlay of the map in the main ''Dwarf Fortress'' window, replacing the usual 2D tiles. The DFHack command for this is <code>stonesense overlay</code>, but print mode must not be set to "TWBT" for this to run.  For best results, edit [segmentsize_z:2] in init.txt, and if you are unable to see the edges of the map with the overlay active, try also decreasing or increasing the [segmentsize_XY] - normal values are 50 to 80 depending on screen resolution. The overlay is not working in v50 Steam/Premium.
 +
 
 +
Stonsense was part of the [[Utility:Lazy_Newb_Pack|Lazy Newb Pack]].
 +
 
 +
===Controls===
 +
 
 +
These lists of key bindings are not exhaustive. The most up-to-date and complete list can be found at the [https://github.com/DFHack/stonesense/blob/master/resources/keybinds.txt Stonesense Github page]. The <code>keybindings.txt</code> file may also be edited to change or add additional keybindings to Stonesense. Mouse controls are hard-coded and cannot be changed.  
  
 
{| class="wikitable collapsible collapsed" style="width:700px;"
 
{| class="wikitable collapsible collapsed" style="width:700px;"
Line 96: Line 104:
 
| Toggle hotkey overlay
 
| Toggle hotkey overlay
 
|}
 
|}
These lists of key bindings are not exhaustive. The most up-to-date and complete list can be found at the [https://github.com/DFHack/stonesense/blob/master/resources/keybinds.txt Stonesense Github page]. The config file may also be edited to add additional keybindings to Stonesense.
 
  
 
==For modders and developers==
 
==For modders and developers==

Latest revision as of 18:24, 25 November 2024

This utility page applies to multiple versions of DF.
Stonesense
Stonesense screen.png
Information

Stonesense is a 3D visualizer utility for Dwarf Fortress, implemented as a DFHack plugin, that lets you view your Dwarf Fortress world in a classic isometric perspective.

There is an official thread for feedback, questions, requests or bug reports. There is also a thread dedicated to screenshots taken using Stonesense.

For Users[edit]

Stonesense is distributed as part of DFHack. The command stonesense opens a separate viewer window, which has read-only access to the game. It can follow the game view, or be moved independently.

Overlay[edit]

In DF2014 up to v47.0, it was also possible to use Stonesense as a live overlay of the map in the main Dwarf Fortress window, replacing the usual 2D tiles. The DFHack command for this is stonesense overlay, but print mode must not be set to "TWBT" for this to run. For best results, edit [segmentsize_z:2] in init.txt, and if you are unable to see the edges of the map with the overlay active, try also decreasing or increasing the [segmentsize_XY] - normal values are 50 to 80 depending on screen resolution. The overlay is not working in v50 Steam/Premium.

Stonsense was part of the Lazy Newb Pack.

Controls[edit]

These lists of key bindings are not exhaustive. The most up-to-date and complete list can be found at the Stonesense Github page. The keybindings.txt file may also be edited to change or add additional keybindings to Stonesense. Mouse controls are hard-coded and cannot be changed.

For modders and developers[edit]

  • If you just want to add existing content: The Stonesense Content Repository contains content packs that allow you to extend Stonesense functionality. These packs are made by members of the DF community.
  • If you want to create your own content: You can learn how to create custom content for Stonesense at Utility:Stonesense/Adding_Content
  • If you want to tweak Stonesense's source code : Stonesense is one of the many DFHack plugins. It comes with DFHack's source code, and if you manage to compile DFHack, then you've managed to compile Stonesense.

Credits[edit]

  • Stonesense was written by Jonask, peterix, kaypy and Japa.
  • Lead graphic development was done by Solifuge.
  • Dfhack library was written by peterix.
  • Additional Graphics and code were contributed by many many people, including (in alphabetical order):
    • 7¢ Nickel, BatCountry, Belal, DeKaFu, Dante, Deon, dyze, Errol, fifth angel, frumpton, IDreamOfGiniCoeff, Impaler, Japa, jarathor, Jiri Petru, Lord Nightmare, McMe, Mike Mayday, Nexii Malthus, peterix, Seuss, soup, Talvara, winner, Xandrin.

(This list is not rigorously updated)

Gallery[edit]