SHOW:
|
|
- or go back to the newest paste.
1 | - | ###### Winlink and VARA Installer for the Raspberry Pi 4B |
1 | + | ############################################################################### |
2 | - | # Author: KI7POL |
2 | + | ########### Winlink & VARA Installer Script for the Raspberry Pi 4B ########### |
3 | - | # Version: 0.1a |
3 | + | # Author: Eric Wiessner (KI7POL) # |
4 | - | # About: This script is intended for use on a Raspberry Pi 4B, but should work on a Raspberry Pi 3B+ too. This script requires you to find your own ExaGear Desktop v3.1 installer. This script will help you install ExaGear, upgrade and patch bugs in ExaGear, install Wine and winetricks inside ExaGear, install pre-requisite components for RMS Express and VARA inside a fresh wineprefix, then help you install and configure RMS Express and VARA to send-receive audio from your sound card. |
4 | + | # Version: 0.45 (work in progress 01/31/2021) # |
5 | # Credits: # | |
6 | - | # Notes: Telnet does not work yet due to a bug in my .NET sideloader script. If you want to get Telnet working for now, you can install Wine and winetricks on a separate Linux x86 computer, install dotnet35sp1 in a fresh wineprefix on that computer, then copy the wineprefix over to the Pi - instead of using my weird .NET sideloader script. This takes a lot of time though and the files can't be shared with other users due to legal constraints with sharing lone Microsoft DLL files. |
6 | + | # The Box86 team # |
7 | - | # This script avoids sharing of Microsoft DLL's and complies with .NET redistribution terms. It does this by downloading the entire .NET installer before unpacking it into place within a fresh wineprefix. We have to sideload .NET this way due to a bug in .NET 3.0 XPSEPSC updater that causes installation to fail. |
7 | + | # (ptitSeb, pale, chills340, phoenixbyrd, Botspot, !FlameKat53, epychan, # |
8 | - | # I would like to get away from using ExaGear and 'side-loaded' .net eventually since it's hacky and relies on abandonware. |
8 | + | # Heasterian, monkaBlyat, SpacingBat3, #lukefrenner, Icenowy, Longhorn, # |
9 | # #MonthlyDoseOfRPi, luschia, Binay Devkota, hacker420, et.al.) # | |
10 | - | # All rights 'reversed.' Please use this code in whole or in part as you wish, just please give me shout-out if you do. |
10 | + | # K6ETA & DCJ21's Winlink on Linux guides # |
11 | # KM4ACK & OH8STN for inspiration # | |
12 | # N7ACW & AD7HE for getting me started in ham radio # | |
13 | - | ### Install an x86 emulator. ExaGear is discontinued (abandonware) and requires us to have either already purchased a key before the company dissolved, or to download a cracked version of ExaGear. I personally already purchased a key, but if that is not an option for you, check the pyra-handheld forums. |
13 | + | # # |
14 | - | # Download ExaGear Desktop 3.1 for RPi3B+ (use on RPi4B) here: https://pyra-handheld.com/boards/threads/exagear-is-dead.83548/page-6 |
14 | + | # "My humanity is bound up in yours, for we can only be human together" # |
15 | - | tar -xvzpf exagear-desktop-v3-1-rpi3.tar.gz # Extract it |
15 | + | # - Nelson Mandela # |
16 | - | sudo ./exagear-desktop-v3-1-rpi3-cracked/install-exagear.sh |
16 | + | ############################################################################### |
17 | - | exagear # Activate the ExaGear guest system within the terminal. You're now "inside the x86 world" in the terminal |
17 | + | |
18 | - | arch # should say "i686" if ExaGear's guest x86 Raspbian OS environment is activated |
18 | + | # About: |
19 | # This script will help you install Box86, Wine, winetricks, Windows DLL's, Winlink (RMS Express) & VARA. You will then need to configure RMS Express & VARA to send/receive audio from a USB sound card plugged into your Pi. This installer will only work on the Raspberry Pi 4B for now. If you would like to use an older Raspberry Pi (3B+, 3B, 2B, Zero, for example), software may run very slow and you may need to compile a custom 2G/2G split memory kernel before installing. | |
20 | - | ##### error-checking: only continue if arch returns i686 |
20 | + | |
21 | # Distribution: | |
22 | - | ################################ Upgrade ExaGear's Jessie to Stretch ############################# |
22 | + | # This script is free to use, open-source, and should not be monetized. If you use this script in your project (or are inspired by it) just please be sure to mention ptitSeb, Box86, and myself (KI7POL). |
23 | - | # This will allow us to use the newer versions of Wine that have RMS Express support |
23 | + | |
24 | - | sudo sed -i /deb/s/jessie/stretch/g /etc/apt/sources.list |
24 | + | # Legal: |
25 | - | sudo sed -i /deb/s/jessie/stretch/g /etc/apt/sources.list.d/*.list |
25 | + | # All software used by this script is free and legal to use (with the exception of VARA, of course, which is shareware). Box86 and Wine are both open-source (which avoids the legal problems of use & distribution that ExaGear had - ExaGear also ran much slower than Box86 and is no-longer maintained, despite what Huawei says these days). All proprietary Windows DLL files required by Wine are downloaded directly from Microsoft and installed according to their redistribution guidelines. |
26 | - | sudo apt-get update -y && sudo apt-get upgrade -y && sudo apt-get dist-upgrade -y |
26 | + | |
27 | - | sudo apt-get autoremove -y && sudo apt-get autoclean -y |
27 | + | # Donations: |
28 | # If you feel that you are able and would like to support this project, please consider sending donations to ptitSeb or KM4ACK - without whom, this script would not exist. | |
29 | # - Sebastien "ptitSeb" Chevalier - author of "Box86": paypal.me/0ptitSeb | |
30 | - | # These user prompts will pop up during upgrade of Jessie to Stretch for the below packages. Choose "N" for all of them |
30 | + | # - Jason Oleham (KM4ACK) - inspiration & Linux elmer: paypal.me/km4ack |
31 | # | |
32 | - | # Configuration file '/etc/mke2fs.conf' |
32 | + | |
33 | - | # ==> Modified (by you or by a script) since installation. |
33 | + | |
34 | - | # ==> Package distributor has shipped an updated version. |
34 | + | # NOTE: Pastebin may create DOS line endings to this script and make the script crash on Linux. Try downloading this script, then running the script through dos2unix (sudo apt-get install dos2unix). |
35 | - | # What would you like to do about it ? Your options are: |
35 | + | |
36 | - | # Y or I : install the package maintainer's version |
36 | + | |
37 | - | # N or O : keep your currently-installed version |
37 | + | ############ Setup the RPi4 to run Windows .exe files ############ |
38 | - | # D : show the differences between the versions |
38 | + | # To run Windows .exe files on RPi4, we need an x86 emulator (box86) and a Windows API Call interpreter (wine) |
39 | - | # Z : start a shell to examine the situation |
39 | + | # Box86 is opensource and runs about 10x faster than ExaGear or Qemu. It's much smaller and easier to install too. |
40 | - | # The default action is to keep your current version. |
40 | + | |
41 | - | #*** mke2fs.conf (Y/I/N/O/D/Z) [default=N] ? N |
41 | + | ### Install Box86 |
42 | sudo apt-get install cmake -y | |
43 | - | # Configuration file '/etc/login.defs' |
43 | + | |
44 | - | # Configuration file '/etc/securetty' |
44 | + | cd ~/Downloads |
45 | - | # Configuration file '/etc/services' |
45 | + | mkdir box86-installer && cd box86-installer |
46 | - | # Configuration file '/etc/init.d/hwclock.sh' |
46 | + | git clone https://github.com/ptitSeb/box86 |
47 | - | # Configuration file '/etc/init.d/checkfs.sh' |
47 | + | cd box86/ |
48 | - | # Configuration file '/etc/init.d/checkroot.sh' |
48 | + | git checkout db5efa89085a085d733c859662799ebcf4e5c3c2 # this version of box86 installs dotnet35sp1 but doesn't run RMS Express |
49 | - | # Configuration file '/etc/init.d/mountall.sh' |
49 | + | mkdir build; cd build; cmake .. -DRPI4=1 -DCMAKE_BUILD_TYPE=RelWithDebInfo |
50 | - | # Configuration file '/etc/init.d/umountfs' |
50 | + | make -j4 |
51 | - | # Configuration file '/etc/init.d/umountroot' |
51 | + | sudo make install # copies box86 files to /usr/local/bin/box86 |
52 | - | # Configuration file '/etc/systemd/journald.conf' |
52 | + | sudo systemctl restart systemd-binfmt # essentially initializes box86 |
53 | - | # Configuration file '/etc/systemd/logind.conf' |
53 | + | git checkout master |
54 | - | # Configuration file '/etc/systemd/resolved.conf' |
54 | + | |
55 | - | # Configuration file '/etc/systemd/system.conf' |
55 | + | |
56 | - | # Configuration file '/etc/systemd/timesyncd.conf' |
56 | + | ### Download and install Wine 5.21 devel buster for i386 |
57 | - | # Configuration file '/etc/systemd/user.conf' |
57 | + | # Backup old wine |
58 | - | # Configuration file '/etc/init.d/procps' |
58 | + | wineserver -k # stop any old wine installations from running |
59 | - | # Configuration file '/etc/init.d/udev' |
59 | + | sudo mv ~/wine ~/wine-old |
60 | - | # Configuration file '/etc/init/udevmonitor.conf' |
60 | + | sudo mv ~/.wine ~/.wine-old |
61 | sudo mv /usr/local/bin/wine /usr/local/bin/wine-old | |
62 | - | cat /etc/os-release # ExaGear's Raspbian should report ... "VERSION_CODENAME=stretch" ... |
62 | + | sudo mv /usr/local/bin/winecfg /usr/local/bin/winecfg-old |
63 | sudo mv /usr/local/bin/wineserver /usr/local/bin/wineserver-old | |
64 | # Download wine | |
65 | - | ############### Fix internet issues with ExaGear's operating system ################## |
65 | + | cd ~/Downloads |
66 | - | sudo apt-get install --reinstall libgnutls30 |
66 | + | wget https://dl.winehq.org/wine-builds/debian/dists/buster/main/binary-i386/wine-devel-i386_5.21~buster_i386.deb |
67 | - | #sudo cp /usr/lib/i386-linux-gnu/libgnutls-deb0.so.28 /usr/lib/i386-linux-gnu/libgnutls.so.26 |
67 | + | wget https://dl.winehq.org/wine-builds/debian/dists/buster/main/binary-i386/wine-devel_5.21~buster_i386.deb |
68 | - | # Fix "err:winediag:schan_imp_init Failed to load libgnutls, secure connections will not be available." |
68 | + | dpkg-deb -xv wine-devel-i386_5.21~buster_i386.deb wine-installer |
69 | dpkg-deb -xv wine-devel_5.21~buster_i386.deb wine-installer | |
70 | - | ############### Install some tools into ExaGear's Jessie operating system ########################### |
70 | + | rm wine-devel-i386_5.21~buster_i386.deb # clean up |
71 | - | sudo apt-get install cabextract zip p7zip-full winbind nano -y |
71 | + | rm wine-devel_5.21~buster_i386.deb # clean up |
72 | - | # not sure if winbind needed. Nano optional. Cabextract is for winetricks. 7zip is for my dotnet35sp1 side-loader (and for extracting VARA?). |
72 | + | # Install wine |
73 | sudo mv wine-installer/opt/wine-devel ~/wine | |
74 | - | sudo apt-get install software-properties-common -y |
74 | + | rm -rf wine-installer # clean up |
75 | - | # This is needed to use "add-apt-repository", but it takes 100MB and a long time to install. It might be easier to just add the line 'deb https://dl.winehq.org/wine-builds/debian/ stretch main' to "/etc/apt/sources.list" . Maybe installing these packages would prevent errors in the future though? |
75 | + | sudo ln -s ~/wine/bin/wine /usr/local/bin/wine |
76 | sudo ln -s ~/wine/bin/winecfg /usr/local/bin/winecfg | |
77 | - | # sudo apt-get install apt-transport-https # For Wine? Already up to date when running 8/20/2020 script. Reinstalling with "install --reinstall" doesn't change anything. |
77 | + | sudo ln -s ~/wine/bin/wineserver /usr/local/bin/wineserver |
78 | # Initialize wine silently | |
79 | - | ############### Upgrade Wine from eltechs 3.0 to a newer version for Jessie ############################# |
79 | + | rm -rf ~/.cache/wine # make sure we don't install mono or gecko (if their msi files are in wine cache) |
80 | - | ### Update Wine to latest version for Raspbian Jessie (ExaGear runs a custom version of wine 3.0, which is too old to run RMS Express. We should update ExaGear's Wine to v4.12.1 or newer for Jessie.) |
80 | + | DISPLAY=0 wine wineboot # silently makes a fresh wineprefix in ~/.wine and skips installation of mono & gecko |
81 | - | # More info: https://wiki.winehq.org/Debian |
81 | + | |
82 | ||
83 | - | wget -O - https://dl.winehq.org/wine-builds/winehq.key | sudo apt-key add - |
83 | + | ### Download & install winetricks |
84 | - | sudo add-apt-repository 'deb https://dl.winehq.org/wine-builds/debian/ stretch main' |
84 | + | sudo mv /usr/local/bin/winetricks /usr/local/bin/winetricks-old # backup old winetricks |
85 | - | sudo apt-get update |
85 | + | cd ~/Downloads |
86 | - | sudo apt-get install --install-recommends winehq-stable=5.0.2~stretch -y # This version worked for me. This takes 800MB and about 20 minutes on a Pi 4B. |
86 | + | wget https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks # download |
87 | - | wine --version # should read something like "wine-4.12.1" (not "wine-3.0-eltechs") |
87 | + | sudo chmod +x winetricks |
88 | sudo cp winetricks /usr/local/bin # install | |
89 | - | # We can also remove/upgrade/downgrade Wine with some of these commands |
89 | + | rm winetricks # clean up |
90 | - | #sudo apt remove wine-staging # or whatever your installed version is |
90 | + | sudo apt-get install cabextract -y # winetricks needs this |
91 | - | #sudo apt-get update --fix-missing |
91 | + | |
92 | - | #sudo apt install wine-stable-i386 -y && sudo apt install wine-stable -y # or whatever version you want to install is |
92 | + | |
93 | ### Setup Wine (install system requirements into our wineprefix for Winlink & VARA) | |
94 | - | ### Now you can run x86 Windows .exe files with Wine and install/run programs on your Raspberry Pi. |
94 | + | BOX86_NOBANNER=1 winetricks -q corefonts dotnet35sp1 vb6run win7 sound=alsa # for RMS Express |
95 | BOX86_NOBANNER=1 winetricks -q vcrun2015 pdh # for VARA (run pdh here just for the winecfg dll override) | |
96 | BOX86_NOBANNER=1 winetricks -q riched30 richtx32 crypt32 comctl32ocx comdlg32ocx # for Box86 compatibility (to cover any wine libraries that aren't wrapped in Box86 yet) | |
97 | # NOTE: This command needs testing - vcrun2015, crypt32, and the ocx components may not install properly | |
98 | - | ################# Install the latest Winetricks ########################### |
98 | + | # Notes: Does Winlink HF Channel Selector (ITS) need ie6 or gecko? |
99 | - | # sudo apt-get remove winetricks -y # Make sure you don't already have it installed |
99 | + | |
100 | - | # sudo apt-get purge winetricks -y |
100 | + | # Install an older pdh.dll (the pdh.dll from "winetricks pdh" is too new for VARA) |
101 | - | wget https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks |
101 | + | sudo apt-get install zip -y |
102 | - | chmod +x winetricks |
102 | + | cd ~/Downloads && mkdir pdhNT40 && cd pdhNT40 |
103 | - | sudo mv -v winetricks /usr/local/bin |
103 | + | wget http://download.microsoft.com/download/winntsrv40/update/5.0.2195.2668/nt4/en-us/nt4pdhdll.exe |
104 | unzip -o nt4pdhdll.exe | |
105 | cp pdh.dll ~/.wine/drive_c/windows/system32 | |
106 | - | ### Restart? |
106 | + | |
107 | - | # If Wine errors after "... wine: configuration in '/home/pi/.wine' has been updated." Try rebooting or installing winetricks, then run Wine again. |
107 | + | |
108 | - | #exit |
108 | + | |
109 | - | #sudo reboot |
109 | + | |
110 | - | #exagear |
110 | + | |
111 | # NOTE: THIS IS A KLUDGE!! | |
112 | # dotnet35sp1 installer needs an old box86, but our programs need the latest box86. Update box86 with these commands. | |
113 | - | ################################## Make a new wineprefix ###################################### |
113 | + | cd ~/Downloads/box86-installer |
114 | - | # sudo rm -rf ~/.wine # remove any wine installations (called wineprefixes) |
114 | + | cd box86/ |
115 | git checkout cad160205fd9a267e6c3d9d784fbef72b1c68dde # freeze box86 version on a commit known to work | |
116 | - | # Download gecko so that wine will install it on wineboot |
116 | + | cd build |
117 | - | # cd ~/.cache |
117 | + | make -j4 |
118 | - | # mkdir wine |
118 | + | sudo make install |
119 | - | # cd wine |
119 | + | |
120 | - | # wget http://dl.winehq.org/wine/wine-gecko/2.47.1/wine-gecko-2.47.1-x86.msi |
120 | + | rm -rf ~/Downloads/box86-installer # clean up |
121 | - | # cd ~ |
121 | + | |
122 | ||
123 | - | # Install a new wineprefix (32-bit). (Disable the display so install won't wait for user input) |
123 | + | |
124 | - | DISPLAY= WINEARCH=win32 wineboot |
124 | + | |
125 | ||
126 | ||
127 | ||
128 | - | ################################ Install Prerequisites inside the Wineprefix #################### |
128 | + | ############ Install Winlink and VARA (into our configured wineprefix) ############ |
129 | - | winetricks -q corefonts dotnet20 |
129 | + | sudo apt-get install p7zip-full -y |
130 | sudo apt-get install megatools -y | |
131 | - | ### Sideload the .NET 3.5 SP1 installer. |
131 | + | |
132 | - | # The original .NET 3.5 SP1 installer gets hung up on ~/Downloads/dotnet35s1extract/wcu/dotNetFramework/dotNetFX30/XPSEPSC-x86-en-US/update/update.exe and then fails to install any other .net packs. .NET 3.5 contains 2.0 sp1&2, 3.0, and 3.5, and 3.5sp1, all installed in sequence. |
132 | + | # Download/extract/install Winlink Express (formerly RMS Express) [https://downloads.winlink.org/User%20Programs/] |
133 | - | # I'm considering trying to debug and patch the hangup using a winetricks install of ollydbg some time, which would get rid of the need for this hacky 'sideloader' I made. |
133 | + | cd ~/Downloads |
134 | - | # The sideloader works, but doesn't install dotnet2.0 correctly. The user should install dotnet20, then run the sideloader, but even then Winlink's internet won't work for some reason using the sideloader. Winlink's internet does work though if dotnet35sp1 is installed correctly on another linux computer's wine install and the wineprefix '.wine' is copied and pasted to the Pi. |
134 | + | wget -r -l1 -np -nd -A "Winlink_Express_install_*.zip" https://downloads.winlink.org/User%20Programs # Download Winlink no matter its version number |
135 | 7z x Winlink_Express_install_*.zip -o"WinlinkExpressInstaller" | |
136 | - | cd ~/Downloads |
136 | + | wine ~/Downloads/WinlinkExpressInstaller/Winlink_Express_install.exe /SILENT |
137 | - | wget https://pastebin.com/raw/ZPEvVf8v && mv ZPEvVf8v dotnet35sp1-sideloader.sh |
137 | + | |
138 | - | sudo apt-get install dos2unix -y |
138 | + | # Download/extract/install VARA HF (or newer) [https://rosmodem.wordpress.com/] |
139 | - | dos2unix dotnet35sp1-sideloader.sh |
139 | + | cd ~/Downloads |
140 | - | sudo chmod +x dotnet35sp1-sideloader.sh |
140 | + | VARALINK=$(curl -s https://rosmodem.wordpress.com/ | grep -oP '(?<=<a href=").*?(?=" target="_blank" rel="noopener noreferrer">VARA HF v)') # Find the mega.nz link from the rosmodem website no matter its version, then store it as a variable |
141 | - | ./dotnet35sp1-sideloader.sh |
141 | + | megadl ${VARALINK} |
142 | 7z x VARA*.zip -o"VARAInstaller" | |
143 | - | ### Install other pre-reqs for RMS Express and VARA |
143 | + | wine ~/Downloads/VARAInstaller/VARA\ setup*.exe /SILENT |
144 | - | winetricks -q vb6run vcrun2015 sound=alsa win7 |
144 | + | # NOTE: VARA prompts user to hit 'ok' after install even if silent install. We could skip it with wine AHK, but since the next step is user configuration and involves user input anyway, we can just have the user click ok here. |
145 | - | # IE6 is needed to fix a stall in the Winlink HF Channel Selector (still doesn't download though) |
145 | + | # Inno Setup Installer commandline commands: https://jrsoftware.org/ishelp/index.php?topic=setupcmdline |
146 | - | # Install gecko and mono too? |
146 | + | |
147 | ||
148 | - | ################################ Download and Install Software into your Wineprefix ############################# |
148 | + | |
149 | ###### Configure Winlink and VARA ###### | |
150 | - | ### Install Winlink and VARA |
150 | + | echo "In winecfg, go to the Audio tab to set up your default in/out soundcards." |
151 | - | # Download & Unzip Winlink Express (formerly RMS Express): https://downloads.winlink.org/User%20Programs/ |
151 | + | wine winecfg |
152 | - | cd ~/Downloads && wget -r -l1 -np -nd -A "Winlink_Express_install_*.zip" https://downloads.winlink.org/User%20Programs |
152 | + | |
153 | - | 7z x Winlink_Express_install_*.zip -o"WinlinkExpressInstaller" |
153 | + | echo "In VARA, set up your soundcard input and output (go to Settings ... Soundcard)" |
154 | wine ~/.wine/drive_c/VARA/VARA.exe | |
155 | - | # Download VARA 4.0.4: https://rosmodem.wordpress.com/ |
155 | + | |
156 | - | sudo apt-get install megatools -y |
156 | + | echo "In RMS Express, enter your callsign, password, gridsquare, and soundcard in/out, then close the program. Ignore any errors for now." |
157 | - | cd ~/Downloads && megadl 'https://mega.nz/file/KKADiKzI#trSLvMs8nuPvROtchLfuDexCmEhdQdtpf2MG5OaDBzE' |
157 | + | wine ~/.wine/drive_c/RMS\ Express/RMS\ Express.exe |
158 | - | 7z x VARA*.zip -o"VARAInstaller" |
158 | + | |
159 | ### end ### | |
160 | - | # Install old official pdh.dll |
160 | + | |
161 | - | # The official pdh.dll (installed with "winetricks pdh") is too new for VARA. |
161 | + | |
162 | - | # Wine's built-in pdh.dll is not functional for VARA. |
162 | + | ############# Known bugs ############# |
163 | - | # We need an older Windows pdh.dll |
163 | + | # The Channel Selector is functional, it just takes about 5 minutes to update its propagation indices and sometimes crashes the first time it's loaded. Just restart it if it crashes. If you let it run for 5 minutes, then you shouldn't have to do that again - just don't hit the Update Table Via Internet button. I'm currently experimenting with ITS HF: http://www.greg-hand.com/hfwin32.html |
164 | - | cd ~/Downloads && mkdir pdhNT40 && cd pdhNT40 |
164 | + | # VARA has some graphics issues for now. This is an issue with Wine, not box86 |
165 | - | wget http://download.microsoft.com/download/winntsrv40/update/5.0.2195.2668/nt4/en-us/nt4pdhdll.exe |
165 | + | # RMS Express internet may not work on the first run for some reason. Maybe due to vbrun6 being installed with old box86? |
166 | - | unzip -o nt4pdhdll.exe |
166 | + | |
167 | - | cp pdh.dll ~/.wine/drive_c/windows/system32 |
167 | + | ############# Other Ham Software ############## |
168 | - | cd ~/Downloads |
168 | + | ### Xnec2c - Antenna Modeling Software for Linux (needs .nec input files or examples - such as from nec2.org) |
169 | # sudo apt install xnec2c | |
170 | - | # Install Winlink |
170 | + | |
171 | - | wine ~/Downloads/WinlinkExpressInstaller/Winlink_Express_install.exe |
171 | + | ### EZNEC 6.0 - Antenna Modeling Software for Windows which mostly works with box86 (no near-field plots) |
172 | #cd ~/Downloads | |
173 | - | # Install VARA |
173 | + | #wget https://www.eznec.com/DemoEXE/EZWDemo60Inst.exe |
174 | - | wine ~/Downloads/VARAInstaller/VARA\ setup*.exe |
174 | + | #wine EZWDemo60Inst.exe /SILENT |
175 | #wine ~/.wine/drive_c/Program\ Files/EZNEC\ 6.0/EZWdemo60.exe | |
176 | - | # In winecfg, go to the Audio tab to set up your default in/out soundcards. |
176 | + | |
177 | - | winecfg |
177 | + | |
178 | ############# Future work - other software ############## | |
179 | - | # Run VARA and set up your in/out soundcard (go to Settings ... Soundcard). |
179 | + | ### HRD 5.24.38 (last freeware version) |
180 | - | wine ~/.wine/drive_c/VARA/VARA.exe |
180 | + | ## https://ham-radio-deluxe.informer.com/versions/ |
181 | ## Notes: 5.0.2893 Last freeware version of HRD | |
182 | - | # Run RMS Express and configuration your audio devices (go to WINMOR's "Help > Basic Setup" dialog tab). |
182 | + | ## Behavior: Runs, but no FT-891 (6.1.4.189 also does not have FT-891) |
183 | - | # Enter your callsign, gridsqure, and soundcard output (avoid pulseaudio; ALSA works fine) |
183 | + | # winetricks jet40 mdac28 art2kmin |
184 | - | # For changes to WINMOR's configuration to take effect, you may need to restart the application (Help > Close) |
184 | + | # winetricks vcrun2010 |
185 | - | wine ~/.wine/drive_c/RMS\ Express/RMS\ Express.exe |
185 | + | # wget https://pastebin.com/raw/W6DPz6PR && mv W6DPz6PR hrdwine.reg && wine regedit hrdwine.reg |
186 | # wget https://madexp.com/wp-content/uploads/2018/05/HRD_5.0.2893.zip | |
187 | - | # Select VARA from the drop-down on the top-right, then click the "Open Session:" text next to the dropdown. Then pick a channel (this may take a while to load the channels), then click start. Noise should play from the soundcard. |
187 | + | # 7z x HRD_5.0.2893.zip -o"HRD_502893" |
188 | # wine HRD_502893/HRDv050b2893.exe /SILENT | |
189 | ||
190 | - | # Known bugs: |
190 | + | ## HRD 5.2.202 |
191 | - | # The Channel Selector is functional, it just takes about 5 minutes to update its propagation indices and sometimes crashes the first time it's loaded. Just restart it if it crashes. If you let it run for 5 minutes, then you shouldn't have to do that again - just don't hit the Update Table Via Internet button. If anybody figures out a fix for this, let me know. I'm currently experimenting with ITS HF: http://www.greg-hand.com/hfwin32.html |
191 | + | # https://ham-radio-deluxe.informer.com/versions/ |
192 | # wget https://download.informer.com/win-1192998216-47c93aa7-6fa5c53a/setuphrd52202.exe <- link is not persistent | |
193 | # winetricks -q vcrun2010 | |
194 | # BOX86_DYNAREC=0 wine setuphrd52202.exe /SILENT | |
195 | ## Opcode 0F 3F 07 0B C7 45 E4 01 | |
196 | ||
197 | ## HRD 6.4.0.647 <--- latest version which has the best compatability so far | |
198 | # https://ham-radio-deluxe.informer.com/versions/ | |
199 | - | ### N3FJP's logging software: Seems to run a little slow, but otherwise works. |
199 | + | # Untested on box86 |
200 | ## Behavior: Runs & includes the FT-891 | |
201 | # winetricks jet40 mdac28 art2kmin | |
202 | # winetricks vcrun2010 | |
203 | - | # Fix errors with .mdb files not opening or being created |
203 | + | # wget https://pastebin.com/raw/W6DPz6PR && mv W6DPz6PR hrdwine.reg && wine regedit hrdwine.reg |
204 | ||
205 | ## HRD 6.6.0.236 | |
206 | # Untested on box86 | |
207 | # Requires Visual C++ 2017 | |
208 | - | |
208 | + | |
209 | - | ### List of other Windows ham radio programs compatible with Wine: https://appdb.winehq.org/objectManager.php?sClass=category&iId=125&sAction=view&sTitle=Browse+Applications |
209 | + | ## HRD 6.7.0.244 |
210 | # Behavior: Doesn't install in wine for exagear | |
211 | ||
212 | - | # Credits |
212 | + | ### DSDPlus |
213 | - | # K6ETA's blog |
213 | + | #cd ~/Downloads |
214 | - | # KM4ACK for inspiration |
214 | + | #wget https://www.dsdplus.com/dl/DSDPlus1p101.zip |
215 | - | |
215 | + | #wget https://www.dsdplus.com/dl/DSDPlusDLLs.zip |
216 | #7z x DSDPlus1p101.zip -o"DSDPlus1101" | |
217 | #7z x DSDPlusDLLs.zip -o"DSDPlus1101" | |
218 | #cd DSDPlus1101 | |
219 | #wine DSDPlus.exe | |
220 | ||
221 | ### WinRPR | |
222 | #cd ~/Downloads | |
223 | #wget -r -l1 -np -nd -A "WinRPR_*.zip" https://www.hamradio.me/graphs/WinRPR_Alpha_Software/ | |
224 | #7z x WinRPR_*.zip -o"WinRPR" | |
225 | #wine WinRPR/WinRPR_10.exe | |
226 | ||
227 | ### MMANA-GAL - Antenna Modeling Software : http://gal-ana.de/basicmm/en/ [crashes] | |
228 | #cd ~/Downloads | |
229 | #wget http://gal-ana.de/basicmm/download/mmanabasic.zip | |
230 | #7z x mmanabasic.zip -o"mmanabasic" | |
231 | #wine mmanabasic/MMBasicSetup.exe /SILENT | |
232 | #wine ~/.wine/drive_c/MMANA-GAL_Basic/MMANAGAL_Basic.exe | |
233 | ||
234 | ### 4nec2 - Antenna Modeling Software [crashes] | |
235 | #cd ~/Downloads | |
236 | #wget https://qsl.net/4nec2/4nec2.zip | |
237 | #7z x 4nec2.zip -o"4nec2" | |
238 | #wine 4nec2/Setup_4nec2.exe /SILENT | |
239 | #wine ~/.wine/drive_c/4nec2/exe/4nec2.exe | |
240 | ||
241 | ### N3FJP's logging software | |
242 | # wget http://www.n3fjp.com/programs/ACLOGINST.exe | |
243 | # wget http://n3fjp.com/programs/FIELDDAY.exe | |
244 | # | |
245 | # Fix errors with .mdb files not opening or being created? | |
246 | # winetricks dotnet45 # this will uninstall mono? | |
247 | # Note: After .NET 4.0 installs, wine will appear to be erroring in a loop. Let it loop run its weird error loops for about 15 minutes. After this time a .NET 4.5 installer will pop up. Install goes much faster on a Pi 4B (about 30 minutes) than on a Pi 3B+ (about 2 hours), the Pi will overheat a few times and kick you out of any VNC remote connections - just let it keep running. | |
248 | ||
249 | ### List of other Windows ham radio programs compatible with Wine: https://appdb.winehq.org/objectManager.php?sClass=category&iId=125&sAction=view&sTitle=Browse+Applications |