Bay 12 Games Forum

Please login or register.

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

Author Topic: DFWall - a mass rewall/refloor utility  (Read 5907 times)

LordZabujca

  • Bay Watcher
    • View Profile
Re: DFWall - a mass rewall/refloor utility
« Reply #30 on: May 13, 2008, 01:55:00 am »

Please do - and please include your whole copy of DFWall inside the archive. A screenshot of your Dwarf Fortress window would also be helpful (the whole window, not just the contents - so that I can tell if you've set XStart and YStart correctly). If by any chance you don't know how to take it just follow these instructions:
1. Go into Dwarf Fortress and press ALT+Print Screen (ALT+Prt Scr)
2. Go into Ms Paint, resize the white area to make it as small as you can and press CTRL+v
3. Save it as something more reasonable than a BMP.
Logged

Fedor

  • Bay Watcher
    • View Profile
Re: DFWall - a mass rewall/refloor utility
« Reply #31 on: May 13, 2008, 10:56:00 pm »

I also must report a failure to get this thing to work.  Tried for two hours, read every bit of instruction I could find, managed to get some activity (but only on the first try) when I pressed "CTRL + 1" to select Limestone Blocks, but could not figure out how to get the utility to lay down anything.

Same results with a custom tileset translated for DFWall and with the default Curses_640x300 tilset.

I'm not really certain what you do after selecting a material, and the instructions are hard to understand with essential information and commentary jumbled together, but watching the movie made me guess that something was supposed to happen if I first selected a material with Ctrl + 1 and then:

1. Repeated the build command in order to get to the "building placement" interface.
2. Positioned the cursor at one corner of the rectangle of constructions I wanted to build, held down Ctrl, typed keys to move the selection to the opposite corner of the construction, and released Ctrl.
3. Typed either "1" (or "Ctrl + 1" - wasn't clear on which and so tried both in separate experiments) and then either "w" for wall or "f" for floor.

Nothing happened.

Another problem was that it was difficult to move the location cursor with either Ctrl key held down.  With the default keybindings, the keypad did not work for this purpose, but arrow and main keyboard numbers did.

With the keybindings suggested here:
 

quote:
Originally posted by LordZabujca:
<STRONG>1. Change the default DF key settings to this:
Move secondary selector down: =
Page secondary selector down: Shift + =
2. Set DFWall.ini this way:
PageDownButton = {+}
ScrollDownButton = {=}</STRONG>
I couldn't get it to move at all (except down).  Numbers, number pad with scroll and numlock in all possible configurations, and arrow keys - nothing moved the cursor with either Ctrl key held down, using these settings.

(secondary note:  The instructions above, like all of the instructions related to this utility, had me mightily confused.  I thought that the DF keybindings lived in a file like the DFWall settings.  Took me a while to realize that I was being asked to go into a game interface and change some lines there.)


So.  Here's my DF installation.  38c, DFWall 0.916, custom tileset that I hope was correctly translated for DFWall.

Edit:  A screenshot (using the default Curses tileset):

[ May 14, 2008: Message edited by: Fedor ]

Logged
Fedor Andreev is a citizen of the Federated Endeavor. He is a member of the Wandering Minds.

LordZabujca

  • Bay Watcher
    • View Profile
Re: DFWall - a mass rewall/refloor utility
« Reply #32 on: May 14, 2008, 03:16:00 am »

Yeah, the map file is OK. Your XStart and YStart settings are OK for playing in a window. Your key settings seem OK. Your method of selecting the material for construction after saving may be off (the intended usage is along the lines of "hold down f, press 1 and release f to construct a rectangle of floors using the material under 1" - I may have made that part too ambiguous, I'll fix it later). There is something wrong in the colours section of the ini though.

You're using the Herrbdog's tileset. It doesn't only change the shapes of the letters but also gives them that pretty shading that messes with the "is this active / is this inactive" functions. Try changing your ini settings to these:

code:
SeparatorColour=0x7D7D7D
BackgroundColour=0x000000
SelectedColour=0x00CFCF
NotSelectedColour=0x2A548C

This change seems to make everything work properly on my end - tell me if it helps on yours.

I'll later add more details about the colours to the OP. A quick explaination for now:
SeparatorColour - the dominant colour of that vertical bar that separates the menus from the game view
BackgroundColour - the colour of the background in the construction menu
SelectedColour - if the material is selected all it's tiles have at least one pixel of this colour
NotSelectedColour - if the material isn't selected all it's tiles have at least one pixel of this colour

You can get all those with the mapmaker and its ctrl+m tool.

Also, my tests just now have shown that the "stop on failure" feature is even more buggy than I thought - for whatever reason it assumes it's always turned on. I'll need to look into it and post a quick fix version soon.

Logged

Adelus

  • Bay Watcher
    • View Profile
Re: DFWall - a mass rewall/refloor utility
« Reply #33 on: May 14, 2008, 03:22:00 am »

quote:
Originally posted by LordZabujca:
<STRONG>Please do - and please include your whole copy of DFWall inside the archive. A screenshot of your Dwarf Fortress window would also be helpful (the whole window, not just the contents - so that I can tell if you've set XStart and YStart correctly).</STRONG>

http://www.megaupload.com/?d=9QDVS6TM

Here ya go!

Logged

LordZabujca

  • Bay Watcher
    • View Profile
Re: DFWall - a mass rewall/refloor utility
« Reply #34 on: May 14, 2008, 03:31:00 am »

Hmm... Could you move this to rapidshare? My experiences with megaupload tell me that I'll never get to download it from my location thanks to the oh-so-awesome-and-completely-resonable-in-context-of-this-being-the-frickin'-WORLD-WIDE-web-geography-based-download-limits that megaupload has going on.
Logged

Adelus

  • Bay Watcher
    • View Profile
Re: DFWall - a mass rewall/refloor utility
« Reply #35 on: May 14, 2008, 03:42:00 am »

quote:
Originally posted by LordZabujca:
<STRONG>Hmm... Could you move this to rapidshare? My experiences with megaupload tell me that I'll never get to download it from my location thanks to the oh-so-awesome-and-completely-resonable-in-context-of-this-being-the-frickin'-WORLD-WIDE-web-geography-based-download-limits that megaupload has going on.</STRONG>

http://rapidshare.com/files/114788276/DwarfFortUpload.rar.html

Here ya go! x2

Logged

LordZabujca

  • Bay Watcher
    • View Profile
Re: DFWall - a mass rewall/refloor utility
« Reply #36 on: May 14, 2008, 04:29:00 am »

Okay, lets see:
1. XStart and YStart: OK
2. Map file: there's a problem with the ' symbol (and a few not normally used in text others), but it's unfixable from the DFWall side. Those black dots in the corners disappear ingame, but are read by the mapmaker (EDIT: After some consideration - there's no problem. Those dots are 0x000000 black, while the background is 0x030505 black). Otherwise: OK.
3. Keybindings: change the current
code:
PageDownButton = {+}
ScrollDownButton = {=}

to

code:
PageDownButton = {NumpadMult}
ScrollDownButton = {NumpadAdd}

Otherwise they seem OK.
4. Colours: messed with. Try these settings and tell me if they work (they do for me):
code:
SeparatorColour=0x7D7D7D
BackgroundColour=0x030505
SelectedColour=0x00E6FF
NotSelectedColour=0x38628C


5. Usage: Hold the button to determine the construction type, press the material number, and release it. The two buttons necessary are supposed to be pressed at the same time, not in sequence.

[ May 14, 2008: Message edited by: LordZabujca ]

Logged

Adelus

  • Bay Watcher
    • View Profile
Re: DFWall - a mass rewall/refloor utility
« Reply #37 on: May 14, 2008, 04:58:00 am »

It finally works! Seems to still be a little difficult to use, but only because of the timing.

However, I do have one issue still now, and a new one: After it successfully does an array, from that point on CTRL will have the function of going down a z-level when pressed or held.

Logged

LordZabujca

  • Bay Watcher
    • View Profile
Re: DFWall - a mass rewall/refloor utility
« Reply #38 on: May 14, 2008, 05:09:00 am »

What? How is that even possible? Ctrl is never called (or saved) in the script itself other than as ^ symbol in the hotkey definition - and the script can't know what key is for "go down a z-level" anyway, since that isn't even in the ini.

This may be an OS (or AHK VS OS) issue, but I really don't have any idea what may be causing that. Maybe assigning some other button for going down a z-level will stop that behaviour?

[ May 14, 2008: Message edited by: LordZabujca ]

Logged

Adelus

  • Bay Watcher
    • View Profile
Re: DFWall - a mass rewall/refloor utility
« Reply #39 on: May 14, 2008, 05:44:00 am »

It seems to have ceased now. I didn't even have to leave the window or restart it.

Everything works great now! Especially that I got the timing and technique down.

Note for those that still have trouble: It's f/w (hold), the saved number (hold), then release both.

Logged

LordZabujca

  • Bay Watcher
    • View Profile
Re: DFWall - a mass rewall/refloor utility
« Reply #40 on: May 14, 2008, 09:26:00 am »

The new version is up. The only difference between this one and the last is that I've fixed one bug, so it may or may not be worth a redownload if you already have 0.916.

I've also reworked the OP a bit, so that the usage may be a bit clearer. I've also added the info about the colours in the notes.

Logged

Shurhaian

  • Bay Watcher
    • View Profile
Re: DFWall - a mass rewall/refloor utility
« Reply #41 on: May 15, 2008, 09:58:00 pm »

Okay, I'm having trouble getting it to do anything here.

I run the program - no problems so far.

I go into uild, [C]onstruction, [w]all, place one, highlight the appropriate material, [Ctrl+1] (not Num1, note, the "1" key at the top left corner of the keyboard), then go ahead and place the wall.

Go back into [w]all mode, put the cursor over one end of the line(which is, after all, a one-thick rectangle), hold Ctrl, cursor over to the other end(a straight line, not a diagonal), and let go. Hold [w], hit [1], see stuff happening, let go.

But though it cursors over each spot and flips through menus, it doesn't actually PLACE the wall. It's like it cancels at the last moment, but continues anyway.

I'm puzzled...

ADDENDUM: I noticed that the .ini expects 640x300 mode. I can change that to 800x600 easily enough, but A) is it supported and B) what is the proper tile width?

[ May 16, 2008: Message edited by: Shurhaian ]

Logged
Working on: drakes - making the skies(mostly) a bit more varied

My guards need something better to do than make my nobles happy with hugs and justice.

LordZabujca

  • Bay Watcher
    • View Profile
Re: DFWall - a mass rewall/refloor utility
« Reply #42 on: May 16, 2008, 05:00:00 am »

Wait, what do you mean you've "noticed" that? Didn't you configure the ini file before running the utility? It's all in the OP - which is exactly the same as the stuff on the DFFD page.

The way it's configured by default DFWall will work on most computers with Dwarf Fortress run with the default settings in a window. If you're going to use another tileset you need to create a map file for that. If you're going to use the same tileset in another resolution you need to make a new, rescalled tileset file and use that (also, make a map for the new file of course). If you're using a nonstandard tileset it probably messes with colours - you also need to configure that. If you don't do those things DFWall won't know what to look for and where when scanning and will simply get confused - the behavior you've described means DFWall was unable to find a match.

If all that has left YOU confused - zip your DF install (preferably without saved games) with your copy of DFWall and a screenshot of your Dwarf Fortress window inside, put it on rapidshare and post a link here. I'll take a look and tell you how to configure this thing properly.

Logged

Shurhaian

  • Bay Watcher
    • View Profile
Re: DFWall - a mass rewall/refloor utility
« Reply #43 on: May 16, 2008, 06:55:00 am »

...hm. I'll poke at that.

A suggestion?

Put the setup BEFORE the directions in the OP. Especially before the block on the build template feature. Or at least(for ease of reference of those who want to check back after getting it set up) say "read setup directions below first".  :)

[ May 16, 2008: Message edited by: Shurhaian ]

Logged
Working on: drakes - making the skies(mostly) a bit more varied

My guards need something better to do than make my nobles happy with hugs and justice.

LordZabujca

  • Bay Watcher
    • View Profile
Re: DFWall - a mass rewall/refloor utility
« Reply #44 on: May 16, 2008, 01:05:00 pm »

quote:
Put the setup BEFORE the directions in the OP.

I figured it would be a little too intimidating - I can rework the OP so that the setup instructions are easier to find though.

Logged
Pages: 1 2 [3] 4 5