Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Poll

No poll?

That's right
That is right

Pages: 1 ... 285 286 [287] 288 289 ... 379

Author Topic: Stonesense - Old Official thread - Now locked  (Read 1698641 times)

samantha

  • Escaped Lunatic
    • View Profile
Re: Stonesense - Official thread - Now with .16 support
« Reply #4290 on: November 11, 2010, 12:35:33 am »

you using the sdl or the legacy version of DF?

I went to the "About DF" on the main menu of the game and it says I have SDL...is that bad?
Logged

Rose

  • Bay Watcher
  • Resident Elf
    • View Profile
Re: Stonesense - Official thread - Now with .16 support
« Reply #4291 on: November 11, 2010, 12:37:05 am »

that's good.

now we just have to figure out why it's not working.

what does the log say?
Logged

samantha

  • Escaped Lunatic
    • View Profile
Re: Stonesense - Official thread - Now with .16 support
« Reply #4292 on: November 11, 2010, 12:40:46 am »

that's good.

now we just have to figure out why it's not working.

what does the log say?

I looked for the log in the stonesense folder but couldn't find it, what's it called?

EDIT: I found a text file called "stonesense" and it had this:


Stonesense launched
Using allegro version 4.9.21 r1
Logged

Rose

  • Bay Watcher
  • Resident Elf
    • View Profile
Re: Stonesense - Official thread - Now with .16 support
« Reply #4293 on: November 11, 2010, 12:54:24 am »

okay, that's weird, because if it wouldn't connect, it would have been spamming that file with messages about not being able to connect. so that's not the problem.

try disabling the intro in the init.txt
Logged

samantha

  • Escaped Lunatic
    • View Profile
Re: Stonesense - Official thread - Now with .16 support
« Reply #4294 on: November 11, 2010, 12:58:27 am »

okay, that's weird, because if it wouldn't connect, it would have been spamming that file with messages about not being able to connect. so that's not the problem.

try disabling the intro in the init.txt

