[guide]launch aos 0.75 in web browser on linux

The original, free Ace of Spades game powered by the Voxlap engine. Known as “Classic,” 0.75, 0.76, and all 0.x versions. Created by Ben Aksoy.
4 posts Page 1 of 1 First unread post
Mine7
Deuced Up
Posts: 43
Joined: Thu Feb 14, 2013 8:32 pm


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
Last edited by Mine7 on Thu May 30, 2013 5:31 am, edited 1 time in total.
GreaseMonkey
Coder
Coder
Posts: 733
Joined: Tue Oct 30, 2012 11:07 pm


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).
Mine7
Deuced Up
Posts: 43
Joined: Thu Feb 14, 2013 8:32 pm


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
Sonarpulse
Coder
Coder
Posts: 443
Joined: Thu Dec 13, 2012 7:18 pm


well, nice to see we have another linux user.
4 posts Page 1 of 1 First unread post
Return to “Ace of Spades 0.x Discussion”

Who is online

Users browsing this forum: No registered users and 30 guests