Jump to content

Defect with SimPlot2 when creating maps for Mac OSX


David Ogea

Recommended Posts

Hi,

 

Here is a bug I found with SimPlot2 on Mac OSX.

 

I created a custom map for a Falklands scenario which covers Falkland Islands and the Argentinian coast. This map works well on a PC, but when I sent the .txt and the .png files to a friend using His Mac, he complained about SimPlot2 crashing.

 

I tried to debug the map and found out that the problem was occurring when I had coordinates for more than one country, therefore, this works well on a Mac:

 

MAP=Falklands1.png
SCALE=2.4
COUNTRY=FALKLAND ISLANDS|128.25|-64.25
CITY=New Island|60.12|-60.50|T
CITY=Port Stanley|191.12|-58.87|T
CITY=Rio Gallegos|-239.88|-54.38|T
CITY=Port San Carlos|147.75|-47.25|T
CITY=Port Stephens|78.25|-83.50|T
CITY=Hill Cove|104.00|-47.12|T
CITY=Puerto San Julian|-183.84|83.59|T
CITY=Primavera|-239.91|-120.47|T
But this, causes SimPlot2 to crash:
MAP=Falklands1.png
SCALE=2.4
COUNTRY=FALKLAND ISLANDS|128.25|-64.25
COUNTRY=ARGENTINA|-231-50|82.00
COUNTRY=CHILE|-242-50|-104.50
CITY=New Island|60.12|-60.50|T
CITY=Port Stanley|191.12|-58.87|T
CITY=Rio Gallegos|-239.88|-54.38|T
CITY=Port San Carlos|147.75|-47.25|T
CITY=Port Stephens|78.25|-83.50|T
CITY=Hill Cove|104.00|-47.12|T
CITY=Puerto San Julian|-183.84|83.59|T
CITY=Primavera|-239.91|-120.47|T
You will find attached the original .txt and .png files. You may try them as is on a Mac, and it should crash SimPlot2, then, you may remove coordinates for Argentina and Chile, and it should work :)
Hope it helps.
Cheers,
David

 

post-836-0-06053100-1528830440_thumb.png

Falklands1.txt

Link to comment
Share on other sites

David,

 

Thank you for the report. I see a potential problem with the txt file. The country names that need to be deleted have an error in them. There appears to be an extra "-" in place of a decimal point.

 

Try to substitute the following:

 

COUNTRY=ARGENTINA|-231.50|82.00
COUNTRY=CHILE|-242.50|-104.50
The X coordinate of each of these country names is fixed with the decimal. This works on my Mac.
  • Like 1
Link to comment
Share on other sites

You're welcome, David.

 

I have a "customer survey question" for you. How did you find out about SimPlot? I wrote several articles for the Naval SITREP magazine, and Larry Bond will occasionally ask me if anyone responded based on the articles.

 

Kevin

Link to comment
Share on other sites

Ciao Kevin,

I read about SimPlot2 in the Naval SITREP :). Before that, I was using a tool called MoBo, but it wasn't really adapted to Harpoon and it required a lot of extra effort to manage games.

SimPlot2 is really great :D. Can't wait to see the next versions coming.

Cheers,

David

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.
Note: Your post will require moderator approval before it will be visible.

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...
×
×
  • Create New...