Import assets

148 views
Skip to first unread message

Troy Ellis

unread,
Nov 21, 2018, 3:41:25 AM11/21/18
to MapForge User Group
Anyone able to import your own assets? I thought I'd finally give 1.07 a try after not having success with 1.05 a while back. I tried both using the import button and just dropping onto the map window with no success.
In 1.05, the icon would change to the plus to acknowledge the drop into the map or the button, but the asset never showed up. In 1.07, the icon just changes to the circle-slash showing it's not a valid drop control.
I tried using these tiles - Cave geomorphs

Heruca

unread,
Nov 21, 2018, 4:26:19 AM11/21/18
to MapForge User Group
Troy, try changing the 32-bit compatibility mode for MapForge. There are some modes that don't seem to play well with the drag-and-drop feature, and some that do. Once you find one that works, you'll probably notice that your  Challenge Code has changed. Just send me the new Challenge Code and I'll reissue your license and registration codes.

Heruca

unread,
Nov 21, 2018, 4:27:32 AM11/21/18
to MapForge User Group
Another thing you might try is holding down the Shift key when you click on the Import Art button. That will use a file chooser rather than DnD to import the artwork. Nice cave geomorphs, btw!

Troy Ellis

unread,
Nov 21, 2018, 5:01:16 AM11/21/18
to MapForge User Group
I was able to import using the shift-click import button method to select a file. One file at a time is very tedious. When it brought in the tile that is 800x800@ 150dpi, with the default map settings(50px/square), the tile is only 4 squares in size. That doesn't seem correct.
Also, trying to select the tile to move it or anything I get a script error, "Image expected (member 18 of castLib 1)" If I continue and then click off the image to unselect and then try to select it again, it disappears.

Heruca

unread,
Nov 21, 2018, 9:12:14 AM11/21/18
to MapForge User Group
Confirmed. At least under Windows, this seems to have broken in v1.0.7. I think it was working fine in v1.0.6. Expect a fix for v1.0.8. Thanks for letting me know.

Heruca

unread,
Nov 21, 2018, 11:53:40 AM11/21/18
to MapForge User Group
"One file at a time is very tedious"

What would you suggest? I was planning on eventually supporting drag-and-drop of folders (not just files), but that would probably stamp down a multi-token asset comprised of the folder's contents, and wouldn't help you build maps any faster.

You can adjust the pixels per cell setting of the stamp tool using the I/J/K/L hotkeys.

Troy Ellis

unread,
Nov 21, 2018, 2:17:26 PM11/21/18
to MapForge User Group
I would just like to be able to specify a folder and have MapForge load the assets in there like Dundjinni and Maptool do. Just display them in the right-side panel like the add-ons.
Also, it'd probably be good to put the IJKL hotkey info in the help and the Readme.rtf file.

Heruca

unread,
Nov 21, 2018, 3:55:23 PM11/21/18
to MapForge User Group
I'd need to basically add a visual file browser to MapForge. So folders would be the Categories listed in the vertical thumbnails, and the contents of the folders would be listed as the variants (the horizontal thumbnails). Thumbnails might need to be dynamically created to improve performance when browsing folders full of huge bitmaps, or users will complain of lag. Not sure how I'd be able to afford the additional development this would require.

Barry Snyder

unread,
Nov 23, 2018, 1:39:33 PM11/23/18
to MapForge User Group
I second this request - feature similar to Dundjinmni and MapTool. 

David Bettsack

unread,
Nov 23, 2018, 6:53:12 PM11/23/18
to MapForge User Group
That would be nice, but based on what Heruca said, it doesn't seem viable financially.  I suppose if a bunch of people wanted this, and were willing to pay more, a KS could be setup to fund this feature.  I'm not really sure how well that would go over though.

Bruce Meyer

unread,
Nov 23, 2018, 10:50:07 PM11/23/18
to MapForge User Group
I would support another Kickstarter for something like this.

Thomas Søderberg

unread,
Nov 24, 2018, 6:19:45 PM11/24/18
to MapForge User Group
I'm confused as to which folder you would import the image to. Very new to Mapforge.

Also, I don't think I understand the 10K, 8K etc. canvas?
Reply all
Reply to author
Forward
0 new messages