GithubHelp home page GithubHelp logo

wheezye / winelink Goto Github PK

View Code? Open in Web Editor NEW
72.0 13.0 19.0 41.32 MB

Installation scripts for running Winlink (RMS Express/Trimode & VARA) on non-Windows computers. Wine & Box86 make this project possible.

Shell 100.00%

winelink's Introduction

logo

Winɘlink

A Winlink (RMS Express & VARA) installer Script for the Raspberry Pi 4, Orange Pi 4 LTS, and x86/x64 Linux (Mint/Ubuntu/Debian). Raspberry Pi 3B+ also kind of works.

This project has lots of bugs and should be considered alpha software.


Winlink-Pi4 RMS Express/Trimode & VARA running on a Raspberry Pi 4B (RPiOS) [video sped-up]


VARA-Pi4 VARA running on a Raspberry Pi 4B (Twister OS)


Installation

Copy/paste these commands into your Raspberry Pi 4's terminal:

curl -O https://raw.githubusercontent.com/WheezyE/Winelink/main/install_winelink.sh && \
     bash install_winelink.sh
If desired, you can tell the script to only install VARA by running curl -O https://raw.githubusercontent.com/WheezyE/Winelink/main/install_winelink.sh && bash install_winelink.sh vara_only
I don't have much time to maintain Winelink these days. I've merged VARA HF into pi-apps as a backup option for users in case this script breaks in the future. If needed, simply run wget -qO- https://raw.githubusercontent.com/Botspot/pi-apps/master/install | bash then run ~/pi-apps/manage install VARA\ HF (or run pi-apps and follow the on-screen prompts) to install VARA HF.

Known issues

  • RMS Express sometimes won't connect (over TCP) to ARDOP & VARA. Just close RMS Express and re-open it (this is a bug in wine).
  • VARA's CPU gauge doesn't display (this is a bug in wine).
  • VARA doesn't connect to DRA boards at this time (this might be a bug in wine or box86).
  • Wine can sometimes freeze your OS completely if it gets overloaded. If this happens on a Raspberry Pi, you can SSH into the Pi and then run wineserver -k to force-quit Wine. You can also just power-off/on your system.
  • Enabling VARA HF's waterfall display can sometimes crash RMS Express & VARA.
  • Enabling VARA's Monitor Mode can freeze VARA. (Users might have to delete their VARA config file to recover: rm ~/.wine/drive_c/VARA/VARA.ini)

Credits

 (ptitSeb, pale, chills340, Itai-Nelken, Heasterian, phoenixbyrd,
  monkaBlyat, lowspecman420, epychan, !FlameKat53, #lukefrenner,
  icecream95, SpacingBat3, Botspot, Icenowy, Longhorn, et.al.)
  • madewokherd (Esme) for wine-mono debugging

  • Botspot for their RPi3 kernel switching code

  • N7ACW, AD7HE, & KK6FVG for getting me started in ham radio

  • KM4ACK & OH8STN for inspiration

  • K6ETA & DCJ21's 'Winlink on Linux' guides for early proof-of-concept

      "My humanity is bound up in yours, for we can only be human together"
                                                  - Nelson Mandela
    

Donations

If you feel that you are able and would like to support this project, please consider sending donations to ptitSeb, madewokherd (CodeWeavers/WineHQ), or KM4ACK - without whom, this script would not exist.

Stuff for nerds

How it works

This script will help you install Box86, Wine, winetricks, Windows DLL's, RMS Express, & VARA. You will then be prompted 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 (support for earlier Raspberry Pi models is planned for later).

To run Windows .exe files on RPi4 (ARM/Linux), we need an x86 emulator (Box86) and a Windows API Call interpreter (Wine). Box86 is open-source and runs about 5x faster than ExaGear/Qemu (see these benchmarks). ExaGear is also closed source abandonware and Qemu (qemu-system & qemu-user-static) also has issues running more complex Wine programs on the Pi. Box86 is much smaller in file size and much easier to install too.

Distribution

If you use this script in your project (or are inspired by it) just please be sure to mention ptitSeb, Box86, and myself (KI7POL). This script is free to use, open-source, and should not be monetized (for further information see the license file).

Future Work: Roadmap
  • Add an AHK script to help the user with ARDOP first time soundcard setup.
  • Time all individual components and embed comments in functions for Pi models. Add variable timer to welcome screen.
  • Help DRA-board compatability with VARA (might be a box86 issue?)
  • Consider adding a sed script to find/delete any small-value frequencies in RMS Channels.dat that would crash the HF Channel Selection Browser
  • Clean up code with Google style guide.
  • Work with WineHQ to figure out why VARA's CPU gauge isn't working.
  • Work with WineHQ to figure out why ARDOP & VARA don't always connect to RMS Express over TCP when first starting.
  • Add progress bar (GUI?) for installation.
  • Add HDD-space check to make sure user has enough space to install everything
  • Switch to using Seb's GitHub box86 binaries (or hosted box86 bins) instead of Pale's internet archive binaries.
  • Bisect box86 commits that crash VARA's local TCP to RMS connection (bug in newer box86's)
  • Add updated example images to readme.
  • Rely on archive.org box86 binaries instead of compiling.
    • Give user the choice to compile or not.
    • Add auto-detection of failed downloads, then switch to compiling as contingency.
  • Separate soundcard setups from program installations. Make a script for that.
  • Make an uninstaller script
  • Put program scripts and icons into start menu instead of on desktop.
  • Test COM port connections to radio ("CAT" control, PTT).
  • Work with madewokherd to see if wine-mono bugs can be fixed (would drastically improve install speed).
  • Ask Seb for help getting VARA Chat running in box86.
  • Add option (or check) for running the script via SSH (currently ssh causes wine to not display Windows) - Fixed with X11 check.
  • Add installer for VARA FM.
  • Add installer for VARA SAT.
  • Add a check for sudo priviledges? Add a check to make sure script is not run as sudo?
  • Change VARA Setup/Config terminal text prompts into zenity pop-up boxes.
    • Change all terminal text prompts into text boxes?
  • Add more error-checking to the script.
  • Make a logo for the github page.
  • Make the script's user-interface look better.
  • Add an AHK script to click the "Ok" button after VARA is installed.
  • Add an AHK script to help the user with VARA first time soundcard setup.
  • Add more clean-up functions to the script.
  • Have the script download all files into the cloned repository directory (instead of into ~/Downloads)
  • Add shortcuts to the desktop.
  • Work with the Wine team to find graphical errors in VARA.
  • Add the fix for VARA graphical errors to the script.
  • Add pdhNT4 to winetricks to streamline this installer.
  • Make code modular to help readability.
  • Simplify installation commands (model after KM4ACK BAP).
Future work: More platforms

Make a multi-platform Wine installer & build/invoke box86 if needed. (Linode may be helpful here)

  • Auto-detection of system arch (x86 vs armhf vs aarch64) & OS.
    • ARM
      • Raspberry Pi 4B (32-bit OS)
      • Raspberry Pi 4B (64-bit OS)
      • Raspberry Pi 3B+
        • Detect Raspberry Pi kernel memory split (and install the correct kernel if needed) for RPi <4 support.
        • Ask Botspot if I can borrow some of his pi-apps code.
      • RPi Zero 2 W?
      • RPi Zero W?
      • Termux (Android without root) (proot-distro + Ubuntu ARM + termux-usb) - see AnBox86 for proof of concept, currently untested with VARA.
      • Mac M1 processors
    • x86
      • Mac
        • OSX?
      • Linux (top priorities are distros that WineHQ hosts binaries for: Ubuntu, Debian, Fedora, macOS, SUSE, Slackware, and FreeBSD)
        • Ubuntu (Package manager: apt)
          • Linux Mint
          • Elementary OS
          • Zorin OS
        • Debian (Package manager: apt)
          • Deepin
          • Kali
          • MX-Linux
        • Red Hat (Package manager: yum, RPM)
          • Fedora (Package manager: RPM/DNF)
          • CentOS (Package manager: yum)
        • openSUSE (Package manager: ZYpp (standard); YaST (front-end); RPM (low-level))
        • Slackware (Package manager: pkgtool, slackpkg)
        • FreeBSD (Package manager: pkg)
        • Arch (Package manager: pacman, libalpm)
          • Vanilla Arch??
          • Manjaro
          • XeroLinux
          • SteamOS? (Steam Deck)
        • Gentoo (Package manager: Portage)
        • Solus (Package manager: eopkg)
      • ChromeBook Linux beta.
        • Try to detect if processor would be too slow?
    • x64
      • Linux (top priorities are distros that WineHQ hosts binaries for: Ubuntu, Debian, Fedora, macOS, SUSE, Slackware, and FreeBSD)
        • Linux Mint (Ubuntu)
        • Debian 11
  • Make a youtube video showcasing current methods (box86, Exagear issues, qemu-user-static errors, Pi4B, Pi3B+, Termux, Mac, Linux, ChromeOS)
Android testing notes

Termux/PRoot/AnBox86_64

  • Try using BT/USB/TCP Bridge Pro to connect USB devices to RMS Express (credits: Torsten, DL1THM / harenber)
  • Create alpha version of Winelink for AnBox86_64
  • Speed benchmarks with different devices (Fire HD10 Tablet is a bit slow, Retroid Pocket 2 TBD)
  • See if termux-usb can be adapted somehow to allow connections without root?
  • See if a python wrapper could be written for TermuxUSB-OTG-USB connections between RMS Express & FT-891.
  • OTG-USB-CAT (order OTG_USB_C-USB)
  • Audio in/out (ARDOP works with alsa / hiccups with pulseaudio)
  • Proof-of-concept
  • Fix AnBox86
Legal

All software used by this script is free and legal to use (with the exception of VARA, of course, which is shareware). Box86, Wine, wine-mono, winetricks, and AutoHotKey, are all 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. Raspberry Pi is a trademark of the Raspberry Pi Foundation

winelink's People

Contributors

nomore1007 avatar spudgunman avatar wheezye avatar xylo04 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

winelink's Issues

USB-to-Radio CAT Control not working (wine-mono System.IO.Ports.SerialPort not implemented)

if you have a known channel that you like to use you are able to type in the callsign, center frequency and dial frequency...when you start the session, it proceeds but, sends you the message that it cannot open the com port that is specified in your session settings, so it will not send the channel data that you typed in to the radio or operate the PTT...the session proceeds as is normal but fails because the radio cannot respond...

when the session window opens and the session communications with the pi start, I get the following error message..."Unable to open radio serial port COM2. See exceptions log."...COM2 is the correct port for my IC7100 radio and works appropriately in VARA FM using Winelink...

  • Check COM port connection with wine-mono
  • Check COM port connection with dotnet46
    [x] Order a dummyload to test radio PTT with

Install winelink fails

During install of vara on a raspberry pi 4 I get an download error while my internet connection is working. With every retry it happens at the same point of the install.

See below the dotted line the error report.


Setting up your wineprefix for VARA . . .

Using winetricks 20230212-next - sha256sum: fe0550e0d843214f87dcb0f4aa591be0046fa93db7b8330217dd926258e628fc with wine-7.1 and WINEARCH=win32
Executing w_do_call vb6run
Executing load_vb6run
Executing cd /home/pa8f/.cache/winetricks/vb6run
Downloading https://web.archive.org/web/20070204154430/https://download.microsoft.com/download/5/a/d/5ad868a0-8ecd-4bb0-a882-fe53eb7ef348/VB6.0-KB290887-X86.exe to /home/pa8f/.cache/winetricks/vb6run
--2023-10-06 14:32:15-- https://web.archive.org/web/20070204154430/https://download.microsoft.com/download/5/a/d/5ad868a0-8ecd-4bb0-a882-fe53eb7ef348/VB6.0-KB290887-X86.exe
Resolving web.archive.org (web.archive.org)... 207.241.237.3
Connecting to web.archive.org (web.archive.org)|207.241.237.3|:443... connected.
Unable to establish SSL connection.
Executing cd /home/pa8f/.cache/winetricks/vb6run
Downloading https://web.archive.org/web/2000/https://web.archive.org/web/20070204154430/https://download.microsoft.com/download/5/a/d/5ad868a0-8ecd-4bb0-a882-fe53eb7ef348/VB6.0-KB290887-X86.exe to /home/pa8f/.cache/winetricks/vb6run
--2023-10-06 14:32:31-- https://web.archive.org/web/2000/https://web.archive.org/web/20070204154430/https://download.microsoft.com/download/5/a/d/5ad868a0-8ecd-4bb0-a882-fe53eb7ef348/VB6.0-KB290887-X86.exe
Resolving web.archive.org (web.archive.org)... 207.241.237.3
Connecting to web.archive.org (web.archive.org)|207.241.237.3|:443... connected.
Unable to establish SSL connection.

warning: Downloading https://web.archive.org/web/2000/https://web.archive.org/web/20070204154430/https://download.microsoft.com/download/5/a/d/5ad868a0-8ecd-4bb0-a882-fe53eb7ef348/VB6.0-KB290887-X86.exe failed

Winetricks failed to download/install VB6 or PDH.DLL!
Box86 with Dynarec v0.2.7 14113faa built on Oct 10 2022 20:20:17

Winelink installation failed.

If a download failed, please check your internet connection and try re-running
the script.
For help, please reference the '/home/pa8f/winelink\winelink.log' file
You can also open an issue on github.com/WheezyE/Winelink/

VARA on a Pi 3B+

Just an FYI. Below is an email I received from Jerry, K4OAM. He doesn't have a github account so I am just posting for him. This is not my work.

Here is what I did to make VARA install and work on the Pi3B+ 32-bit Bullseye
version (3.2.2) of Build-A-Pi:

  1. Temporarily increase the SWAP size to 750MiB
  2. Download and install Pi-Apps from their website (tip from you previously)
  3. From the Pi-Apps menu, request an install of Wine
  4. At this point, a warning will appear that Wine cannot be installed on the
    existing kernel (2GB/2GB), with the option to build a new 3G/1B kernel.
  5. Two 3G/1B options are presented: Use an existing, but maybe outdated
    build (faster), or go out to the kernel source site and build a new, up-to-date
    kernel (verrrrry sloooow)
  6. I opted for a new, up-to-date build from the menu, and let it build overnight.
  7. After a full 3G/1G build success message in the morning, I rebooted the Pi.
  8. All Build-A-Pi programs seemed to work well, as before.
  9. I then followed (step-by-step) your VARA install instrucable, from the top.
  10. All steps completed EXACTLY as you described, albeit slowly, based
    upon the fact this is a Pi3B+.
  11. At completion, VOILA, a working VARA HF and VARA FM on my lowly
    32-bit system.
    12 Hope this info is useful.

High CPU load with VARA

To run VARA HF properly I have to run without waterfall and reduce the application calls to minimum (2)
I also did overclock the PI4B 2GB and now things seem quite acceptable.
Screenshot 2021-07-11 11 54 53
Would it be possible to have a separate script for VARA only? Then no .Net needed and maybe more simple and reliable?

73 Jouko OH5RM

Cannot Post a New Message to the Outbox or Save it to Drafts

The new installation protocol works well in many ways...you do not repeatedly restart the application or wine...big win in my book...
But..in addition to the current issue where desktop icons for Vara, Vara FM and Winlink do not work after you shut down the initial installation launch session, you also cannot post to the outbox or save to drafts from the New Message window...even when in the initial launch session...it seems to start the post/save process, but it gets "stuck" and the little hourglass will happily spin until you close or cancel the new message session...

can't connect to VARA HF

Hi,

In RMS, after starting a VARA HF session, I'm getting an error that the TNC isn't available in 127.0.0.1 8300
I guess this is related somehow to the overall networking issue, however it looks from the screenshots like you have passed this point.
In addition VARA will not launch stand alone.

Running on RPI 400 with latest Raspbian updates.

73
Yoram 4Z1YR

Can no longer update VARA

When attempting to run the update script to update to current version of VARA modem it no longer works due to "AHK Download Failed"

