Archivo de 9 de febrero de 2007

DosBox – Juegos clasicos (2)

DOSBox es un emulador «open source» que nos permite ejecutar nuestras antiguas aplicaciones y juegos para Ms DOS.

dosbox1.jpg

El sitio oficial es:

http://dosbox.sourceforge.net

Para instalarlo:

sudo apt-get install dosbox

Una vez instalado, para obtener la configuracion ejecutalo con:

dosbox &

e introduce:

config -writeconf dosbox.conf

dosbox02.jpg

se generara en tu directorio un fichero «dosbox.conf» similar a este:

[sdl]
# fullscreen -- Start dosbox directly in fullscreen.
# fulldouble -- Use double buffering in fullscreen.
# fullresolution -- What resolution to use for fullscreen: original or fixed size (e.g. 1024x768).
# windowresolution -- Scale the window to this size IF the output device supports hardware scaling.
# output -- What to use for output: surface,overlay,opengl,openglnb.
# autolock -- Mouse will automatically lock, if you click on the screen.
# sensitiviy -- Mouse sensitivity.
# waitonerror -- Wait before closing the console if dosbox has an error.
# priority -- Priority levels for dosbox: lowest,lower,normal,higher,highest.
# Second entry behind the comma is for when dosbox is not focused/minimized.
# mapperfile -- File used to load/save the key/event mappings from.
# usescancodes -- Avoid usage of symkeys, might not work on all operating systems.
fullscreen=false
fulldouble=false
fullresolution=original
windowresolution=original
output=surface
autolock=true
sensitivity=100
waitonerror=true
priority=higher,normal
mapperfile=mapper.txt
usescancodes=true
[dosbox]
# language -- Select another language file.
# memsize -- Amount of memory dosbox has in megabytes.
# machine -- The type of machine tries to emulate:hercules,cga,tandy,pcjr,vga.
# captures -- Directory where things like wave,midi,screenshot get captured.
language=
machine=vga
captures=capture
memsize=16
[render]
# frameskip -- How many frames dosbox skips before drawing one.
# aspect -- Do aspect correction, if your output method doesn't support scaling this can slow things down!.
# scaler -- Scaler used to enlarge/enhance low resolution modes.
# Supported are none,normal2x,normal3x,advmame2x,advmame3x,advinterp2x,advinterp3x,tv2x,tv3x,rgb2x,rgb3x,scan2x,scan3x.
frameskip=0
aspect=false
scaler=normal2x
[cpu]
# core -- CPU Core used in emulation: simple,normal,full,dynamic.
# cycles -- Amount of instructions dosbox tries to emulate each millisecond.
# Setting this higher than your machine can handle is bad!
# You can also let DOSBox guess the correct value by setting it to auto.
# Please note that this guessing feature is still experimental.
# cycleup -- Amount of cycles to increase/decrease with keycombo.
# cycledown Setting it lower than 100 will be a percentage.
core=normal
cycles=3000
cycleup=500
cycledown=20
[mixer]
# nosound -- Enable silent mode, sound is still emulated though.
# rate -- Mixer sample rate, setting any devices higher than this will
# probably lower their sound quality.
# blocksize -- Mixer block size, larger blocks might help sound stuttering
# but sound will also be more lagged.
# prebuffer -- How many milliseconds of data to keep on top of the blocksize.
nosound=false
rate=22050
blocksize=2048
prebuffer=10
[midi]
# mpu401 -- Type of MPU-401 to emulate: none, uart or intelligent.
# device -- Device that will receive the MIDI data from MPU-401.
# This can be default,alsa,oss,win32,coreaudio,none.
# config -- Special configuration options for the device. In Windows put
# the id of the device you want to use. See README for details.
mpu401=intelligent
device=default
config=
[sblaster]
# sbtype -- Type of sblaster to emulate:none,sb1,sb2,sbpro1,sbpro2,sb16.
# sbbase,irq,dma,hdma -- The IO/IRQ/DMA/High DMA address of the soundblaster.
# mixer -- Allow the soundblaster mixer to modify the dosbox mixer.
# oplmode -- Type of OPL emulation: auto,cms,opl2,dualopl2,opl3.
# On auto the mode is determined by sblaster type.
# All OPL modes are 'Adlib', except for CMS.
# oplrate -- Sample rate of OPL music emulation.
sbtype=sb16
sbbase=220
irq=7
dma=1
hdma=5
mixer=true
oplmode=auto
oplrate=22050
[gus]
# gus -- Enable the Gravis Ultrasound emulation.
# gusbase,irq1,irq2,dma1,dma2 -- The IO/IRQ/DMA addresses of the
# Gravis Ultrasound. (Same IRQ's and DMA's are OK.)
# gusrate -- Sample rate of Ultrasound emulation.
# ultradir -- Path to Ultrasound directory. In this directory
# there should be a MIDI directory that contains
# the patch files for GUS playback. Patch sets used
# with Timidity should work fine.
gus=true
gusrate=22050
gusbase=240
irq1=5
irq2=5
dma1=3
dma2=3
ultradir=C:\ULTRASND
[speaker]
# pcspeaker -- Enable PC-Speaker emulation.
# pcrate -- Sample rate of the PC-Speaker sound generation.
# tandy -- Enable Tandy Sound System emulation (off,on,auto).
# For auto Tandysound emulation is present only if machine is set to tandy.
# tandyrate -- Sample rate of the Tandy 3-Voice generation.
# disney -- Enable Disney Sound Source emulation.
pcspeaker=true
pcrate=22050
tandy=auto
tandyrate=22050
disney=true
[bios]
# joysticktype -- Type of joystick to emulate: none, 2axis, 4axis,
# fcs (Thrustmaster) ,ch (CH Flightstick).
# none disables joystick emulation.
# 2axis is the default and supports two joysticks.
joysticktype=2axis
[serial]
# serial1-4 -- set type of device connected to com port.
# Can be disabled, dummy, modem, directserial.
# Additional parameters must be in the same line in the form of
# parameter:value. Parameters for all types are irq, startbps, bytesize,
# stopbits, parity (all optional).
# for directserial: realport (required).
# for modem: listenport (optional).
# Example: serial1=modem listenport:5000
serial1=dummy
serial2=dummy
serial3=disabled
serial4=disabled
[dos]
# xms -- Enable XMS support.
# ems -- Enable EMS support.
# umb -- Enable UMB support (false,true,max).
xms=true
ems=true
umb=true
[ipx]
# ipx -- Enable ipx over UDP/IP emulation.
ipx=false
[autoexec]
# Lines in this section will be run at startup.

