Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 3 4 [5] 6 7 ... 11

Author Topic: [OBSOLETE] DF Accelerator  (Read 31858 times)

Deon

  • Bay Watcher
  • 💀 💀 💀 💀 💀
    • View Profile
Re: DF Accelerator, combined, ultimate, all-knowing, all-doing, bugless version
« Reply #60 on: November 23, 2008, 04:06:35 pm »

PARTIAL_PRINT:YES:0

I missed the debugging version. I'll try it now.
Logged
▬(ஜ۩۞۩ஜ)▬
✫ DF Wanderer ✫ - the adventure mode crafting and tweaks
✫ Cartographer's Lounge ✫ - a custom worldgen repository

Deon

  • Bay Watcher
  • 💀 💀 💀 💀 💀
    • View Profile
Re: DF Accelerator, combined, ultimate, all-knowing, all-doing, bugless version
« Reply #61 on: November 23, 2008, 04:10:18 pm »

Well, 32x32 tileset caused this. 16x16 works fine.

Also it thinks that I use 80x25 (I use 80x50) tile dimensions thus it cuts the image inside the window (the lower part which should show the 2nd part of the game info is pitch black).
« Last Edit: November 23, 2008, 04:24:24 pm by Deon »
Logged
▬(ஜ۩۞۩ஜ)▬
✫ DF Wanderer ✫ - the adventure mode crafting and tweaks
✫ Cartographer's Lounge ✫ - a custom worldgen repository

Coke_Can64

  • Bay Watcher
    • View Profile
Re: DF Accelerator, combined, ultimate, all-knowing, all-doing, bugless version
« Reply #62 on: November 24, 2008, 06:02:46 am »

Heh, P3 600 MHz with an intergrated (read: useless) Intel graphics card here running Win 2000 (Old Damn ancient yes? :P)

Went from ~20fps to ~40 with the boost and PARTIAL_PRINT:YES:0

On the first seven dwarves in a rather non-descript map. ;D

Seems I might be able to get past 40 dwarves without dropping below double-digits this time! :D

Nice work.
Logged
I CANNOT HEAR YOU OVER THE SOUND OF ME DRILLING HOLES IN ELVES
+Population Myminicity
+Tra Myminicity
+Ind Myminicity

Baughn

  • Noble Phantasm
  • The Haruhiist
  • Hiss
    • View Profile
Re: DF Accelerator, combined, ultimate, all-knowing, all-doing, bugless version
« Reply #63 on: November 24, 2008, 01:42:43 pm »

Update: DFA now does not get a corrupted screen when graphical tiles are loaded. Hopefully it just won't corrupt it at all ever, but if it does F11 should still clear that up.
Logged
C++ makes baby Cthulhu weep. Why settle for the lesser horror?

penguinofhonor

  • Bay Watcher
  • Minister of Love
    • View Profile
Re: DF Accelerator, combined, ultimate, all-knowing, all-doing, bugless version
« Reply #64 on: November 24, 2008, 01:47:28 pm »

With the new version of this and partial print at 0, I get no bugs and a noticeable speed increase (more than the earlier version, but still not blazing fast). I haven't tested it too much, so I'll have to do that.
Logged

Baughn

  • Noble Phantasm
  • The Haruhiist
  • Hiss
    • View Profile
Re: DF Accelerator, combined, ultimate, all-knowing, all-doing, bugless version
« Reply #65 on: November 24, 2008, 01:58:43 pm »

Alrighty, new bug.  Whenever I export a map from world-gen I just get lots of images of the current screen pasted into the file where the map ought to be.

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

Baughn

  • Noble Phantasm
  • The Haruhiist
  • Hiss
    • View Profile
Re: DF Accelerator, combined, ultimate, all-knowing, all-doing, bugless version
« Reply #66 on: November 25, 2008, 12:09:14 pm »

I made a silly mistake on the macintosh version that reduced the speed of the last version noticably. It's fixed now.
Logged
C++ makes baby Cthulhu weep. Why settle for the lesser horror?

onehellofatable

  • Bay Watcher
    • View Profile
Re: DF Accelerator, combined, ultimate, all-knowing, all-doing, bugless version
« Reply #67 on: November 26, 2008, 01:31:33 am »

vanilla, i ran at a 8-13 FPS...  with the opengl.dll, it was around 6-7. after setting [PARTIAL_PRINT:YES:0], it was running around 30 fps, but the window wasn't refreshing itself so there was constant blackspace everywhere. (is there a command to redraw the whole window in DF? :P). [PARTIAL_PRINT:YES:2] works slightly better(it's definitely playable with just a little bit of bother), with around 15 fps, but it still has a lot of graphical glitches. Nice patch though.

