- 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.
Difference between revisions of "User:Quietust"
m (→Bugfixes: simplify patch) |
m (→Bugfixes) |
||
Line 120: | Line 120: | ||
** 0x226894 : E8 87 6F FC FF -> E9 06 7E 12 00 | ** 0x226894 : E8 87 6F FC FF -> E9 06 7E 12 00 | ||
** 0x34E69F : 8B 4C 24 18 51 89 D9 E8 B5 7E EB FF E8 70 F1 E9 FF E9 E4 81 ED FF | ** 0x34E69F : 8B 4C 24 18 51 89 D9 E8 B5 7E EB FF E8 70 F1 E9 FF E9 E4 81 ED FF | ||
+ | * [BIOME_ANY_TROPICAL] puts trees in temperate swamps and marshes instead of tropical ones | ||
+ | ** 0x218D26 : 06 -> 0A | ||
+ | ** 0x218D64 : 07 -> 0B | ||
+ | ** 0x218DD9 : 08 -> 0D | ||
+ | ** 0x218E19 : 09 -> 0E | ||
=====Improvements===== | =====Improvements===== |
Revision as of 14:52, 27 March 2014
About
He's just this guy, you know?
Wiki Modifications
Namespace Links
This wiki currently makes use of a MediaWiki patch which automatically directs links from particular namespaces to other specific namespaces unless indicated otherwise - in this case, links in the "DF2012" and "DF2012 Talk" namespaces automatically point to "DF2012", "v0.31" and "v0.31 Talk" point to "v0.31", "40d" and "40d Talk" point to "40d", and "23a" and "23a Talk" point to "23a".
DFRawFunctions
DFRawFunctions is a MediaWiki extension designed for parsing Dwarf Fortress raws. Sources and documentation can be found here.
Fortresses
v0.28.181.40d
- Urdimzatam, Towerclouted - First successful fortress; no real megaprojects to speak of.
- Tathtakunib, Wasprag - First megaproject as monument (23 Z-level clear glass pyramid filled with magma), tower-cap farm, giant cave spider silk farm, automatic obsidian factory implementation (see below).
- Naniratîs, Rhymestakes - First megaproject as actual fortress (47x47x16 cast obsidian tower), complete with self-destruct button.
v0.23.130.23a
- Rigothral, Craftsilvers - First retro-fortress, included a magma flooding device.
- Ceroltishak, Lenstyphoon - Second retro-fortress, used raws with all 40d creatures and plants imported.
v0.31
- Ashmônèrith, Shadelabors - First fortress in version 0.31.
- Sobìrilral, Releasetreaty - Second fortress in version 0.31. Used a spiral ramp for access until it turned out to be significantly slower than just using stairs.
Wiki
- Mostly casual editor, updating article content as well as fixing formatting
- Owner of the bot QuietBot - if you need to run a series of repetitive but predictable tasks, post a message here.
Projects
Dwarf Fortress 0.23.130.23a
Version 0.23.130.23a was quite different from the game as it exists today - it lacked many of the features present in the game today, but it had numerous gameplay elements that have since been discarded.
Dwarf Manipulator
Just like Dwarf Therapist, but using a text-based interface (based on Valdemar's prototype). The only other tool available, Dwarf Foreman, was incapable of assigning labors for individual dwarves unless you gave each dwarf its own custom profession. Download here. Also implemented as a DFHack plugin for versions 0.34.11, 0.28.181.40d, and 0.23.130.23a.
2D Forbidder
A tool which allows manually forbidding/reclaiming, chasming, or melting the currently viewed item, almost just like in the 3D version. Download here. Also partially available as a DFHack-23a plugin (though without the ability to Forbid) for availability directly in-game.
2D Autoforbid
A tool which automatically forbids items carried in the inventories of foreign units. Download here.
EXE Patches
A few hex-edits to the game's executable to alter its behavior in beneficial ways and/or fix bugs:
Bugfixes
- Artifact holders never drop/hide their artifacts
- 0x14079B : 8A -> 8B
- 0x1407A1 : B0 FE C2 04 00 90 90 90 -> B8 FE FF FF FF C2 04 00
- 0x0B5430 : B0 FE C2 04 00 90 90 90 -> B8 FE FF FF FF C2 04 00
- 0x1E8015 : 0F BE C0 -> 90 90 90
- Sheriff doesn't get unhappy thoughts from insufficient jails Bug:5844
- 0x2344E2 : 74 -> 75
- Mayor and Sheriff don't get unhappy thoughts from insufficient fortress guards Bug:5844
- 0x23448B : 74 -> 75
- Baron doesn't get unhappy thoughts from insufficient royal guards Bug:5844
- 0x234425 : 84 -> 85
- Nobles don't get thoughts about tomb quality Bug:5843
- 0x2BCEF3 : 8B 54 24 3C 8B F0 -> 90 E9 61 17 09 00
- 0x34E65A : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 -> 8B 94 24 70 01 00 00 89 C6 E9 91 E8 F6 FF
- Waterfall Z-coordinates are uninitialized, may not generate mist properly. Must generate new fortress for this to take effect.
- 0x28A90E : 66 -> 90
- [000107] Dwarves wandering near magma furnaces stop on magma flow tiles and get stuck (a.k.a. "Sankis has suddenly decided to try and drink out of the lava river"). Must rebuild furnaces for fix to take effect.
- 0x016EF0 : A5 6E 41 -> 68 E6 74
- 0x34E668 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 -> 83 7C 24 18 01 0F 85 A0 85 CC FF 8B 44 24 1C 85 C0 0F 85 94 85 CC FF E9 30 88 CC FF
- [000098] Improved items cannot be used for general jobs
- 0x0F6C04 : D7 05 -> 00 00
- 0x0F74DC : AB 03 -> 00 00
- 0x107C03 : D3 02 -> 00 00
- 0x108231 : D0 02 -> 00 00
- 0x1087B7 : 17 04 -> 00 00
- 0x108EA3 : FD 03 -> 00 00
- Trap components ignore MATERIAL_SIZE for construction, instead always using 2 bars
- 0x0F82C0 : 22 23 -> 05 05
- 0x0F835B : 09 -> 00
- 0x0F8423 : 0D -> 0A
- [000082, 000093, 000285] Builders get stuck when constructing statues, windows, and wells
- 0x0F64D7 : 12 0F 84 52 01 -> 0F 0F 8C 12 00
- 0x0F64EB : 84 -> 8E
- 0x0F7E9F : 12 0F 84 41 01 -> 0F 0F 8C 12 00
- 0x0F7EB3 : 84 -> 8E
- [000901] All artifact gauntlets are right-handed
- 0x12DD09 : 01 -> 00
- Vermin fish in aquariums/ponds cancel updates of remaining vermin Bug:6116
- 0x169D12 : DD -> D6
- 0x169D29 : C6 -> BF
- Vermin can only escape from artifact containers Bug:6117
- 0x169B1B : 84 -> 85
- Pregnant dwarves have miscarriages when Hungry instead of when Starving or Dehydrated
- 0x2BD3CF : 81 F9 50 C3 00 -> 90 E9 AF 12 09
- 0x34E684 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 -> 8B 8D 8C 03 00 00 81 F9 50 C3 00 00 E9 40 ED F6 FF
- Giant cave spider web Z-coordinates are uninitialized, may not appear properly. Must encounter new spiders for this to take effect.
- 0x249EDD : BB 10 00 00 00 -> 66 89 6B 20 90
- 0x249EE5 : 94 01 00 -> AC 47 10
- 0x34E695 : 00 00 00 00 00 00 00 00 00 00 -> BB 10 00 00 00 E9 DE B9 EF FF
- Effects attached to jobs do not save correctly (in practice, never happens, since effects never get attached to jobs in this version)
- 0x0B6ED1 : 56 -> 76
- 0x0B6ED5 : 52 -> 56
- 0x0B6EE0 : 46 04 -> 06 90
- Art images of creatures are not valued properly by civilizations Bug:6440
- 0x1F3FBA : 43 -> 41
- Game crashes at beginning of season if the Mayor has received more than 6 Guild requests Bug:6449
- 0x2CB95A : 82 -> 81
- Savage river fish are never selected for region populations
- 0x2F74F6 : 45 -> 22
- 0x2F7517 : 75 -> EB
- Armorsmith strange moods incorrectly produce helmets using SHOES item type
- 0x171ED7 : 0F 95 C0 84 C0 -> BD 1D 00 00 00
- Low-intensity noises override louder ones when sleeping
- 0x220839 : 81 -> 89
- 0x22083F : 09 78 20 8B 15 EC B3 AC 00 8B 04 B2 8B 80 98 02 00 -> 8B 51 20 66 81 E2 80 01 66 81 FA 80 01 74 0E 8D 40
- 0x220853 : 60 -> 61
- 0x220857 : A1 EC B3 AC 00 -> 66 09 79 20 90
- 0x220876 : 09 68 20 A1 EC B3 AC 00 8B 0C B0 8B 81 -> F7 40 20 80 01 75 10 66 09 68 20 8B 82
- Demands expire too soon
- 0x2B45A1 : 8B 4C 24 34 66 8B 54 -> 31 C0 89 42 0C 8B 4C
- 0x2B45AC : 51 -> 4A
- Weapons stores in Human towns use armor materials
- 0x096EFF - 0E -> 0B
- Metal chests cannot be melted Bug:2493
- 0x226817 : E8 44 FD FD FF -> 89 74 24 18 5E
- 0x226894 : E8 87 6F FC FF -> E9 06 7E 12 00
- 0x34E69F : 8B 4C 24 18 51 89 D9 E8 B5 7E EB FF E8 70 F1 E9 FF E9 E4 81 ED FF
- [BIOME_ANY_TROPICAL] puts trees in temperate swamps and marshes instead of tropical ones
- 0x218D26 : 06 -> 0A
- 0x218D64 : 07 -> 0B
- 0x218DD9 : 08 -> 0D
- 0x218E19 : 09 -> 0E
Improvements
- Disable usage of small-block heap to improve performance - REQUIRED for DFHack
- 0x3A3B04 : F8 03 -> 00 00
- Force serialized heap access - REQUIRED for DFHack
- 0x31E74F : 94 -> 95
- Don't over-allocate memory blocks
- 0x31C306 : 0F -> 00
- 0x31C309 : F0 -> FF
- Partially disable save file encryption (reduces disk usage)
- 0x10CFA9 : E8 A2 52 17 00 68 FF FF FF 7F E8 18 52 17 00 -> 68 C4 09 00 00 6A 00 51 E8 5A 5C 21 00 31 C0
- 0x10CFBB : 14 -> 1C
- 0x10CFC2 : B8 -> C0
- 0x10CFD8 : 10 -> 18
- Display detailed history info in Fortress Mode for floor/wall engravings
- 0x0A209E : 00 -> 01
- Display detailed history info in Fortress Mode for item descriptions.
- 0x17ABED : 0F 94 C1 51 -> 90 90 6A 01
- Raise artifact limit from 18 to 37.
- 0x12AA87 : 03 -> 02 (change to 01 for up to 75 artifacts)
- Increase mining success rate for gems and coal - 100% for Legendary miners.
- 0x22B3D7 : 02 -> 01
- Disable "Too Deep" ending from mining raw adamantine.
- 0x2332D7 : 0F 8E -> 90 E9
- Force nervous artifact holders to always drop their artifacts instead of hiding them or becoming obssessed with them. Requires the corresponding bugfix above.
- 0x0A721F : 0F 84 B1 03 -> 90 E9 22 02
- Cause artifact holders to immediately get nervous, rather than waiting a while - may lead to hilarity if the artifact's creator decides to haul it somewhere. Requires the corresponding bugfix above.
- 0x0A70F6 : 35 07 -> 00 00
- Increase subterranean animal diversity during embark. May result in some types of subterranean creatures being more common than otherwise (due to having duplicate entries).
- 0x287CE1 : 05 07 00 66 A3 FA 03 A9 -> A3 FC 03 A9 00 66 05 07
- 0x287CEB : 8B 4E 10 66 89 0D FC 03 A9 -> A3 FA 03 A9 00 BB 01 00 00
- 0x287D8A : 55 -> 53
Pending improvements:
- 0x65188B - trade, mill products stack size
- 0x651A6F - trade, extract stack size
- 0x637B25 - Human caravans, wagon capacity
- 0x637B74 - Human caravans, pack animal capacity
- 0x638A00 + 0x638A45 - Elven caravans, pack animal capacity
- 0x6395ED + 0x639632 - Dwarven caravans, pack animal capacity
DFHack-40d
A port of modern DFHack for Dwarf Fortress version 0.28.181.40d (NOT any of Baughn's OpenGL-optimized versions, such as 40d19), including most of the common (and meaningful) DFHack plugins along with Lua scripting. Not yet complete (e.g. no custom keybinding support), but sources can be found here if you want to play around with it.
Note that this version does not load automatically on startup - instead, you must run a separate "dfhack.exe" loader to load the DLL and inject the necessary hooks.
However, the following binary patches can be applied in order to make DFHack load automatically on startup:
- 0x118CF1: FB 74 0C -> 37 52 45
- 0x118F47: 05 FB 19 -> 60 50 45
- 0x11905D: 4F 36 00 -> 85 4F 45
- 0x259027: 33 DB 38 1D 44 -> E9 98 4F 31 00
- 0x56DF2C: 00 00 00 ... 00 00 00 ->
53 56 68 B8 AF 9F 00 FF 15 A0 E0 96 00 85 C0 74 6A 89 C6 6A 0C E8 DA 9D FB FF 83 C4 04 85 C0 74 5A 89 C3 68 D0 AF 9F 00 56 FF 15 70 E1 96 00 89 03 68 E0 AF 9F 00 56 FF 15 70 E1 96 00 89 43 04 68 F0 AF 9F 00 56 FF 15 70 E1 96 00 89 43 08 68 C4 AF 9F 00 56 FF 15 70 E1 96 00 85 C0 74 06 FF D0 84 C0 74 0D 89 1D 0C CB 9F 00 5E 5B E9 52 22 C7 FF 53 E8 BE 9A FB FF 83 C4 04 31 DB EB E6 53 8B 1D 0C CB 9F 00 85 DB 74 08 8B 03 85 C0 74 02 FF D0 5B E9 8C AA D4 FF 51 8B 1D 0C CB 9F 00 85 DB 74 09 8B 43 04 85 C0 74 02 FF D0 59 31 DB 38 1D 44 72 78 01 E9 49 B0 CE FF 53 8B 1D 0C CB 9F 00 85 DB 74 09 8B 43 08 85 C0 74 02 FF D0 5B E9 B0 E6 BA FF
- 0x5FAFB8: 00 00 00 ... 00 00 00 ->
64 66 68 61 63 6B 2E 64 6C 6C 00 00 64 66 68 61 63 6B 49 6E 69 74 00 00 64 66 68 61 63 6B 55 70 64 61 74 65 00 00 00 00 64 66 68 61 63 6B 52 65 6E 64 65 72 00 00 00 00 64 66 68 61 63 6B 55 6E 6C 6F 61 64
DFHack-23a
The same as DFHack-40d, but for Dwarf Fortress version 0.23.130.23a. Compared to DFHack-40d, even less is available (for obvious reasons), but sources can be found here if you want to play around with it.
In order to use this, you must apply all of the binary patches above which are marked as "REQUIRED for DFHack".
Binary patch for auto-loading on startup:
- 0x0B7D0B: 41 C6 05 -> 23 72 29
- 0x0B7E62: DA C4 05 -> 4B 71 29
- 0x0B7F35: 77 31 00 -> AD 70 29
- 0x17E426: D6 FA FF FF -> A0 0B 1D 00
- 0x34EF32: 00 00 00 ... 00 00 00 ->
53 56 68 B8 2F 78 00 FF 15 74 F0 74 00 85 C0 74 6A 89 C6 6A 0C E8 9B D8 FC FF 83 C4 04 85 C0 74 5A 89 C3 68 D0 2F 78 00 56 FF 15 C8 F0 74 00 89 03 68 E0 2F 78 00 56 FF 15 C8 F0 74 00 89 43 04 68 F0 2F 78 00 56 FF 15 C8 F0 74 00 89 43 08 68 C4 2F 78 00 56 FF 15 C8 F0 74 00 85 C0 74 06 FF D0 84 C0 74 0D 89 1D FC 43 7A 00 5E 5B E9 AC 53 DC FF 53 E8 32 D8 FC FF 83 C4 04 31 DB EB E6 53 8B 1D FC 43 7A 00 85 DB 74 08 8B 03 85 C0 74 02 FF D0 5B E9 76 53 DC FF 51 53 8B 1D FC 43 7A 00 85 DB 74 09 8B 43 04 85 C0 74 02 FF D0 5B 59 E9 1A EF E2 FF 53 8B 1D FC 43 7A 00 85 DB 74 09 8B 43 08 85 C0 74 02 FF D0 5B E9 B0 C0 D6 FF
- 0x382FB8: 00 00 00 ... 00 00 00 ->
64 66 68 61 63 6B 2E 64 6C 6C 00 00 64 66 68 61 63 6B 49 6E 69 74 00 00 64 66 68 61 63 6B 55 70 64 61 74 65 00 00 00 00 64 66 68 61 63 6B 52 65 6E 64 65 72 00 00 00 00 64 66 68 61 63 6B 55 6E 6C 6F 61 64
Generated Raws Extractor
Run rawextract.php and specify your save directory as a parameter (or omit it to use the current working directory) and all generated raws (titans, forgotten beasts, demons, night creatures, inorganics, interactions, etc.) will be written to files in the current directory, named by the object ID. Works with both compressed and uncompressed worlds, with or without active saves, from Dwarf Fortress versions 0.31.01 and later.
Body Parser
Run this PHP script and specify your save directory as a parameter (or omit it to use the current working directory) and all creature bodies will be examined for consistency. Warnings about unconnected shoulders, elbows, wrists, hips, knees, and ankles are to be expected on armless/legless creaturesBug:4095, but others may indicate fundamental problems in your creature definitions.
Automatic Obsidian Factory Plans
See here for more information.