Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - Baughn

Pages: 1 ... 40 41 [42] 43 44 ... 124
616
DF General Discussion / FotF: Dwarf Fortress 40d19
« on: March 04, 2010, 05:34:49 pm »
This is not DF 2010. This is merely an update to 40d providing better performance and some other enhancements. It will be part of '10, however, it has no gameplay changes.

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
- Adventure mode is pretty much broken, and going to stay that way until DF2010.
- Image export is generally broken; some don't work, some actually freeze the game. Don't try it.
- Graphical tilesets are discolored in 2D and shader mode, being slightly too dark. YMMV on whether this is bad or not. Cookie to whoever fixes data/shader.fs for me.
- Graphical tilesets flicker in shader mode. Epilepsy-inducingly so.
- Graphical tilesets are /incredibly slow/ in shader mode. But you wouldn't do that anyway, right? Think of the epileptics.
- Shader mode does not work on ATI cards. Can't really fix myself, but the shader source is in data/shader.fs/vs; it's loaded on startup (and when resizing the window).
- The game will crash doing certain actions on certain screens, unrelated to graphics. The full list is not known, but there are crashes at least on the farm plot seed selection screen.
- You may find that the game crashes when performing particular in-game actions on the DF user interface, such as viewing a dwarf's thoughts with a very large window, or switching between seasons on the farm-plot menu with the cursor in a particular position. Such bugs are not 40d# bugs, but are the result of somewhat haphazard adaption of core DF code to 40d# and will be fixed in the DF2010 integration phase.
- Bridge linking is broken.


Download links
Windows: http://www.bay12games.com/dwarves/df_28_181_40d19_2_win.zip (Updated Mar 6)
Linux: http://www.bay12games.com/dwarves/df_28_181_40d19_linux.tar.bz2
OS X: http://www.bay12games.com/dwarves/df_28_181_40d19_osx.tar.bz2
For linux users, the following link will contain a tarball with the newest fixes, which might be officially released in 40d20, assuming there is one. It must be unpacked on top of the 40d19 tarball.
Linux 40d19 HEAD: http://brage.info/~svein/df-40d19-head.tar.bz2 Updated Mar. 5

For 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 40d19 (vs. 40d)
- Translucent tilesets are supported, using PNG.
- The DF window can be resized on the fly. This can be turned off in init.txt if you like.
- 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 tiles 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.
- A text mode has been added (Linux/OS X only), for SSH or console use.
- A shader mode has been added, for people with DX10-compatible GPUs. DX10 or windows are not required.
- Lots of bugfixes and performance improvements.
Upcoming features in 40d20/40d19-HEAD
* Quite honestly nothing.

Bug-tracker
There 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.

Linux
- If double-clicking on the script doesn't work, make sure you try it from a terminal so you can read the error output
- Required libraries include SDL and SDL_image, mainly. Make sure you have a 32-bit version of these, if you're on a 64-bit linux.


Source code
For perennially curious 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.

617
DF General Discussion / Re: FotF: Dwarf Fortress 40d18
« on: March 04, 2010, 01:24:58 pm »
Depends on toady.

I just fixed the keybinding screen - it now explains how to use it, and is generally much nicer, plus it works in text-mode now - which was the last item on my to-fix list. It's over to him now. :)

Good timing, I guess. :P

Incidentally, -head users beware: Trying to enter the keybinding screen will now cause a segfault. dwarfort.exe needs a recompile.

618
DF General Discussion / Re: FotF: Dwarf Fortress 40d18
« on: March 04, 2010, 09:10:28 am »
Okay, shader-mode now supports graphical tilesets too.

I'm uncertain how well (I don't use them myself, but I did check with mayday's), since I'm uncertaint if this ugliness is supposed to be there or not. ^^;

So have a go at it, see for yourself.

Oh, and graphical shader-mode is currently quite inefficient. Turn on ARB_SYNC if at all possible. This won't affect it when using normal tilesets.

619
DF General Discussion / Re: The funds! The funds are holding us back!
« on: March 04, 2010, 06:00:34 am »
With the number of passive-aggressive programmers on this forum then smack talking online could be dangerous too ;)
Don't be silly.
Because talking smack in person is dangerous.
What's your IP address again?

620
DF General Discussion / Re: FotF: Dwarf Fortress 40d18
« on: March 04, 2010, 03:54:49 am »
A bitof lag while opengl reinitializes is normal, so not unless the more persistent problem happens again.

621
DF General Discussion / Re: FotF: Dwarf Fortress 40d18
« on: March 03, 2010, 02:29:38 pm »
Using the window maximize button should not change the font. Using F11 should. Are you *sure* that's what happens? How about if you press the F10 display-reset button?

Some screens do not deal well with resizing yet. You'll have to live with that; those are toady's bugs to fix, not mine, and again they're screens that have likely been rewritten for DF2010 already.


On the bugfix front, I fixed the broken backspace in text-mode. I'm delaying fixing the keybinding screen, as I'd just end up rewriting it - I'm making that screen much nicer first.

622
DF General Discussion / Re: The funds! The funds are holding us back!
« on: March 03, 2010, 10:15:40 am »
Well, I can't speak for toady. As far as I know, he's still planning to integrate d#.. this is just what I consider to be a likely consequence of rushing, not something that's written in stone.

There are also people who can't play using d#, you know. Though that number should be shrinking.. it's not zero.

623
DF General Discussion / Re: FotF: Dwarf Fortress 40d18
« on: March 02, 2010, 05:42:11 pm »
That one implies that you managed to get the dwarfort.exe from the update tarball, but not libgraphics. Try again, this time correctly - and check the timestamp on libs/libgraphics.so.

624
DF General Discussion / Re: The funds! The funds are holding us back!
« on: March 02, 2010, 04:38:00 pm »
Nonono, that's not what happens.

The thought process is thus:
- Funding is down.
- Funding is down because there have been no releases.
- We must release soon.
- Thus, skip anything we can skip without compromising quality.

40d# definitely falls into that category; the game runs perfectly well without it, and his current codebase is 40d#-less anyway.

625
DF General Discussion / Re: The funds! The funds are holding us back!
« on: March 02, 2010, 01:33:54 pm »
At a guess, one consequence of this will be that the 40d# merge gets delayed.

That's something that can be cut easily even at this late stage, and which would take quite a lot of work, actually. So you get that in late summer instead; I'm sure everyone will be fine, plus my old DF Accelerator hack still works.

626
DF General Discussion / Re: FotF: Dwarf Fortress 40d18
« on: March 02, 2010, 01:30:56 pm »
Not anymore. I must have forgotten to git-reset first.

Does everything work now, though? How about shader mode?

627
DF General Discussion / Re: new display mode idea
« on: March 02, 2010, 10:00:59 am »
Available in 40d18-head now, though graphical tilesets are not yet supported. Have fun!

628
DF General Discussion / Re: FotF: Dwarf Fortress 40d18
« on: March 02, 2010, 09:42:44 am »
Dabi: The immediate concern is the "libGL error: open DRM failed" error. This means you don't have direct hardware acceleration; you should fix that immediately, as it means opengl is much slower than it could be. It's a DRM permissions problem; ask about it in your distro's IRC channel, it should be easy to fix.

It still shouldn't crash, though. That's probably ARB_sync; if you grab the newest -head, I now have an option in init.txt for that. (It defaults to off, so you don't need to toggle it.)

629
DF General Discussion / Re: FotF: Dwarf Fortress 40d18
« on: March 02, 2010, 03:56:23 am »
That's probably it, yeah. It's fixed now, so you can either try the linux version, wait for d19, or just revert to d17.

illiterate: Keybinding isn't implemented in text mode yet, I'll fix that today. Should be a snap. Beyond that, there are severe limitations on what input can be accepted through a terminal, and keypad +/- isn't readable. Or rather, they register as normal +/-.

630
DF General Discussion / Re: DF is slow on linux
« on: March 01, 2010, 06:10:40 pm »
d18 has a nasty little performance bug, but that's fixed in -head now; you should try that.

Pages: 1 ... 40 41 [42] 43 44 ... 124