Este fichero es interesante, porque aqui podemos cambiar parametros de configuracion.
Nos interesa el ultimo apartado [autoexec] donde podemos escribir
lineas que se ejecutaran automaticamente al arrancar.

crea ahora una carpeta dosbox en tu directorio HOME descomprime en ella algun juego (por ejemplo principe de persia).

conectate tambien a:

http://www.drivesnapshot.de/freedos/mkeyb.htm

para descargarte un driver DOS que te permite tener el teclado en español.
copia este fichero (KEYB.EXE) a la carpeta dosbox.

Ahora editamos el fichero dosbox.conf y en el [autoexec] ponemos:

[autoexec]
# Lines in this section will be run at startup.
mount c /home/jose/dosbox
c:
KEYB.EXE

que explico aqui:
montamos la carpeta para acceder a ella desde dosbox
mount c /home/jose/dosbox
( a partir de ahora c: apunta a /home/jose/dosbox, cambia esto para que apunte a tu directorio HOME o donde hayas instalado el juego )

nos movemos a ella

c:

y ejecutamos KEY.EXE para cargar el teclado en español
KEYB.EXE

Si quisieramos ejecutar dosbox con este fichero, desde consola:

dosbox -conf dosbox.cnf

una vez arrancado DosBox si quisieramos ejecutar el juego hariamos:

cd prince
prince.exe

Bueno, a desempolvar esos viejos juegos y aplicaciones de MsDos (dune, warcraft y tantos otros que tantos buenos momentos nos dieron).

<< Dedicado a Marta C.>>

ScummVM – Juegos clasicos (1)

Hoy viernes, un poquito de ocio (no todo es trabajar).

