DFA has been superceded by DF v0.28.181.40d2; see
http://www.bay12games.com/forum/index.php?topic=28841.0 for details.
No further updates will be posted.
==== Old contents ====
Right. Like it says in the topic - I've rewritten DF accelerator somewhat more cleverly, and the new version works for everything.
Want graphical tilesets? You can have them.
Want 200x200 grids on an 640x480 screen with a 16x16 tileset? You can have them.
Want a 13x17 tileset, and no black space? Go ahead.
Want all of the above, on a ten-year-old computer with a geforce 1? That works too, assuming you have halfway decent drivers.
Some people have been downloading dwarfort.exe. This is incorrect. It won't work. Read the entire post.So, without further ado: The URL:
http://brage.info/~svein/df_accelerator/bin/. Read on, though.
If you're on a macintosh, you want the opengl.dyld and run.sh files. Put both in your DF directory, and start DF by typing "sh run.sh" in a terminal window, in that directory. It will print debugging info to said terminal.
If you're on windows, you want opengl32.dll. Put it in your DF directory, next to dwarfort.exe. This is all you have to do; do
not download dwarfort.exe from that directory.
If you're on a ppc mac, I can't make a binary for you. It should still work, in theory, though I haven't tested it; to compile it, do the following:
Note: The official source tree is at http://brage.info/~svein/df_accelerator/, and is updated much faster. You'll need darcs to download it properly, however.- Download and install xcode from developer.apple.com, if you haven't already. It's free.
- Download df_accelerator_source.tar.gz from the earlier link, and put it in the DF directory
- Run the following code in a terminal:
cd wherever-you-put-DF
tar xzf df_accelerator_source.tar.gz
cd df_accelerator
make
cp opengl.dyld run.sh ..
cd ..
sh run.sh
Incidentally, df_accelerator.tar.gz is updated manually, basically whenever I remember to do so. If you want more up-to-date code (it probably won't matter, most of the things I fix are windows-specific anyway), get the unpacked source code from the link in the next post. With darcs, preferably.
In case of trouble:On a mac, post all the output from that terminal in a post in this thread, and I'll get back to you.
On windows, download dwarfort.exe from the download directory, overwrite your old version, and repeat whatever caused the problem - this is a special debugging version of DF. 40d, by the way; don't mix with older installations. It will create a terminal window with debugging output that you can post; if you can't copy and paste, just write down the last two or three lines manually.
(Well, that's the idea. You may need to manually start DF from a terminal for it to work; use start->run->cmd to get one.)
Known bugs- The mouse texture is not supported. Apparently nobody uses it, though.
- The intro movie is *really* not supported, and likely to mess things up horribly. Turn it off.
- There have been reports that using a 32x32 tileset glitches, leaving half the screen undrawn. 16x16 and below do work.
-
When using a graphical tileset, the screen can will become corrupted when DF loads the graphical tiles. To clear this up, toggle fullscreen mode once or twice. Fixed.-
The game may or may not crash after generating a new world; I'm looking into it. It will work fine after restarting it, however. This has been fixed.-
Under some circumstances, the accelerator can be confused into thinking the grid has an impossible size like 1x3 or something. It will then crash, though usually not immediately. This can be worked around by turning off partial-printing, and will be fixed in the future. Hopefully fixed.-
When you export a map from world-gen you just get lots of images of the current screen pasted into the file where the map ought to be. Thoroughly fixed.Tips and tricks- For higher performance, use [PARTIAL_PRINT:YES:0] in init.txt. Even if this hasn't worked before, it will now.
Case matters. "yes:0" won't work; "YES:0" will.- On Windows Vista or a macintosh, you may get higher performance by running it in fullscreen. Probably not measurably so, however.
- The benefit of DF Accelerator seems to be larger the older your computer is. Don't expect a 20FPS jump if you have a Geforce 8800GTX.
Feed the authorI'd be happy to hear success stories - tell me if you get large FPS increases. I wouldn't be happy to hear that it slows you down, but if that happens I need to know, so tell me that too.