Richie's Branch

From DoonLunacy

Contents

What has been changed

This branch was forked from dunelegacy-0.93 IIRC. It's main goal is to restructure the game to increase it's code quality. This task is not finishd yet but there where several modifications. The biggest changes are:

  • All Game Data is now loaded out of the original Dune II PAK-Files (+ one additional LEGACY.PAK File). There is no longer a need to extract the data with an external program.
  • The Menu-Code has been rewritten.
  • The GUI-Code has been rewritten and extended.
  • The music is converted from the original Dune II *.ADL or *.XMI Files. These files are converted to WAV-Files. It is still possible to use other files as background music (Download high-quality mp3-files here)
  • The configuration is loaded from "Dune Legacy.ini"
  • The interface for the Structures and Units had been redesigned to seperate functionality of a Unit/Structure and it's interface
  • The SFX is loaded from PAK-Files and upsampled
  • The save games are now saved platform independent (endian-safe and 64-bit safe)
  • Save as many savegames as you like
  • The campaign works like in the original Dune II
  • Changed the unit/structure data to be like in the original
  • Unit/Structure data is loaded from a file
  • The whole game is now based on a single random number generator and thus reproducable
  • Replays are now possible
  • A lot of small graphical effects (Explosions, tracks on sand, dead infantry) where added
  • The game is very stable now
  • Many smaller bugfixes

Binaries for Dune Legacy 0.95 beta2 (Last Update: 05.02.2009)

Linux x86-64: dunelegacy-0.95b2-linux-x86-64.tar.gz (0,5 MB)

Linux x86-i386: dunelegacy-0.95b2-linux-x86-i386.tar.gz (0,5 MB)

Windows (32bit): DuneLegacy-0.95b2-win32.zip (1 MB)

Mac OS X (10.4 or higher PPC/Intel): DuneLegacy-0.95b2.dmg (2,4 MB)


You need the following files from the original Dune 2:

  • HARK.PAK
  • ATRE.PAK
  • ORDOS.PAK
  • ENGLISH.PAK
  • DUNE.PAK
  • SCENARIO.PAK
  • MENTAT.PAK
  • VOC.PAK
  • MERC.PAK
  • FINALE.PAK
  • INTRO.PAK
  • SOUND.PAK
  • GERMAN.PAK (for playing in german)

For Gentoo-Users there is an ebuild available.

Compiling the code

  • Download Source for Dune Legacy 0.95 beta2 (Last update: 5.2.2009)
  • Extract the tar.bz2-File
  • Make sure to have the following libraries installed
    • SDL
    • SDL_mixer
  • Go into the dunelegacy directory and type:
 autoreconf --install
 ./configure
 make
 sudo make install
  • Copy from the Dune II Folder all *.PAK files to "/usr/local/share/dunelegacy"
  • Switch into "/usr/local/bin" and run "./dunelegacy"
  • Troubleshooting: Apply the gcc-4.x patch and recompile if you have problems compiling the sources with gcc-4.x:
 cp dunelegacy-0.95b2-gcc4-patch.diff.gz dunelegacy
 cd dunelegacy
 gunzip dunelegacy-0.95b2-gcc4-patch.diff.gz
 patch -p1 < dunelegacy-0.95b2-gcc4-patch.diff

Development

The main goal is to reach a state where network games are fully synchronized. There are several smaller steps to get there:

  • Write an editor
  • Message/Chat system
  • All the menu screens needed for multiplayer
  • Implement a simple server
  • Make clients connect to server

Other things to do:

  • Convert the audio on the fly
  • Inform user if PAK-Files not present
  • Cutscenes

Some tools for viewing Dune2 Data: DuneTools Source Code

Personal tools
SDL powered