LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 09-20-2007, 03:02 PM   #1
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,561

Rep: Reputation: 57
How to install Dune Legacy ??


Fan of dunes, how to make it work with debian ?
thanks

Code:
wget http://surfnet.dl.sourceforge.net/sourceforge/dunelegacy/dunelegacy-0.94.1-bin.bz2
bzip2 -d dunelegacy-0.94.1-bin.bz2
./dunelegacy-0.94.1-bin

sudo aptitude install libzzip-0-12 libsdl-gfx1.2-4
sudo ln -s sudo ln -s /usr/lib/libSDL_gfx.so.4 /usr/lib/libSDL_gfx.so.13
sudo ln -s /usr/lib/libzzip-0.so.12 /usr/lib/libzzip-0.so.13
but i get this error message:
Code:
./dunelegacy-0.94.1-bin
ERROR: couldn't read config file.
initialising sound.....
allocated 16 channels.
loading data.....
./data/sound/music/attack/: No such file or directory

http://dunelegacy.sourceforge.net/wi...hp/Linux-howto
and this after scons & svn :

Quote:
/dunelegacy$ ./dunelegacy
ERROR: couldn't read config file.
initialising sound.....
allocated 16 channels.
loading data.....
loading fonts.....
starting main menu.......
starting sound.....
Could not open map file map.dlm.
ERROR: map format error.
Could not open map file map.dlm.
ERROR: map format error.
Could not open map file map.dlm.
ERROR: map format error.
Could not open map file map.dlm.
ERROR: map format error.
Could not open map file map.dlm.
ERROR: map format error.
Could not open map file map.dlm.
ERROR: map format error.
Could not open map file map.dlm.
ERROR: map format error.
Could not open map file map.dlm.
ERROR: map format error.
Could not open map file map.dlm.
ERROR: map format error.
Could not open map file map.dlm.
ERROR: map format error.

Last edited by frenchn00b; 09-20-2007 at 03:26 PM.
 
Old 09-21-2007, 10:38 AM   #2
oskar
Senior Member
 
Registered: Feb 2006
Location: Austria
Distribution: Ubuntu 12.10
Posts: 1,142

Rep: Reputation: 49
It sais that you need the Dune2 data files in addition to the sourceforge files, do you have them in the right place? It looks like it doesn't find the required files.
http://www.abandonia.com/games/36/Dune2/Dune2.htm

If it continues to give you problems, just run it in dosbox.

Last edited by oskar; 09-21-2007 at 10:39 AM.
 
Old 09-21-2007, 12:19 PM   #3
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,561

Original Poster
Rep: Reputation: 57
Quote:
Originally Posted by oskar View Post
It sais that you need the Dune2 data files in addition to the sourceforge files, do you have them in the right place? It looks like it doesn't find the required files.
http://www.abandonia.com/games/36/Dune2/Dune2.htm

I
Code:
f it continues to give you problems, just run it in dosbox.
Code:
    * The modified Dune 2 data (you can get it from http://www.megaupload.com/?d=IBIVBXCD or http://shutdownrunner.tivi.net.pl/dunelegacy-data.zip) 

 * (If anyone knows a better place to store it with less ads please give us a link to it)

    * Dunelegacy source code from Subversion. 

If you have subversion type the following command

svn co https://dunelegacy.svn.sourceforge.net/svnroot/dunelegacy/trunk dunelegacy

So how do I compile it? (Note:This howto is meant for people who know what a compiler is. if you get many errors with -o something make sure you have a compiler e.g. execute

$g++ -v

in command line. If you get

bash: g++ -v: command not found

then you don't have any compiler installed.Install it e.g. sudo apt-get install g++)

    * Untar the modified dune 2 data in dunelegacy folder
    * Ensure that you have everything required to build installed:
    * On debian/ubuntu you need the following packages:
          o libzzip-dev
          o libsdl-ttf2.0-dev
          o libsdl-mixer1.2-dev
          o libsdl-net1.2-dev
          o libsdl-image1.2-dev
          o libsdl-gfx1.2-dev
          o libboost-dev
          o libboost-signals-dev
          o libboost-filesystem-dev
          o scons 

    * for Mandriva do:
          o 'urpmi SDL-devel zzip-devel SDL_mixer-devel SDL_ttf-devel SDL_net-devel SDL_image-devel boost-signals-devel boost-filesystem-devel' 
    * Type "scons" in the main dir (you need scons package to compile the game now)
    * And of course ./dunelegacy
I do not think actually it works with the pc version; they, in their website, say to get http://www.megaupload.com/?d=IBIVBXCD or
or super dune2, but that is not workign.

Where just I dumped the downloaded files ? in /dunelegacy
 
Old 09-21-2007, 02:51 PM   #4
oskar
Senior Member
 
Registered: Feb 2006
Location: Austria
Distribution: Ubuntu 12.10
Posts: 1,142

Rep: Reputation: 49
Quote:
Originally Posted by frenchn00b View Post
I do not think actually it works with the pc version; they, in their website, say to get http://www.megaupload.com/?d=IBIVBXCD or
or super dune2, but that is not workign.

Where just I dumped the downloaded files ? in /dunelegacy
On that site it sais "Please enter [code] here:_ " You have to enter the code and click download. They do that in order to protect themselves from remote linking. Then you have to wait a few seconds until you get the download link. (They do that just to piss you off) -Click "Free Download"
The abandonia link I posted will also contain the data files, but with the game executables for dos.
Once you donloaded the files you just do what it sais in the howto. You copy them to the dunelegacy folder.
If you downloaded it through subversion with:

Code:
svn co https://dunelegacy.svn.sourceforge.net/svnroot/dunelegacy/trunk dunelegacy
That is the folder where the source code is. Or whatever folder you have put the source code in. Extract the data folder there.

install what you need to compile. On Ubunu there is a build-essential meta package
Code:
sudo apt-get install build-essential
I don't know if Debian has that too.
Then install the required libraries and tools:
Code:
sudo apt-get install libzzip-dev libsdl-ttf2.0-dev libsdl-mixer1.2-dev libsdl-net1.2-dev libsdl-image1.2-dev libsdl-gfx1.2-dev libboost-dev libboost-signals-dev libboost-filesystem-dev scons
Then type "scons" - still in the dunelegacy folder. If it compiles without errors, you can start dune by typing ./dunelegacy in the dunelegacy folder.

If you are still not sure what to do just use dosbox.



Also - please use quote tags to quote, and not the code tags. This is distracting. And don't quote huge sections without telling us why. And close the quote (in the case above code tags) if you want to comment on the code... quote... whatever.
Your last post is very hard to understand the way it is formatted.





-----------------
I just installed it while writing this. No problems at all.

Last edited by oskar; 09-21-2007 at 03:13 PM.
 
Old 09-21-2007, 03:53 PM   #5
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,561

Original Poster
Rep: Reputation: 57
apt-get done,
downloaded, ok
copied into the folder (data guy folder one),

Code:
 ls
ChangeLog  config.py.example  COPYING  data  doxygen.conf  dunelegacy-data.zip  include  README  SConstruct  src
Code:
sudo su
scons

bla

s/StarPortClass.o src/structures/IXClass.o src/structures/RefineryClass.o src/structures/PalaceClass.o src/structures/BuilderClass.o src/structures/BarracksClass.o src/structures/WindTrapClass.o src/structures/RadarClass.o src/structures/RocketTurretClass.o src/structures/LightFactoryClass.o src/structures/GunTurretClass.o src/structures/WallClass.o src/structures/StructureClass.o src/structures/RepairYardClass.o src/structures/HeavyFactoryClass.o src/structures/SiloClass.o src/structures/WORClass.o src/units/GroundUnit.o src/units/SiegeTankClass.o src/units/FremenClass.o src/units/DevastatorClass.o src/units/DeviatorClass.o src/units/SardaukarClass.o src/units/TrikeClass.o src/units/UnitClass.o src/units/Carryall.o src/units/MCVClass.o src/units/AirUnit.o src/units/Ornithopter.o src/units/TrackedUnit.o src/units/SonicTankClass.o src/units/QuadClass.o src/units/InfantryClass.o src/units/TrooperClass.o src/units/Frigate.o src/units/TankClass.o src/units/Saboteur.o src/units/LauncherClass.o src/units/HarvesterClass.o src/units/SandWorm.o src/units/RaiderClass.o src/AiPlayerClass.o src/DataCache.o src/houses.o src/MapClass.o src/Music.o src/Settings.o src/BuildItemClass.o src/editor.o src/Link.o src/MapGenerator.o src/Net.o src/SoundPlayerClass.o src/BulletClass.o src/Game.o src/LinkedList.o src/Mentat.o src/ObjectClass.o src/TerrainClass.o src/CommViewClass.o src/GameNet.o src/ListIterator.o src/Menu.o src/PlayerClass.o src/ui.o src/globals.o src/listStuff.o src/mmath.o src/PriorityQ.o src/SDL_rwops_zzip.o -L/usr/lib -lSDL -lzzip -lz -lSDL -lSDL_mixer -lSDL_image -lSDL_net -lSDL_ttf -lboost_signals -lboost_filesystem
scons: done building targets.
su username

./dunelegacy

ok it loads, then,
multiplayer
create game

/
Code:
dunelegacy$ ./dunelegacy
ERROR: couldn't read config file.
initialising sound.....
allocated 16 channels.
loading data.....
loading fonts.....
starting main menu.......
starting sound.....
Could not open map file map.dlm.
ERROR: map format error.
Could not open map file map.dlm.
ERROR: map format error.
Could not open map file map.dlm.
ERROR: map format error.
Could not open map file map.dlm.
ERROR: map format error.

man, it sucks linux ! it always work for windows, and never for linux.

(to let you know, btw, you dont have multiplayer with dosbox and the original games, internet is not possible)

Last edited by frenchn00b; 09-21-2007 at 03:54 PM.
 
Old 09-21-2007, 04:11 PM   #6
oskar
Senior Member
 
Registered: Feb 2006
Location: Austria
Distribution: Ubuntu 12.10
Posts: 1,142

Rep: Reputation: 49
hmm... you shouldn't need to start it as root... you shouldn't even compile it as root.

--- but I get that too when I try to start a multiplayer game.

Last edited by oskar; 09-21-2007 at 04:17 PM.
 
Old 09-21-2007, 04:15 PM   #7
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,561

Original Poster
Rep: Reputation: 57
I did it:

the ls gives:

Code:
ChangeLog  config.py.example  COPYING  data  doxygen.conf  dunelegacy-data.zip  include  README  SConstruct  src

thanks for being patient
 
Old 09-21-2007, 04:48 PM   #8
oskar
Senior Member
 
Registered: Feb 2006
Location: Austria
Distribution: Ubuntu 12.10
Posts: 1,142

Rep: Reputation: 49
Yeah I saw that and edited the post, but you were faster.
 
Old 09-21-2007, 05:00 PM   #9
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,561

Original Poster
Rep: Reputation: 57
Quote:
Originally Posted by oskar View Post
Yeah I saw that and edited the post, but you were faster.
you wanna try a multiplayer, if we can play with linux ?
 
Old 09-21-2007, 05:06 PM   #10
oskar
Senior Member
 
Registered: Feb 2006
Location: Austria
Distribution: Ubuntu 12.10
Posts: 1,142

Rep: Reputation: 49
If you can figure it out, sure. But I suck at RTS games
 
Old 09-21-2007, 05:30 PM   #11
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,561

Original Poster
Rep: Reputation: 57
Quote:
Originally Posted by oskar View Post
If you can figure it out, sure. But I suck at RTS games
me too

the one i was good was broodwar, rather
but there is no open for linux.

i think svn isnt very active since we cannot play dune 2 multiplayer with linux.
pitty

I got the sound tracks, burnt it, and love it ! Such in advance westwood, they were.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Emperor: Battle for Dune? Synesthesia Linux - Games 1 12-16-2005 03:29 PM
Doom Legacy bungle_42 Linux - Games 3 06-25-2004 08:10 PM
Doom legacy mullet Linux - Games 3 10-18-2003 04:01 PM
Mplayer: The Legacy KePSuX Linux - Software 3 10-06-2003 02:33 AM
The Meaning of Dune carrja99 General 9 03-21-2003 08:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:52 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration