bolivia linux  
| Quienes Somos? | Notícias | Artículos | Tutoriales Manuales | Trucos y Consejos | Investigación y desarrollo | Proyectos | Eventos | Libros Electrónicos | Mirrors | Grupos Linux en Bolivia | Contactos | Inicio |
Quienes Somos?
Notícias
Artículos
Tutoriales - Manuales
Trucos y Consejos
Investigación y Desarrollo
Proyectos
Eventos
Libros Electrónicos
Mirrors
Grupos Linux en Bolivia
Contactos
bolivia linux / artículos / instalación en linux
Pag 1 Pag 2
Pagina Nº 2
Eso es todo con respecto a la instalación, podrian surgir otros problema, pero el más importante que sucede es :

Starcraft corre en un tamaño de pantalla de 640x480 y 8 bits por pixel (8bpp), de otra forma no se iniciara, o el juego resultara que es demasiado lento.A usted le es muy molesto configurar su tarjeta de video en el modo necesario, cada ves que quiera jugar.
Tenemos que acomodar las X para el Starcraft. Para eso tenemos que editar el archivo de configuración de las X. Edite el archivo /etc/X11/XF86Config . Que en mi caso se veria así :

Section "Screen"

Driver "accel"

Device "S3 Inc.|86c764/765 [Trio32/64/64V+]"

Monitor "My Monitor"

DefaultColorDepth 16

Subsection "Display"

Depth 8

Modes "640x480"

ViewPort 0 0

EndSubsection

Subsection "Display"

Depth 16

Modes "800x600"

ViewPort 0 0

EndSubsection

EndSection

Borramos la sección donde se especifica un tamaño mayor al requerido, ya dicho antes. Y cambiar la la parte DefaultColorDepth de 16 a 8. Y quedaria así:

Section "Screen"

Driver "accel"

Device "S3 Inc.|86c764/765 [Trio32/64/64V+]"

Monitor "My Monitor"

DefaultColorDepth 8

Subsection "Display"

Depth 8

Modes "640x480"

ViewPort 0 0

EndSubsection

EndSection

Una vez terminada la edición, guardalo con otro nombre, tenga cuidado en no sobreescribir el archivo original, en mi caso lo guarde como /etc/X11/XF86Config.starcraft , como se ve en el mismo directorio del original.

Si usted ha instalado Stacraft bajo Windows, antes tendra que montar la partición Windows, con el siguiente comando :

# mount -t vfat /dev/hda1 /mnt/c

Los parámetros tiene que acomodarse a su sistema, no siempre será lo mismo.

Ahora hace falta un script de ejecución, es opcional, pues solo tendría que ejecutar :

# wine /mnt/c/Starcraft/Starcraft/starcraft.exe

El Directorio también tiene que ser de su sistema.

El siguiente script no es mio, lo consegui en otra guía de instalación de Starcraft en LINUX, lógicamente en Internet.

#!/bin/bash

# Author: Brian King

# Comments partially edited by Ilkka Forsblom

# TODO: Check if the cdrom in the drive is the starcraft cdrom.

TYPE=$1

NORMINST="/mnt/hda1/Program Files/Starcraft/StarCraft.exe"

# If you have a separate spawn installation, running this script

# with the argument "spawn" will run the spawn installation

# (defined here) instead.

SPAWNINST="/home/dos/Program Files/starcraft/StarCraft.exe"

# This should be your cdrom device ... it should also be in your

# wine.conf somewhere...

DEVICE="/dev/cdrom"

# This file should be an XF86Config file with only the 640x480x8bit

# entry available. The file should be in the same directory as the

# default XF86Config file.

CONFIG="XF86.star"

# uncomment for esound support

#SOUND="/usr/bin/esddsp "

ISLINK=`/bin/ls -l $DEVICE|grep "\->"`

if [ "x${ISLINK}" != "x" ] ; then

DEVICE=`/bin/ls -l $DEVICE|sed -e 's/.*-> //'`

fi

DFOUT=`df|grep $DEVICE`

# I believe this should flush all buffers to disk and minimize damage

# if starcraft fails. I added this because I just lost my last 5 days of

# work from a starcraft crash.

sync;sync;sync

# if the cdrom isn't mounted and we're not playing a spawn game

if [ "x${DFOUT}" = "x" ] && [ "x${TYPE}" != "xspawn" ] ; then

# mount cdrom

eject

echo "enter cdrom then hit enter"

read enter

mount $DEVICE

fi

echo $TYPE

if [ "x${TYPE}" = "xspawn" ] ; then

xinit $SOUND /usr/local/bin/wine --display :1 "$SPAWNINST" -- :1 -xf86config $CONFIG

else

xinit $SOUND /usr/local/bin/wine --display :1 "$NORMINST" -- :1 -xf86config $CONFIG

fi

killall wine

Este script lo puede conseguir en :

http://koti.mbnet.fi/hoppq/sc-howto.html

Bueno, con eso terminamos la instalación del Starcraft.

Espero que les haya ayudado en algo, como otros usuarios lo hicieron conmigo. Si encuentra algún error o mejora haganmelo saber, se los agradecería.


Pag 1 Pag 2
ir arriba
Waldo Wálter Mendoza Guachalla | wmendoza@pmail.umsanet.edu.bo
artículos
INSTALACIÓN DE STARCRAFT EN LINUX

LINUX VS. MICROSOFT WINDOWS

OPEN E-MAIL AL SEÑOR BILL GATES

INSTALACION WINDOWS-LINUX

| Quienes Somos? | Notícias | Artículos | Tutoriales Manuales | Trucos y Consejos | Investigación y desarrollo | Proyectos | Eventos | Libros Electrónicos | Mirrors | Grupos Linux en Bolivia | Contactos | Inicio |

La Paz - Bolivia 2002