From 8b98d3ff9c0e5e1bfeaa3404dc75a3e4490ae8f6 Mon Sep 17 00:00:00 2001 From: Mikhail Grushinskiy Date: Sat, 10 Feb 2024 12:41:08 -0500 Subject: [PATCH] upd --- docs/bareboat-os.adoc | 5 +- docs/sasplanet-install-bookworm.adoc | 104 +++++++++++++++++++++++++++ 2 files changed, 108 insertions(+), 1 deletion(-) create mode 100644 docs/sasplanet-install-bookworm.adoc diff --git a/docs/bareboat-os.adoc b/docs/bareboat-os.adoc index 834d28e4..39a7cf9a 100644 --- a/docs/bareboat-os.adoc +++ b/docs/bareboat-os.adoc @@ -3282,9 +3282,12 @@ http://svocelot.com/Cruise_Info/Equipment/mbTiles.htm And some prepared charts: http://svocelot.com/Cruise_Info/Equipment/KAP_Downloads.htm -To install SAS.Planet on Raspberry Pi follow this guide: +To install SAS.Planet on Raspberry Pi with Bullseye follow this guide: https://bareboat-necessities.github.io/my-bareboat/sasplanet-install.html +To install SAS.Planet on Raspberry Pi with Bookworm follow this guide: +https://bareboat-necessities.github.io/my-bareboat/sasplanet-install-bookworm.html + === Install QGIS GIS Another program used for creating DIY charts and mbtiles is QGIS. diff --git a/docs/sasplanet-install-bookworm.adoc b/docs/sasplanet-install-bookworm.adoc new file mode 100644 index 00000000..d79fa92f --- /dev/null +++ b/docs/sasplanet-install-bookworm.adoc @@ -0,0 +1,104 @@ += Install SASPlanet +mgrouch +{docdate}, Install SASPlanet +:imagesdir: images +:doctype: book +:keywords: openplotter, SASPlanet, arm64, rpi4 +:description: Install SAS.Planet on arm64 +:organization: Bareboat Necessities +:description: Install SASPlanet with wine on arm64 Bookworm Raspberry Pi BBN OS, OpenCPN free KAP charts, Openplotter +:title-logo-image: image:bareboat-necessities-logo.svg[Bareboat Necessities Logo] +ifdef::backend-pdf[] +:source-highlighter: rouge +:toc-placement!: manual +:pdf-page-size: Letter +:plantumlconfig: plantuml.cfg +endif::[] +ifndef::backend-pdf[] +:toc-placement: left +endif::[] +:experimental: +:reproducible: +:toclevels: 4 +:sectnums: +:sectnumlevels: 3 +:encoding: utf-8 +:lang: en +:icons: font +ifdef::env-github[] +:tip-caption: :bulb: +:note-caption: :information_source: +:important-caption: :heavy_exclamation_mark: +:caution-caption: :fire: +:warning-caption: :warning: +endif::[] +:env-github: + +{zwsp} + + +== Intro + +SAS.Planet is a popular in offshore sailing community free and opensource program to prepare free raster charts +for OpenCPN from GoogleEarth and others satellite images. More on the subject: + +http://svocelot.com/Cruise_Info/Equipment/mbTiles.htm + +And some prepared charts: +http://svocelot.com/Cruise_Info/Equipment/KAP_Downloads.htm + + +== Install SASPlanet on Raspberry Pi Bookworm arm64 + +SASPlanet is 32-bit Windows application. So we need to install box86 to emulate 32-bit Intel processor, +and we would need to install wine86 to emulate Windows. box86 being 32-bit would need armhf (32-bit) +runtime libraries. + +== Step 1. Wine/Box86 + +Perform all steps to install wine and box86 from this Guide (if you haven't installed it previously): +https://bareboat-necessities.github.io/my-bareboat/airmail-install-bookworm.html + +== Step 2. Download and install SAS.Planet + +[source, shell] +---- +cd ~ +wget https://bitbucket.org/sas_team/sas.planet.bin/downloads/SAS.Planet.Release.220707.zip +wget -O sas-planet-patch.zip 'https://drive.google.com/uc?export=download&id=1xapw4gVa8d2rugKfq15yyGuY6gAfsR4L' +mkdir SASPlanet-2022/ +cd SASPlanet-2022/ +unzip ../SAS.Planet.Release.220707.zip +cd Maps +unzip -u ../../sas-planet-patch.zip +cd ../.. +rm -rf SAS.Planet.Release.220707.zip sas-planet-patch.zip +---- + +== Step 3. Create desktop shortcut + +[source, shell] +---- + +sudo bash -c 'cat << EOF > /usr/local/share/applications/sasplanet.desktop +[Desktop Entry] +Type=Application +Name=SAS.Planet +GenericName=SASPlanet +Comment=SASPlanet GIS +Exec=bash -c "cd ~/SASPlanet-2022/; wine SASPlanet.exe" +Terminal=false +Icon=gnome-globe +Categories=WWW;Internet +EOF' + +---- + +== Step 4. Run SAS.Planet + +[source, shell] +---- +cd ~/SASPlanet-2022/ +wine SASPlanet.exe +---- + +