Page 1 of 1

[guide]launch aos 0.75 in web browser on linux

Posted: Wed May 29, 2013 9:41 pm
by Mine7
how to launch aos 0.75 on linux (ubuntu) in web browser Green_Cookie

open a terminal
Code: Select all
gedit ~/.local/share/applications/mimeapps.list
example:
[Default Applications]
text/html=google-chrome.desktop
x-scheme-handler/http=google-chrome.desktop
x-scheme-handler/https=google-chrome.desktop
x-scheme-handler/about=google-chrome.desktop
x-scheme-handler/unknown=google-chrome.desktop
x-scheme-handler/aos=aos.desktop
add
Code: Select all
x-scheme-handler/aos=aos.desktop
save
Code: Select all
gedit ~/.local/share/applications/aos.desktop
add
Code: Select all
[Desktop Entry]
Name=aos
Exec=wine start "C:\\Ace of Spades\client.exe" "%u"
Type=Application
Terminal=false
save
Done!!! Green_BigSmile
http://buildandshoot.com/serverlist_page.php

Re: [guide]launch aos 0.75 in web browser on linux

Posted: Wed May 29, 2013 11:56 pm
by GreaseMonkey
You shouldn't need to use a specific WINEPREFIX, so THIS should work too:

Exec=wine start "C:\\Ace of Spades\\client.exe" "%u"

BUT of course if you're a proper Linux user what you'd do is:

cd ~/.wine/drive_c/Ace\ of\ Spades/
wine client.exe -aos://16777343

(that's the number for localhost, you can bash whatever valid number you like in there)

I personally have a symlink to the C: drive (ln -s ~/.wine/drive_c ~/c) and another symlink in there to the main AoS directory (ln -s ~/c/Ace\ of\ Spades ~/c/aos).

Re: [guide]launch aos 0.75 in web browser on linux

Posted: Thu May 30, 2013 5:37 am
by Mine7
i just found this out
i used't to do this
wine /home/username/.wine/drive_c/AoS76/aosbeta/client.exe
wine /home/username/.wine/drive_c/AoS75/client.exe

Re: [guide]launch aos 0.75 in web browser on linux

Posted: Mon Jun 03, 2013 10:13 pm
by Sonarpulse
well, nice to see we have another linux user.