Zandronum on Ubuntu

General discussion of the port and Doom-related chat.
Post Reply
TheRPGLPer
 
Posts: 25
Joined: Sat Aug 04, 2012 12:30 am
Location: La Follette, TN
Contact:

Zandronum on Ubuntu

#1

Post by TheRPGLPer » Mon May 20, 2013 1:04 am

Hello,

I am trying to install Zandronum on Ubuntu 12.04 LTS, but by installing it by the way of APT-GET, your repository that you provided does not seem to be valid, and Ubuntu cannot find the package.

Code: Select all

W: Failed to fetch http://debian.drdteam.org/dists/stable/multiverse/source/Sources  404  Not Found

W: Failed to fetch http://debian.drdteam.org/dists/stable/multiverse/binary-amd64/Packages  404  Not Found

W: Failed to fetch http://debian.drdteam.org/dists/stable/multiverse/binary-i386/Packages  404  Not Found

E: Some index files failed to download. They have been ignored, or old ones used instead.
W: Failed to fetch http://debian.drdteam.org/dists/stable/multiverse/source/Sources  404  Not Found

W: Failed to fetch http://debian.drdteam.org/dists/stable/multiverse/binary-amd64/Packages  404  Not Found

W: Failed to fetch http://debian.drdteam.org/dists/stable/multiverse/binary-i386/Packages  404  Not Found

E: Some index files failed to download. They have been ignored, or old ones used instead.
sudo apt-get install zandronum zandronum-doomseeker
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package zandronum
E: Unable to locate package zandronum-doomseeker
So I try downloading the Generic Linux x64, and when I extract that and then install FMOD, I run the game and get this error:

Code: Select all

./zandronum
./zandronum: error while loading shared libraries: libjpeg.so.62: cannot open shared object file: No such file or directory

(I try just typing zandronum byitself, I get nothing:
zandronum
zandronum: command not found
And double clicking it doesn't open anything)
Can you please help me get this game to work on linux? I've tried running the *.exe under WINE and suffered extreme graphical issues, so I need the linux one to work.

Thank you

User avatar
skyrimguy
 
Posts: 86
Joined: Sun Jul 29, 2012 8:35 am

RE: Zandronum on Ubuntu

#2

Post by skyrimguy » Mon May 20, 2013 1:31 am

Can you show me the output of the following command?

Code: Select all

cat /etc/apt/sources.list
because the correct zandronum repo that you should have in your sources.list is:

Code: Select all

deb http://debian.drdteam.org/ stable multiverse
and for your second problem, do the following:

Code: Select all

sudo apt-get install libjpeg62
Last edited by skyrimguy on Mon May 20, 2013 1:38 am, edited 1 time in total.

TheRPGLPer
 
Posts: 25
Joined: Sat Aug 04, 2012 12:30 am
Location: La Follette, TN
Contact:

RE: Zandronum on Ubuntu

#3

Post by TheRPGLPer » Mon May 20, 2013 2:02 am

This is my Sources.list file:

Code: Select all

# deb cdrom:[Ubuntu 12.04.2 LTS _Precise Pangolin_ - Release amd64 (20130213)]/ dists/precise/main/binary-i386/

# deb cdrom:[Ubuntu 12.04.2 LTS _Precise Pangolin_ - Release amd64 (20130213)]/ dists/precise/restricted/binary-i386/
# deb cdrom:[Ubuntu 12.04.2 LTS _Precise Pangolin_ - Release amd64 (20130213)]/ precise main restricted

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://us.archive.ubuntu.com/ubuntu/ precise main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ precise main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://us.archive.ubuntu.com/ubuntu/ precise-updates main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ precise-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://us.archive.ubuntu.com/ubuntu/ precise universe
deb-src http://us.archive.ubuntu.com/ubuntu/ precise universe
deb http://us.archive.ubuntu.com/ubuntu/ precise-updates universe
deb-src http://us.archive.ubuntu.com/ubuntu/ precise-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu 
## team, and may not be under a free licence. Please satisfy yourself as to 
## your rights to use the software. Also, please note that software in 
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://us.archive.ubuntu.com/ubuntu/ precise multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ precise multiverse
deb http://us.archive.ubuntu.com/ubuntu/ precise-updates multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ precise-updates multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://us.archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse

deb http://security.ubuntu.com/ubuntu precise-security main restricted
deb-src http://security.ubuntu.com/ubuntu precise-security main restricted
deb http://security.ubuntu.com/ubuntu precise-security universe
deb-src http://security.ubuntu.com/ubuntu precise-security universe
deb http://security.ubuntu.com/ubuntu precise-security multiverse
deb-src http://security.ubuntu.com/ubuntu precise-security multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu precise partner
# deb-src http://archive.canonical.com/ubuntu precise partner

## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.
deb http://extras.ubuntu.com/ubuntu precise main
deb-src http://extras.ubuntu.com/ubuntu precise main
deb http://debian.drdteam.org/ stable multiverse
deb-src http://debian.drdteam.org/ stable multiverse
And the second problem I fixed, it was a 32-64 bit problem thing, I had to install libjpeg62:i386 and skulltag runs.

I need the Linux version of DoomSeeker though, and I need a way to solve the issue that I need to run ./zandronum as sudo, because otherwise:

Code: Select all

./zandronum
./zandronum: error while loading shared libraries: libfmodex-4.24.16.so: cannot open shared object file: Permission denied
It works fine as: sudo ./zandronum though. Runs perfectly (minus MIDI sound)

EDIT: I added the repository you gave above in your post and still got this error:

Code: Select all

W: Failed to fetch http://debian.drdteam.org/dists/stable/multiverse/source/Sources  404  Not Found

W: Failed to fetch http://debian.drdteam.org/dists/stable/multiverse/binary-amd64/Packages  404  Not Found

W: Failed to fetch http://debian.drdteam.org/dists/stable/multiverse/binary-i386/Packages  404  Not Found
Last edited by TheRPGLPer on Mon May 20, 2013 2:04 am, edited 1 time in total.

User avatar
skyrimguy
 
Posts: 86
Joined: Sun Jul 29, 2012 8:35 am

RE: Zandronum on Ubuntu

#4

Post by skyrimguy » Mon May 20, 2013 3:31 am

Remove from your sources.list:

Code: Select all

deb-src http://debian.drdteam.org/ stable multiverse
you don't need that.

Copy and paste the whole code box for each step.
Copy libfmodex-4.24.16.so to the uncompressed folder that contains: zandronum, zandronum.pk3, skulltag_actors.pk3, liboutput_sdl.so, zandronum-server and from a terminal cd into it and do the following:

Code: Select all

chmod 644 zandronum.pk3 skulltag_actors.pk3

Code: Select all

chmod 755 zandronum zandronum-server liboutput_sdl.so libfmodex-4.24.16.so
Make /usr/games/zandronum folder:

Code: Select all

sudo mkdir -pv /usr/games/zandronum
Copy zandronum, zandronum.pk3, skulltag_actors.pk3, liboutput_sdl.so, zandronum-server and libfmodex-4.24.16.so to /usr/games/zandronum:

Code: Select all

sudo cp -v zandronum zandronum.pk3 skulltag_actors.pk3 \
liboutput_sdl.so zandronum-server libfmodex-4.24.16.so /usr/games/zandronum
Make zandronum script, add executable permission and copy it to /usr/bin:

Code: Select all

cd /tmp && \
touch zandronum && \
echo '#!/bin/bash' >> zandronum && \
echo 'LD_LIBRARY_PATH=/usr/games/zandronum /usr/games/zandronum/zandronum $*' >> zandronum && \
echo 'exit $?' >> zandronum && \
chmod 755 zandronum && \
sudo cp -v zandronum /usr/bin && \
rm -fv zandronum
Make zandronum-server script, add executable permission and copy it to /usr/bin:

Code: Select all

cd /tmp && \
touch zandronum-server && \
echo '#!/bin/bash' >> zandronum-server && \
echo '/usr/games/zandronum/zandronum-server $*' >> zandronum-server && \
echo 'exit $?' >> zandronum-server && \
chmod 755 zandronum-server && \
sudo cp -v zandronum-server /usr/bin && \
rm -fv zandronum-server
Now, from a terminal you should be able to execute zandronum or zandronum-server from any user account.

and to solve the midi sound if FMOD is your default midi device for Zandronum:

1- Download gm.dls (this file is used by FMOD ex in Windows)
http://www.solidfiles.com/d/765e42ac1c/

2- Put the gm.dls file in your .zandronum folder or to any location.

3- In your .zandronum folder, edit zandronum.ini and go to "snd_midipatchset=" and set the path where your gm.dls file is located, for example:

Code: Select all

snd_midipatchset=/home/your username/.zandronum/gm.dls
4- Save changes and verify if music is audible.
Last edited by skyrimguy on Mon May 20, 2013 4:12 am, edited 1 time in total.

Blzut3
Developer
Posts: 308
Joined: Thu May 24, 2012 9:37 pm

RE: Zandronum on Ubuntu

#5

Post by Blzut3 » Mon May 20, 2013 9:04 pm

The APT repository should work again now.

User avatar
Dusk
Developer
Posts: 581
Joined: Thu May 24, 2012 9:59 pm
Location: Turku

RE: Zandronum on Ubuntu

#6

Post by Dusk » Mon May 20, 2013 9:41 pm

skyrimguy wrote:3- In your .zandronum folder, edit zandronum.ini and go to "snd_midipatchset=" and set the path where your gm.dls file is located, for example:

Code: Select all

snd_midipatchset=/home/your username/.zandronum/gm.dls
This is new to me, thanks a lot for this!

TheRPGLPer
 
Posts: 25
Joined: Sat Aug 04, 2012 12:30 am
Location: La Follette, TN
Contact:

RE: Zandronum on Ubuntu

#7

Post by TheRPGLPer » Mon May 20, 2013 10:19 pm

This worked. Thank you.

EDIT:
The only thing is, while it works fine, I still need the ubuntu doomseeker or a way for the Windows doomseeker under wine to execute Zandronum (I tried konsole -e zandronum, didnt work)

Also, any resolution about 640x* (800x600, 1024x768, 1360x768, 1920x1080) gives me very distorted texts, but any resolution with 640 in the beginning number (640x300, 640x480, 640x240) all work fine.
Last edited by TheRPGLPer on Mon May 20, 2013 10:46 pm, edited 1 time in total.

User avatar
skyrimguy
 
Posts: 86
Joined: Sun Jul 29, 2012 8:35 am

RE: Zandronum on Ubuntu

#8

Post by skyrimguy » Mon May 20, 2013 10:51 pm

If you can't install doomseeker with apt-get, just compile from source:
http://wiki.zandronum.com/Compiling_Doomseeker_on_Linux

the tutorial is very easy.

EDIT:
Can you tell me your screen resolution? if you don't know it, then show me the output of the following command:

Code: Select all

xdpyinfo | grep dimensions | awk '{print $2;}'
Last edited by skyrimguy on Mon May 20, 2013 11:12 pm, edited 1 time in total.

TheRPGLPer
 
Posts: 25
Joined: Sat Aug 04, 2012 12:30 am
Location: La Follette, TN
Contact:

RE: Zandronum on Ubuntu

#9

Post by TheRPGLPer » Tue May 21, 2013 1:10 am

Everything is working fine now and I have both Zandronum and Doomseeker installed and working.

My resolution is set to Fullscreen OPENGL 1366x768 with no graphical glitches whatsoever.

ScryingAlex
New User
Posts: 3
Joined: Wed Aug 29, 2012 8:08 pm
Location: United States

RE: Zandronum on Ubuntu

#10

Post by ScryingAlex » Tue May 21, 2013 2:00 am

Thanks for helping, skyrimguy.

User avatar
skyrimguy
 
Posts: 86
Joined: Sun Jul 29, 2012 8:35 am

RE: Zandronum on Ubuntu

#11

Post by skyrimguy » Tue May 21, 2013 2:07 am

ScryingAlex wrote: Thanks for helping, skyrimguy.
You're welcome.

Post Reply