Intro disabled, game-save reloaded, and still pressing F9 with nothing.... :(
Logged

Rose

  • Bay Watcher
  • Resident Elf
    • View Profile
Re: Stonesense - Official thread - Now with .16 support
« Reply #4295 on: November 11, 2010, 01:00:47 am »

define nothing

just black screen?

with the intro disabled, you shouldn't need to press F9
Logged

samantha

  • Escaped Lunatic
    • View Profile
Re: Stonesense - Official thread - Now with .16 support
« Reply #4296 on: November 11, 2010, 01:04:42 am »

define nothing

just black screen?

with the intro disabled, you shouldn't need to press F9

wait, WOW! THAT WORKED! I just-rechecked the init file and for some reason it didn't save....even though all I do is save files all today, it decided not to... :/

But I went back and made sure it saved, and it worked. Consider this the fix for the one other person who had the problem with pressing F9 and not getting any response from the program...

thank you!
Logged

Jiri Petru

  • Bay Watcher
    • View Profile
Re: Stonesense - Official thread - Now with .16 support
« Reply #4297 on: November 11, 2010, 06:53:10 am »

I'm just wondering - what's the reason for Stonesense to be so slow, even when the game is paused? (I can only use Stonesense with paused DF, and even then it's responding slowly and is far from fluent). The graphics are very old-school, and the old games that look similarly run fast on modern computers. By this logic, Stonesense should be fast as lightning.

This isn't meant as whining, as I'm sure there's a perfectly good reason for it. I'm just curious what the reason is.
Logged
Yours,
Markus Cz. Clasplashes

Rose

  • Bay Watcher
  • Resident Elf
    • View Profile
Re: Stonesense - Official thread - Now with .16 support
« Reply #4298 on: November 11, 2010, 06:57:04 am »

1: reading from DF is slow.

2: the graphics aren't well optimized.

if you turn on debug mode you can see three timers showing how long each step takes
« Last Edit: November 11, 2010, 06:59:43 am by Japa »
Logged

jonask84

  • Bay Watcher
    • View Profile
    • Stonesene at Google Code
Re: Stonesense - Official thread - Now with .16 support
« Reply #4299 on: November 11, 2010, 07:05:34 am »

I'm just wondering - what's the reason for Stonesense to be so slow, even when the game is paused? (I can only use Stonesense with paused DF, and even then it's responding slowly and is far from fluent). The graphics are very old-school, and the old games that look similarly run fast on modern computers. By this logic, Stonesense should be fast as lightning.

This isn't meant as whining, as I'm sure there's a perfectly good reason for it. I'm just curious what the reason is.

The main reason is that 3rd party tools do not have direct memory access. It's as simple as that. If we want to read the world from DF, we have to copy each piece of data we want to read out. We can't access it directly, and this is what is causing most of the slow-down.

As Japa points out, the graphics take up a fair amount too. They could be more optimized, of course, but the issue is more complicated. First off, modern computers are geared towards 3D graphics, and can do billions of vertex and shading calculations per second. They're not geared towards 2D graphics at all. So any tile based Isometric engine you see, will do caching tricks, like only redrawing parts of the screen that has changed. This becomes exceedingly difficult to implement when you can not add "hooks" and event listeners into the actual game code.

That's the under-the-hood explanation.
Logged

Fayrik

  • Bay Watcher
    • View Profile
Re: Stonesense - Official thread - Now with .16 support
« Reply #4300 on: November 11, 2010, 08:39:52 am »

Then, perhaps it should read only on the refresh cycle? From what I understand, it's doing a lot of tasks even when you turn the refresh to every movement.

(Numpad "-" lots, till the refresh vanishes.)

I dunno, but perhaps putting the animation cycles in with the refresh cycles would make things a lot faster - if a little bit less pretty.
Logged
So THIS is how migrations start.
"Hey, dude, there's this crazy bastard digging in the ground for stuff. Let's go watch."

LoSboccacc

  • Bay Watcher
  • Σὺν Ἀθηνᾷ καὶ χεῖρα κίνει
    • View Profile
Re: Stonesense - Official thread - Now with .16 support
« Reply #4301 on: November 11, 2010, 08:43:27 am »

Quote
If we want to read the world from DF, we have to copy each piece of data we want to read out

Quote
This becomes exceedingly difficult to implement when you can not add "hooks" and event listeners into the actual game code

*hacks at ReadMapSegment*

maybe one can have variable reload time for slower reads?
like, loading creatures every timeToReloadSegment, vegetation every other timeToReloadSegment and the world terrain every ten timeToReloadSegment?

shame I'm at work right now.

*makes mental note*
Logged

Maxxeh

  • Bay Watcher
    • View Profile
Re: Stonesense - Official thread - Now with .16 support
« Reply #4302 on: November 11, 2010, 02:28:25 pm »

let the update chase begin :(
Logged

Dakk

  • Bay Watcher
  • BLARAGLGLGL!
    • View Profile
Re: Stonesense - Official thread - Now with .16 support
« Reply #4303 on: November 11, 2010, 10:32:47 pm »

Gogogo, Stonesense is the only graphics set I approve of. Will be waiting for a new release :o
Logged
Code: [Select]
    ︠     ︡
 ノ          ﺍ
ლ(ಠ益ಠლ)  ┻━┻

Table flipping, singed style.

Ipwnurmom221

  • Bay Watcher
    • View Profile
Re: Stonesense - Official thread - Now with .16 support
« Reply #4304 on: November 12, 2010, 07:51:04 pm »

 Waiting for the third party software to update is one of the most annoying parts of updating.
Logged
"I haven't seen my parents in nearly a year, I can't move a foot in any direction, I spend all my days being attacked by animals, and I've been forced to drink sheep puke- wow that's a nice floor grate!"
Pages: 1 ... 285 286 [287] 288 289 ... 379