Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stonesense on OS X, with a Retina display #648

Closed
ELLIOTTCABLE opened this issue Jun 26, 2015 · 8 comments
Closed

Stonesense on OS X, with a Retina display #648

ELLIOTTCABLE opened this issue Jun 26, 2015 · 8 comments
Labels

Comments

@ELLIOTTCABLE
Copy link

So, Dwarf Fortress misbehaves on a Retina display on OS X:

screen shot 2015-06-25 at 10 50 57 pm

The long-standing ‘fix’ for this, is to switch to [PRINT_MODE:STANDARD]. Unfortunately, Stonesense fails to initialize with STANDARD. At the moment, as far as I can tell, there's no way right now to have both a usable DF window, and Stonesense, on a Retina Mac?


Small and unrelated, but I didn't want to open another Issue, because I suspect it's just ignorance on my part, and not a bug, but … I can't seem to try out Stonesense when using (also-completely-broken) PRINT_MODE:TEXT:

> ./dfhack-run ssense
ssense is not a recognized command.
> ./dfhack-run stonesense
stonesense is not a recognized command.
> enable stonesense
enable: no such hash table element: stonesense
> ./dfhack-run enable stonesense 
Cannot enable plugin: stonesense
@lethosor
Copy link
Member

How is PRINT_MODE:TEXT broken? I think I've used Stonesense under that before, although it might have been changed since the last release.

@ELLIOTTCABLE
Copy link
Author

@lethosor oh, ways unrelated to DFhack; hence me not elaborating on them. Terminal colourization, unreadable text, etcetcetc … not to mention it being an undesirable way to play, in general. :P

@lethosor
Copy link
Member

DF uses bold colors 0-7 to represent the lighter in-game colors, which OS X's default terminal emulator displays in the same color as their non-bold counterparts (e.g. DF displays dark grey on black as bold black on black). You can change this under Preferences -> Text -> Use bright colors for bold text.
Either way, Stonesense should work with it in the next release but won't with DFHack 0.40.24-r3. I can upload a newer build of the plugin if you like, although I don't know if changes since r3 would break it.

@ELLIOTTCABLE
Copy link
Author

Er, not sure I parsed that correctly. A new, working-with-PRINT_MODE:STANDARD version of Stonesense is shipping with the next release-version of DFHack?

@lethosor
Copy link
Member

lethosor commented Jul 1, 2015

No, but it will work with PRINT_MODE:TEXT (and display a better error message in PRINT_MODE:STANDARD). I was explaining how to fix your issue with PRINT_MODE:TEXT.
I would like to have Stonesense work with OpenGL print modes, but system lockups and kernel panics just aren't acceptable (and yes, these did occur on multiple dev's machines under different systems). Stonesense development isn't active at the moment, but Japa has mentioned looking into moving Stonesense to a separate process, which should resolve this issue (and many others, like input not working) and make Stonesense crashes more bearable. There's also Armok Vision, if you're interested, but it doesn't display as much information yet.

@ELLIOTTCABLE
Copy link
Author

Okay! Helpful information. You can close this if you like.

Might should add some of this information to the README; I suspect I'm not the only Retina-using dev who'd like to play DF with Stonesense. ;)

@lethosor
Copy link
Member

@ELLIOTTCABLE If you haven't updated the SDL library in libs to 1.2.15 (which the MacNewbie pack does, IIRC), can you see if doing so addresses the issue with PRINT_MODE:2D?

@lethosor
Copy link
Member

Not sure the issues with STANDARD are fixable (without moving stonesense to another process), sorry.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants