As you may be aware, Dwarf Fortress' approach to OpenGL leaves something to be desired. To the point of my writing terrible hacks like DF Accelerator, even..
At any rate, Toady has decided to do something about that, and did it by releasing the relevant source code so others could help.
This has been done: The code has been converted to use SDL by Bernard Helyer, and the output and input code was then optimized and enhanced by yours truly. It is almost complete. However, for Toady to accept the code into the next version of DF, your assistance is needed: It must be tested. This takes many dwarves.
Known bugs- The macro save/load dialogs don't actually show up. They work, but they aren't visible. I'm sure they rendered fine last night. Fixed.
- The game segfaults if you force it to use a newer version of libicu than it was compiled against. This is not actually a bug. Instead, try the d17-head tarball, which removes the dependency. Fixed.
- It's currently impossible to delete macros, but you can overwrite them just fine. You can do so manually, they're in data/init/macros. Fixed.
- Adventure mode is still somewhat messed up. It'll get fixed eventually.
- If you switch from a menu with many entries to one with few, specifically if your cursor was on a position that is now invalid, the game may crash. Won't fix, as it'd have to be redone later; just avoid doing that.
- Key repeats don't lag if the game does, making it hard to enter just one for a repeating key. Fixed.
- A variety of other minor issues, all fixed.
Download linksWindows:
http://www.bay12games.com/dwarves/df_28_181_40d17_win.zipLinux:
http://www.bay12games.com/dwarves/df_28_181_40d17_linux.tar.bz2OS X:
http://www.bay12games.com/dwarves/df_28_181_40d17_osx.tar.bz2For linux users, the following link contains a tarball with the newest fixes, which might be officially released in 40d18, assuming there is one. It must be unpacked on top of the 40d17 tarball.Linux 40d17 HEAD:
http://brage.info/~svein/df-40d17-head.tar.bz2 Updated 21. FebFor users on Linux and OS X, run the df script, don't run the dwarfort.exe executable directly.Please download it, run it, and test with all the different tilesets and grid sizes your hearts desire. Graphics sets, too.
New features in 40d17 (vs. 40d)- Translucent tilesets are supported, using PNG.
- The DF window can be resized on the fly.
- The grid size is autogenerated on startup; such init.txt settings are ignored.
- Current desktop size is used for fullscreen size if fullscreen resolution is set to 0x0.
- Window resolution is measured in grid units instead of pixels, if you use a size below 200x200.
- The DF window can be zoomed on the fly using the mouse wheel, though only in opengl mode.
- The keyboard input system has been totally rewritten:
* You can bind multiple keys to one command
* You can create keyboard macros
** Default keybindings:
** Ctrl-r to record (or stop recording) a macro
** Ctrl-p to play the currently active macro
** Ctrl-s to save the active macro
** Ctrl-l to load a macro as the active one
* Input bindings are divided into sections
- A 2D mode has been added, for people with bad opengl drivers.
- Lots of bugfixes and performance improvements.
Upcoming features in 40d18 or 40d17 HEAD* None. A feature freeze is in effect.
Bug-trackerThere should be a list of known bugs at
http://github.com/Baughn/Dwarf-Fortress--libgraphics-/issues. Feel free to add yours there when you report it.
Tips and tricks- If the default settings don't work, 2D almost certainly will. Make sure to try it.
- Make sure you test all the combinations for buffers/partial printing that Toady suggests in init.txt. Read the comments in that file, too.
- If you're having problems on windows, if possible, try running it on linux; this will provide information on whether it's hardware-dependent or software. Vice versa, too.
Source codeFor the perennially curious, or programmers, the source code (that is still under active development) can be found at git://github.com/Baughn/Dwarf-Fortress--libgraphics-.git. It uses the git version-control system, and can also be seen in a browser at
http://github.com/Baughn/Dwarf-Fortress--libgraphics-/tree/master.
Compiling this code gives a functional DF, but it can only be compiled on Linux.