From 4022c9aea6f02e06c5caca5abea1311a0828100a Mon Sep 17 00:00:00 2001 From: Botspot Date: Tue, 13 Apr 2021 14:56:02 -0500 Subject: [PATCH] Add Lego Digital Designer --- apps/Lego Digital Designer/credits | 1 + apps/Lego Digital Designer/description | 5 +++++ apps/Lego Digital Designer/icon-24.png | Bin 0 -> 1621 bytes apps/Lego Digital Designer/icon-64.png | Bin 0 -> 6293 bytes apps/Lego Digital Designer/install-32 | 29 +++++++++++++++++++++++++ apps/Lego Digital Designer/uninstall | 17 +++++++++++++++ apps/Lego Digital Designer/website | 1 + data/categories/structure | 2 ++ 8 files changed, 55 insertions(+) create mode 100644 apps/Lego Digital Designer/credits create mode 100644 apps/Lego Digital Designer/description create mode 100644 apps/Lego Digital Designer/icon-24.png create mode 100644 apps/Lego Digital Designer/icon-64.png create mode 100755 apps/Lego Digital Designer/install-32 create mode 100755 apps/Lego Digital Designer/uninstall create mode 100644 apps/Lego Digital Designer/website diff --git a/apps/Lego Digital Designer/credits b/apps/Lego Digital Designer/credits new file mode 100644 index 0000000..729fb33 --- /dev/null +++ b/apps/Lego Digital Designer/credits @@ -0,0 +1 @@ +Botspot diff --git a/apps/Lego Digital Designer/description b/apps/Lego Digital Designer/description new file mode 100644 index 0000000..45e85f3 --- /dev/null +++ b/apps/Lego Digital Designer/description @@ -0,0 +1,5 @@ +Play with virtual Lego blocks and create your own plans! +This is Lego's official (discontinued) brick design program. With it, you can build your own sets within the editor and paint the pieces any color you wish. +Afterwards, you can generate step-by-step building plans and print them out. Or you could place your creation into a desert background and take a picture of it to share with friends. + +This program runs extremely well on RPi. The only problem I (Botspot) could find was the sound effects don't work. diff --git a/apps/Lego Digital Designer/icon-24.png b/apps/Lego Digital Designer/icon-24.png new file mode 100644 index 0000000000000000000000000000000000000000..06ddb4fd25cc2360179b66614300ade619cc39fa GIT binary patch literal 1621 zcmV-b2CDgqP)004R>004l5008;`004mK004C`008P>0026e000+ooVrmw00006 zVoOIv0RI600RN!9r;`8x010qNS#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z`#0s)0@uyT>~sJC03~!qSaf7zbY(hYa%Ew3WdJfTGBGVMG%YbRR53F;G&VXgH7zhT zIxsMD55klH001R)MObuXVRU6WZEs|0W_bWIFfuVMFf=VOGgL7%Iy5#qFfc7JH99ab TQEF9>00000NkvXXu0mjfPp=A_ literal 0 HcmV?d00001 diff --git a/apps/Lego Digital Designer/icon-64.png b/apps/Lego Digital Designer/icon-64.png new file mode 100644 index 0000000000000000000000000000000000000000..7e78820089d9da8eca30252dcf31afc578d1a76d GIT binary patch literal 6293 zcmZvAbx;%z(Do?}B7$^D_tD+m4HAchbT`r=NP~oQ93URua3Y-tC<@Xgchb$#2ORPG zn{U29-kEoHcAwd2=b4?I+1WofQD0Y$5T6U5`lbF9@7Ysg+_6PRC@q7ijWWw8$`a)m zb8HrSc|}Ezj{~^sxXH2UzrN#9;uhI4r{HgbN z3?Q!&CCP?Eh+qD<%x_fjvN;A=ONph$Ou?K`sKf3oCD4T&!j4;?s zYUcwz-ip_GXp+?K8)(b&XVr>?2-1@|skh-+G4vwS>P=xZ^!^JGH^uvOXV!>EcBgCr z(*1cvDSUJbia4mpUgGAmdgr%`zV20es+Bj}+@K0IgdAf+M6AA+GQD0Dr!aws1mCG4 zisn4`>OSLKEKy&dTi;q7U*BpakgS*%7wuZ{ky(A^oRm<)3hDGsM~=K&mT&TW8GbO| z>a&5XWGM?@-1t^5cL1bNRfWHcFlBh^J1Vs@LVhF5Bv*DZ)_&QH44?UVe=-BAkdJss zvJM98jbm*#Mp5o!k=O`Tsl^_sJ%nyQc-xN#Wrok$T3U)qNuZf5I340UpGIrTFX2O# z)!n0g1*~XoYgP8O&W9l?f-yq|h;yq5@ts1PknT;e0v)1#z*w~%4Li|A)pHBhNyVX?A!fRuyONXC z_os2@;HL>?ry&PL31g$>T?O5mj*mQUS zYtClO`jJFI>G5neR+_BRU_@Eh+rYh5Lq-usJgfBCFmZVklZ7~XC=nx73C=T8$JKvbbXW$f}mi~)L;iEo|O<2}WnLl-TvDvn6 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4N(+UFsAtTqG$D2G4r>7>+c|G=j-qf0D}C2 z0ziIYpn#CEfRLoHs3gA#kY7ZSpWl~gFzbH_JiP2(9E1N40ssFK7`VPp`zHWssOTy; IDB48-57I73g#Z8m literal 0 HcmV?d00001 diff --git a/apps/Lego Digital Designer/install-32 b/apps/Lego Digital Designer/install-32 new file mode 100755 index 0000000..199428f --- /dev/null +++ b/apps/Lego Digital Designer/install-32 @@ -0,0 +1,29 @@ +#!/bin/bash + +DIRECTORY="$(dirname "$(dirname "$( cd "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )")")" + +function error { + echo -e "\\e[91m$1\\e[39m" + exit 1 +} + +"${DIRECTORY}/manage" install-if-not-installed 'Wine (x86)' || error "Wine is required to run Lego Digital Desginer but it failed to install!" + +rm -f ~/setupldd-pc-4_3_11.exe + +wget 'https://github.com/Botspot/lego-digital-designer-rpi/releases/download/1/setupldd-pc-4_3_11.exe' || \ + wget 'https://web.archive.org/web/20190622153357/https://lc-www-live-s.legocdn.com/downloads/ldd2.0/installer/setupLDD-PC-4_3_11.exe' || \ + error "Failed to download setupLDD-PC-4_3_11.exe" + +wine ~/setupldd-pc-4_3_11.exe || error "Wine failed to run setupldd-pc-4_3_11.exe" +rm -f ~/setupldd-pc-4_3_11.exe + +#wait until finished +while ps aux | grep -v grep | grep wine | grep -q 'LEGO Digital Designer' ;do + sleep 1 +done + +if [ ! -f ~/'.local/share/applications/wine/Programs/LEGO Company/LEGO Digital Designer.desktop' ];then + error "Lego Digital Designer should be installed by now, but the menu launcher does not exist!\n$HOME/.local/share/applications/wine/Programs/LEGO Company/LEGO Digital Designer.desktop\n" +fi + diff --git a/apps/Lego Digital Designer/uninstall b/apps/Lego Digital Designer/uninstall new file mode 100755 index 0000000..d5334b0 --- /dev/null +++ b/apps/Lego Digital Designer/uninstall @@ -0,0 +1,17 @@ +#!/bin/bash + +DIRECTORY="$(dirname "$(dirname "$( cd "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )")")" + +function error { + echo -e "\\e[91m$1\\e[39m" + exit 1 +} + +env WINEPREFIX="$HOME/.wine" wine C:\\windows\\command\\start.exe /Unix ~/.wine/dosdevices/c:/ProgramData/Microsoft/Windows/Start\ Menu/Programs/LEGO\ Company/Uninstall\ LEGO\ Digital\ Designer.lnk || error "Wine uninstallation command failed!" + +#wait until finished +while ps aux | grep -v grep | grep wine | grep -q 'LEGO Digital Designer' ;do + sleep 1 +done + +rm -rf ~/'.local/share/applications/wine/Programs/LEGO Company' diff --git a/apps/Lego Digital Designer/website b/apps/Lego Digital Designer/website new file mode 100644 index 0000000..3966c8b --- /dev/null +++ b/apps/Lego Digital Designer/website @@ -0,0 +1 @@ +https://github.com/Botspot/lego-digital-designer-rpi diff --git a/data/categories/structure b/data/categories/structure index 357fb7c..06b2858 100644 --- a/data/categories/structure +++ b/data/categories/structure @@ -35,10 +35,12 @@ Intellij IDEA|Editors Interactive Brokers TW|Tools jGRASP IDE|Editors KDiskMark|Tools +Lego Digital Designer|Editors Libreoffice MS theme|Eyecandy LibrePCB|Editors Lightpad|Eyecandy Lokinet|Internet +Lutris|Games Mac OS Theme|Eyecandy Mesa 20.3|Tools Minecraft Bedrock|Games