Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 15 16 [17] 18 19 ... 28

Author Topic: FotF: Dwarf Fortress 40d17  (Read 124263 times)

Baughn

  • Noble Phantasm
  • The Haruhiist
  • Hiss
    • View Profile
Re: FotF: Dwarf Fortress 40d17
« Reply #240 on: February 10, 2010, 08:28:07 pm »

The FPS counter was annoying me with its inaccuracy and general jigglyness, so I made it a ten-second rolling average.

This looks ever so much better. Oh, but the old one was exaggerating the numbers, so performance may look a little worse; it isn't really.
Logged
C++ makes baby Cthulhu weep. Why settle for the lesser horror?

Andir

  • Bay Watcher
    • View Profile
Re: FotF: Dwarf Fortress 40d17
« Reply #241 on: February 10, 2010, 08:49:51 pm »

Code: [Select]
andir@Janus:~/Downloads/df_linux$ ./df
mkdir: cannot create directory `unused_libs': File exists
mv: cannot stat `libs/libSDL*': No such file or directory
./dwarfort.exe: error while loading shared libraries: libncursesw.so.5: cannot open shared object file: No such file or directory
andir@Janus:~/Downloads/df_linux$ ldd ./dwarfort.exe | grep not
libboost_regex.so.1.35.0 => not found
libgraphics.so => not found
andir@Janus:~/Downloads/df_linux$ ls /lib/libncursesw.so.*
/lib/libncursesw.so.5  /lib/libncursesw.so.5.7
andir@Janus:~/Downloads/df_linux$ uname -a
Linux Janus 2.6.31-19-generic #56-Ubuntu SMP Thu Jan 28 02:39:34 UTC 2010 x86_64 GNU/Linux
With head files just downloaded in Ubuntu 9.10
« Last Edit: February 10, 2010, 08:53:12 pm by Andir »
Logged
"Having faith" that the bridge will not fall, implies that the bridge itself isn't that trustworthy. It's not that different from "I pray that the bridge will hold my weight."

Gara-nis

  • Bay Watcher
    • View Profile
Re: FotF: Dwarf Fortress 40d17
« Reply #242 on: February 10, 2010, 08:50:59 pm »

The FPS counter was annoying me with its inaccuracy and general jigglyness, so I made it a ten-second rolling average.

This looks ever so much better. Oh, but the old one was exaggerating the numbers, so performance may look a little worse; it isn't really.

Awesome, I have been irritated by this for a looong time.
Logged

Andir

  • Bay Watcher
    • View Profile
Re: FotF: Dwarf Fortress 40d17
« Reply #243 on: February 10, 2010, 09:21:19 pm »

I added some conditionals to the ./df script to cut down on the errors...
Spoiler (click to show/hide)
Edit: Better version.
« Last Edit: February 10, 2010, 09:49:51 pm by Andir »
Logged
"Having faith" that the bridge will not fall, implies that the bridge itself isn't that trustworthy. It's not that different from "I pray that the bridge will hold my weight."

MrWiggles

  • Bay Watcher
  • Doubt Everything
    • View Profile
Re: FotF: Dwarf Fortress 40d17
« Reply #244 on: February 10, 2010, 10:05:46 pm »

What does the OP mean by running the DF script for the mac and linux port, particularly mac for my case?
Logged
Doesn't like running from bears = clearly isn't an Eastern European
I'm Making a Mush! Navitas: City Limits ~ Inspired by Dresden Files and SCP.
http://www.bay12forums.com/smf/index.php?topic=113699.msg3470055#msg3470055
http://www.tf2items.com/id/MisterWigggles666#

Andir

  • Bay Watcher
    • View Profile
Re: FotF: Dwarf Fortress 40d17
« Reply #245 on: February 10, 2010, 11:29:45 pm »

What does the OP mean by running the DF script for the mac and linux port, particularly mac for my case?
There's a file simply called "df" in the folder.  Run that instead of the exe file like you would in Windows.
Logged
"Having faith" that the bridge will not fall, implies that the bridge itself isn't that trustworthy. It's not that different from "I pray that the bridge will hold my weight."

CobaltKobold

  • Bay Watcher
  • ☼HOOD☼ ☼ROBE☼ ☼DAGGER☼ [TAIL]
    • View Profile
Re: FotF: Dwarf Fortress 40d17
« Reply #246 on: February 11, 2010, 12:10:52 am »

I should probably mention this somewhere, but you need an utf-8 terminal. That image looks like it's set to latin-1 or so.
Yes, there seems to be a Mysterious Lack of Easy Support for a CP437 terminal in Ubuntu...which would be the easy way out.
Logged
Neither whole, nor broken. Interpreting this post is left as an exercise for the reader.
OCEANCLIFF seeding, high z-var(40d)
Tilesets

cooz

  • Bay Watcher
    • View Profile
Re: FotF: Dwarf Fortress 40d17
« Reply #247 on: February 11, 2010, 02:12:11 am »

I've tested a little new text mode. In fortress it works faultlessly, but in adventurer mode it has some problems with refreshing "black" area. It duplicates tiles at edge of sight... Checking e.g. announcements flushes it back. If I didn't explain it clear enough I can post screenshot.
Logged

CobaltKobold

  • Bay Watcher
  • ☼HOOD☼ ☼ROBE☼ ☼DAGGER☼ [TAIL]
    • View Profile
Re: FotF: Dwarf Fortress 40d17
« Reply #248 on: February 11, 2010, 03:35:56 am »

Scrolling has a doomwallsnoclip effect? Natch.
Logged
Neither whole, nor broken. Interpreting this post is left as an exercise for the reader.
OCEANCLIFF seeding, high z-var(40d)
Tilesets

madman

  • Bay Watcher
    • View Profile
Re: FotF: Dwarf Fortress 40d17
« Reply #249 on: February 11, 2010, 03:50:12 am »

The ncurses version is really nice - the KDE Konsole seems to default to CP437.

It even works if you run it from the command line outside X-windows. The shift arrow keys work there.

The only issues (apart from shift arrows not working) I've found are (a) selecting a font that is actually monospaced, including all the special characters (and I'm really tempted to create a bitmap font specially for Dwarf Fortress to get tiles closer to square), and (b) there are some minor redraw issues if you resize the window.
Logged
Quote from: bluea
Compilers are Dwarves with the beards abstracted away.
They can pull completely amazing maneuvers, yet manage to die of thirst in the river.

LordHelmchen

  • Bay Watcher
    • View Profile
Re: FotF: Dwarf Fortress 40d17
« Reply #250 on: February 11, 2010, 04:13:21 am »

hmm... d17head does at least feel faster than d16, now that I have gone back to trying it, as I should *g*
I do miss the dwarftherapist, though :-(
Zooming does respect [BLACK_SPACE:YES]; now that it does, I am thinking about switching it off for the last bit of zooming potential *g*
a minor annoyance (linux, d17-head):
If [SOUND:ON] and [VOLUME:0], after loading it played the music at what sounded like [VOLUME:255]. Raising it to 1 (and also back down to 0) mutes the music as expected.
« Last Edit: February 11, 2010, 04:35:45 am by LordHelmchen »
Logged

Baughn

  • Noble Phantasm
  • The Haruhiist
  • Hiss
    • View Profile
Re: FotF: Dwarf Fortress 40d17
« Reply #251 on: February 11, 2010, 05:00:37 am »

Thanks for the updated DF script, but it won't be needed.  :P

I've got SDL and SDL_image being linked statically now, so there's no longer any reason to bother with odd workarounds.

madman: Unicode, not CP437. DF uses the CP437 codepage internally, yes, but I translate it to UTF-8 before printing.

The redraw issues seem to be in ncurses, not DF, but it should be possible to flush the screen a couple more times on redraw to work around it.

I didn't actually test adventurer mode.. I'll do so now. Why does that always seem to be the weird mode?

Logged
C++ makes baby Cthulhu weep. Why settle for the lesser horror?

Jamp

  • Bay Watcher
    • View Profile
Re: FotF: Dwarf Fortress 40d17
« Reply #252 on: February 11, 2010, 05:28:23 am »

ncurses mode is great, and there is no segfault on embark (and...). Unfortunately, in urxvt, shift + arrows results in normal key presses  (shift + up is "a"), and performance is worse.
Logged

cooz

  • Bay Watcher
    • View Profile
Re: FotF: Dwarf Fortress 40d17
« Reply #253 on: February 11, 2010, 05:41:34 am »

A while back I've created utf-8 font for this patch,
but as console is now one of legit display modes I've decided to release it.
It's my 16x16 square tileset converted to ttf monospace font.

Console font size should be set to 12 points.
On Win7 in PuTTY with "Natural" Color scheme it looks like this:
Spoiler (click to show/hide)

Oh, and here's link:
http://dffd.wimbli.com/file.php?id=1854
Logged

LordHelmchen

  • Bay Watcher
    • View Profile
Re: FotF: Dwarf Fortress 40d17
« Reply #254 on: February 11, 2010, 05:49:48 am »

a quick question: what's the meaning of the second fps counter (the one in parenthesis parentheses ??? brackets) ?
Logged
Pages: 1 ... 15 16 [17] 18 19 ... 28