Results 1 to 3 of 3

Thread: Executing command Help

  1. #1
    Join Date
    Sep 2013
    Beans
    13
    Distro
    Ubuntu 12.04 Precise Pangolin

    Thumbs up Executing command Help

    Hi guys its me again btw thanks for all the help from my first thread, this community is awesome..

    Since i'm new in ubuntu (Linux OS) & I dont know what to do, I surf google for some topic/task to familiarize Linux Environment and found some Interesting.
    (Topic [from wargaming official forum])

    * Installing World of Tanks SEA on linux *
    .
    - I did manage to follow the (needed apps, patches, etc.) instruction. But when i get into the executing command to modify the file, i did stall (No clue, No Idea & Double Faced Palm)

    Can anyone elaborate this instruction into more Newbie Linux User Friendly (Font color: red-Blue-Orange)

    --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

    Warning!!!

    This method of making World of Tanks game client compatible with Linux is totally player made and has no connection to Wargaming Company. We just recommend this modification as a quite popular and successful method. World of Tanks development team is not responsible for these files and our Customer Service do not supports them.

    It’s highly recommended to check files on viruses before installation!

    This method of launching the game does not guaranty successful and stable work of the game with some configurations of soft- and hardware.

    World of Tanks Development team thanks player wilderwind for help during production of this guide.
    ________________________________________

    Launching World of Tanks under Linux OS: constructing wine from scratch.

    It should be mentioned that below described method is related to so-called Debian-based distributives on GNU/Linux OS, for example, Ubuntu — One of the easiest to understand system of this type. The main difference from Ubuntu is the used desktop environments – KDE instead of Gnome3 or Unity. But there will be no change if you will follow the instructions in Gnome, XFCE, LXDE etc. environments. Use of specific shell is a question of taste, and comfort is question of habit

    Everything described below presupposes the basic knowledge of the ОS GNU/Linux: what is login directory, what stands for data terminal (or command string), what is sudo, root and what they can do etc. The knowledge will help you to keep your software always up-to-dated, to track changes flexibly, to avoid hardware and software incompatibility, to fix occurring errors with the help of various patches application and many more. Besides good-compiled Wine helps to successfully run other Windows applications or games.

    For the launching Wine is needed – a particular layer between Windows-apps and system requests of the ОS GNU/Linux.

    Visit http://www.winehq.org/, to the right you will see Latest Release block there are two lines: Stable and Development. First – this is a stable release of Wine, second – the latest version available at present. Which one to chose is completely up to you, however it is better to use Development version as new features might be added to it, improved previous functionality and programs might work faster.


    Winetricks from Dan Kegel should be downloaded next – this is a script or, command script, which will help to significantly simplify installation of some Wine components and it further adjusting.

    Visit http://wiki.winehq.org/ and save the script to your parent folder according to the instructions, save the script into the root folder. Do not forget to assign an “executive” attribute to it, in order to do so please open the terminal menu and execute the following command chmod +x winetricks . After this the application can be launched as from the command string so with the double click. The script is quite user friendly interface.




    There is a problem in Wine concerning raw input API which leads to impossibility of the in-game cursor usage. In order to eliminate the problem a Wine patch by Vincas Miliūnas should be installed:

    In order to improve performance a bit (in-game FPS amount) another patch might be used which is located here.

    __________________________________________________ __________________________________________________ ___________________________________________
    • Put both patch files into this folder
    • Launch terminal, go to the extracted files catalog. Catalog shifting is done via the cd command, Tab button helps not write catalogs full names.
    • Apply the previously downloaded patches with the help of the patch -p1 < file_name.patch. command. The sequence of the patches does not matter.
    • Execute ./tools/make_requests command (to register the changes made by the patches)
    • Optionally: execute autoheader and autoconf , however everything works without them as well.
    • IMPORTANT! The Wine app has a lot of dependencies. In order to tune them all automatically, please execute the sudo apt-get build-dep wine command and accept what will be suggested.
    • Configure Wine with a sudo ./configure command Additional configuration parameters might be needed if there will be some errors with the game launching.
    • You should see something like "configure: Finished. Do 'make' to compile Wine" when finished.
    • Start the build with the help of the sudo make -j4 command, where j4 is the amount of the simultaneously run tasks. If you have multi-core processor this parameter can b changed (increase by several digits) and achieve a faster build process (for tests was used Intel Core i7, OS identifies 8 cores (4 physical + Hyper-Threading technology), it will take a few minutes for the build with - j8
    • When the build is finished you will see the following message: Wine build complete. Execute the sudo make install command.
    • By finishing the previous command restart the Wine app with the wineboot command. By doing so the program will ask you to install Wine Mono and Wine Gecko — please do it.
    • In order to launch the game, some components should be installed with the help of the Winetricks. Please execute the winetricks d3dx9_36 vcrun2008 corefonts msxml3 wininet ie7 command. This will help to launch not only the game but the launcher (WOTLauncher.exe) as well for checking and installing updates
    • And finally go to the game folder, run WorldofTanks.exe and enjoy the game.

    Some peculiarities of the above mentioned method:

    • On Wine 1.5.8 (the latest updated available at the time of the article creation) the artillery regime works without buttons reassigning (Shift button)
    • The game’s configuration file is located in the root folder: .wine/drive_c/users/имя_пользователя/Application Data/Wargaming.net/WorldOfTanks/preferences.xml, the screen resolution can be changed as from the settings of the game itself, so by adjusting the configuration file in the Device preferences chapter. If you have adjusted the game in the way that launching troubles appeared - just delete this file, the game will create a new one with default settings during the next game launch.
    • On the GNU/Linux OS the game minimized and maximized incorrectly while in the fullscreen mode.
    • Another virtual desktop might be used (not a separate X-server!) for the sake of convenience and launch the game in the window-mode; these steps will help to easily switch between desktops and not close the game every time. The multiple virtual desktop functions is available in the majority of modern distributive kits.
    • The sound works perfectly.
    • ATTENTION! The following addition is only for the owners of the NVidia video card (or laptop with that kind of video card) equipped with the Optimus technology.
    • What is this technology look like? There are two types of the video cards in the system: motherboard build-in (usually Intel HD Graphics 3000 designed for battery energy economy) and discrete (dynamically plugged in) which is designed for supporting “heavy’@ video applications. Despite the fact that there are Optimus-video cards drivers for the Linux on the manufacturer’s website, all the attempts to install them lead to the X-server crash and general unstable behavior of the system. That is why a group of enthusiasts started a project devoted to that problem: http://bumblebee-project.org/, which helps to use the Optimus technology. Though its install instruction does fit the frameworks of this guide, there exists a special command for the World of Tanks (which is not differs much from traditional game launching using the Wine)
    • optirun -c proxy wine /route_to_game_folder/World_of_Tanks/WorldOfTanks.exe
    • Simply create a shortcut for the game launch in order not to launch the game through terminal every time. A small clarification: optirun – is a Bumblebee itself, -c proxy — is a ‘communication’ method of the build-in and discrete video cards which create the highest FPS rate, i.e. as the resource-intensive video processes are calculated by the discrete card, whereas the build-in one is only responsible for the display output

    That is it. Enjoy it Linux users.

    Note: The above instruction / procedure / method were created by KaZanova (one of the Admin of Wargaming) & He/She may take the Credit if above text is Helpfull, & I hope I'm Not invading his/her Copyright. I just post his/her Text to seek for Help & Better Understanding. And most important is - I hope you understand my grammar (kinda poor in English). Thank you very much.

  2. #2
    Join Date
    Oct 2006
    Beans
    58,286

    Re: Executing command Help

    Thread moved to the "Wine" forum.

  3. #3
    Join Date
    Sep 2013
    Beans
    13
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Executing command Help

    Quote Originally Posted by howefield View Post
    Thread moved to the "Wine" forum.
    Thank you mod howefield for sorting my thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •