[v2.0.1] BDew's client and map stitcher - Updated 19/01

Forum for alternative clients, mods & discussions on the same.
algorithm
Posts: 218
Joined: Thu Aug 13, 2015 2:17 pm

Re: [v1.12.1] BDew's client and map stitcher - Updated 09/10

Post by algorithm »

Better and better! Bdew - you are doing amazing work! Thx!
algorithm wrote:Cape awarded? ;)
jorb wrote:Oh, for sure. Delivery 2022. ;)
User avatar
h3retostay
Posts: 213
Joined: Thu Jul 08, 2010 2:25 am

Re: [v1.12.1] BDew's client and map stitcher - Updated 09/10

Post by h3retostay »

Could you possibly add a feature to delete session folders with less than 20 tiles?
Drevar
Posts: 201
Joined: Mon Aug 16, 2010 9:38 pm

Re: [v1.12.1] BDew's client and map stitcher - Updated 09/10

Post by Drevar »

That would be a nice feature for the combiner; a flag to cleanup all the little piddly trash sessions that occur when you enter/exit a house, etc.
User avatar
bdew
Posts: 179
Joined: Mon Mar 22, 2010 3:27 pm

Re: [v1.12.1] BDew's client and map stitcher - Updated 09/10

Post by bdew »

Drevar wrote:That would be a nice feature for the combiner; a flag to cleanup all the little piddly trash sessions that occur when you enter/exit a house, etc.
I'll consider something like that, for now you can use --merge to combine all the small sessions (from the same place) into one.
Drevar
Posts: 201
Joined: Mon Aug 16, 2010 9:38 pm

Re: [v1.12.1] BDew's client and map stitcher - Updated 09/10

Post by Drevar »

Would you consider a delete option? i.e. deleting all the session folders that were --merge(d).
User avatar
bdew
Posts: 179
Joined: Mon Mar 22, 2010 3:27 pm

Re: [v1.12.1] BDew's client and map stitcher - Updated 09/10

Post by bdew »

Drevar wrote:Would you consider a delete option? i.e. deleting all the session folders that were --merge(d).
Well after a merge, everything is in the output. Right now the input is untouched so the user can verify that everything is good and delete the whole folder manually.

I'm a bit wary of destructive options overall, though i will consider a adding something like that after the thing is more stable and less of a buggy mess :P.

In other news - the next version will have streaming PNG output, so you can generate huge maps without using crazy amounts of RAM. For example right now to generate a 47000x42000 pixel map it needs about 10GB of RAM. With the new version it can be done using less than 500MB.
Drevar
Posts: 201
Joined: Mon Aug 16, 2010 9:38 pm

Re: [v1.12.1] BDew's client and map stitcher - Updated 09/10

Post by Drevar »

I really just use the combiner for tile management, not so much the large combined maps. Could there be a merge option to to just move/reindex tiles without bothering to generate the combined png map?

As to the memory issue, yeah I always get an out of memory error when it tries to create the map after merging the tiles, but at least it moves the tiles, which is what I want :)
User avatar
bdew
Posts: 179
Joined: Mon Mar 22, 2010 3:27 pm

Re: [v1.12.1] BDew's client and map stitcher - Updated 09/10

Post by bdew »

Drevar wrote:I really just use the combiner for tile management, not so much the large combined maps. Could there be a merge option to to just move/reindex tiles without bothering to generate the combined png map?
I think you mean this:

--noimg - Will not generate stitched images, can only be used with --merge

You might also be interested in manual combine mode

--combine <indir1> <x1> <y1> <indir2> <x2> <y2> <outdir>
  • Manually combines two map folders and merges tiles and fingerprints
  • indir1 x1 y1 - specifies first input folder and coordinate of a reference tile
  • indir2 x2 y2 - specifies second input folder and coordinate of a reference tile
  • outdir - name of new folder that will be created by combining the two input folders
Drevar wrote:As to the memory issue, yeah I always get an out of memory error when it tries to create the map after merging the tiles, but at least it moves the tiles, which is what I want :)
For now you can edit the bat file to add -Xmx1G (you can also do more with 2G, 10G, etc.) to fix those if/when you do want combined maps generated.
User avatar
bdew
Posts: 179
Joined: Mon Mar 22, 2010 3:27 pm

Re: [v1.12.2] BDew's client and map stitcher - Updated 14/10

Post by bdew »

Another small update - v1.12.2
  • Added hotkey - CTRL + SHIFT + Right Click with item on world object - mass add items
    • Useful for filling troughs, tar kilns, etc.
    • Note: You need to keep holding the modifier keys while all items are added.
  • Added bushes view filter
  • Changed trellis to not be hidden by plants view filter
  • Merged fixes from official client
Download: https://github.com/bdew-hnh/hafen-clien ... 1.12.2.zip
User avatar
Ferinex
Posts: 1040
Joined: Sun May 31, 2009 9:05 am
Location: Miami

Re: [v1.12.2] BDew's client and map stitcher - Updated 14/10

Post by Ferinex »

Could we see a hotkey for displaying resource name on hover? For identifying things, like Amber client.

Other requests: option to hide crops.
i guess they never miss huh

Return to “The Wizards' Tower”