egg changed the topic of #principia to: Logs: https://esper.irclog.whitequark.org/principia | <scott_manley> anyone that doubts the wisdom of retrograde bop needs to get the hell out | https://xkcd.com/323/ | <egg> calculating the influence of lamont on Pluto is a bit silly…
<queqiao->
⟨rnlahaye⟩ ⟪vickjhhh⟫ the Principia.so is […] ⮪ Can you check to see that the ".so" file is actually present?
_whitelogger has joined #principia
<queqiao->
⟨rocketdyne_h1⟩ How do I see the parameters of a trajectory with respect to a second body?
<queqiao->
For example, I'd like to see the periapsis or impact point of my trajectory wrt the Moon when I'm still mainly influenced by the Earth's gravity
<queqiao->
⟨rocketdyne_h1⟩ * the less dominant planetary
<queqiao->
⟨marmellata⟩ now that it works and doesnt kill my computer every time ... its 10 times better
<queqiao->
⟨nazfib⟩ ⟪rocketdyne_h1⟫ How do I see the parameters of a […] ⮪ To see the trajectory relative to the Moon (including apsides), set the plotting frame to any reference frame where the Moon is fixed; Moon-Earth-Orbit for example.
_whitelogger has joined #principia
_whitelogger has joined #principia
<queqiao->
⟨steinsgate0000⟩ Hi, I am currently trying to play around with principia. I am wondering if there are any guides to design a transfer orbit. Is it the same as stock or it's completely different? I plan to do a gravity assist from Venus as well, but right now I can't even transfer anywhere near venus. The rendezvous with Venus is too far away to do a slingshot
<queqiao->
BTW I figured out how to use principia and change reference frames in those days, and I now think it's way more fun (and accurate) than stock LOL
<queqiao->
⟨butcher6994⟩ Use transfer window planner
<queqiao->
⟨nazfib⟩ ⟪steinsgate0000⟫ Hi, I am currently trying to play […] ⮪ The most important thing for transfers to another body - both in "stock" and with Principia - is to start in a proper parking orbit (both inclination _and_ LAN matter a lot). Luckily, there are tools to help you with that.
<queqiao->
For a transfer to the Moon, use Lunar Transfer Planner. Launch when it tells you, to the inclination that it shows at that time. Once you're in a parking orbit, create an ~5d flight plan. Add a prograde burn in ECI of ~3150 m/s. Set the plotting frame to MEO, and move the manoeuvre's starting time around until you get an intercept.
<queqiao->
For interplanetary missions, use TWP. It gives you a date for the launch, and an ejection inclination and LAN; on the launch date, use MechJeb to a parking orbit with that inclination and LAN. The exact launch time doesn't matter, +/- 24h is close enough. Once in the parking orbit, create a flight plan with a length of the transfer time from TWP plus a few weeks. Add a prograde burn in ECI with the Δv that TWP gives you. Set the plotting frame to...
<queqiao->
... (X)SO. Adjust the manoeuvre's initial time to get as close to the target as you can (which won't be very close; but it should be within a few million kilometers); make sure that the time of the closest approach is within a few days of the the arrival date TWP gives you. From there, adjust the prograde Δv - no more than 150 m/s or so - and initial time - plus/minus a few minutes at most - until you get close enough to your target.
<queqiao->
Most of this is exactly the same as "stock", except the creation and adjusting of the manoeuvres - which is a lot easier with Principia. The most significant difference IMO is that you can select a reference frame where the target doesn't move - you can just move around the dotted noodle until it hits. Much easier than using the finicky "closest approach" markers, that often don't even show up, in stock.
<queqiao->
⟨Damien⟩ ⟪steinsgate0000⟫ Hi, I am currently trying to play […] ⮪ protip: install principia on stock kerbin solar system and speedrun all the usual milestones without the RSSRO handicaps. You can then take that UI familiarisation back to RSSRO
<queqiao->
⟨Damien⟩ it's way more efficient than doing what I did which was try to learn it all in RSSRO
<queqiao->
⟨vickjhhh⟩ ⟪rnlahaye⟫ Can you check to see that the `.so` […] ⮪ yes, the principia.so file is present in the MacOS64 folder.
<queqiao->
⟨rnlahaye⟩ ⟪vickjhhh⟫ yes, the principia.so file is present […] ⮪ Can you post a screenshot of the directory structure?
<queqiao->
⟨vickjhhh⟩ ⟪rnlahaye⟫ Can you post a screenshot of the […] ⮪ will do a few minutes - got to fire up my mac.
<queqiao->
⟨vickjhhh⟩ ⟪rnlahaye⟫ Can you post a screenshot of the […] ⮪ I had to sent you two screen shots
<queqiao->
⟨vickjhhh⟩ yesterday, I also tried installing Principia on a fresh KSP 1.12 install without any other mods with same results.
<queqiao->
⟨egg⟩ Why is the adapter there twice?
<queqiao->
⟨rnlahaye⟩ Also, it looks like you are using a year-old version of Principia. Please try again with the latest version
<queqiao->
⟨vickjhhh⟩ sorry - I tried an older version as part of trouble shooting. I had the samer error on the latest version ealier. also, I tried putting the adapter there as I thought It might address of of the error logs i had had scene. It also wasnt' there originally. I'll do a fresh Principia install with latest version - but the error was the same when that was the config.
<queqiao->
⟨vickjhhh⟩ ⟪rnlahaye⟫ Also, it looks like you are using a […] ⮪ New version installed
<queqiao->
⟨rnlahaye⟩ And is the .so file still there?
<queqiao->
⟨vickjhhh⟩ yes
<queqiao->
⟨rnlahaye⟩ Hrm
<queqiao->
⟨vickjhhh⟩ I noticed a mac, unlike my PC, autotmatically unzips files - any thing weird like that the cause?
<queqiao->
⟨rnlahaye⟩ unlikely
<queqiao->
⟨vickjhhh⟩ In the error logs, it looks like it can't find the .so file - but its right there in the right spot.
<queqiao->
⟨rnlahaye⟩ Have you gotten any messages about "macOS cannot verify the developer of “principia.so”"?
<queqiao->
⟨rnlahaye⟩ You should
<queqiao->
⟨vickjhhh⟩ no, only for CKAN. but, I turned off the Gatekeeper globally.
<queqiao->
⟨rnlahaye⟩ Please, don't turn off gatekeeper
<queqiao->
⟨vickjhhh⟩ I'll turn it back on - I just turned it off to see if that was the problem.
<queqiao->
⟨vickjhhh⟩ Its back on now :)(
<queqiao->
⟨vickjhhh⟩ 🙂
<queqiao->
⟨vickjhhh⟩ ⟪rnlahaye⟫ Have you gotten any messages about […] ⮪ Even with Gatekeeper back on, i get no message for Principial. Do you tpicially get that when you donwload Principia or when you first open it via the KSP loadup?
<queqiao->
⟨rnlahaye⟩ Yes (although I generally build it from source rather than downloading it; building from source bypasses quarantine).
<queqiao->
Could you check privacy and security in system settings and see if there is anything about principia.so?
<queqiao->
⟨egg⟩ Does one need to install the right C++ runtime on Mac? Or are they all there out of the box
<queqiao->
⟨rnlahaye⟩ Everything is there out of the box
<queqiao->
⟨vickjhhh⟩ no note re Principia. I just reset the gatekeeper to most restrictive setting and asked it to notify & get permission everytime. I'm going to do a fresh install of KSP and then Principia Mod and see if it does anything different. I have no idea what 'building it from source' means - but that sounds complicated....
<queqiao->
⟨vickjhhh⟩ same error with no message or warning from gatekeepr in system settings. I did get the warning when I rad the KSP installer. Nothing on load Re Principia.
<queqiao->
⟨vickjhhh⟩ 'ran'
<queqiao->
⟨vickjhhh⟩ its installed in HD/applications. Should it be in HD/USERS/mycomputername/applications? I'm grasping at straws...
<queqiao->
⟨vickjhhh⟩ If i read the log right, it doesn't see the principia.so file. i'm at a loss; tried everything. Bummer, for me - KSP w/o principia is a waste of time.
<queqiao->
⟨rnlahaye⟩ Could you get the quarantine settings for the file?
<queqiao->
⟨rnlahaye⟩ Location of applications folder is not relevant
<queqiao->
⟨vickjhhh⟩ I'm not sure where to find the 'quarantine settings.' on mac
<queqiao->
⟨sichelgaita⟩ Note that we check that the file exists _before_ loading the DLL. If it doesn't, you get "The principia DLL was not found at...". So the file is present.
<queqiao->
⟨vickjhhh⟩ i did get this error [EXC 13:27:53.782] DllNotFoundException: GameData/Principia/MacOS64/principia.so
<queqiao->
⟨lamont⟩ i'm trying again, i did some GameData/GameData idiocy and now i've forced codesigned the whole app plus manually all the principia so's
<queqiao->
⟨sichelgaita⟩ I would think of some dependent DLL failing to load.
<queqiao->
⟨vickjhhh⟩ ⟪sichelgaita⟫ Note that we check that the file exists […] ⮪ i don't get this error message at any point. I've done the following. dowload latest principia. Install folder into game data. run KSP.app. get error message that principia.so failed to load.
<queqiao->
⟨sichelgaita⟩ I understand, I read the thread.
<queqiao->
⟨vickjhhh⟩ sorry, that last message was meant in reply to lamont above error message screenshot.
<queqiao->
⟨sichelgaita⟩ Nevermind, we probably link static on macOS.
<queqiao->
⟨rnlahaye⟩ ⟪vickjhhh⟫ I'm not sure where to find the […] ⮪ Use "xattr" command, in terminal
<queqiao->
⟨lamont⟩ yeah i probably haven't caught up to you yet
<queqiao->
⟨vickjhhh⟩ ⟪rnlahaye⟫ Could you get the quarantine settings […] ⮪ re Quarantine, I don't have antivirus installed on my machine - so no quarantinve pulls up that i can see.
<queqiao->
⟨sichelgaita⟩ (A cat briefly stepped on lamont's keyboard.)
<queqiao->
⟨lamont⟩ (bumped my yubikey)
<queqiao->
⟨rnlahaye⟩ ⟪lamont⟫ Screenshot_2023-07-14_at_13.56.34.png ⮪ Yeah, this is expected
<queqiao->
⟨sumguy62⟩ sudo spctl --master-disable
<queqiao->
⟨vickjhhh⟩ ⟪rnlahaye⟫ Use `xattr` command, in terminal ⮪ victorneufeld@victors-MacBook-Pro ~ % xattr quarantine
<queqiao->
xattr: No such file: quarantine
<queqiao->
victorneufeld@victors-MacBook-Pro ~ %
<queqiao->
⟨rnlahaye⟩ No, xattr the Principia.so file
<queqiao->
⟨vickjhhh⟩ it worked!!! y'all are awesome. Is MacOS alwasy so sneaky behind the scenes?
<queqiao->
⟨rnlahaye⟩ I'm not sure exactly what is going on here
<queqiao->
⟨rnlahaye⟩ I've only ever seen it fail loudly (like lamont's screenshot)
<queqiao->
⟨vickjhhh⟩ I've noticed a few other folks had the same problem i did on the forum - but to the best of my googling, ya'll are the only one's who figured this out. Thanks for your patience and thanks for teaching me along the way.
<queqiao->
⟨sichelgaita⟩ Friendly macOS experts: is there anything that we could do to make the mod easier to install?
<queqiao->
⟨rnlahaye⟩ It should probably be signed and notarized. I’ll look into it