Jump to content

SimPlot - SimPlot MapMaker for Win10


kmart494
 Share

Recommended Posts

SimPlot MapMaker for Win10

View File

This is a utility program that creates maps for use in SimPlot 2.3+ Please see the included Release Notes.txt file to get started.

This is a Beta release. If you find any errors or bugs, let the author know either in the Harpoon forum or on the Discord Harpoon 5 Multiplayer channel.


 

Link to comment
Share on other sites

50 minutes ago, kmart494 said:

SimPlot MapMaker for Win10

View File

This is a utility program that creates maps for use in SimPlot 2.3+ Please see the included Release Notes.txt file to get started.

This is a Beta release. If you find any errors or bugs, let the author know either in the Harpoon forum or on the Discord Harpoon 5 Multiplayer channel.


 

There goes my weekend.

  • Like 1
Link to comment
Share on other sites

  • 1 month later...
  • 1 month later...

Hi!

Excellent applications. Anyway, is it not possible to use a raw picture as background? SimPlot doesn't load anything if in MapMaker I turn true 'Use image in Final Map'. Only if I turn it false SimPlot loads the lines and polygones I have drawn by hand (but not the picture). Or am I doing something wrong? I'd appreciate any help.

Link to comment
Share on other sites

18 hours ago, kmart494 said:

Is your raw picture in the same folder as the map json file? It should appear there if the checkbox is set True.

It is, yes. I have tried using formats PNG, BMP and JPG, in folder 'Maps' in SimPlot and in 'Map Projects' in MapMaker and with SimPlot 2.2.3 and 2.3. beta 18, but everything in vane.

I attach the image and the JSON file, just in case.

MedTS-EEZ.png

MedTS-EEZ.json

Link to comment
Share on other sites

I think I discovered the problem. Your map image has a scale of .353 pixels/nmi, but the json file shows 353 pixels/nmi. This will not render correctly in SimPlot. I will look at the source code to see where the app went wrong.

Link to comment
Share on other sites

15 hours ago, kmart494 said:

I think I discovered the problem. Your map image has a scale of .353 pixels/nmi, but the json file shows 353 pixels/nmi. This will not render correctly in SimPlot. I will look at the source code to see where the app went wrong.

I noticed it, but I supposed it was an internal format. Anyway, I have replaced by hand 353 by 0.353 in the JSON file, but still the background map is not displayed in Simplot.

Is there any restriction for the image files that could render them invalid for Simplot, at least to be displayed?

 

Link to comment
Share on other sites

Actually, the discrepency with the decimal place is internal to SimPlot. Many decimal values are truncated to a certain number of places, then cast as an integer value to be saved. This saves file space as Xojo will save too many decimal places in JSON. I forgot I had done that. The value in your file is correct.

What's not correct is the drawing routine in SimPlot. It turns out that a background image from MapMaker was being drawn first, then the background fill is drawn. That "covers up" the image. The next release will have the fix. I might release it this weekend, but the unit formations are not yet tested.

Link to comment
Share on other sites

3 hours ago, kmart494 said:

Actually, the discrepency with the decimal place is internal to SimPlot. Many decimal values are truncated to a certain number of places, then cast as an integer value to be saved. This saves file space as Xojo will save too many decimal places in JSON. I forgot I had done that. The value in your file is correct.

What's not correct is the drawing routine in SimPlot. It turns out that a background image from MapMaker was being drawn first, then the background fill is drawn. That "covers up" the image. The next release will have the fix. I might release it this weekend, but the unit formations are not yet tested.

Excellent, thank you very much!  🙂👏👏👏

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...