RMS Trimode - Channel Settings window crashes wine-mono if frequencies have decimal numbers (string-to-int conversion not valid)

Crashes after hitting the Update button. Not sure if it's wine, wine-mono, or box86 yet.

# Install
cd Downloads
wget https://downloads.winlink.org/Sysop%20Programs/RMS_Trimode_install_1-3-49-0.zip
7z x RMS_Trimode_install_1-3-49-0.zip
wine RMS_Trimode_install.exe /SILENT
BOX86_DYNAREC_BIGBLOCK=0 wine ~/.wine/drive_c/RMS/RMS\ Trimode/RMS\ Trimode.exe

Using BOX86_DYNAREC_SAFEMMAP=1 (or 2) doesn't help. Using BOX86_DYNAREC_BIGBLOCK=1 also doesn't change anything.

Hardware Catalog - Please post your working (or not working) hardware setups here

I just wanted to catalog which hardware setups we all have working with RMS Express + wine + wine-mono + box86.

I'll go first:

  • FT-891+dummyload w/ RPi4: VARA HF, VARA FM, VARA Chat, and ARDOP with PTT & Channel Selection CAT control.
  • Have not tested OTA connections.
  • FT-891 is set to 9600 baud onboard. USB is connects RPi4 and radio. Using COM1 port.
  • VARA FM & VARA Chat requires me to select "FT-991" with RTS+DTR enabled.

Lack of installed 7zip seems to fail AutoHotkey installation

I used the script to install Winlink on Raspbian Buster. I did not have 7zip installed prior to first running the script, and the installation of AutoHotkey.exe failed on this line

7z x AutoHotkey104805_Install.exe AutoHotkey.exe -y -bsp0 -bso0

Subsequently VARA configuration failed.

The second try worked as the p7zip-full package had been installed by the script later.

Install Script will not complete.

Using a PI4B, RigBlaster Advantage and IC756Pro. Installed ok and worked great. Later I installed DXKeeper and it worked ok. But Winelink loaded very slow and the stopped working. I started over by installing new OS. Then tried to install Winelink. The script always stops at trying to install "wine-mono"
73, Denis

Better logging

Currently failures are put to standard output but not additionally trapped in a log so no failure reason for script early termination.

Using the Channel Browser crashes RMS Express

I know that this is already in your list of issues on the main page, but specifically, RMS Express crashes when using the Channel Selector after it starts the automatic update of the channel data upon entering the Channel Selection window...it downloads the Winlink channel data and the MPS data...as it is trying to take the downloaded data and update the Channel selection window, it crashes RMS Express.
There used to be an option to upgrade the channel selection/propagation data, yes or no, when you opened the Channel selection window...perhaps being able to select, no, would bypass what is causing the crash and allow the VARA session to proceed?

Also, if you have a known channel that you like to use you are able to type in the callsign, center frequency and dial frequency...when you start the session, it proceeds but, sends you the message that it cannot open the com port that is specified in your session settings, so it will not send the channel data that you typed in to the radio or operate the PTT...the session proceeds as is normal but fails because the radio cannot respond...

RMS express linking with VARA on Pi 4B 32 bit Bullseye build with Patmenu

Followed (KM4ACK) Jason's instructions to install John's new version of ARDOP, released the hold on the kernel and then did update and upgrade per Jason's post. ARDOP works with no PTT problem. Only difference between my intermediate version with kernel hold and this is that now VARA HF doesn't allow me to use the tune feature in soundcard setup ... error message states a link to RMSExpress is necessary to use the feature.

Before executing the fix above, I had installed VARA per Jason's tutorial with a hold on the kernel to avoid the ARDOP PTT problem. I noted that the install appeared to include RMS Express. When I used VARA HF, the tune feature in sound card setup worked fine. RMS express is apparently installed but the PTT fix may have broken the link ?????

Other than the inability to use TUNE in VARA, everything seems to work normally. I tested ARDOP and VARA with a winlink message to our County EC.
73,
Jules-K2KGJ

VARA fails install on Raspberry Pi 4B 2GB

I followed Jason KM4ACK tutorial on installing VARA , except I allready had PAT installed. In terminal I pasted:
curl -O https://raw.githubusercontent.com/WheezyE/Winelink/main/install_winelink.sh && bash install_winelink.sh vara_only

First attempt hung up at VARAFM install. I C out after waiting about an hour. I ran sudo apt autoremove to et rid of unused libs.

Next attempts all failed:
VARA on RaspberryPI 4B 2GB fail install

Downloading and installing winetricks . . .

Reading package lists...
Building dependency tree...
Reading state information...
p7zip-full is already the newest version (16.02+dfsg-8).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Downloading AutoHotkey . . .

Creating a new wineprefix. This may take a moment . . .

wine: created the configuration directory '/home/RV-raspberrypi/.wine'
wine: configuration in L"/home/RV-raspberrypi/.wine" has been updated.

Setting up your wineprefix for VARA . . .

Using winetricks 20230212-next - sha256sum: 0f7e30aee05ab6747ef0d6a089830b91f90a4f70534b6ec581e75ef1eb71fa68 with wine-7.1 and WINEARCH=win32
Executing w_do_call vb6run
Executing load_vb6run
Executing cabextract -q -L /home/RV-raspberrypi/.cache/winetricks/vb6run/vbrun60sp6.exe -d /home/RV-raspberrypi/.wine/dosdevices/c:/windows/temp
Executing mv /home/RV-raspberrypi/.wine/dosdevices/c:/windows/temp/asycfilt.dll /home/RV-raspberrypi/.wine/dosdevices/c:/windows/system32
Executing mv /home/RV-raspberrypi/.wine/dosdevices/c:/windows/temp/comcat.dll /home/RV-raspberrypi/.wine/dosdevices/c:/windows/system32
Executing mv /home/RV-raspberrypi/.wine/dosdevices/c:/windows/temp/msvbvm60.dll /home/RV-raspberrypi/.wine/dosdevices/c:/windows/system32
Executing mv /home/RV-raspberrypi/.wine/dosdevices/c:/windows/temp/oleaut32.dll /home/RV-raspberrypi/.wine/dosdevices/c:/windows/system32
Executing mv /home/RV-raspberrypi/.wine/dosdevices/c:/windows/temp/olepro32.dll /home/RV-raspberrypi/.wine/dosdevices/c:/windows/system32
Executing mv /home/RV-raspberrypi/.wine/dosdevices/c:/windows/temp/stdole2.tlb /home/RV-raspberrypi/.wine/dosdevices/c:/windows/system32
Executing w_do_call pdh_nt4
Executing load_pdh_nt4
Executing cp -f /home/RV-raspberrypi/.wine/dosdevices/c:/windows/temp/pdh_nt4/pdh.dll /home/RV-raspberrypi/.wine/dosdevices/c:/windows/system32/pdh.dll
Using native,builtin override for following DLLs: pdh
Executing wine C:\windows\regedit.exe /S C:\windows\Temp\override-dll.reg
Executing w_do_call win7
Executing load_win7
Executing wine winecfg -v win7
wine: Unhandled page fault on read access to 00000000 at address 00414900 (thread 0204), starting debugger...
winedbg detected, not launching it!

warning: Note: command wine winecfg -v win7 returned status 5. Aborting.

Winetricks failed to download/install VB6 or PDH.DLL!

Winelink installation failed.

If a download failed, please check your internet connection and try re-running
the script.
For help, please reference the '/home/RV-raspberrypi/winelink\winelink.log' file
You can also open an issue on github.com/WheezyE/Winelink/

Thanks in advance for any help offered.
Russ - kg4iic

Keep VARA only option

As the .NET seems to cause problems, could you please concider keeping the version without it available. For many people your great script without WinlinkExpress is enough to run Vara on pi. Very soon there is Vara support in PAT which is a multiplatform replacement for WinlinkExpress.

73 Jouko oh5rm

Desktop shortcuts not working?

I've noticed with wine-devel 6.19 that the desktop shortcuts for RMS Express, VARA HF, and VARA FM, seem to not be working(?). I'm going to investigate that soon.

