Page 1 of 1

Install it on LINUX UBUNTU

Posted: Mon Jun 07, 2010 8:58 am
by Pietrus
I don't manage to install it on ubuntu

Could you explain me how to do that ?

Thx

Pietrus

Re: Install it on LINUX UBUNTU

Posted: Mon Jun 07, 2010 9:57 am
by Pietrus
which is the better way to play CSB for win and linux ?
Windows or Linux,

the linux version have a greater number than the windows version,

it seems to say than this is a better one ?

Re: Install it on LINUX UBUNTU

Posted: Mon Jun 07, 2010 10:46 am
by beowuuf
The windows version is the most current

Re: Install it on LINUX UBUNTU

Posted: Mon Jun 07, 2010 10:46 am
by Pietrus
on that page :

http://dmweb.free.fr/?q=node/851#toc19

there is two version of DM/CSB for Linux :

Clone-CSBwin-Linux100.tar.gz
CSBwin v10.0 for Linux with the original Dungeon Master and Chaos Strikes Back dungeons.


and :

Clone-CSBwin-Linux11_014.zip Clone-CSBwin-Linux11_014.zip
CSBwin v11.014 for Linux

I don't understand the interest of keeping V10.0 if V11.014 existing ?

I would like to play DM and late CSB with the same characters -

which version need I to download ? v10 or v11 ?

thx

Re: Install it on LINUX UBUNTU

Posted: Mon Jun 07, 2010 11:21 am
by Pietrus
windows version the most current ? strange for a gnu software no ?
is the project always alive ?

thx

other question :

is "Dungeon Strikes Back" a Gnu RTC project ?

Re: Install it on LINUX UBUNTU

Posted: Mon Jun 07, 2010 12:58 pm
by beowuuf
Version 10.0 was last guaranteed stable release that would work with all existing custom dungeon. There have been further engine versions released with advanced functions for individual dungeon. As far as I understand, you need to 10.0 package for all the dungeons, etc, and it is up to you if you wish to upgrade to the 'stable beta' of 11.4.

The software is a personal project of Paul Stevens. He's released the source code for people to look at, and welcomes people tinkering to improve things, but it is not GNU. The base files (dungeons and graphics) and IP are still the property of FTL, and this fan project exists and is destributed only because of their gracious attitude.

The project is 'alive' in that Paul occasioanally will do things if someone has a project that he can aid with, but the engine does all that it needs to so is essentially finished.


I will leave Sophia to answer the other question where you asked it, but I assume it is the same as above.

Re: Install it on LINUX UBUNTU

Posted: Mon Jun 07, 2010 2:34 pm
by Pietrus
very thx,

but there is two location to download it :

here :
http://dmweb.free.fr/?q=node/851#toc19

and :
http://www.dungeon-master.com/forum/vie ... 46&t=23210

wich is the good one ?

Re: Install it on LINUX UBUNTU

Posted: Mon Jun 07, 2010 3:57 pm
by Paul Stevens
For playing DM and CSB-----any of those
releases is the "Good One". I have no idea
why we have both the 10.0 and the 11.014
versions foir Linux---I do not maintain the
Linux versions. Perhaps they use different
graphics libraries or something. But I
believe that either will work just fine for
DM and CSB.

More recent versions have fixed one or two
minor bugs and expanded the engine for
ConfluxIII. If you want the most recent
Windows version you can get it at:
http://dianneandpaul.net/CSBwin
11.031 appears to be most recent.
You will have to copy the newest engine
executable into your DM or CSB folder.

If you want more recent Linux versions,
you will have to ask me for the source
code and do it yourself.

Re: Install it on LINUX UBUNTU

