David Ogea Posted June 12, 2018 Report Share Posted June 12, 2018 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 Falklands1.txt Quote Link to comment Share on other sites More sharing options...
kmart494 Posted June 12, 2018 Report Share Posted June 12, 2018 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. 1 Quote Link to comment Share on other sites More sharing options...
David Ogea Posted June 13, 2018 Author Report Share Posted June 13, 2018 Stupid me... Now that I use the right decimal character it works on both platforms Apparently, OSX is stricter than Windows on this one Thank you for the tip Cheers Quote Link to comment Share on other sites More sharing options...
kmart494 Posted June 13, 2018 Report Share Posted June 13, 2018 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 Quote Link to comment Share on other sites More sharing options...
David Ogea Posted June 15, 2018 Author Report Share Posted June 15, 2018 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 . Can't wait to see the next versions coming. Cheers, David Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.