Workaround: In the meantime, these programs all launch just fine by navigating to the wine directory where they are installed (cd ~/.wine/drive_c/RMS\ Express/ or cd ~/.wine/drive_c/VARA/) and running them directly from the terminal (wine VARA.exe or wine RMS\ Express.exe for example).

Linux

Hi!
I want to install on my linux (Debian) but it doesn't install because of missing files it says.
I have VarAC downloaded on my linux, but can't download winelink
How can I do?

VARA crashes while updating propagation estimates

I am running this on a Xubuntu laptop. Whenever I begin to update the propagation estimate tables in VARA HF, it crashes and gives the following error:

The program RMS Express.exe has encountered a serious problem and needs to close. We are sorry for the inconvenience.
...
Unhandled exception: 0x0eedfade in 32-bit code (0x7b012207)

I have tried uninstalling and reinstalling the software. It works on a VM albeit it has glitchy audio output. I can manually enter in callsigns and frequencies but cannot download the propagation estimates. I'm not sure if anyone else has had this issue.

errors in 'Creating a new wineprefix.'

I have been seeing some panic's at this stage

wine: created the configuration directory '/home/pi/.wine'
wine: Call from 7B0110D6 to unimplemented function mfplat.dll.MFTRegister, aborting
wine: Unimplemented function mfplat.dll.MFTRegister called at address 7B0110D6 (thread 0088), starting debugger...
wine: configuration in L"/home/pi/.wine" has been updated.
reating a new wineprefix.  This may take a moment . . .

wine: created the configuration directory '/home/pi/.wine'
wine: Unhandled page fault on execute access to 00000000 at address 00000000 (thread 0088), starting debugger...
wine: configuration in L"/home/pi/.wine" has been updated.

pi4 4gb 32 and 64 distro using rasp pi imager

another interesting error possibly releated, winecfg also is not loading hang at Executing wine winecfg -v win7

error seen passing by..

Call from 7B0110D6 to unimplemented function shell32.dll.SHGetDesktopFolder, aborting

full lockup at

/home/pi/wine/bin/wine C:\windows\system32\rundll32.exe setupapi,InstallHinfSection DefaultInstall 128 \\?\Z:\home\pi\wine\share\wine\wine.inf

I am a little concerned that the resources of a 4GB Pi and box emulation may also be a factor as free memory is under 200mb typically I notice

I have moved my 2024 work to intel processors for now

RMS Express Crashes with VARA displaying Waterfall

This project is progressing amazingly and working quite well (thanks WheezyE). One issue that I have noticed is that VARA itself works fine with the VARA waterfall displayed. However, RMS Express crashes with the VARA waterfall display selected but remains fairly stable if it is only showing the VARA gauges. This is on a 4B 4GB model and I've tried allocating various amounts of memory to the GPU and it has no effect.

Latest Winlink version requires .NET v4.0

After a Wine upgrade requiring a Wine re-install (a Box86 and/or Wine update/upgrade always require a Winelink re-install) I ran the Winelink install command line and after it installed Winlink, it threw this error...

2021-10-27-074907_334x154_scrot

Apparently, the new version of Winlink Express that was issued yesterday, requires .NET v4.0...and without it I am dead in the water...

Please note that I am in no way a programming expert, so please do not waste time pointing out my ignorance...just reporting an issue and trying to learn how to move forward from the replies here...

Erik and all who have helped him get Winelink out for us to use....Thank you!

ImageList from MSCOMCTL.OCX

I got the following error when trying to open vara configuration after installing onto a raspberry pi 4.
Failed to load control 'ImageList' from MSCOMCTL.OCX. Your version of mscomctl.ocx may be out dated. Make sure you are using the version of the control that was provided with your application.
I have not seen this error anywhere else in this forum, anywhere else except when dealing with the windows system. I have also been told that it was doubted that it would even work in the debian environment. I know it must work because too many people are using wine for vara install on the pi. Any help would be appreciated.

See if VarAC's author might help with more Wine compatability

I might need to email the author with some more suggestions for Linux/Wine users:

  • There are no default values for VARA HF file path, IP, Main port, KISS port, file transfer limits/directories, or logging settings: I can set these with sed for users on first install, but I'm afraid this is kind of a messy solution that over time could randomly cause instabilities. <--- EDIT: I think that there are defaults, they just aren't set in the config file initially.
  • The program doesn't seem to be able to locate its own home directory while run from Wine (it ends up putting its config files in the user's home directory): This is kind of messy for users and could lead some users to delete their settings file without realizing.
  • VarAC seems to only run from commandline if invoked via the home directory (which is why shortcuts work but invoking VarAC inside its own directory doesn't run VarAC).
  • Request an icon file be included in the releases so that we can create a desktop shortcut to it? (currently no start menu icons are made by the program to link an icon file to in Wine) <-- EDIT: Extracting the program icon works.
  • The VarAC.ini settings file only has a [VARAHF_CONFIG] section (which lists variables named VarahfMainPath= etc) which is set for VARA HF, but also for VARA FM (and probably Sat). Request different variables to store locations of the different modems.

VARA 4.7.3 possibly no longer compatible with linux

I have been doing some testing with José after he changed major parts of VARA to run through in-memory code obfuscation and anti-piracy systems.

This has added overhead which causes VARA to fail consistently when running on RPI4, causing ALSA underruns when used in a configuration sharing the audio devices with other TNCs such as ARDOP and packet, so just a heads-up: do not to upgrade to 4.7.3 if using dsnoop/dmix or relying on VARA working under linux.

4.7.2 is the last version without these (annoying) measures added by José (EA5HVK).

VARA HF TCP broken in box86 >12/09/21

We are currently stuck using box86 builds from before apx Dec 10, 2021 since a regression was introduced later.

Once this bug fixed, we can fix other bugs (like VARA's waterfall & 'monitor mode' both freezing #32, RMS Trimode crashing #38, and possibly add VarAC #27)

Bisecting commits

System/Software: RPi4B (2GB), RPiOS Bullseye 32-bit (armv7l), wine-7.1, mono, RMS Express 1.7.0.0, VARA 4.6.3 (install script)

Bug: VARA cannot talk to RMS Express over TCP in newer versions of box86 (says it connects though) - freezes after pushing the "start" button in RMS

01/01/21 VARA works
12/01/21 works
12/07/21 works
12/09/21 (ed8e01ea) works
12/10/21 (ed8e01ea) works
	*12/11/21 (a1aac43a) unrelated wine error (happens in wine-devel-6.19 & wine-devel-7.1)
	*12/13/21 unrelated wine error
	*12/14/21 unrelated wine error
12/15/21 (07166e59) nope
01/01/22 nope
01/17/22 (16b8657a) nope
02/01/22 (60078852) nope
02/05/22 nope
04/01/22 (dc461d4d) nope
04/15/22 (aa3474d0) nope
04/24/22 (d45aa0da) nope
07/31/22 (fa8355ec) nope
08/26/22 (e9fcef3d) nope
08/31/22 (a25c32a6) nope
	09/04/22 (76a86e2e4565e88d482dace2f2b115b39ba72313) RMS Express only starts with Dynarec off (but then freezes)
09/15/22 (bb692f26) RMS Express only starts with Dynarec off (but then freezes) [Dynarec on + different strongmem & bigblock settings still don't run]

The breaking commits are near here

Analysis

This bug is embedded within another regression that causes wine to not run. So finding the breaking commit might involve cherry-picking and editing code.

There are MANY changes between the last commit that works for VARA TCP & the commit where VARA TCP doesn't work: link.

Failure to load

I am trying to install vara and winelink onto a raspberry pi 4b. I have actually tried on two different rpis with no success. I get to the same point each time. I am using the latest version of Buster 32 bit OS and am following the tutorial by KM4ACK Jason. I have a screenshot if I am able to place it in the dialogue. It is not letting me put the screenshot in here. Imagine that. Any help would be appreciated.

Revamp RPiOS Swapfile increase/decrease method

Make sure this does not conflict with BAP:
[ ] Consider 1024 MB increase
[ ] See if Wine performance is improved with better swapfile (monitor with free -m)
[ ] Add method to put swap file back to where it was (when first modified).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.