Duke4.net Forums: Linux eDuke32 - Atomic Pack - Duke4.net Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Linux eDuke32 - Atomic Pack  "Duke Talk always Fails (x86_64)"

User is offline   inukaze 

#1

Hi There i offer my Mini-Script for "Ubuntus" Just Add create a new file with your favorite text editor and copy and paste this , well you need pre-installed package "zenity" :

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


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 :) Thanks for all
--------------------------------------------------------------------------------- ---------------------------------------------------------------------------------- ----------------------------------------------
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


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:~/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 ???

This post has been edited by inukaze: 28 May 2011 - 04:52 AM

0

User is offline   Helixhorned 

  • EDuke32 Developer

#2

Can you compile with RELEASE=0 and send the log with the addresses resolved to names? (Provided it still crashes then, of course.)
0

User is offline   inukaze 

#3

i got another question , why eDuke32 , dont have to Selecct MIDI umm server ? , like Timidity or Fluidsynth , i like more the MIDI music via Fluidsynth i use in the terminal

export EDUKE32_MUSIC_CMD="/usr/bin/fluidsynth --disable-lash --server --audio-driver=pulseaudio --portname=alsa_seq /usr/share/sounds/sf2/FluidR3_GM.sf2"

To use "FluidSynth" and not Timidity++. its not possible to insert some like that inside the "GUI" ???

 Helixhorned, on 28 May 2011 - 04:17 AM, said:

Can you compile with RELEASE=0 and send the log with the addresses resolved to names? (Provided it still crashes then, of course.)


Quote

inukaze@Inukaze:~/Descargas/eduke32_20110527-1897$ make clean && make LINKED_GTK=1 LTO=1 RELEASE=0



inukaze@Inukaze:~/Descargas/eduke32_20110527-1897$ ./eduke32 
EDuke32 2.0.0devel r1897
Compiled May 28 2011 08:25:28
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 104ms, 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...
EOF: EDuke32
Cache time: 568ms
An inspiration for birth control.
./eduke32[0x588e14]
/lib/x86_64-linux-gnu/libc.so.6(+0x33d80)[0x7ff1b42fcd80]
./eduke32[0x50b74a]
./eduke32[0x50d37d]
./eduke32[0x4c0f72]
./eduke32[0x49e9d5]
./eduke32[0x414ad3]
./eduke32[0x42fd44]
./eduke32[0x5883cc]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xff)[0x7ff1b42e7eff]
./eduke32[0x407209]


**************************************************************

Quote

inukaze@Inukaze:~/Descargas/eduke32_20110527-1897$ cat eduke32.log
EDuke32 2.0.0devel r1897
Compiled May 28 2011 08:25:28
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 122ms, 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...
Setting music command to "/usr/bin/fluidsynth --disable-lash --server --audio-driver=pulseaudio --portname=alsa_seq /usr/share/sounds/sf2/FluidR3_GM.sf2".
Initializing sound...
Cache time: 6349ms
MUSIC_StopSong: wait for SIGTERM timed out.
E1L1: HOLLYWOOD HOLOCAUST
An inspiration for birth control.


Sorry i not understand : "with the addresses resolved to names?" , which directions?

This post has been edited by inukaze: 28 May 2011 - 06:05 AM

0

User is offline   Helixhorned 

  • EDuke32 Developer

#4

Fixed in r1898 :).

 inukaze, on 28 May 2011 - 05:01 AM, said:

i got another question , why eDuke32 , dont have to Selecct MIDI umm server ? , like Timidity or Fluidsynth , i like more the MIDI music via Fluidsynth i use in the terminal

export EDUKE32_MUSIC_CMD="/usr/bin/fluidsynth --disable-lash --server --audio-driver=pulseaudio --portname=alsa_seq /usr/share/sounds/sf2/FluidR3_GM.sf2"

To use "FluidSynth" and not Timidity++. its not possible to insert some like that inside the "GUI" ???

If someone is willing to contribute the necessary GUI code, we'd accept that after some review. Until then, sticking the export into .bashrc should do the trick.
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic


All copyrights and trademarks not owned by Voidpoint, LLC are the sole property of their respective owners. Play Ion Fury! ;) © Voidpoint, LLC

Enter your sign in name and password


Sign in options