Results 1 to 4 of 4
http://idgs.in/28105
  1. #1
    vampirez's Avatar
    Join Date
    Oct 2006
    Posts
    366
    Points
    11.89
    Thanks: 0 / 0 / 0

    Default [Linux] Cedega ( Buat Jalanin Games windows di Linux )

    Alternatif lain penggunaan Operating System ( OS ) windows, yang konon banyak terjadi sweeping dari warnet ke warnet dengan judul "Mengejar Matahari" eh salah "Mengejar Licensi". Ada Linux yang suatu saat dapat menggantikan posisi OS nya Bill Gates, Untuk saat ini beberapa games under windows dapat dijalankan di linux dengan menggunakan wine, jalan beberapa lama team Transgaming mengeluarkan Cedega yang lebih friendly bagi pengguna windows sehingga akan lebih mempermudah dalam menggunakannya. Berani terima tantangan ?

    Cedega Source
    Code:
    versi 6.0
    http://rapidshare.com/files/28429095/cedega-6.0.rar
    
    versi6.0.2
    ftp://122.144.2.2/chikebum/cedega-6.0.2_%5BPtitGNU%5D.rar
    Cedega Engine
    Code:
    versi 6.0
    http://rapidshare.com/files/28429402/cedega-engine-6.0.rar

    Warning: This HOWTO comes with no explicit or implicit warranty whatsoever. Use at your own risk!

    1. Preface
    2. Preparations
    3. Compilation and Installation
    4. Configuration
    5. Testing
    6. An own directory for each game
    7. Troubleshooting
    8. Links

    1. Preface

    This Cedega CVS HOWTO should make it possibly for anybody to get Cedega via CVS, build and use it. This version works in additon to Wine and Cedega/WineX binary version.

    Please follow every step just as it is described here.
    2. Preparations

    Download the script here.

    Needed apps, packages, libraries: wget fontconfig freetype2 freetype2-devel bison flex libjpeg libjpeg-devel libpng libpng-devel zlib zlib-devel xorg-x11-devel (resp. XFree86-devel)

    Mesa (resp. xorg-x11-Mesa, XFree86-Mesa) Mesa-devel (resp. xorg-x11-Mesa-devel, XFree86-Mesa-devel) freeglut freeglut-devel SDL SDL-devel

    Debian users can just use: apt-get install cvs build-essential bison flex-old libasound2-dev x-window-system-dev libpng12-dev libjpeg62-dev libfreetype6-dev libxrender-dev libttf2 libttf-dev libsdl1.2-dev libsdl-ttf2.0-dev libsdl-net1.2-dev libsdl-gfx1.2-dev msttcorefonts libfontconfig1-dev
    3. Compilation and Installation

    Change to the location where the WineCVS.sh is lying and start it with:

    $ sh WineCVS.sh

    The script downloads with wget a archiv defaults.tar.gz with the need install scripts. After that you should see its installation menu.

    Select a profile ... follow the steps ... done!

    Compilation and installation successful.

    [if you have several errors during the compilation, read our troubleshooting section below]
    4. Configuration

    We need a so called fake windows. The cvscedega-script will create it if we run it the first time:

    $ cvscedega

    cvscedega creates a configuration ~/.cvscedega and a fake windows directory ~/.cvscedega/c_drive. It is possible to change the directory for the fake windows e.g. and edit the config file ~/.cvscedega/config for your needs.

    [Drive C]
    ...

    "Path" = "/home/linux-gamers.net/windows/C" ...

    CD-ROMS are autodetected but you configure one as follows:

    [Drive D]
    "Path" = "/media/cdrom"
    "Type" = "cdrom"
    "Label" = "CD-ROM"
    "Filesystem" = "win95"
    "Device" = "/dev/hdc"

    Change "Path" and "Device" if necessary.

    Configuration variables which you should change

    in the [x11drv] section

    ; How much Video RAM does your graphic card have?
    ; If this option is not present, it will default set to 32MB.
    "VideoRam" = "128"
    ; How much should Cedega attempt to store into faster AGP memory
    ; Set the amount of video memory to be allocated for OpenGL vertex arrays.
    "AGPVertexRam" = "32"

    If you have OSS change:

    [WinMM]
    "Drivers" = "wineoss.drv"

    For Freetype font support set:

    [fonts]
    "Freetype" = "Y"

    5. Testing

    To test Cedega start a program that requires DX (i.e. WarCraft 3) like this:

    $ cvscedega War3.exe
    6. A directory for each game

    It is possible with the CVS version of Cedega to create a directory for each game. For this you need a clean cedega config. This means, a config without an installed game or something else.

    If you already installed one, delete ~/.cvscedega.

    Here is an example for Half-Life:

    Create a directory for the game in /usr/local/games

    $ cd /usr/local/games $ mkdir halfife $ mkdir halflife/bin $ cp -fR ~/.cvscedega/* halflife/

    and edit your /usr/local/games/halflife/config:

    [Drive C]
    ..
    "Path" = "/usr/local/games/halflife/c_drive"
    ..

    We need the cvscedega startup script for the game

    $ cp /usr/bin/cvscedega /usr/local/games/halflife/cecvs $ cp /usr/lib/cvscedega/bin/WineCVSFunctions/cvscedega /usr/local/games/halflife/

    and must edit it for our purposes, open cecvs with an editor of your choice and replace /usr/lib/cvscedega/bin/WineCVSFunctions/cvscedega with /usr/local/games/halflife/cvscedega for example. Open /usr/local/games/halflife/cvscedega and change export WINEPREFIX="$HOME/.cvscedega" to export WINEPREFIX="/usr/local/games/halflife"

    Thats it. Let's install the game; insert the halflife CD into your CD drive and mount it:

    $ mount /media/cdrom $ /usr/local/games/halflife/cecvs /media/cdrom/SETUP.EXE

    *ATTENTION* - don't forget to use this startup script to install updates - *ATTENTION*

    At least create a simple startup script in the halflife/bin directory

    #!/bin/sh
    cd /usr/local/games/halflife/c_drive/SIERRA/Half-Life
    /usr/local/games/halflife/wxcvs "hl.exe" -- hl.exe -console

    7. Troubleshooting

    VideoRAM & AGPVertexRAM

    VideoRAM is amount of availiable video memory of your graphics card. AGPVertexRAM sets the amount of video memory to be allocated for OpenGL vertex arrays. Both in MegaByte.
    Using all the RAM for vertex arrays probably isn't a good thing. These arrays are used for geometry, i.e. coordinates. They are not used for textures. The more AGP memory you reserve for vertex arrays, the less memory is left for textures.

    So i think the best would be 1/2 of your AGP aperture size for AGPVertexRAM.

    dmesg | grep 'AGP aperture'

    Issue:

    make[2]: Entering directory `/root/temp/cvscedega/winex/dlls/d3dgl'
    gcc -c -I. -I. -I../../include -I../../include -g -O2 -Wall -mpreferred-stack-boundary=2
    -fno-keep-static-consts -D__const=const -fno-strict-aliasing -D__int8=char -D__int16=short
    -D__int32=int "-D__int64=long long" -fPIC -D__WINE__ -D_REENTRANT -I/usr/X11R6/include -o
    caps.o caps.c
    In file included from caps.c:20:
    d3dgl_private.h:142: error: parse error before "PFNGLWEIGHTPOINTERARBPROC"
    d3dgl_private.h:142: Warning: no semicolon at end of struct or union
    d3dgl_private.h:142: Warning: type defaults to `int' in declaration of `glVertexBlendARB'
    d3dgl_private.h:142: Warning: data definition has no type or storage class
    d3dgl_private.h:151: error: parse error before '}' token
    d3dgl_private.h:151: Warning: type defaults to `int' in declaration of `DD_GL_data'

    Solution:

    You need the XFree86-Mesa headers to compile Cedega with OpenGL support. It doesn't work with the nVidia OpenGL headers installed, install the Mesa headers instead.

    Issue:

    ./ppl.l:1488: error: `pp_ignore' undeclared (first use in this function)
    ./ppl.l: At top level:
    lex.ppl.c:15101: Warning: `yyunput' defined but not used
    make[2]: *** [lex.ppl.o] Error 1
    make[2]: Leaving directory `/home/matze/Cedega-CVS/winex/tools/wrc'
    make[1]: *** [wrc] Error 2
    make[1]: Leaving directory `/home/matze/Cedega-CVS/winex/tools'
    make: *** [tools] Error 2

    Solution:

    apt-get install flex-old and restart the compilation process.

    $ sh WineCVS.sh -> c -> r

    Issue:

    How can i update my CVS version of Cedega?

    Solution:
    $ sh WineCVS.sh
    -> c -> r
    $ sh WineCVS.sh
    -> c -> r

    Issue:

    How can i uninstall Cedega CVS and the source tree?

    Solution:
    $ sh WineCVS.sh -> c -> e

    Issue:

    No 3D accleration with ATI in games

    Solution:

    $ export LD_PRELOAD=/usr/lib/libGL.so; cvscedega game.exe

    Issue:
    err:font:WineEngInit FreeType support is not compiled in to wine, some font functionality will be disabled.

    Solution:
    Install Fontconfig, Freetype2 (libfreetype6) and Freetype2-devel

    Here are some more hints about Cedega and Installshield/MSI installers from http://www.frankscorner.org

    The CVS version of Cedega has no support for Installshield installers, but a lot of games use this installer. To make installation possible you must install the DCOM98 utility.

    You can download DCOM98 here:
    http://www.microsoft.com/com/dcom/dcom98/download.asp

    Type $ cvscedega dcom98.exe to install DCOM98.

    To install .msi (Microsoft Installer) files get http://download.microsoft.com/downlo...S/InstMsiA.exe and install it with the command You can install Windows Installer by typing $ cvscedega instmsia.exe Now type $ cvscedega msiexec /i somefile.msi and the application will be installed.
    8. Links

    Transgaming - home of Cedega
    Transgaming community
    frankscorner - Running Windows Applications and games on Linux using Wine
    linuX-gamers.net - your online gaming resource

    sumber : linux-gamers.net


    *PS : Thread ini akan terus di revisi sampai semua games bisa dipakai di llinux/unix, cihaaaa...

  2. Hot Ad
  3. #2
    vibidotnet's Avatar
    Join Date
    Oct 2006
    Location
    Banda Aceh
    Posts
    386
    Points
    456.60
    Thanks: 0 / 0 / 0

    Default

    wine nya dah ada crossover plugin nya ga???, soal nya gw baca2 klo game 3d di linux yg make directx / open gl harus pake plugin tsb.... ya walau pun ada warez nya di inet kan ya daripada repot2 nyari nya kan....

  4. #3
    vampirez's Avatar
    Join Date
    Oct 2006
    Posts
    366
    Points
    11.89
    Thanks: 0 / 0 / 0

    Default

    System Requirements
    Operating System

    Core requirements:

    *

    Linux Kernel 2.4 or higher
    *

    XFree86 >= 4.0 (4.3 recommended) or Xorg
    *

    glibc >= 2.2

    Game Requirements

    The recommended hardware is:

    *

    Each game has its own needs. Be sure to meet the recommended game hardware. We suggest exceeding the recommendations for optimal game performance. Please refer to the documentation included with the game for details.
    *

    Space for games, plus 60 MB free for Cedega.
    *

    Please see below for video card recommendations.

    Video Card

    Due to superior Linux driver support, TransGaming recommends using a NVIDIA GeForce class video card. Pixel shaders are only available on NVIDIA FX class cards and above. Shader Model 2.0 is only available on a GeForce 5X00 and above, however, TransGaming recommends enabling these options only on a 6X00 or above for best performance.

    Cedega also works with ATI Radeon 8500 or better cards using the proprietary drivers available from ATI. Please note that the ATI drivers may have bugs or be missing features in some core functionality and may cause errors, graphical anomalies or the game to simply not work with Cedega.

    Other on-board video cards such as Intel and S3 video cards will run some games through Cedega, but many games will not run or may crash due to bugs or missing functionality in the drivers.

    Older cards such as the TNT, TNT2, Radeon 7500, Rage Pro, Voodoo, Matrox or similar cards are not recommended for use with Cedega.

    Remember; the better your video card, the better your gaming experience.

    http://www.cedega.com/support/quickstart/#4.1.Choosing%20and%20Installing%20Your%20Package% 20|outline

  5. #4
    vibidotnet's Avatar
    Join Date
    Oct 2006
    Location
    Banda Aceh
    Posts
    386
    Points
    456.60
    Thanks: 0 / 0 / 0

    Default

    hmm.... jadi klo pake cedega ini ga perlu kita pikirin makan memori nya brp gitu, kan sistim linux yah lumayan grafis nya rada2 menengah keatas nyedot memori nya, jadi misal nya war3 butuh pentium 800mhz, memori 128mb, vga 32mb... apa di linux diterapkan sama sesuai spek minimum ataw ada tambahan jadi pentium 1ghz, ram 256mb, vga 64mb gitu maksud wa.....???

Posting Permissions

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