Home » MODDING HQ 1.13 » v1.13 General Development Talk » ja2MapTool (Initial release)
Re: ja2MapTool[message #350432 is a reply to message #350425] Tue, 01 August 2017 20:16 Go to previous messageGo to previous message
The_Bob is currently offline The_Bob

 
Messages:415
Registered:May 2009
Location: Behind you.
I've added a much needed feature, tileset auto-mapping.

https://i.imgur.com/uZOMZB0.png

Download: https://www.dropbox.com/s/endlo00i950knz1/ja2MapTool-Alpha3.jar?dl=1

Clicking on the auto map button will make the tool do most of the work for you:

  • Tile categories that are in the same file as the source will be marked with a light shade of blue. They should be similar enough.
  • Categories that were in a different file that was found in the target tileset will be mapped to that file and marked light green.
  • All remaining tiles will be compared to tiles in the target tileset and if any sufficiently similar looking tiles are found, a suggestion list will be created. If the best suggestion is good enough, the tile will be automatically mapped. Categories with auto-matched tiles are marked yellow.
  • In case the tool has no idea what to do with a given tile category, it will mark it light red.

So far I've only managed to put together a simple histogram-based image comparison system, so aside from very similar looking tiles the suggestions aren't very good. OTOH, together with file-matching, this seems to get a fair bit of work done, so we're off to very good start anyway.

Report message to a moderator

Master Sergeant
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message thumbs26.png
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message correct8.png
Read Message exclamation8.png
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Using WASD keys for scrolling
Next Topic: Code cleanups, how to contribute
Goto Forum:
  


Current Time: Tue Jan 21 03:28:40 GMT+2 2025

Total time taken to generate the page: 0.01776 seconds