How to compile and install cs in Linux Wine Environment

Source: Internet
Author: User
Tags windows dll files

 

1. Download necessary software packages

Bytes

After Wine is successfully installed, We need to reinstall CS 1.6. You can download any CS1.6 installation file from xunlei.com.

Ii. Compilation and Installation

# Tar-jxvf Wine-0.9.54.tar.bz2

# Cd Wine-0.9.54

# Mkdir/usr/local/Windows-0.9.54

#./Configure -- prefix =/usr/local/Wine-0.9.54

# Make depend & make

This process takes a long time to wait ......

# Make install

After the make install command, it will be installed in the path you specified.

3. Configure Wine

$/Usr/local/Wine-0.9.54/bin/Winecfg

In this case, open a Winecfg configuration information box and we also need to use some Windows dll files, on the "libraries" tab, enter "cryptui" in the New overrride for library and click "add" to add the dll to the library.

Glu32

Opengl32

Shdocvw

Shlwapi

Add the remaining four

From another computer (Windows xp operating system)

C: Under the Windowssystem32 directory

Cryptui. dll

Opengl32.dll

Glu32.dll

Shdocvw. dll

Shlwapi. dll

Copy five files ~ /. Wine/drive_c/Windows/system32 directory. If the directory already exists, overwrite it.

(If your home does not exist. run/usr/local/Wine-0.9.54/bin/Winecfg in the Wine directory. This is my installation path and can be modified based on your actual needs)

Iv. Install CS 1.6

Because we use wineto simulate the Windows environment, if we directly double-click cs1.6.exe under windows, we can install it, but not in Linux. Add my CS Installation File in ~ /Software/CS1.6.exe

We can install CS 1.6 in this way.

$/Usr/local/Wine-0.9.54/bin/Wine/home/xiaopeng/software/CS1.6.exe

Wait a moment to see the CS installation interface. If not, select a path to install my installation path.

/Usr/local/CS1.6

After the installation is successful, we use Wine to simulate the Windows environment to start running. Enter the following command on the terminal:

$/Usr/local/Wine-0.9.54/bin/Wine/usr/local/CS1.6/CStrike.exe

This is a time-out CS background page, but we found that the font cannot be displayed, because we do not have a font file, I found a solution using the network:

Copy A simsun. ttc file from the C:/Windows/FONTS directory in the WinDOWS operating system to your USB flash drive. Then, perform the Linux operating system and copy the file ~ /. Wine/drive_c/Windows/fonts.

Run $/usr/local/Wine-0.9.54/bin/Wine/home/xiaopeng/software/CS1.6.exe again

Can I see English characters.

By the way, you also need to adjust the video selection of CS. Remember to use software 800*600.

Add a few robots.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.