Quote
#!/bin/bash
#
# MiniScript para Instalar Repositorio de eDuke32 - Port de Duke Nukem 3D
# Escrito por : Jonder Quintero , Venezolano
#
# Sitio : http://inukaze.wordpress.com
#
# Fecha : 28/05/2011 ( 28 de Mayo del 2011 )
#
#
DIR=$(pwd)
if ! $(zenity --question --no-wrap --title "eDuke32 - Duke Nukem 3D" --text "Duke Nukem 3D will be installed from \nthird party repositories\n\n ¿ Want to proceed?") ; then
echo "no"
exit 0
fi
(
# Se Pregunta por la Contraseña del Administrador , el comando de GPG es Ignorado
gksudo -m "Enter your password to start the installation..." "gpg --keyserver keyserver.ubuntu.com --recv 6C12344E && gpg --export --armor 6C12344E | sudo apt-key add -"
# Se Agrega la GPG ahora que ya tiene la contraseña para proceder
gpg --keyserver keyserver.ubuntu.com --recv 6C12344E && gpg --export --armor 6C12344E | sudo apt-key add -
# Se accede a modo root
sudo su
# Se instala lsb-release en caso de que no este
sudo apt-get -y --force-yes install lsb-release
# Se le otorga permiso de ejecucion
sudo chmod +x /etc/lsb-release
# Se usa como fuente de informacion
sudo source /etc/lsb-release
# Se ejecuta
sudo sh /etc/lsb-release
# se borra cualquier lista anterior de eDuke32 del Sistema :
sudo rm -rf /etc/apt/sources.list.d/eduke32.list
sudo rm -rf /etc/apt/sources.list.d/eduke32.list.save
# eDuke32 - Puerto de Duke Nukem 3D Multi-Plataformas
# Se agrega eDuke32 a la lista de fuentes , segun la version determinada en lsb-release solo funciona en modo root (Ubuntu)
sudo sh -c 'echo "deb http://apt.duke4.net/ `lsb_release --short --codename` main #Duke Nukem 3D" >> /etc/apt/sources.list.d/eduke32.list'
# Se actualiza la lista de repositorios
sudo apt-get -y update
# Se instala el Emesene Recien Agregado
sudo apt-get -y --force-yes install eduke32
# Se sale del modo root
exit && exit
echo "# Completed."
) | zenity --progress --width 260 --height 0 --title "eDuke32 - Duke Nukem 3D" --text "Instalando Duke Nukem 3D..." --pulsate
#
# MiniScript para Instalar Repositorio de eDuke32 - Port de Duke Nukem 3D
# Escrito por : Jonder Quintero , Venezolano
#
# Sitio : http://inukaze.wordpress.com
#
# Fecha : 28/05/2011 ( 28 de Mayo del 2011 )
#
#
DIR=$(pwd)
if ! $(zenity --question --no-wrap --title "eDuke32 - Duke Nukem 3D" --text "Duke Nukem 3D will be installed from \nthird party repositories\n\n ¿ Want to proceed?") ; then
echo "no"
exit 0
fi
(
# Se Pregunta por la Contraseña del Administrador , el comando de GPG es Ignorado
gksudo -m "Enter your password to start the installation..." "gpg --keyserver keyserver.ubuntu.com --recv 6C12344E && gpg --export --armor 6C12344E | sudo apt-key add -"
# Se Agrega la GPG ahora que ya tiene la contraseña para proceder
gpg --keyserver keyserver.ubuntu.com --recv 6C12344E && gpg --export --armor 6C12344E | sudo apt-key add -
# Se accede a modo root
sudo su
# Se instala lsb-release en caso de que no este
sudo apt-get -y --force-yes install lsb-release
# Se le otorga permiso de ejecucion
sudo chmod +x /etc/lsb-release
# Se usa como fuente de informacion
sudo source /etc/lsb-release
# Se ejecuta
sudo sh /etc/lsb-release
# se borra cualquier lista anterior de eDuke32 del Sistema :
sudo rm -rf /etc/apt/sources.list.d/eduke32.list
sudo rm -rf /etc/apt/sources.list.d/eduke32.list.save
# eDuke32 - Puerto de Duke Nukem 3D Multi-Plataformas
# Se agrega eDuke32 a la lista de fuentes , segun la version determinada en lsb-release solo funciona en modo root (Ubuntu)
sudo sh -c 'echo "deb http://apt.duke4.net/ `lsb_release --short --codename` main #Duke Nukem 3D" >> /etc/apt/sources.list.d/eduke32.list'
# Se actualiza la lista de repositorios
sudo apt-get -y update
# Se instala el Emesene Recien Agregado
sudo apt-get -y --force-yes install eduke32
# Se sale del modo root
exit && exit
echo "# Completed."
) | zenity --progress --width 260 --height 0 --title "eDuke32 - Duke Nukem 3D" --text "Instalando Duke Nukem 3D..." --pulsate
Now save for example : eduke32.sh and Give it execution permissions , and now you can install eDuke32 from my Script
P.D : If you execute this Script for Instalation you must be closed packages manager like "apt"/"aptitude"/"synaptic"/etc , and Ignore the "First Dialog" Promt Password just "Accept It" , and appear "Second Dialog" Promt for you password just enter just password and accept it , and whit this Scripts , the installation can be some Slowly.
if anyone can improve it share it plz

