Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [size=+2]Asheron's Call 2 in Wine on Linux tutorial[/size]
- Requirements: Wine 1.5 (I use 1.5.22 to be exact) and some gumption and elbow grease :-)
- Please beware i wrote this after I installed it, so I might have forgotten something, so it relies on your feedback to correct errors in this howto
- Xubuntu 12.10 was used as OS so you might have to do stuff a little different
- [size=+1]Installation[/size]
- The installation process is fairly simple
- Download AC2 installer
- [code]
- kimse@kimse-laptop:~$ wget -O ~/Downloads/ac2installer.zip http://content.turbine.com/sites/clientdl/ac2/ac2installer.zip
- [/code]
- Create target directory
- [code]
- kimse@kimse-laptop:~$ mkdir -p ~/src/ac2
- [/code]
- Extract AC2 installer archive
- [code]
- kimse@kimse-laptop:~$ unzip ~/Downloads/ac2installer.zip -d ~/src/ac2
- [/code]
- Run AC2 installer
- [code]
- kimse@kimse-laptop:~$ msiexec /i ~/src/AsheronsCall2.msi
- [/code]
- ac2launcher.exe uses ieframe to show latest news etc from Turbine, but it doesn't work, so we have to disable it
- Start wine configuration tool
- [code]
- kimse@kimse-laptop:~$ winecfg
- [/code]
- Add overrides
- [list=1]
- [*]Add ac2launcher.exe under Applications tabs
- [*]Select ac2launcher.exe application (or make sure it's selected)
- [*]Click on the libraries tab
- [*]Find ieframe in the "New override for library" dropdown menu
- [*]Select ieframe in "Existing_overrides" and click edit
- [*]Select Disable
- [*]Click OK and close winecfg
- [/list]
- DirectSound implementation in Wine is broken, so you have to disable sound using the AC2Config.exe (It wasn't necessary for me to add any sound specific overrides in Wine)
- [code]
- kimse@kimse-laptop:~$ wine .wine/drive_c/Games/Turbine/Asheron\'s\ Call\ 2/AC2Config.exe
- [/code]
- Start ac2launcher.exe
- [code]
- kimse@kimse-laptop:~$ wine .wine/drive_c/Games/Turbine/Asheron\'s\ Call\ 2/ac2launcher.exe
- [/code]
- [size=+1]Known issues[/size]
- [b]Sound[/b]
- Does not work and has to be disabled using AC2Config.exe
- [b]Brightness[/b]
- The whole screen turned very bright (including other Windows, menu bars etc...)
- - fix:
- [indent]Adjust brightness in game[/indent]
- [b]Window resize[/b]
- if running in Windowed mode, the client launches in 1024x768 by default, and then resize it self when you enter a world. But this does not always turns out successfully, specialy if the client tries to go outside your screen borders. The Window then fallbacks to 1024x768, but the game it self it still running in selected resolution, resulinng in you cannot see most of GUI elements
- - fix:
- [indent]Make sure the client does not overflow screen borders when Window resizing occurs (I'm running 1920x1200 and AC2 in 1440x900, so I have to move the Window a bit to the left before reszing occours). Trigger resize: When inside the game world, press ESC to get Options window, select client tab, open Rendering Options, select af new resolution (eg: 800x600), close Options window and answer Yes to "Save all changes" dialog, and no to "Confirm Rendering Options" (or wait for timeout). Then the client should fallback to orginal resolution[/indent]
- Launcher and desktop shortcut examples
- Make a local bin folder
- [code]
- mkdir ~/bin
- [/code]
- Create ac2 bash script
- [code]
- nano ~/bin/ac2
- [/code]
- [code]
- #!/bin/bash
- AC2LAUNCHER="$HOME/.wine/drive_c/Games/Turbine/Asheron's Call 2/ac2launcher.exe"
- wine "$AC2LAUNCHER" "$@"
- [/code]
- Make executable
- [code]
- kimse@kimse-laptop:~$ chmod +x ~/bin/ac2
- [/code]
- Start AC2
- [code]
- kimse@kimse-laptop:~$ ~/bin/ac2
- [/code]
- or if you have added your bin folder to your $PATH (http://askubuntu.com/questions/60218/how-to-add-a-directory-to-my-path)
- [code]
- kimse@kimse-laptop:~$ ac2
- [/code]
- Arguments passed to ac2 will be passthru to ac2launcher.exe, so you can create shorcuts thats signs you in, select server etc
- Example:
- [code]
- kimse@kimse-laptop:~$ ac2 -u USERNAME 1 -p PASSWORD -x 0 -z 0 -w Dawnsong -1 -2 -3
- [/code]
- Switches:
- [code]
- -!, --AcceptEULA : Accept the EULA by Default
- -c, --character : The Character to Play
- -x, --DataCenter : The datacenter server to use
- -z, --FauxDataCenter: The faux datacenter server to use (on the real datacenter)
- -h, --host : Which Game Server We Use
- -p, --password : Default Password
- -1, --SkipEULA : Automatically Advance Past the EULA
- -2, --SkipLogin : Automatically Advance Past Authentication
- -3, --SkipSelect : Automatically Advance Past Selection
- -t, --ticket : Authentication Ticket
- -u, --username : Default Username
- -w, --world : The World to Play In
- [/code]
- Application menu example (you can also create it using GUI tools for your desktop enviorment)
- The icon 79B1_ac2launcher.0 (it might be named something else on your system) was added by AsheronsCall2.msi installer and Wine
- So i created the shortcut without icon, and used [i]XFCE Settings manager -> Main Menu[/i] tool to add icon from the list
- [code]
- kimse@kimse-laptop:~$ cat ~/.local/share/applications/ac2launcher.desktop
- [Desktop Entry]
- Name=Asheron's Call 2
- Version=1.3.1a
- Exec=/home/kimse/bin/ac2
- Comment=Asheron's Call 2 (Dawnsong Auto login)
- Icon=79B1_ac2launcher.0
- Type=Application
- Terminal=false
- StartupNotify=true
- Encoding=UTF-8
- Categories=Game;MMORPG;
- Path=
- GenericName=
- [/code]
- Wine 1.5 install Ubuntu:
- [code]
- sudo add-apt-repository ppa:ubuntu-wine/ppa
- sudo apt-get update
- sudo apt-get install wine1.5 wine-gecko1.9
- [/code]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement