lunes, diciembre 18, 2006

Funcionamiento seguro de mupen64 en gentoo

La historia es asi, después de estar divagando con varios errores he encontrado la formula mágica para que funcione mupen64 xD, también anduve viendo los mensajes en los foros y bugs sin respuesta alguna, pero bueno, primero veamos los posible errores:

Fallo en Directfb:

soullost@UnderHouse ~ $ mupen64
Removing empty directories ...
find: atención: ha especificado la opción -depth después de un argumento -type que no
es una opción, pero las opciones no son de posición (-depth afecta tanto a
las evaluaciones especificadas antes de él como a las especificadas
después). Por favor especifique las opciones antes de otros argumentos.

[glN64]: (WW) Couldn't open config file '/home/soullost/.mupen64/./plugins/glN64.conf' for reading: No existe el fichero o el directorio
rom size: 12582912 bytes (or 12 Mb or 96 Megabits)
file found
rom size: 12582912 bytes (or 12 Mb or 96 Megabits)
byteswaping rom...
rom byteswaped
rom loaded succesfully
80 37 12 40
ClockRate=f
Version:1444
CRC: 9f8926a5 587b409
name: TONY HAWK SKATEBOARD
Manufacturer: Nintendo
Cartridge_ID: 4654
European cartridge
size: 4096
PC= 80000400
md5 code:C9E9C4A18B1540C6B4111331D7C663B8
eeprom type:0
init timer!
(-) [ NO NAME 0.000] (10549) DirectFB/Config: Unable to open config file `/etc/directfbrc'!
(-) [ NO NAME 0.000] (10549) DirectFB/Config: Unable to open config file `/home/soullost/.directfbrc'!

---------------------- DirectFB v0.9.25 ---------------------
(c) 2000-2002 convergence integrated media GmbH
(c) 2002-2004 convergence GmbH
-----------------------------------------------------------

(-) [ NO NAME 0.000] (10549) DirectFB/Core: dfb_core_create...
(-) [ NO NAME 0.000] (10549) Direct/Main: direct_initialize() called...
(-) [Main Thread 0.000] (10549) Direct/Main: ...initializing now.
(-) [Main Thread 0.000] (10549) Direct/Signals: Initializing...
(*) DirectFB/Core: Single Application Core. (2006-12-09 14:58) [ DEBUG ]
(-) [Main Thread 0.000] (10549) Direct/Modules: Loading '/usr/lib/directfb-0.9.25/systems/libdirectfb_fbdev.so'...
(-) [Main Thread 0.002] (10549) Direct/Modules: Registering 'fbdev' ('/usr/lib/directfb-0.9.25/systems')
(-) [Main Thread 0.002] (10549) Direct/Modules: ...registered.
(-) [Main Thread 0.002] (10549) Direct/Modules: Loading '/usr/lib/directfb-0.9.25/systems/libdirectfb_sdl.so'...
(-) [Main Thread 0.002] (10549) Direct/Modules: Registering 'sdl' ('/usr/lib/directfb-0.9.25/systems')
(-) [Main Thread 0.002] (10549) Direct/Modules: ...registered.
(-) [Main Thread 0.002] (10549) Direct/Memcpy: Benchmarking memcpy methods (smaller is better):
(-) [Main Thread 0.020] (10549) Direct/Memcpy: libc 13580264
(-) [Main Thread 0.044] (10549) Direct/Memcpy: linux 76049688
(*) Direct/Memcpy: Using libc memcpy()
(-) [Main Thread 0.045] (10549) Direct/Main: direct_initialize() called...
(-) [Main Thread 0.045] (10549) Direct/Main: ...2 references now.
(-) [Main Thread 0.045] (10549) Direct/Signals: Adding handler 0xb74fb43c for signal -1 with context 0x9d6d510...
(-) [Main Thread 0.045] (10549) DirectFB/Core: Initializing...
(-) [Main Thread 0.045] (10549) Core/Parts: Going to initialize 'clipboard' core...
(-) [Main Thread 0.045] (10549) Core/Parts: Going to initialize 'colorhash' core...
(-) [Main Thread 0.045] (10549) Core/Parts: Going to initialize 'system' core...
(!) DirectFB/core/vt: Error opening `/dev/tty0'!
--> Permiso denegado
(!) DirectFB/Core: Could not initialize 'system' core!
--> Initialization error!
(-) [Main Thread 0.045] (10549) Core/Parts: Going to shutdown 'colorhash' core...
(-) [Main Thread 0.046] (10549) Core/Parts: Going to shutdown 'clipboard' core...
(-) [Main Thread 0.046] (10549) Direct/Main: direct_shutdown() called...
(-) [Main Thread 0.046] (10549) Direct/Main: ...1 references left.
(-) [Main Thread 0.046] (10549) Direct/Signals: Removing handler 0xb74fb43c for signal -1 with context 0x9d6d510...
(-) [Main Thread 0.046] (10549) Direct/Main: direct_shutdown() called...
(-) [Main Thread 0.046] (10549) Direct/Main: ...shutting down now.
(-) [Main Thread 0.046] (10549) Direct/Signals: Shutting down...
memory initialized
[blight's SDL input plugin]: Couldn't open blight_input.conf for reading: No existe el fichero o el directorio
[blight's SDL input plugin]: version 0.0.8-b initialized.
[glN64]: (II) Initializing SDL video subsystem...

---------------------- DirectFB v0.9.25 ---------------------
(c) 2000-2002 convergence integrated media GmbH
(c) 2002-2004 convergence GmbH
-----------------------------------------------------------

(-) [Main Thread 0.811] (10549) DirectFB/Core: dfb_core_create...
(-) [Main Thread 0.811] (10549) Direct/Main: direct_initialize() called...
(-) [Main Thread 0.812] (10549) Direct/Main: ...initializing now.
(-) [Main Thread 0.812] (10549) Direct/Signals: Initializing...
(*) DirectFB/Core: Single Application Core. (2006-12-09 14:58) [ DEBUG ]
(-) [Main Thread 0.812] (10549) Direct/Modules: Loading '/usr/lib/directfb-0.9.25/systems/libdirectfb_sdl.so'...
(-) [Main Thread 0.813] (10549) Direct/Modules: Registering 'sdl' ('/usr/lib/directfb-0.9.25/systems')
(-) [Main Thread 0.813] (10549) Direct/Memcpy: Benchmarking memcpy methods (smaller is better):
(-) [Main Thread 0.829] (10549) Direct/Memcpy: libc 12215520
(-) [Main Thread 0.833] (10549) Direct/Memcpy: linux 11744864
(*) Direct/Memcpy: Using linux kernel memcpy()
(-) [Main Thread 0.834] (10549) Direct/Main: direct_initialize() called...
(-) [Main Thread 0.850] (10549) Direct/Main: ...2 references now.
(-) [Main Thread 0.850] (10549) Direct/Signals: Adding handler 0xb74fb43c for signal -1 with context 0x9d6d510...
(-) [Main Thread 0.850] (10549) DirectFB/Core: Initializing...
(-) [Main Thread 0.850] (10549) Core/Parts: Going to initialize 'clipboard' core...
(-) [Main Thread 0.850] (10549) Core/Parts: Going to initialize 'colorhash' core...
(-) [Main Thread 0.850] (10549) Core/Parts: Going to initialize 'system' core...
(!) [Main Thread 0.850] (10549) *** Assertion [system_field == NULL] failed *** [system.c:113 in dfb_system_initialize()]
(-) [Main Thread 0.850] (10549) Direct/Assertion: Sending SIGTRAP to process group 10515...
(!) [10515: 0.850] --> Caught signal 5 (sent by pid 10515, uid 1000) <-- (-) [ NO NAME 0.850] (10515) DirectFB/Core: dfb_core_destroy... (-) [Main Thread 0.850] (10549) Direct/Assertion: ...didn't catch signal on my own, calling _exit(-1).
Solución:

USE="-directfb" emerge libsdl
Después de esa modificación se me presentaba otro error..

Fallo con libSDL:

soullost@UnderHouse ~ $ mupen64
Removing empty directories ...
find: atención: ha especificado la opción -depth después de un argumento -type que no
es una opción, pero las opciones no son de posición (-depth afecta tanto a
las evaluaciones especificadas antes de él como a las especificadas
después). Por favor especifique las opciones antes de otros argumentos.

Couldn't open directory '/home/soullost/romsN64/': No existe el fichero o el directorio
rom size: 12582912 bytes (or 12 Mb or 96 Megabits)
file found
rom size: 12582912 bytes (or 12 Mb or 96 Megabits)
byteswaping rom...
rom byteswaped
rom loaded succesfully
80 37 12 40
ClockRate=f
Version:1446
CRC: 3e5055b6 2e92da52
name: Mario Kart 64
Manufacturer: Nintendo
Cartridge_ID: 544b
Country : United States
size: 4096
PC= 80000400
md5 code:7D54D888964A3B0D058EB80886C44C88
eeprom type:0
init timer!
memory initialized
[blight's SDL input plugin]: Couldn't open blight_input.conf for reading: No existe el fichero o el directorio
[blight's SDL input plugin]: version 0.0.8-b initialized.
Initializing OpenGL Device Context
(II) Initializing SDL video subsystem...
(EE) Error initializing SDL video subsystem: Unable to open a console terminal
Signal number 11 caught:
errno = 0 (Conseguido)
Se me ocurrio empezar a jugar con los paquetes mediante las USE's y con ayuda de gentoolkit (equery) empezé a mirar los soporte de algunos paquetes, las dependencias con otros y todo marcaba que el error erá de libSDL, hasta que dí con la respuesta a todo..

Solución a todo =P :
USE="X directfb" emerge libsdl

echo "games-emulation/mupen64" >> /etc/portage/package.keywords
Y listo!!, se van los errores y ya podemos jugar en los momentos de ocio ( que ya mero terminan las clases!!)

Screenshot:

Free Image Hosting at www.ImageShack.us

4 comentarios:

Anónimo dijo...

oye... no e entendido nada de nada jejeje! podrias explicarlo pa tontos?

Soul Lost dijo...

Hola, qué nno entiendes? 8)

Anónimo dijo...

creo que se refiere a cómo se hacen las soluciones...

¿qué debemos hacer con esto " USE="X directfb" emerge libsdl

echo "games-emulation/mupen64" >> /etc/portage/package.keywords"?

anubis dijo...

a mi me pasa que cuando comienza la emulacion, no se ve bien, los dicujos no estan completos