Add Lego Digital Designer

pull/574/head
Botspot 4 years ago
parent 9deeca9938
commit 4022c9aea6

@ -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.

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.1 KiB

@ -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

@ -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'

@ -0,0 +1 @@
https://github.com/Botspot/lego-digital-designer-rpi

@ -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

Loading…
Cancel
Save