GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - DFHack/df-structures: Dwarf Fortress data structure descriptions

BranchesTags
Open more actions menu

Latest commit

 

History

5,469 Commits
5,469 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
tools
tools
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
.pre-commit-config.yaml
.pre-commit-config.yaml
 
 
Bitfield.pm
Bitfield.pm
 
 
CMakeLists.txt
CMakeLists.txt
 
 
Common.pm
Common.pm
 
 
Enum.pm
Enum.pm
 
 
README.md
README.md
 
 
SYNTAX.rst
SYNTAX.rst
 
 
StructFields.pm
StructFields.pm
 
 
StructType.pm
StructType.pm
 
 
changelog.txt
changelog.txt
 
 
codegen.pl
codegen.pl
 
 
data-definition.xsd
data-definition.xsd
 
 
defs.xml-empty
defs.xml-empty
 
 
df.abstract_building.xml
df.abstract_building.xml
 
 
df.activity.xml
df.activity.xml
 
 
df.activity_meeting.xml
df.activity_meeting.xml
 
 
df.adventure.xml
df.adventure.xml
 
 
df.adventure_log.xml
df.adventure_log.xml
 
 
df.agreement.xml
df.agreement.xml
 
 
df.alert_state.xml
df.alert_state.xml
 
 
df.announcement.xml
df.announcement.xml
 
 
df.army.xml
df.army.xml
 
 
df.army_controller.xml
df.army_controller.xml
 
 
df.army_tracking_info.xml
df.army_tracking_info.xml
 
 
df.art_image.xml
df.art_image.xml
 
 
df.battlefield.xml
df.battlefield.xml
 
 
df.belief_system.xml
df.belief_system.xml
 
 
df.block.xml
df.block.xml
 
 
df.breed.xml
df.breed.xml
 
 
df.building.xml
df.building.xml
 
 
df.building_def.xml
df.building_def.xml
 
 
df.building_use_controller.xml
df.building_use_controller.xml
 
 
df.burrow.xml
df.burrow.xml
 
 
df.civagreement.xml
df.civagreement.xml
 
 
df.coinbatch.xml
df.coinbatch.xml
 
 
df.contaminant.xml
df.contaminant.xml
 
 
df.creation_zone.xml
df.creation_zone.xml
 
 
df.creature.xml
df.creature.xml
 
 
df.creaturebody.xml
df.creaturebody.xml
 
 
df.crime.xml
df.crime.xml
 
 
df.cultural_identity.xml
df.cultural_identity.xml
 
 
df.d_basics.xml
df.d_basics.xml
 
 
df.d_init.xml
df.d_init.xml
 
 
df.d_interface.xml
df.d_interface.xml
 
 
df.dance_form.xml
df.dance_form.xml
 
 
df.datafile.xml
df.datafile.xml
 
 
df.descriptor.xml
df.descriptor.xml
 
 
df.dfaudio.xml
df.dfaudio.xml
 
 
df.dfhack.xml
df.dfhack.xml
 
 
df.diplomacy.xml
df.diplomacy.xml
 
 
df.dipscript.xml
df.dipscript.xml
 
 
df.divination_set.xml
df.divination_set.xml
 
 
df.effect.xml
df.effect.xml
 
 
df.entity.xml
df.entity.xml
 
 
df.event.xml
df.event.xml
 
 
df.feature.xml
df.feature.xml
 
 
df.flow.xml
df.flow.xml
 
 
df.formation.xml
df.formation.xml
 
 
df.functions.xml
df.functions.xml
 
 
df.g_src.KeybindingScreen.xml
df.g_src.KeybindingScreen.xml
 
 
df.g_src.ViewBase.xml
df.g_src.ViewBase.xml
 
 
df.g_src.basics.xml
df.g_src.basics.xml
 
 
df.g_src.command_line.xml
df.g_src.command_line.xml
 
 
df.g_src.enabler.xml
df.g_src.enabler.xml
 
 
df.g_src.files.xml
df.g_src.files.xml
 
 
df.g_src.graphics.xml
df.g_src.graphics.xml
 
 
df.g_src.init.xml
df.g_src.init.xml
 
 
df.g_src.interface.xml
df.g_src.interface.xml
 
 
df.g_src.keybindings.xml
df.g_src.keybindings.xml
 
 
df.g_src.music_and_sound_g.xml
df.g_src.music_and_sound_g.xml
 
 
df.g_src.platform.xml
df.g_src.platform.xml
 
 
df.g_src.renderer_2d.xml
df.g_src.renderer_2d.xml
 
 
df.g_src.texture_handler.xml
df.g_src.texture_handler.xml
 
 
df.game_g.xml
df.game_g.xml
 
 
df.game_v.xml
df.game_v.xml
 
 
df.gene_pool.xml
df.gene_pool.xml
 
 
df.graphics_mainview.xml
df.graphics_mainview.xml
 
 
df.hauling.xml
df.hauling.xml
 
 
df.history.xml
df.history.xml
 
 
df.history_collection.xml
df.history_collection.xml
 
 
df.history_event.xml
df.history_event.xml
 
 
df.history_figure.xml
df.history_figure.xml
 
 
df.identity.xml
df.identity.xml
 
 
df.image_set.xml
df.image_set.xml
 
 
df.incident.xml
df.incident.xml
 
 
df.interaction.xml
df.interaction.xml
 
 
df.interaction_instance.xml
df.interaction_instance.xml
 
 
df.item.xml
df.item.xml
 
 
df.itemdef.xml
df.itemdef.xml
 
 
df.job.xml
df.job.xml
 
 
df.knowledge.xml
df.knowledge.xml
 
 
df.language.xml
df.language.xml
 
 
df.law.xml
df.law.xml
 
 
df.machine.xml
df.machine.xml
 
 
df.mandate.xml
df.mandate.xml
 
 
df.markup_text_box.xml
df.markup_text_box.xml
 
 

Repository files navigation

DF-structures

Build Status

DF-structures is the core information on which DFHack depends.

For information on how to understand this format, see ./SYNTAX.rst. For how to update for a new version of DF, see new-release-processing.rst

Originally dfhack used a file called Memory.xml to describe data structures of the game. It explicitly listed addresses of known global variables, and offsets within structures to fields, not unlike the ini files used by Dwarf Therapist.

However, as the number of known fields and objects grow, maintaining the explicit offset lists quickly becomes difficult, error prone, and inefficient.

This format instead represents data structure layout purely via listing all fields in the correct order, exactly like a structure definition does in the C++ language itself. There is still a file with numeric data, but it only contains absolute addresses of global objects.

About

Dwarf Fortress data structure descriptions

github.com/DFHack/dfhack

Topics

dfhackdwarf-fortress

Resources

Readme
Activity
Custom properties

Stars

138 stars

Watchers

16 watching

Forks

87 forks
Report repository

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.