PS I'm running DF through Wine
« Last Edit: November 26, 2008, 01:33:13 am by onehellofatable »
Logged
WGOIMF: Just lost 12 miners (all but 1) to cave ins within the span of an hour mining out a 20x20 pit

......Nothing could be done, it was the will of Armok!

Baughn

  • Noble Phantasm
  • The Haruhiist
  • Hiss
    • View Profile
Re: DF Accelerator, combined, ultimate, all-knowing, all-doing, bugless version
« Reply #68 on: November 26, 2008, 07:08:04 am »

Um.. I'm pretty sure I don't support wine. ^_^;
Logged
C++ makes baby Cthulhu weep. Why settle for the lesser horror?

onehellofatable

  • Bay Watcher
    • View Profile
Re: DF Accelerator, combined, ultimate, all-knowing, all-doing, bugless version
« Reply #69 on: November 26, 2008, 02:02:31 pm »

Who said you did?

Just thought I'd give you some feedback as to how it works ;P
Logged
WGOIMF: Just lost 12 miners (all but 1) to cave ins within the span of an hour mining out a 20x20 pit

......Nothing could be done, it was the will of Armok!

Baughn

  • Noble Phantasm
  • The Haruhiist
  • Hiss
    • View Profile
Re: DF Accelerator, combined, ultimate, all-knowing, all-doing, bugless version
« Reply #70 on: November 26, 2008, 03:16:47 pm »

That it works at all is surprising. I've had someone else try to use it on linux, with absolutely no effect.

Did you do anything special?
Logged
C++ makes baby Cthulhu weep. Why settle for the lesser horror?

onehellofatable

  • Bay Watcher
    • View Profile
Re: DF Accelerator, combined, ultimate, all-knowing, all-doing, bugless version
« Reply #71 on: November 26, 2008, 04:09:24 pm »

Eeeh, I've tampered with wine a fair bit to run other programs, but to be honest I don't really know exactly what, haha...
Logged
WGOIMF: Just lost 12 miners (all but 1) to cave ins within the span of an hour mining out a 20x20 pit

......Nothing could be done, it was the will of Armok!

NooklearToaster

  • Bay Watcher
    • View Profile
Re: DF Accelerator, combined, ultimate, all-knowing, all-doing, bugless version
« Reply #72 on: November 28, 2008, 01:07:07 am »

Is there something I'm missing here? The instructions in the first post seem far too simple, especially since after downloading the .dll and leaving it in my DF folder I've seen a 66% DROP in framerate...

I've got a laptop with a 3.2 ghz P4 and an ATI mobility radeon 9000 with the latest drivers (read: crap) and I got tired of 20-30 fps (I know, patience...bleh) so I thought I'd check this out. Downloaded the file, stuck it in the directory, started the game up, and was already confused. I usually hit 100 FPS on the main menu, it was down to 30. I load up my fortress and I'm down to 25 FPS before I even unpause it. Running the game dragged me down to 8-10 FPS.

Did I do something wrong or does my laptop just really love running vanilla DF?
Logged

Baughn

  • Noble Phantasm
  • The Haruhiist
  • Hiss
    • View Profile
Re: DF Accelerator, combined, ultimate, all-knowing, all-doing, bugless version
« Reply #73 on: November 28, 2008, 03:14:19 am »

Nope, the instructions are correct.. though you should switch on partial printing, if you haven't already.

If you have, and you still get bad performance, that's due to bad drivers. DF's original approach is extremely inefficient, but pretty much too simple to get wrong (which hasn't stopped some people); the same is not the case for mine.

EDIT: That said, I could certainly try simplifying it, or otherwise working around such bugs. This is hard to do when none of my hardware exhibit such problems, however, so.. well, unless someone sends me troublesome hardware, it'll be mostly guesswork.
« Last Edit: November 28, 2008, 03:20:50 am by Baughn »
Logged
C++ makes baby Cthulhu weep. Why settle for the lesser horror?

Baughn

  • Noble Phantasm
  • The Haruhiist
  • Hiss
    • View Profile
Re: DF Accelerator, combined, ultimate, all-knowing, all-doing, bugless version
« Reply #74 on: November 28, 2008, 03:55:28 am »

OKay, I've replaced my pointless use of GL_COMBINE (an opengl 1.3 function) with GL_MODULATE (1.1 like the rest of the shim), and optimized out a few calls that might be an issue; please try again.

For the rest of you, it should be a little faster now too. Possibly quite a bit; of course I see no difference myself, but that's nothing new.
Logged
C++ makes baby Cthulhu weep. Why settle for the lesser horror?
Pages: 1 ... 3 4 [5] 6 7 ... 11