Package Details: dunelegacy 0.98.4-1

Git Clone URL: https://aur.archlinux.org/dunelegacy.git (read-only, click to copy)
Package Base: dunelegacy
Description: Updated clone of Westood Studios' Dune2
Upstream URL: http://dunelegacy.sourceforge.net
Licenses: GPL-2.0-or-later
Submitter: encelo
Maintainer: encelo
Last Packager: encelo
Votes: 28
Popularity: 0.000000
First Submitted: 2006-10-12 21:33 (UTC)
Last Updated: 2025-08-21 17:01 (UTC)

Latest Comments

1 2 3 Next › Last »

encelo commented on 2025-09-02 01:34 (UTC)

There is something with setting the data dir that I don't understand. I tried to set some variables in src/CMakeLists.txt so that include/config.h had the right data directory, but the po files still cannot be found. I'm missing something...

Mortymer commented on 2025-09-01 06:36 (UTC) (edited on 2025-09-01 06:41 (UTC) by Mortymer)

Yes I have same issue when I started. This is the log message:

dunelegacy --showlog

Starting Dune Legacy 0.98.4 on Linux

Loading localization from '/usr/bin//locale/English.en.po'...

English.en.po: Cannot find this file!

Warning: Language is changed to English!

Loading localization from '/usr/bin//locale/English.en.po'...

English.en.po: Cannot find this file!

Initializing game...

SDL runtime v2.32.56

SDL compile-time v2.32.56

SDL2_ttf runtime v2.24.0

SDL2_ttf compile-time v2.24.0

Initializing audio...

28 audio channels were allocated.

FileManager is loading PAK-Files...

MD5-Checksum Filename

dc6ec6d1d5e266559c7135374e8e2f90 /home/**/.config/dunelegacy/data/DUNE.PAK

20f91f6b67c20305936b79528a7b4ca5 /home/**/.config/dunelegacy/data/FINALE.PAK

c252298a01f8b309da13413863920242 /home/**/.config/dunelegacy/data/GFXHD.PAK

...

encelo commented on 2025-08-30 12:23 (UTC)

Hello @xafnir, I run in the same exact issue. I tried with vanilla files and with v1.07 files that included German and French PAKs, but to no success. I don't know why it happens, sorry.

xafnir commented on 2025-08-23 12:13 (UTC) (edited on 2025-08-23 12:16 (UTC) by xafnir)

Thanks for the 0.98.4 Update. After installing, I have a problem. When I start dunelegacy I receive this Message:

The following files are missing for language "LanguageFileExtendsions":
LanguagePakFiles
Language is changed to English!

After clicking OK, there is a second message with an io_error.

..FileManager.cpp:151: Cannot find 'TextH.LanguageFileExtendsion"

Do you know how to solve it?

encelo commented on 2025-08-21 17:02 (UTC) (edited on 2025-08-21 17:04 (UTC) by encelo)

I have updated the package to the latest 0.98.4 version. The old TextManager class patch is not needed anymore and it has been deleted, but I have added a new patch to fix compilation of network code.

The source code now builds with CMake instead of autotools.

Installation is still done manually, but icons installation has been fixed.

encelo commented on 2023-06-15 09:47 (UTC) (edited on 2023-06-15 09:48 (UTC) by encelo)

I have updated Dune Legacy to the latest available version.

The latest 0.97.0 source is not distributed as an archive, nor is it tagged on git. I am using the latest commit on the master branch. By looking at the config.h file we can see that this commit bumped the version string to 0.97.02.

The code does not need the SDL2_mixer patch anymore, but it needs another small patch to allow the TextManager class to compile. There were also some issues with autoconf and with make install and I had to switch to a manual installation process.

Apart from that, it should be working fine.

encelo commented on 2021-04-14 08:10 (UTC)

I have added a patch file to rename MIX_INIT_FLUIDSYNTH to MIX_INIT_MID and fix compilation with latest version of SDL2_mixer.

damonh commented on 2021-04-12 04:14 (UTC)

I get this error installing:

FileClasses/music/DirectoryPlayer.cpp: In constructor ‘DirectoryPlayer::DirectoryPlayer()’:
FileClasses/music/DirectoryPlayer.cpp:64:14: error: ‘MIX_INIT_FLUIDSYNTH’ was not declared in this scope
   64 |     Mix_Init(MIX_INIT_FLUIDSYNTH | MIX_INIT_FLAC | MIX_INIT_MP3 | MIX_INIT_OGG);
      |              ^~~~~~~~~~~~~~~~~~~
make[1]: *** [Makefile:1423: FileClasses/music/DirectoryPlayer.o] Error 1
make[1]: *** Waiting for unfinished jobs....
FileClasses/music/XMIPlayer.cpp: In constructor ‘XMIPlayer::XMIPlayer()’:
FileClasses/music/XMIPlayer.cpp:35:18: error: ‘MIX_INIT_FLUIDSYNTH’ was not declared in this scope
   35 |     if((Mix_Init(MIX_INIT_FLUIDSYNTH) & MIX_INIT_FLUIDSYNTH) == 0) {
      |                  ^~~~~~~~~~~~~~~~~~~
make[1]: *** [Makefile:1423: FileClasses/music/XMIPlayer.o] Error 1
MapEditor/MapEditorOperation.cpp: In member function ‘virtual std::shared_ptr<MapEditorOperation> MapEditorChangeChoam::perform(MapEditor*)’:
MapEditor/MapEditorOperation.cpp:265:46: warning: ‘?:’ using integer constants in boolean context [-Wint-in-bool-context]
  265 |     bool oldAmount = choam.count(itemID) > 0 ? choam[itemID] : -1;
      |                      ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
make[1]: Leaving directory '/home/mlopez/.cache/yay/dunelegacy/src/dunelegacy-0.96.4/src'
make: *** [Makefile:450: all-recursive] Error 1
==> ERROR: A failure occurred in build().
    Aborting...
error making: dunelegacy

jmazon commented on 2018-07-09 11:31 (UTC) (edited on 2018-07-09 11:32 (UTC) by jmazon)

I've had to patch the source a bit to make it compile with whatever sdl2_mixer my system had.

prepare() {
  cd $srcdir/$pkgname-$pkgver
  sed -e 's/MIX_INIT_FLUIDSYNTH/MIX_INIT_MID/g'  \
    -i src/FileClasses/music/DirectoryPlayer.cpp \
    -i src/FileClasses/music/XMIPlayer.cpp
}

Seems to date back to this: http://hg.libsdl.org/SDL_mixer/diff/92882ef2ab81/SDL_mixer.h

(17 Oct 2017, http://hg.libsdl.org/SDL_mixer/rev/92882ef2ab81)