--------------------------------------------------------------------------------- ---------------------------------------------------------------------------------- ----------------------------------------------
Okey now Hi there , i had installed the "repo" for "eDuke32" for Natty ( Ubuntu 11.04 - AMD64 ) . Look when i press "ALT+F1" for Duke Talk , the game crash , and this occurr TOO , under ArchLinux x86_64 . i had make the follow steps
Fisrt Add GPG , and Update Repos , and Install eduke32 :
Quote
inukaze@Inukaze:~$ sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 83D654786C12344E
Manually Add Repo "deb http://apt.duke4.net natty main" to Software Sources
inukaze@Inukaze:~$ sudo apt-get update
inukaze@Inukaze:~$ sudo apt-get install eduke32
inukaze@Inukaze:~$ sudo ldconfig
Manually Add Repo "deb http://apt.duke4.net natty main" to Software Sources
inukaze@Inukaze:~$ sudo apt-get update
inukaze@Inukaze:~$ sudo apt-get install eduke32
inukaze@Inukaze:~$ sudo ldconfig
inukaze@Inukaze:~$ eduke32
EDuke32 2.0.0devel r1872 Compiled Apr 26 2011 02:53:10 Using /home/inukaze/ for game data Using /home/inukaze/.eduke32/ for game data Initializing SDL system interface (compiled against SDL version 1.2.14, found version 1.2.14) Using "x11" video driver Searching for game data... Using 'duke3d.grp' as main game data file. Compiling: GAME.CON (152058 bytes) Including: DEFS.CON (36835 bytes) Including: USER.CON (45482 bytes) GAME.CON: In state `blimphitstate': GAME.CON:498: warning: expected action, found define. GAME.CON: In actor `ORGANTIC': GAME.CON:3990: warning: found `else' with no `if'. GAME.CON: In state `pigshootenemystate': GAME.CON:5913: warning: found `else' with no `if'. Found 3 warning(s), 0 error(s). Resizing code buffer to 16189*8 bytes Script compiled in 80ms, 16181*8b, version 1.4+ 1917/11264 labels, 321/2048 variables 125 quotes, 207 actors Initialized 24,0M cache Using .RTS file 'DUKE.RTS' Initializing OSD... 1 joystick(s) found 1. DragonRise Inc. Generic USB Joystick Joystick 1 has 5 axes, 12 buttons, and 1 hat(s). Executing "settings.cfg" Setting video mode 1024x768 (32-bpp fullscreen) OpenGL Information: Version: 2.1.2 NVIDIA 270.41.06 Vendor: NVIDIA Corporation Renderer: GeForce 7025 / nForce 630a/PCI/SSE2 Initializing music... Initializing sound... Cache time: 540ms E1L1: HOLLYWOOD HOLOCAUST eduke32[0x52e6ad] /lib/x86_64-linux-gnu/libc.so.6(+0x33d80)[0x7f8519e4ed80] eduke32[0x4b52ff] eduke32[0x4b6873] eduke32[0x487a3c] eduke32[0x46c3c6] eduke32[0x4234cb] eduke32[0x427045] eduke32[0x52ed6c] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xff)[0x7f8519e39eff] eduke32[0x404979]
Well i try to Downloading the "Source Code" - eduke32_20110524-1897 , and Compiling manually
I make the Follow Steps :
Quote
inukaze@Inukaze:~/$ wget http://dukeworld.duk...27-1897.tar.bz2
inukaze@Inukaze:~/$ tar xfvj eduke32_src_20110527-1897.tar.bz2 && cd eduke32_20110527-1897
inukaze@Inukaze:~/$ make LINKED_GTK=1 LTO=1 && clear
inukaze@Inukaze:~/$ tar xfvj eduke32_src_20110527-1897.tar.bz2 && cd eduke32_20110527-1897
inukaze@Inukaze:~/$ make LINKED_GTK=1 LTO=1 && clear
inukaze@Inukaze:~/eduke32_20110527-1897$ ./eduke32 EDuke32 2.0.0devel r1897 Compiled May 28 2011 06:15:04 Using /home/inukaze/Descargas/eduke32_20110527-1897/ for game data Using /home/inukaze/.eduke32/ for game data Initializing SDL system interface (compiled against SDL version 1.2.14, found version 1.2.14) Using "x11" video driver Searching for game data... Using 'duke3d.grp' as main game data file. Compiling: GAME.CON (152058 bytes) Including: DEFS.CON (36835 bytes) Including: USER.CON (45482 bytes) GAME.CON: In state `blimphitstate': GAME.CON:498: warning: expected action, found define. GAME.CON: In actor `ORGANTIC': GAME.CON:3990: warning: found `else' with no `if'. GAME.CON: In state `pigshootenemystate': GAME.CON:5913: warning: found `else' with no `if'. Found 3 warning(s), 0 error(s). Resizing code buffer to 16189*8 bytes Script compiled in 35ms, 16181*8b, version 1.4+ 1917/11264 labels, 321/2048 variables 125 quotes, 207 actors Initialized 24,0M cache Using .RTS file 'DUKE.RTS' Initializing OSD... 1 joystick(s) found 1. DragonRise Inc. Generic USB Joystick Joystick 1 has 5 axes, 12 buttons, and 1 hat(s). Executing "settings.cfg" Setting video mode 1024x768 (32-bpp fullscreen) OpenGL Information: Version: 2.1.2 NVIDIA 270.41.06 Vendor: NVIDIA Corporation Renderer: GeForce 7025 / nForce 630a/PCI/SSE2 Initializing music... Initializing sound... Cache time: 518ms E1L1: HOLLYWOOD HOLOCAUST ./eduke32[0x5336c4] /lib/x86_64-linux-gnu/libc.so.6(+0x33d80)[0x7f4899b79d80] ./eduke32[0x42dfa7] ./eduke32[0x434f03] ./eduke32[0x45e703] ./eduke32[0x4a3a76] ./eduke32[0x4b86d7] ./eduke32[0x4bf485] ./eduke32[0x532c7c] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xff)[0x7f4899b64eff] ./eduke32[0x406e59]
Always occur the same error , when i start the Game , and press "ALT+F(1,2,3,4,5,6,7,8,9,10)" well you can see the "Message of Duke Talk" if press "Shift+F(1,2,3,4,5,6,7,8,9,10)" , well someone , know i can fix this ???