Jump to content

penguin405

Members
  • Posts

    8
  • Joined

  • Last visited

Everything posted by penguin405

  1. Hello, everyone be around for a while, but wanted to provided some help to my fellow Mac users. First let me say what a great plug-in, getting it to work this will with Windows and Mac is a great feet it self. So thanks for all the hard work. 1.) If you are having trouble viewing lat/long and cool little compass symbol then you need to look about post number #638 about linking the files from a terminal (command prompt). ln -s '/Users//Library/Application Support/KSP_osx/Parts' '/Users//Library/Application Support/KSP_osx/KSP.app' Now for the long part over the past month or so I have been working on using GNUplot to plot the cvs data from ISAMapper and here are some of the results: Full mapping of IKE: [attach]34208[/attach] Moho in progress: [attach]34209[/attach] Full mapping of Duna: [attach]34210[/attach] Hope you like not sure why the images are small. This map projections where done with using bash scripting and GNUPlot: Attached is the bash script I wrote to make it all work, I am not an expert so don't get picky it's a work in progress. Here is the help section from script, it should help with your questions: Kerbol Celestial Body Projection Plotter Version: 1.2.4 File Name: KCBPP.sh Last updated: 29 September 2012 Author: Todd Gibson [email protected] This script will plot elevation data received from the ISA MAPSAT plugin from Kerbal Space Program (See: kerbalspaceprogram.com). You must have GNUPLOT installed for it to work. (Tested with KSP 0.17 MAC and ISA MAPSAT 3.3.0) This script has been tested on OS X Mountain Lion (See: www.apple.com) with GNUPLOT 4.6 (See: http://www.gnuplot.info) installed with Mac Port (See: http://www.macports.org). USAGE: KCBPP.sh -F [Input File] - L [Label File] -P [Palette] -h -c -s -p -a OPTIONS: Required Flages: -F ISA MAPSAT Common Value Separated (.cvs) file to be plotted required or no plot. -P Set the color palette to use, options are: BW - Black and white (Default). RB - Rainbow Blue-Green-Red. VM - Vomit (Very Ugly). LS - Land/Sea for plantes with liquid on the surface. NG - Negative looks like a black and white negative. BG - Blue/Green good for seeing the bottom of craters. PY - Purple/Red/Yellow gnuplot default color palette. Use one or all Projections: -c Plot a simply Cylindrical Map Projection. -s Plot a Spherical Map Projection (Currently in work). -p Plot a Polar Map Projection (not currently working). Not Required: -L A file contating a list of decimal latuide and longitude labels of location to be plotted on projection. The file needs to have one entry for each line and be in the format Latuide, Longitude, and Label with a semicolon';' seprating each item. -a Plot artefacts based on ISA MAPSAT data. EXAMPLE: CBPP.sh -c -F ~/KSP/pluginData/isa_mapsat/Duna_elevation.csv -P BW NOTES: 1) Options do not need to be in an particular order. 2) Could really use some help understanding GNUPLOT palettes. KNOW ISSUES: 1.) When artefacts are plotted if they are close together then labels may overlay. KCBPP adds 10 degrees to the latitude and longitude for the labels position. No plan to fix at this time. 2.) Space in the Label will don't work yet. Ok now that you have read it here is how to get it working. 1.) Visit the MacPort web site and install MacPort. ( The MacPorts Project is an open-source community initiative to design an easy-to-use system for compiling, installing, and upgrading either command-line, X11 or Aqua based open-source software on the Mac OS X operating system.) 2.) Install GNUPlot using MacPort. 3.) Save the attached script to your Mac ( I put it in my home directory /Users/username/) 4.) Run KSP and collect data from ISAMap Sat, remember to turn on store raw data. 5.) Now open and terminal window and run my script either change the file name to KCBPP and set the bit or just type bash KCBPP_1.2.4.sh.txt (command line options). Example command line: bash KCBPP_1.2.4.sh.txt -a -c -P RB -F ~/map_sat_data/Duna_elevation.csv I see we are going to plot Duna... I see we are working with Duna and you what to include artefacts, lets begin... The Rainbow palette will be used for the projections... Converting and Sorting Duna data... Plotting Duna as a Cylindrical Map Projection... Cleaning up temp files... +--------------Opening Map Projections------------+ |Files are located in: | /Users/userdirectory +-------------------------------------------------+ |Duna Projects: | Duna_Cylindrical.png Enjoy - I am still working on the spherical and polar plot options, I hope to move this to Python, but that might take a bit with learning curve.
  2. Just wanted to say hi and how much I enjoy this game, lots of fun and takes up way to much of my time. Oh, and I really enjoy all the Moding that going on fantastic fun. Long the the Kerbals!!!
  3. This is great, really enjoyed it all good job.
  4. First I tried with with my download working directory "/Users/toddgibson/Downloads/KSP_osx_0_16 working" that I use to play then game with no luck, so I did fresh unzip of 0.16 and moved it to the Applications directory "/Applications/KSP_osx" hoping that would help, but no luck. I also looked at your code trying to figure out where the directory was set at, but my experience with C and Xcode is limited. I tried changing the #define kKSP_DEFAULT_INSTALLATION_KEY @"kspDefaultInstallationPath" line in the KSP_constants.h file to both the directory mentioned above and recompiling with no luck. Thanks for the fast response and putting this app together and keep up the great work. Todd OS X 10.8.1 XCode Version 4.4.1 (4F1003)
  5. OK, compiled it, but when I execute it I get the following message that won't go away every time I click ok. "The file "KSP.app" could not be opened because there is no such file"
×
×
  • Create New...