Posted: Fri Feb 25, 2011 6:49 pm
by MasterWuuf
I can't figure out how to download, unzip and install DM on Linux either.
I looked through this thread but really didn't notice any
1. Do this
2. Do this
3. Do this
4. Wah lah! (never tried spelling that before, so it's probably wrong)

Anyway, I downloaded it and think I managed to unzip it, but it doesn't do anything on Linux or Windows.
Any chance someone could try the 1,2,3, Wah lah (not Muahah) help for me?

Re: Install it on LINUX UBUNTU

Posted: Fri Feb 25, 2011 8:18 pm
by Sophia
MasterWuuf wrote:Wah lah!
Voila.

That's about all of use I can offer in this thread. ;)

Re: Install it on LINUX UBUNTU

Posted: Fri Feb 25, 2011 11:43 pm
by MasterWuuf
Sophia wrote:
MasterWuuf wrote:Wah lah!
Voila.

That's about all of use I can offer in this thread. ;)
Thanks Sophia. It was a help, although I'm still hoping to get some help with running DM on Linux.

Re: Install it on LINUX UBUNTU

Posted: Sat Feb 26, 2011 10:11 am
by Sphenx
MasterWuuf wrote:
Sophia wrote:
MasterWuuf wrote:Wah lah!
Voila.

That's about all of use I can offer in this thread. ;)
Thanks Sophia. It was a help, although I'm still hoping to get some help with running DM on Linux.
"VoilĂ " is even better.

Now for the ubuntu install.

First on DME, CSBWin v10.0 contains the whole package while CSBWin v11.014 contains only the binary.
So you still need to download 10.0 at least.

I tried to run it on a fresh Ubuntu 9.10.
It tells me I am missing libHermes. I can't find it easily on the web (there are some empty places?) so I am trying to recompile CSBWin from the sources to see if I can run it.

I will post more later.
MasterWuuf wrote:Anyway, I downloaded it and think I managed to unzip it, but it doesn't do anything on Linux or Windows.
We'll just try to run CSBWin for linux on a linux system, ok? :roll:

Re: Install it on LINUX UBUNTU

Posted: Sat Feb 26, 2011 2:23 pm
by MasterWuuf
You're kidding, right? Of course, I tried to run it on Linux Ubuntu. :roll:
It didn't work. That's why I asked for help. :?

Re: Install it on LINUX UBUNTU

Posted: Sat Feb 26, 2011 10:55 pm
by Sphenx
Hey, Pietrus and MasterWuuf, here is what worked for me:

1) Download Clone-CSBwin-Linux100.tar.gz
2) Download Clone-CSBwin-Linux11_014.zip
3) Unzip Clone-CSBwin-Linux100.tar.gz; this should give you a chaos_strikes_back_100 directory

At this point, you would run CSBlinux.sh or DMlinux.sh but it didn't work for me, program complaining about libHermes missing (which I didn't find).

4) Unzip Clone-CSBwin-Linux11_014.zip; this will give you an executable file named CsbWin.
5) Move this CsbWin as .Chaos_strikes_back_for_linux into chaos_strikes_back_100 dir.

Then run CSBlinux.sh.
It fixed the libHermes problem in my case and started the game.
However I did not have sound.

Could you try that and tell if you get something?

Re: Install it on LINUX UBUNTU

Posted: Wed Mar 16, 2011 8:09 am
by Sphenx
Has anyone tried to run CSBWin under linux since?

It appears that the savegame loading seems broken.
I always get a Segmentation fault when I click "Resume" button. Either DMlinux or CSBlinux.

Is there any version superior to 11.014 compiled for linux? Or I would have to try compile the latest version myself and see if the problem's still here.

Re: Install it on LINUX UBUNTU

Posted: Sat Jul 23, 2011 8:10 pm
by Guignol
First, I am a linux newb, please be kind. :)

CSBwin runs very nicely on my windows computer at home. Now at my parent's place we have a linux ubuntu comp, and here the problem begins.
1. Tried install v10, didn't work at all.
2. Found this thread, did the procedure propose by Sphenx (thanks!), and also changed the 11.04 binary properties to make this file an executable program, and DM launched well.
Now the problem is:
- I can save a game once. But once there is a saved game file in the DM directory, if I try to save a game again the program fails.
- If I click "resume" the program fails.
It seems all game redaing and writing functions fail once there is already a saved game in the saving directory.

I tried to search other threads on this forum but it seems everybody else went over this problem easily and focus is on sound issues. In this thread for example: Porting/updating CSBwin for Linux and sound support.
So it seems this issue as been solved already, can someone be so kind as to tell the newbs how to do?

Thanks!

Re: Install it on LINUX UBUNTU

Posted: Mon Jul 25, 2011 11:05 pm
by Sphenx
Guignol wrote:First, I am a linux newb, please be kind. :)
We always are :)
Guignol wrote: I tried to search other threads on this forum but it seems everybody else went over this problem easily and focus is on sound issues. In this thread for example: Porting/updating CSBwin for Linux and sound support.
So it seems this issue as been solved already, can someone be so kind as to tell the newbs how to do?
There I would like to know as well. The resume/save failed for me too.

Where are our linux users? :?:

Re: Install it on LINUX UBUNTU

Posted: Sun Nov 20, 2011 6:08 pm
by Christoph
Hallo,

resuming and saving fails; youn can save exactly once (as long as no save file is already present), and you cannot load from the saved file. This happens consistently (at least on modern Linux installations).

Therefore I tried to compile the current version 11.067, but after fixing some minor bugs (found 2 Microsoft specific data types and flaws in the build system / documentation), I'm stuck at the linker stage. It won't build an executable programm, see the other Linux thread on the CSBWin board here.

