Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1] 2

Author Topic: How to make curses square again?  (Read 6206 times)

Umi

  • Bay Watcher
    • View Profile
How to make curses square again?
« on: May 17, 2010, 03:16:39 pm »

I used to just set the grid to 120x75, but that only affects the starting screen size now.  Is there a way to make it stop being rectangular again, or do I have to use a tileset?
Logged

Draco18s

  • Bay Watcher
    • View Profile
Re: How to make curses square again?
« Reply #1 on: May 17, 2010, 03:23:35 pm »

You also need to change the window size.

These lines:

[WINDOWEDX:960]
[WINDOWEDY:900]

(I entered the correct values for the pixel dimensions based on your grid)
Logged

Jay

  • Bay Watcher
  • ☼Not Dead Yet☼
    • View Profile
Re: How to make curses square again?
« Reply #2 on: May 17, 2010, 03:46:50 pm »

Default curses was never square.
With the SDL changes, it doesn't stretch the tiles to fit exactly what you set anymore.
Use a square tileset.
Logged
Mishimanriz: Histories of Pegasi and Dictionaries

Qloos

  • Bay Watcher
    • View Profile
Re: How to make curses square again?
« Reply #3 on: May 17, 2010, 03:53:15 pm »

Or just change the font to:
FONT:curses_square_16x16.bmp
no tileset required.

Quote
[WINDOWEDX:80]
[WINDOWEDY:20]
[FONT:curses_square_16x16.bmp]
Logged

eidahl

  • Bay Watcher
    • View Profile
Re: How to make curses square again?
« Reply #4 on: May 17, 2010, 04:13:00 pm »

Why does it look so... wrong (ugly), though?
Logged

Draco18s

  • Bay Watcher
    • View Profile
Re: How to make curses square again?
« Reply #5 on: May 17, 2010, 04:20:31 pm »

Quote
[WINDOWEDX:80]
[WINDOWEDY:20]
[FONT:curses_square_16x16.bmp]

80x20 pixels is awfully small...
(Hint: [WINDOWEDX/Y] is not the [GRID_SIZE])

Why does it look so... wrong (ugly), though?

What does that mean?
Logged

G-Flex

  • Bay Watcher
    • View Profile
Re: How to make curses square again?
« Reply #6 on: May 17, 2010, 04:27:47 pm »

curses_square_16x16 looks ugly because it is an automatically-stretched version of the default curses tileset. It has problems.

I made a thread about this a while ago. If you like the 16x16 curses tileset but don't think it looks very good, then the example given there is a decent replacement, since it has more or less the same style.
Logged
There are 2 types of people in the world: Those who understand hexadecimal, and those who don't.
Visit the #Bay12Games IRC channel on NewNet
== Human Renovation: My Deus Ex mod/fan patch (v1.30, updated 5/31/2012) ==

eidahl

  • Bay Watcher
    • View Profile
Re: How to make curses square again?
« Reply #7 on: May 17, 2010, 04:50:05 pm »

I am still waiting for Phoebus's tileset, but thanks for that link.


..

Huh, it actually looks quite nice.
Logged

Mr. GOH!

  • Bay Watcher
    • View Profile
Re: How to make curses square again?
« Reply #8 on: May 17, 2010, 05:05:33 pm »

I am still waiting for Phoebus's tileset, but thanks for that link.


..

Huh, it actually looks quite nice.

The current release doesn't support graphics yet, so you may have a while to wait. Baughn (who's responsible for that part of the merge code) posted in the stickied thread he'd get to it this Wednesday, though I don't know how long it will take to get a fix up.
Logged
Isn't sanity really just a one-trick pony anyway? I mean all you get is one trick, rational thinking, but when you're good and crazy, oooh, oooh, oooh, the sky is the limit.

-The Tick

Hyperturtle

  • Bay Watcher
    • View Profile
Re: How to make curses square again?
« Reply #9 on: May 17, 2010, 06:36:57 pm »

I have to admit I had no idea what you were talking about.  I thought it was hip to be square nowadays, rather than cursing to be square.  But now I understand!  But the title was funny when I had no clue what it was about.
Logged
igless

Narmy

  • Bay Watcher
    • View Profile
Re: How to make curses square again?
« Reply #10 on: May 17, 2010, 07:23:52 pm »

Quote
[WINDOWEDX:80]
[WINDOWEDY:20]
[FONT:curses_square_16x16.bmp]

80x20 pixels is awfully small...
(Hint: [WINDOWEDX/Y] is not the [GRID_SIZE])
Quote from: init.txt
This is the size and font for windowed mode.  Changing to the 800x600 font might make you happier.
If set below 256x256 it specifies the grid size instead, with a minimum of 80x25.

[WINDOWEDX:80]
[WINDOWEDY:25]
Hm? :-\
Logged

Draco18s

  • Bay Watcher
    • View Profile
Re: How to make curses square again?
« Reply #11 on: May 17, 2010, 07:39:20 pm »

Quote from: init.txt
This is the size and font for windowed mode.  Changing to the 800x600 font might make you happier.
If set below 256x256 it specifies the grid size instead, with a minimum of 80x25.

[WINDOWEDX:80]
[WINDOWEDY:25]
Hm? :-\

Ahem.

Quote
This is the dimensions in tiles of the display grid.  Minimum x is 80.  Minimum y is 25.  Maximums are 200.  Make sure the window size or full screen resolution matches the grid/tile size if you don't want the display to be squashed or stretched.  The default windowed font has tiles that are 8x12 pixels, for instance, so for a 80x25 grid, you use a 640x300 window, and for a 125x50 grid, you'd use a 1000x600 window.  FULLGRID is used in full screen mode, whether graphics is on or not.

[GRID:156:60]

This part: "If set below 256x256 it specifies the grid size instead, with a minimum of 80x25."
Says that if you use a number below 256x256 (that is, 32 tiles wide 21.3 tiles tall) it uses those values instead of the grid size because the window can't be that small.  Also, that line is NEW with 0.31.04 as my copy from 0.31.03 doesn't have it.

In fact, I tested that out: my copy of DF does in fact scale down to 80 pixels wide by 25 pixels tall.
« Last Edit: May 17, 2010, 07:41:00 pm by Draco18s »
Logged

Xelek

  • Bay Watcher
    • View Profile
Re: How to make curses square again?
« Reply #12 on: May 17, 2010, 08:45:02 pm »

That's something I've been wondering for a while... how can I make the default ASCII square and not look horrible? I'm having issues picking between symmetry OCD and the ugly squish look it gives me when I make it squarish and not rectangular. Not a fan of tilesets, either.
Logged

Narmy

  • Bay Watcher
    • View Profile
Re: How to make curses square again?
« Reply #13 on: May 17, 2010, 08:52:18 pm »

In fact, I tested that out: my copy of DF does in fact scale down to 80 pixels wide by 25 pixels tall.
Yeah, 31.03 doesn't have the new graphical features so grid size and resolution are two different options. I'm so used to 40d# that I forgot they used to be separate. (I've held off on 31.03 cause of the bugs)

That's something I've been wondering for a while... how can I make the default ASCII square and not look horrible? I'm having issues picking between symmetry OCD and the ugly squish look it gives me when I make it squarish and not rectangular. Not a fan of tilesets, either.
How about this?
http://df.magmawiki.com/index.php/Tileset_repository#Lord_Nightmare

Curses is a tileset too, just not an enhanced one.
Logged

G-Flex

  • Bay Watcher
    • View Profile
Re: How to make curses square again?
« Reply #14 on: May 17, 2010, 08:54:38 pm »

I think he's complaining about the way square tilesets look in general. I'm not sure why they'd have a "squish" look though, unless he means the included 16x16 curses tileset, which is squished.
Logged
There are 2 types of people in the world: Those who understand hexadecimal, and those who don't.
Visit the #Bay12Games IRC channel on NewNet
== Human Renovation: My Deus Ex mod/fan patch (v1.30, updated 5/31/2012) ==
Pages: [1] 2