Community Forums > Technical Support > Voobly Website / Voobly pagina web > How to download mods from browser (Linux)

How to download mods from browser (Linux)


Join Date: 9 November 2019
Posted 29 December 2019 - 9:32 am
I run Voobly through wine. For the most part, it works great. However, using the built-in browser to install mods didn't work for me. No problem, I thought, I'll use a browser. When you try to do that, however, your browser will complain it can't open the link. There are several methods, including messing with your browser's config. The following is what worked for me.

I am not liable for any unforeseen damage to your computer. I am not a programmer. Use at your own risk. To my knowledge, these are the only steps needed, but I tried several different things first.

As an example, I will use the Light Grid Terrains mod for The Conquerors.
When you click Download Now, it is not a direct link to the file. If you look at the location bar in your browser, you'll see this:
Instead of https:// you have voobly:// . You may have seen something similar when clicking an e-mail address (mailto://) or opening a game in Steam (steam://) or downloading legal torrents (magnet://). This is called a protocol handler, and we need to install a custom one for voobly.

First of all, find your Voobly.desktop file. Mine was in
~/.local/share/applications/wine/Programs/Voobly/. Copy-paste it to ~/.local/share/applications . Open the new file in your favourite text editor.

The file will start off with this:
[Desktop Entry] Name=Voobly

We need to edit one entry and add another one. At the end of the Exec entry, add:
Then add another entry (I put it after Path, I don't think location matters):
Don't forget to include the semi-colon.

Save the file.

That's it! Next time you click the Download Now button, it will ask you what program you want to open voobly links with. Click Voobly, and even if it's not already open, it should say it's downloading the mod. To check that they downloaded successfully, go to your game folder and open the Voobly Mods folder. Everything should be there.

If you use a Mac, I don't know enough about that system, but the answers you seek are most likely here: [You must login to view link] If the program RCDefaultApp still works, that is probably the easiest method.

Happy modding!
Link | Reply | Quote

Join Date: 8 September 2018
Posted 1 January 2020 - 3:00 pm
Thanks for your contribution! Cheers ;good
Link | Reply | Quote

Join Date: 26 February 2014
Posted 24 January 2020 - 1:48 pm
Wow, thank you! I had to fire up a VM and download the mod regularly, and then just copy it back to a Wine prefix. I never thought to try something like this.
Link | Reply | Quote

Join Date: 26 February 2014
Edited 24 January 2020 - 5:52 pm by [Wally]ArcherHombre
Some additional info:

You can confirm that your system is ready to use your voobly.desktop file with this query:
$ xdg-mime query default x-scheme-handler/voobly Voobly.desktop
And if you need to manually set it, you can do so with:
xdg-mime default Voobly.desktop x-scheme-handler/voobly
Interestingly enough, I did not need to fully qualify the path to Voobly.desktop. I suspect that is because it is in one of the XDG_DATA_DIRS default locations which is the ~/.local/share/applications/
My Voobly.desktop actually calls a wrapper shell script, which I augmented to pass the parameters to voobly.exe.
$ cat ~/.local/share/applications/Voobly.desktop [Desktop Entry] Name=Voobly Exec=/home/archerhombre/.wine/ %u Type=Application StartupNotify=true Path=/home/archerhombre/.wine/dosdevices/c:/Program Files/Voobly Icon=/home/archerhombre/.local/share/icons/voobly.png StartupWMClass=voobly.exe Comment=Matchmaking service for AoC Terminal=false Categories=Game;StrategyGame; MimeType=x-scheme-handler/voobly; StartupWMClass=voobly.exe
The shell script has that [email protected] (all parameters), which will pass any of those values from the %u from the Desktop file.
#!/bin/sh env WINEPREFIX="/home/archerhombre/.wine" STAGING_WRITECOPY=1 /usr/bin/wine C:\\Program\ Files\\Voobly\\voobly.exe [email protected]

[You must login to view link]
[You must login to view link]
Auxiliary reading:
[You must login to view link]

Link | Reply | Quote
Displaying 1 - 4 out of 4 posts
Forum Jump:
1 User(s) are reading this topic (in the past 30 minutes)
0 members, 1 guests