Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 8 9 [10]

Author Topic: Holy shit! You can now expand the view!  (Read 35113 times)

infinity

  • Bay Watcher
    • View Profile
Re: Holy shit! You can now expand the view!
« Reply #135 on: August 11, 2008, 02:09:37 am »

Good for a 1024x768 CRT screen resolution, running DF in window mode:

[GRID:85:60]
[GRAPHICS:YES]
[GRAPHICS_WINDOWEDX:1020]
[GRAPHICS_WINDOWEDY:720]
[GRAPHICS_FONT:TU.bmp]
[GRAPHICS_BLACK_SPACE:YES]

The font is from: http://www.dwarffortresswiki.net/index.php/Image:Tileset_unknown_960x300_02.png

Nice and clean -- I suppose any clean font would do, this one just happens to look best to me.
Logged

Hishan

  • Bay Watcher
  • [ALCOHOL_DEPENDANT]
    • View Profile
Re: Holy shit! You can now expand the view!
« Reply #136 on: August 11, 2008, 12:51:05 pm »

Please tell me if I am being stupid here. What kind of numbers do you need to put in for the grid and windowed size to just get the original sized tileset and see more of it?

Oh and im running on (1280X1024,) if that matters at all.
Logged

sphr

  • Bay Watcher
    • View Profile
Re: Holy shit! You can now expand the view!
« Reply #137 on: August 11, 2008, 12:59:37 pm »

let me try:

max_tile_width size possible = floor(screen_pixel_width/tile_pixel_width)
max_tile_height size possible = floor(screen_pixel_height/tile_pixel_height)

after you choose a size you want, say tile_width and tile_height which must be less than max sizes computed above.

window_pixel_width = tile_width x tile_pixel_width
window_pixel_height = tile_height x tile_pixel_height

then in your init.txt]

change to the following (replace the symbols from values you computed above)

[GRID:tile_width:tile_height]
...
[GRAPHICS_WINDOWEDX:window_pixel_width]
[GRAPHICS_WINDOWEDY:window_pixel_height ]
...

Sowelu

  • Bay Watcher
  • I am offishially a penguin.
    • View Profile
Re: Holy shit! You can now expand the view!
« Reply #138 on: August 11, 2008, 02:18:15 pm »

A couple things that I'd really like:
- Ability to say 'Here's my tilesize.  Here's how many tiles I want.  Figure out the screen size yourself.'
- Ability to say "Stop stretching my tiles when I go from windowed to fullscreen".  Whether that means changing the number of tiles, or whether it means showing black borders on the sides, I dunno...but stretching the tiles makes it look like I'm playing on a 90s-era laptop display :(

...Still, this is the release that drew me back into playing again!  Significant fun-barrier lowered.
Logged
Some things were made for one thing, for me / that one thing is the sea~
His servers are going to be powered by goat blood and moonlight.
Oh, a biomass/24 hour solar facility. How green!

DwarfMan69

  • Bay Watcher
  • Hatred, darkness, and Despair
    • View Profile
Re: Holy shit! You can now expand the view!
« Reply #139 on: August 11, 2008, 05:45:35 pm »

I don't know what I should put my grid size. I have a 19" 1440x900 monitor.
Logged

Kishmond

  • Bay Watcher
  • What the pfargtl?
    • View Profile
    • My DF Stories blog.
Re: Holy shit! You can now expand the view!
« Reply #140 on: August 11, 2008, 11:34:15 pm »

Get the dimensions of the tileset you use. This is important.

Divide the width of your screen resolution by the width of one character tile (eg: 16 on a 16x16 set).
Round down if needed, this is the number of tiles that will fit in that direction.
Repeat for height.

For example, on my 1280x1024 monitor and my 16x16 character set, I can fit 80x64 tiles on fullscreen. This is quite a large playing field.
To fit a 16x16 set on a full 200x200 grid I would need a resolution of 3200x3200...

- Ability to say "Stop stretching my tiles when I go from windowed to fullscreen".  Whether that means changing the number of tiles, or whether it means showing black borders on the sides, I dunno...but stretching the tiles makes it look like I'm playing on a 90s-era laptop display :(

In init:
[BLACK_SPACE:YES]
« Last Edit: August 11, 2008, 11:48:39 pm by Kishmond »
Logged
Pages: 1 ... 8 9 [10]