preload button hover image:
HomeSearchRankingsStatisticsAboutContact
Current Time: Sep 17, 2025, 12:00:37 pm
 Dwarf Fortress File Depot » Utilities » C++ Plugin Sideloader
      
Registration is not required to download. However, it will allow you to vote, comment, and upload. Forgot your password?
File Listing: C++ Plugin Sideloader
Last Updated: Sep 16, 2025, 01:06:00 pm
File version: 1
For DF version: 52.04
Downloads: 1 Size: 418.3 KB
Views: 40 Type: ZIP
Home:  Github page
Rating (0 votes): Unrated
Description
C++ Plugin Sideloader

How to use
The mod add 2 DFhack scripts out of the box. Install and uninstall
To install the C++ located in plugins folder in the mod directory just run the install script
Uninstalling you can figure out.
The plugin just shows a announcement and source code is available
The mod serves as a template or proof of concept for modders
This mod allows easy deployment of C++ plugins as mods.
This mod also serves as a template for those who want to load their C++ plugins into dwarf fortress without having to go folder spelunking and for those looking to expand their modding arsenal opening a whole area of modding.

Regular DFhack lua scripts use only C++ wrappers and therefore limited in their capabilites. If you could directly access the C++ functions you would have much more control modding. DFhack is a memory hacking tool so it is limited in its nature but still open for a great deal of tomfoolery


This mod contains:

- install_plugin(mod) and uninstall_plugin(mod) DFhack scripts
- shmurda.plug.dll/.so plugin (currently only .dll)
- smurda.plug.dll source code

Current state
There are alot of things i wanna implement but the script works well for those who are already playing with c++ modding.

Cross-compiled example plugins for linux, Some sort of file verification to not accidentally delete other plugins
As of now there is a plug.so but its just a empty file used for testing and proof of concept.

I made this when i was writing a mud drying feature for my other mod because i got fedup with folders constantly open. But i think this mod could serve modders in distribution and ease of use for their mods, even better, no more folders open :D

I also uploaded the mod to github
https://github.com/based8/c-_plugin_sideloader

DFhack naturally required
Raw Data: JSON / Text
Checksum / Hash
SHA-256: 84e7af0d0fbf6192318a2434573f3a348c906f6f69fd287b838c5f0e50846ecc
IP: logged
Commands
More From This Author
Comments
No comments have been posted for this file yet.
HomeSearchRankingsStatisticsAboutContact

Website by Brett Flannigan. The core site script is PHCDownload (© 2005-2025).
Hosted by Linode.