Recordais a Guybrush??? (si dices que no…, es que eres muy jovencito).
Vamos a recordar viejos tiempos con nuestro Ubuntu.

scumm3.jpg
Scummvm es una utilidad que nos permite ejecutar en nuestras maquinas
las aventuras graficas que fueron tan populares en los 90.
Muchas de esas aventuras son inmensamente mejores que los juegos actuales.
La chispa, el ingenio, la originalidad,…hoy son cosas que estan en el olvido.
Pero no me entretengo.

http://es.wikipedia.org/wiki/Monkey_Island

Para ejecutar estos juegos necesitas instalar ScummVm.

http://www.scummvm.org/

Para instalarlo:

desde consola ejecuta:

sudo apt-get install scummvm

En el caso que quieras hacer una instalacion manual, los paquetes que tienes que instalar son:

lidcca2
libfluidsynth
libjack
scummvm

scumm01.jpgPuedes recuperarlos desde /var/cache/apt/archives si los instalas desde un equipo con conexion a internet.

Para arrancar el programa ejecuta desde la consola:

scummvm &

veras una pantalla similar a la siguiente:

scumm02.jpg

* Con la opcion «Add game…» puedes navegar por el sistema de ficheros para indicar la ruta del juego que quieres cargar.

* En options puedes modificar valores como el tamaño de la pantalla o el modo de ejecutar la musica.

Para empezar rapido carga un juego, una vez que hayas indicado el juego a ejecutar, Pulsando el boton «Start» arranca y puedes jugar con el.

Ojo, este programa solo sirve para las aventuras clasicas de distribuidoras como Lucas Arts, o Sierra. Consulta la web para mayor informacion.

Respecto a los juegos la mayoria son «abandonware». Consulta en «wikipedia, abandonware», tal vez encuentres algun sitio
interesante 😉

http://es.wikipedia.org/wiki/Abandonware

Que los disfruteis…

«Mira detrás de ti,un mono con tres cabezas!» (Guybrush Threepwood)

Instalar MySQL (1)

MySql es una base de datos que podemos emplear en nuestros desarrollos en local. Para instalarla, descarga los paquetes e instalalos manualmente. Puedes descargarlos desde:

http://dev.mysql.com/downloads/

o tambien puedes instalarla mediante ap-get :

sudo apt-get install mysql-server

Para parar el servicio:

sudo /etc/init.d/mysql stop

Para arrancar el servicio:

sudo /etc/init.d/mysql start

Para comprobar la conexion:

mysql -u root mysql

(conecta como usuario root a la base de datos con nombre «mysql», por defecto el password esta vacio).

show tables

(muestra las tablas de la base de datos)

jose@soledad:~$ mysql -u root mysql
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 11 to server version: 5.0.24a-Debian_9-log
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql> show tables;
+---------------------------+
| Tables_in_mysql |
+---------------------------+
| access_right |
| at_user |
| billing_type |
| columns_priv |
| customer |
| db |
| func |
| help_category |
| help_keyword |
| help_relation |
| help_topic |
| host |
| overtime |
| patch_history |
| proc |
| procs_priv |
| project |
| system_settings |
| tables_priv |
| task |
| time_zone |
| time_zone_leap_second |
| time_zone_name |
| time_zone_transition |
| time_zone_transition_type |
| tt_record |
| user |
| user_access_right |
| user_task |
| user_task_comment |
| w_days |
+---------------------------+
31 rows in set (0.01 sec)
mysql>





¿Es compatible tu equipo con Ubuntu?


( Muchos fondos de pantalla, aqui )

DESCARGATE SCIFI LIFE

365 Dias de Soledad
Me debes los sueños, las promesas y las noches rotas. Me debes la paz, la sonrisa y la esperanza robadas. Me debes la sangre, las lágrimas y el sudor vertido. Me debes las noches vacías, los abrazos anhelados. Me debes un beso de ajenjo de tu amarga boca.

The Ubuntu Counter Project - user number # 11961
Geo Visitors Map

Archivos

febrero 2007
L M X J V S D
 1234
567891011
12131415161718
19202122232425
262728  

Blog Stats

  • 31.401.714 hits