Christoph

Re: Install it on LINUX UBUNTU

Posted: Wed Jul 18, 2012 2:01 pm
by Gandalf
Hi guys Thank you very much for your hard work ( Paul, Christoph, Ful Ir ...and all others :twisted: )

I was able to launch the latest executable from Ubuntu Lynx 10.04 ARM 64 bits but when I try my own build from sources the program starts but I've got a segmentation fault when graphics.dat is loaded.

Any tips ?

I saw your latests dev with 12_3 sources and the thread about GTK+ or SDL conversion ... I cross my fingers for the next version :wink:

Re: Install it on LINUX UBUNTU

Posted: Wed Jul 18, 2012 6:41 pm
by Paul Stevens
Ubuntu Lynx 10.04 ARM 64 bits
What did you say? That CSBwin was able to run
on a 64-bit ARM architecture? If this is true,
who can we find to support such a thing?

I went back and studied the previous posts in
this thread but I understand very little of what
was said.

Who is actually working on a native Linux version
or is able and willing to spend the time and
resources to produce a relatively 'clean' source
code. I am willing to make the effort but I am
very ignorant of Linux issues. I could probably
get it to work on one particular distribution but
it would not be pretty. Getting it to work
natively on a 64-bit architecture seem to me to
be nigh impossible. But I've learned new things
before.

Re: Install it on LINUX UBUNTU

Posted: Wed Jul 18, 2012 8:03 pm
by Gandalf
I guess it works with runtime libraries for the i386 architecture, configured for use on an amd64 or ia64 Debian system running
a 64-bit kernel.

My test was done on AMD athlon 64 X2 Dual Core 4600+ with 3 Go and Linux Kernel 2.6.32-41 ( uname -m
returns x86_64 and I try uname -a to be sure.. ;-) )


I can beta-test any version but my linux and programming skills are very low ( till I learned some basics & 6502 ASM in my early years...)

I was able to run CSB CsbWinLinuxBin11_014.7z ( an old version by unknow according to latest changelog ). I was able to move in prison area and save my four heroes but resume was not working ...

Hint/Utility detects the sav file as corrupted but with another sav file ( from windows game ) it was working fine, at least the current working directory was the good one and the tool can check and detect save2 3 or 4. I've got no sound so far but it is a minor thing I guess It is linked to the ALSA/Pulse audio mess... ( I will try the pulse patch later ... )

GTK 1.2 was a bit tricky to force via
sudo add-apt-repository ppa:adamkoczur/gtk1.2 && sudo apt-get update
sudo apt-get install libgtk1.2

Lucid uses the newer libgtk2. Just did a google search (https://bugs.launchpad.net/ubuntu/+s....2/+bug/478219) and found a PPA that has lucid gtk+1.2 binaries: https://launchpad.net/~adamkoczur/+archive/gtk1.2

To install:

Code: Select all

sudo apt-add-repository ppa:adamkoczur/gtk1.2
sudo apt-get update
sudo apt-get install gtk+1.2
( from http://ubuntuforums.org/showthread.php?t=1784254 )



To compile I add/check these lines :
sudo apt-get install libgtk1.2-common
sudo apt-get install libgtk1.2dbl
sudo apt-get install ia32-libs ia32-libs-gtk ia32-libs-sdl dpkg-dev
[Christoph] 111206
Version 12.100v0 corrects hint oracle bug:
Earlier versions crashed, if too many "hint items" were present.
Only "src/Hint.cpp", version numbering and documentation changed.
[Christoph] 111122-111127
New version is 12.0; updated from Windows version 11.067,
minor changes to make it compile on Linux (x86) out of
the box again.
Hermes not included, because detection fails for me.
Sound is half-broken, as well as window-resize.
[Maciej] 110805 .deb package: 110902
Version 11.059 (armel for Nokia N900)
[Philipp] 110327?
Version 11.059 (armel for Pandora)
[?] 090424?
Version 11.014 (x68)
[?] ?
Version 10.0 (x68)
(changeLog)

WE need an ARCHLINUXMASTER for the next step... Christoph perhaps ? ;-)

Re: Install it on LINUX UBUNTU

Posted: Sun Oct 14, 2012 7:32 am
by Christoph
I'm not an archlinuxmaster, but also failed to get a native 64 bit version compiled. According to Paul this is due to the "de-facto Atari emulator" (simplified).

I have, however, working source code, build-, installation-, and run-scripts for i386, unfortunately requiring Esound. My current version is 12.3v1.

The current one has overlays and Pulseaudio support.