Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: tilesets not working.........why?  (Read 2403 times)

Gorjo MacGrymm

  • Bay Watcher
    • View Profile
tilesets not working.........why?
« on: September 13, 2008, 07:50:40 pm »

OK, I have been trying to install Guybrush's tileset into the game and keep getting problems.
I have edited the correct Font.bmp stuff with the tileset name and have chagned the resolution to the parameters specified in the tilesets and i get an error when i run the game.  It will only work if I return it to its 800x600 default.  Anyone know what gives?  This is a biggie for me, as the visual interface is a make/break for my game enjoyment.

My monitor is set to 1280x1024, but this should have no effect on fullscreen, which is where i get the error "Modw switch failed.  Running in windowed mode."

here is my init file:
___________________________________________________________________________
This lets you set the starting windowed/fullscreen setting.  Can be YES, NO or PROMPT.

[WINDOWED:NO]

This is the size and font for windowed mode.  Changing to 800x600 and the 800x600 font might make you happier.

[WINDOWEDX:640]
[WINDOWEDY:300]
[FONT:curses_640x300.bmp]

Full screen info.

[FULLSCREENX:1280]
[FULLSCREENY:400]
[FULLFONT:Guybrush_square_16x16.bmp]

If this is set to YES, the tiles will not be stretched, but rather the game view will be centralized, surrounded by black space.  Tiles that are too large will always be compressed rather than running off the screen.

[BLACK_SPACE:NO]

Graphics info, most of it as above.  Set GRAPHICS to YES to turn it all on.  This will use the "raw/graphics" folder for tile information.  Currently this is limited to whatever creature graphics you have downloaded.  The game comes with a few pictures to demonstrate.  As of September 2008, the Dwarf Fortress Wiki has graphical tilesets available at http://www.dwarffortresswiki.net/index.php/List_of_user_graphics_sets.

[GRAPHICS:YES]
[GRAPHICS_WINDOWEDX:1280]
[GRAPHICS_WINDOWEDY:400]
[GRAPHICS_FONT:curses_square_16x16.bmp]
[GRAPHICS_FULLSCREENX:1280]
[GRAPHICS_FULLSCREENY:400]
[GRAPHICS_FULLFONT:Guybrush_square_16x16.bmp]
[GRAPHICS_BLACK_SPACE:NO]

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:80:25]
[FULLGRID:80:25]
________________________________________________________________________________

I am at a loss, since I followed the instructions in at http://www.dwarffortresswiki.net/index.php/Tilesets to the letter as best as I can tell.  I had all this running on the 33c edition, which it seems what all these tilesets were intended for.  Is that my problem?  I did not use the ezpack style for this as that loads in 33c not 40d.  Please help someone.
Logged
"You should stop cutting down all these herr trees, or, MAN is my Queen going to be Aaaaa-aang-Re-ee with you guys!" flipping his hand and batting his eyelashes."
"Oh my god guys, wood, is like, totally murder."

etgfrog

  • Bay Watcher
  • delete & NULL;
    • View Profile
Re: tilesets not working.........why?
« Reply #1 on: September 13, 2008, 08:28:06 pm »

"[GRAPHICS_FONT:curses_square_16x16.bmp]"
this needs to be the name of the picture

example:
Code: [Select]
[GRAPHICS_FONT:Guybrush.bmp]
Logged
"How dare you get angry after being scammed."

Gorjo MacGrymm

  • Bay Watcher
    • View Profile
Re: tilesets not working.........why?
« Reply #2 on: September 13, 2008, 08:34:01 pm »

nope, thats not it, that line is for graphics in windows mode not fullscreen.  tried it anyway.  no luck.

thanks tho
Logged
"You should stop cutting down all these herr trees, or, MAN is my Queen going to be Aaaaa-aang-Re-ee with you guys!" flipping his hand and batting his eyelashes."
"Oh my god guys, wood, is like, totally murder."

etgfrog

  • Bay Watcher
  • delete & NULL;
    • View Profile
Re: tilesets not working.........why?
« Reply #3 on: September 13, 2008, 08:42:19 pm »

Quote
"Modw switch failed.  Running in windowed mode."
Quote
Code: [Select]
[WINDOWEDX:640]
[WINDOWEDY:300]
[FONT:curses_640x300.bmp]

your window mode options need to be set correctly, the same as the fullscreen mode, and turn blankspace on
Logged
"How dare you get angry after being scammed."

Soralin

  • Bay Watcher
    • View Profile
Re: tilesets not working.........why?
« Reply #4 on: September 14, 2008, 02:05:43 am »

I had that error before, I think it's because you're trying to run your monitor at a resolution that it can't run at.  I.e. 1280x400 is not a valid resolution that it's set up to handle.

If you changed FULLSCREENY to 1024 (if that's what your monitor runs at natively for example), and then set [FULLGRID:80:64] then it should work, and give you more tiles vertically.  You could also you keep the fullgrid the same, it should also work with the resolution change, things would just either be stretched out vertically or have black bars on top or bottom, depending on if you had black_space on or not.

Windowed mode doesn't need to be the same as fullscreen mode, I'm currently running with them set up differently.  The graphics thing doesn't need to be on for just a tileset either, unless you have something else that has other graphical changes then just ascii replacement.  i.e something that has more then a 1->1 character replacement, like different graphics for different dwarves that normally share the same character/tile I think.
« Last Edit: September 14, 2008, 02:12:55 am by Soralin »
Logged

Gorjo MacGrymm

  • Bay Watcher
    • View Profile
Re: tilesets not working.........why?
« Reply #5 on: September 14, 2008, 11:50:31 am »

Thanks Soralin.  You nailed it with setting it to the same resolution as my monitor at 1280x1024.  Not sure why that works, based on what i read the monitors resolution seemed immaterial, but then again, i am not a video graphics engineer in any way.

Strangely, setting the grid to 80:64 just pushed everything to the top of the page and setting blackspace to YES just smashed it togetther in the middle and both at once just smashed it flat at the top of the page.  Based on what I have pieced together so far, all you really need to do is ignore the tile XxY settings and just use your monitor setting for fullscreen.  In windowed mode I have no idea, as i prefer not to play that way.

Again,  BIG THANKS!  UBER WIN!

Now I can go and have some FUN....errr....I mean lose......errrrr I mean.........:P

Supercalafragalistic-Dwarfy-aladocious!

GG
Logged
"You should stop cutting down all these herr trees, or, MAN is my Queen going to be Aaaaa-aang-Re-ee with you guys!" flipping his hand and batting his eyelashes."
"Oh my god guys, wood, is like, totally murder."