Hello, I did try the other posts here on this and tried following the instructions there and from some other posts around the internet. I have Java 11 in there, and downloaded this recent tar for linux - 3.7.16. But when I continue with the command to extract, I get back ‘Cannot open: No such file or directory exists’. I did find two good posts on here that looked like they should work, one on getting it loaded in and another on setting up the mime stuff to allow clicking on a file to open it up on Vassal, but wasn’t able to get them to work. Can anyone give me the series of commands that might work - I’m running Pop! OS. I’ve used Vassal for many years but de-microsoftizing myself now.. Thanks for reading!
Java 11 is rather old. Perhaps you can upgrade it to a more recent version - say 20 or newer. To do that, open a terminal and type
$ sudo apt update
$ sudo apt upgrade
Sounds like you are not in the directory where you downloaded the file. The message
Cannot open: No such file or directory exists
means that the file you are trying to extract isn’t where you expect it to be.
In a terminal, do
$ ls
to see what files are in the current directory. Typically your terminal starts in your home directory ~/
, while your downloads typically go in ~/Downloads
. Perhaps you simply need to change directory to ~/Downloads
:
$ cd Downloads
$ ls
You should see the file
VASSAL-3.7.16-linux.tar.bz2
if that’s were you downloaded the installation. Once you have located the file, you can unpack it
$ tar -xjf VASSAL-3.7.16-linux.tar.bz2
This will unpack the archive in the current directory. If you want the installation to go elsewhere, say /opt
, then you can do
$ tar -xjf VASSAL-3.7.16-linux.tar.bz2 -C /opt
Alternatively, you can open your file manager (I believe Pop_OS! uses GNOME for its desktop, which means your file manager is nautilus) and find the file VASSAL-3.7.16-linux.tar.bz2
and double-click it to open in your archive manager (File-roller in GNOME) and use that graphical user interface (GUI) to extract the the archive to where you want it.
You need to unpack the archive before anything works. For example, the post How to Integrate VASSAL into the Linux Desktop assumes you already have unpacked the installation.
Suppose you have unpacked VASSAL into /opt/vassal
, then you can downloaded integration.sh
(remember that it will typically end up in ~/Downloads
), and move that to /opt/vassal
$ mv ~/Downloads/integration.sh /opt/vassal
$ cd /opt/vassal
$ sh integration.sh
to set-up the mime-types for desktop integration. But, you need VASSAL unpacked first.
Hope this helps.
Yours,
Christian
Okay, thanks, so I did the extraction, and unbeknownst to me I must have accidentally done that right yesterday at least twice, lol. The files are extracted out into both the Downloads and a directory I started up called vassal (I was trying something else there I think from another internet posting). Then I went back to that post, got that integration.sh , but when I tried to run that, it tells me: "/integration.sh: line 161: /home/forest/.local/bin/vassal: No such file or directory
chmod: cannot access ‘/home/forest/.local/bin/vassal’: No such file or directory
" So not sure what to do about that, when the terminal starts, it shows the pop-os directory not home/etc. and not sure how to find that if it’s there. NOTE: I did try installing and running the integration from the Downloads and inside the extracted files but same message back. Sorry, the last time I played with these terminals was in DOS days, lol. But thanks much for your help!
Also I did find an icon came on my screen (just saw it when closing other stuff) with a pesky red ‘x’ called application-x-vassal.desktop. upon click it says ‘Broken Desktop File. This .desktop file has errors or points to a program without permissions. It can not be executed. Edit the file to set the correct executable Program.’ The properties show permissions, and I changed mine to both read and write, but that didn’t help. Here’s what’s in its script:
Desktop Entry]
Type=Application
MimeType=application/x-vassal-module;application/x-vassal-log;application/x-vassal-save
Name=VASSAL
Exec=/home/forest/.local/bin/vassal
Icon=application-x-vassal
Actions=Run;Edit;
Categories=Games
[Desktop Action Run]
Name=Run
Exec=/home/forest/.local/bin/vassal -l %f
[Desktop Action Edit]
Name=Edit
Exec=/home/forest/.local/bin/vassal -e %f
First off, it would be nice if you would do minimal formatting of your posts, in particular quote literally outputs etc. as described here. That really helps people more easily understand your problem and help you out.
Perhaps your web-browser automatically unpacked the archive.
You should make sure you only have one of these. If you want the directory in a different place, just move the directory where you want it. E.g., to move it to /opt
, do
$ mv ~/Downloads/vassal-x.y.z /opt/
It seems an assumption of that script did not hold on your system. I’ve fixed that - try to re-download and re-execute. Pay attention to the possible options
$ ./integration.sh --help
Please be specific. Perhaps copy’n’paste exactly what you see between pairs of ```
(see here).
Please read the original post. However, the fix I just made should probably fix it for you if you did what the post says.
Yours,
Christian
This worked - got some modules on and it appears to be working great! Thanks!
Forest