Winex simulates Starcraft and uses IPX for combat

Source: Internet
Author: User

Author: UFO

Time:

Through one day and one night's efforts, the younger brother finally matched universal winex to simulate the StarCraft and fight through IPX!

I started using Linux since last Sunday, so it is unclear in many places,

If you have written an error or understood the error, please point it out !!!

Many things are borrowed from good articles and put together for your convenience.

It would have been okay to even compile the kernel, but I personally think it is too time to list the commands used. If you do not understand, go to the original address for details! The following is the join !!!

Start!

My Configuration:

P42.4 inter845gvm 512 M Integrated inter845g graphics card

FC4 releases winex 3.3.2-1 cedega 4.3-1

Note: I compiled the system's original kernel 2.6.11-1.1369 _ FC4-i686,

If you are using the FC4 release, skip 1. The system has been installed by default M.

I. Compile IPX into the kernel

  Original article: Fedora Core 4 kernel notes

URL: http://www.mjmwired.net/resources/mjm-kernel-fc4.shtml

Mauriat Miranda (http://www.mjmwired.net/contact.php)

Ye Qing Translation Original address: http://spaces.msn.com/members/ersaclarke/Blog/cns! 1p6ng2lu _-p6q9cvjzq9syaw! 292. Entry "Ye Qing translation 』

Or read the article about prawns in the North, South, and South.

Http://www.linuxsir.org/bbs/showthread.php? T = 212832 & Highlight = % B1 % E0 % D2 % EB % c4 % da % Ba % CB % C8 % AB % Ca % C7 % be % af % B8 % E6

  1. Install kernel source code

If you don't have source code, please go to http://download.fedora.redhat.com/pub/fedora/linux/core/4/i386/ OS /SRPMS/

Download. You can run the uname-R command to view your kernel version.

[Root @ UFO ~] # Uname-R

[Root @ UFO ~] # Rpm-IVH kernel-2.6.11-1.1369_FC4.src.rpm

    [Root @ UFO ~] # Rpmbuild-BP -- target = noarch/usr/src/RedHat/specs/kernel-2.6.spec

  1. Compile the kernel

    [Root @ ufo src] # cd/usr/src

    [Root @ ufo src] # mv/usr/src/RedHat/build/kernel-2.6.11/linux-2.6.11/usr/src/linux-2.6.11

    [Root @ ufo src] # ln-s linux-2.6.11 Linux

    View some configuration files in the source code and select your own configuration file.

    [Root @ ufo src] # ls/usr/src/RedHat/build/kernel-2.6.11/linux-2.6.11/configs/

    View your own CONF file

    [Root @ ufo src] # uname-m

    [Root @ ufo src] # cd/usr/src/Linux

    [Root @ UFO Linux] # cp/usr/src/RedHat/build/kernel-2.6.11/linux-2.6.11/configs/kernel-2.6.11-i686.config. config

    [Root @ UFO Linux] # Make oldconfig

    After successful execution, you can configure the necessary kernel options. Select the following

    Dialog format based on text interface: Make config
    GUI based on text interface: Make menuconfig
    GTK-based GUI: Make gconfig
    Qt-based GUI: Make xconfig (recommended)
    Note: To run make xconfig, you must install the RPM package with QT-devel.

    Since I have not installed the RPM package of QT-devel, gconfig is used.

    [Root @ UFO Linux] # Make gconfig

    Choose device drivers ---> networking support ---> the IPX protocol. The following full internal IPX network does not need to be selected.

    Start Compilation

    [Root @ UFO Linux] # Make all

    At this time, it is normal to have a lot of warnings. The younger brother is a newbie. I didn't know it before. I thought there was an error. Thanks to the prawn reminder, it was done,

    [Root @ UFO Linux] # Make modules_install

    Now you can use

    [Root @ UFO Linux] # ls/lib/modules/

    Check whether your account is OK. I generated 2.6.11-prep.

  2. Install Kernel

    [Root @ UFO Linux] # cp ARCH/i386/boot/bzimage/boot/vmlinuz-2.6.11-prep
    [Root @ UFO Linux] # cp system. MAP/boot/system. Map-2.6. 11-prep
    [Root @ UFO Linux] # cd/boot
    [Root @ UFO boot] #/sbin/mkinitrd initrd-2.6.11-prep.img 2.6. 11-prep

  3. Configure System Boot manager grub

    During the first compilation, after the above steps, since it is automatically added here, it will be OK if nothing needs to be modified,

    I deleted it and re-compiled it once. I had to manually modify it. I don't know why. Which prawn told me?

    [Root @ UFO boot] # vi/etc/grub. conf

    My conf content is as follows:

    # grub.conf generated by anaconda
## Note that you do not have to rerun grub after making changes to this file# NOTICE:  You do not have a /boot partition.  This means that#          all kernel and initrd paths are relative to /, eg.#          root (hd0,7)#          kernel /boot/vmlinuz-version ro root=/dev/hda8#          initrd /boot/initrd-version.img#boot=/dev/hdadefault=0timeout=5#splashimage=(hd0,7)/boot/grub/splash.xpm.gz#hiddenmenutitle Fedora Core (UFO)        root (hd0,0)        kernel /boot/vmlinuz-2.6. 11-prep  ro root=LABEL=/ rhgb quiet        initrd /boot/initrd-2.6.11-prep.img title Fedora Core (2.6.11-1.1369_FC4)        root (hd0,0)        kernel /boot/vmlinuz-2.6.11-1.1369_FC4 ro root=LABEL=/ rhgb quiet        initrd /boot/initrd-2.6.11-1.1369_FC4.img

The compilation is complete and the task is restarted!


2. Set IPX (the most important part)

If you have not installed yum, read troll's article.

Http://www.linuxfans.org/nuke//modules.php? Name = forums & file = Viewtopic & t = 91163 & Highlight = yum

After the yum package is installed, use Yum to install IPX:

[Root @ UFO ~] # Yum install ipxutils

The most important thing is that everyone has failed.

In Linux, IPX protocol has several frame_type: 802.2 802.2tr 802.3 etherii snap,

Windows is the default type. I tested it and found that Windows cannot be connected to Linux in the default option. The reason is that the IPX type in window is not set, as long as you set the IPX type in the window to the same as that in Linux, such as 802.2, you can connect it normally. "If so much is said, this sentence is useful 』!

Set IPX in Linux as follows:

Liunx settings:

[Root @ UFO ~] # Ipx_interface add-P eth0 802.3 0x39ab0222

Windows Settings:

Network neighbor --> Local Connection Property --> double-click IPX. Select the same type as Linux in the frame-type option. OK! This is 802.3!

3. Install winex

Please note: Do not use cedega, it cannot use IPX!

In fact, cedega also uses winex. Why not? It should be my configuration problem!

Download winex

Http://www.linuxfans.org/nuke/modules.php? Name = site_downloads & amp; OP = geninfo & amp; did = 2346

Install winex:

The final extract is winex3_3.3.2-1.i386.tar,

Then install it using the kanker method,

[Root @ UFO desktop] # tar zxf winex3_3.3.2-1.i386.tar-C/

If error = 21 occurs,

See the methods found by happywinter,

Http://www.linuxfans.org/nuke/modules.php? Name = forums & file = Viewtopic & t = 97604 & Highlight = Error % 3d21

Success !!!

Now I can play it, but I don't know how to solve the problem of setting the type for Windows,

In Linux, the IPX type must be set!

Please give me some advice!

Have dinner, huh!

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.