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 in the form of Battle Champs for others to fix.
This has been done: The code has been converted to use SDL by Bernard Helyer, the input code was rewritten by Veroule, and the OpenGL code has been rewritten 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.
Download linksWindows:
http://www.bay12games.com/dwarves/df_28_181_40d16_win.zipLinux:
http://www.bay12games.com/dwarves/df_28_181_40d16_linux.tar.bz2OS X:
http://www.bay12games.com/dwarves/df_28_181_40d16_osx.tar.bz2For linux users, the following link contains a tarball with the newest fixes, which will be officially released in 40d17. It must be unpacked on top of the 40d16 tarball.Linux 40d16 HEAD:
http://brage.info/~svein/df-40d16-head.tar.bz2For 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 40d16 (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.
- The DF window can be zoomed on the fly using the mouse wheel. There are two modes, it defaults to mode 1. Pressing mouse wheel switches modes. Pressing F12 resets mode 1, not 2. In mode 1, the zoom from mode 2 is not visible. (And yes, you can use both at once)
- The keyboard input system has been totally rewritten:
* You can bind multiple keys to one command
* You can create keyboard macros
* Input bindings are divided into sections
- Lots of bugfixes and performance improvements.
Upcoming features in 40d16 or 40d15 HEADBug-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- Make sure you test all the combinations for buffers/partial printing that Toady suggests in init.txt.
- 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.
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.