Forums » Linux

Plugins on linux mint

Oct 22, 2020 Alphadestroyer link
I am currently trying to get some plugins working on a linux mint computer and cant figure out how to get my plugins file into the games file. Currently my file structure goes Vendetta (folder) --> Bin (folder) --> plugins (Folder), Vendetta (executable)

I am new to linux so I dont know many of the commands and terms associated with terminal.
Oct 22, 2020 Xeha link
plugins go into ~/.vendetta/plugins. the directories with a . in front are per default "hidden", so unhide them first if you use a graphical file util. or you can open it via this command: xdg-open ~/.vendetta/

if thats still too complicated, take a look here: https://www.vendetta-online.com/x/msgboard/16/17439#219481
Oct 22, 2020 Alphadestroyer link
Looked at the forum thread you linked before I posted this.

As for the ~/.vendetta/plugins I cant figure out how to put my installed plugins into a plugins folder under directory and when I try to create the plugins folder it appears to work but when I try to access the directory again after closing and re-opening terminal it is gone
Oct 22, 2020 Xeha link
mkdir -p ~/.vendetta/plugins && cd ~/.vendetta/plugins
# now you are in the plugins directory and you need to unzip the plugin you've downloaded.
unzip PATH-TO-ZIPFILE-OF-PLUGIN

restart VO ;)
Oct 22, 2020 Alphadestroyer link
Created and got to the directory, no idea what the path to the zipfile is. I believe I have already unzipped the files as well
Oct 22, 2020 Xeha link
Well, you replace it with the path of the zip file you downloaded. Its likely ~/Downloads/SOMEZIPFILE.zip (at least substitute that SOMEZIPFILE part)
Oct 22, 2020 Alphadestroyer link
I installed autochain again and it went to downloads as a zip file, entered unzip ~/downloads/autochainmk1.zip, unzip ~/downloads/autochainmk1-1.0.zip, unzip ~/downloads/autochainmk1-1.0.zip.zip, and unzip ~/downloads/autochainmk1.zip.zip. Got an error message that it can not find or open it for every iteration.
Oct 22, 2020 Xeha link
names are case-sensitive! you cant just type it lowercase ;) also i just assumed your downloads directory is named "Downloads", if thats also different, adjust it too.
Also remember to change directory first, before unzipping (otherwise it ends up being in your home dir):
cd ~/.vendetta/plugins
Oct 22, 2020 Alphadestroyer link
My downloads is uppercase D, so I just tried the combinations I tried before with Downloads instead of downloads. Nothing worked again. The exact name of the autochain file is autochainmk1-1.0.zip
Oct 22, 2020 Xeha link
then the commands would be:
cd ~/.vendetta/plugins
unzip ~/Downloads/autochainmk1-1.0.zip

if you want to take a look at the contents:
ls -al ~/.vendetta/plugins

or if you want to open it in a graphical tool:
xdg-open ~/.vendetta/plugins
Oct 22, 2020 Alphadestroyer link
I forgot the 1 in mk1 when I tried almost that exact line before. Did not get the error message this, gonna boot of the game and see if its working
Oct 22, 2020 Xeha link
If you want to check if the plugin got loaded or not, you can do it this way:
grep "Loaded plugin" ~/.vendetta/errors.log

In case you don't see it (or no output), then something is still wrong.
Oct 22, 2020 Alphadestroyer link
So I ran that command and it found the autochain plugin, however when I go into the game I cant find the autochaintoggle in key bindings settings nor can I use the command in chat. there is also this note in the description for the autochain:
"There is, however, a small additional movement required, the file "AutochainMK1.cfg" in the plugin folder should be moved into the main folder alongside wgaf.cfg. Qithout this movement, nothing will happen, and it may give a lua error on failing to find the file, so this is very important."
Oct 22, 2020 Xeha link
So find said failes and then type:
mv PATH-TO-FILE ~/.vendetta
Where do you have that file? Before you do the "move", type:
ls PATH-TO-FILE
When you see the file, you know you got it right.

Also there is autocomplete, so you dont have to type everything and you know things exist. Press TAB (tabulator) to autocomplete commands, files and dirs.

If you want to use the command line, learn the basics how to move, create and delete files/dirs. its essential to know this.
Otherwise you can use the graphical tools and just drag/copy-paste around things.
Oct 22, 2020 Alphadestroyer link
I tried "mv ~/.vendetta/plugins/AutochainMK1.cfg ~/.vendetta". Came back with an error message "mv: cannot stat '~/.vendetta/plugins/AutochainMK1.cfg': No such file or directory"
Oct 22, 2020 Xeha link
As a guess:
mv -v ~/.vendetta/plugins/AutochainMK1/AutochainMK1.cfg ~/.vendetta/

To see the dir name of the plugin (in case the above isnt correct): ls ~/.vendetta/plugins

Each plugin has its own directory WITH files inside.
Oct 22, 2020 Alphadestroyer link
Seems to be working as intended now, thanks