Dune Legacy


28 posts   Page 1 of 2   1, 2
by Forrrge » Mon Jun 24, 2013 9:23 pm
Here's some blurb from their website

Dune Legacy is an effort by a handful of developers to revitalize the first-ever real-time strategy game. The original game was the basis for the hugely successful Command and Conquer series, and the gameplay has been replicated an extended to a wide variety of storylines and series.


I see that they have an ARM version of the download http://sourceforge.net/apps/mediawiki/d ... =Downloads so wondered if anyone has tried to get this working ?
User avatar
Posts: 112
Joined: Fri Apr 27, 2012 6:07 am
Location: Gateshead, UK.
by rpdom » Tue Jun 25, 2013 5:22 am
I would advise against using a pre-built armhf package - unless it states that it is compatible with Raspbian (or any other OS built specifically for the armhf on the Pi).

Building from source should be ok, but will take some time on a Pi. Cross-compiling is an option too.

It's a pity I haven't still got my old Dune game files, otherwise I'd be tempted to give it a go :)
User avatar
Posts: 10463
Joined: Sun May 06, 2012 5:17 am
Location: Essex, UK
by mrpi64 » Tue Jun 25, 2013 7:26 am
Depends how fast the computer has to be, and if it is armhf.
I'm happy to help.
https://www.raspberrypi.org/forums/viewtopic.php?f=78&t=51794 - List of games that work on the Pi.
User avatar
Posts: 930
Joined: Sat Feb 16, 2013 5:13 pm
by Davespice » Tue Jun 25, 2013 11:30 am
I'll have a look into this. If it works okay then I may put it up on the Pi Store.
Does anyone know for certain if its classified as abandonware? If so there will be no problem with putting it up on the store.
User avatar
Raspberry Pi Foundation Employee & Forum Moderator
Raspberry Pi Foundation Employee & Forum Moderator
Posts: 1585
Joined: Fri Oct 14, 2011 8:06 pm
Location: London, United Kingdom
by Forrrge » Tue Jun 25, 2013 11:54 am
From searching about, yes its classed as abandonware. Its only the pak files that are required from the install. I tried out Dune Legacy on the PC last night and it worked well.

http://www.abandonia.com/en/games/36/Du ... nasty.html

and here

http://dune-ii.en.softonic.com/
User avatar
Posts: 112
Joined: Fri Apr 27, 2012 6:07 am
Location: Gateshead, UK.
by Davespice » Tue Jun 25, 2013 12:20 pm
This site also says satus: abandonware.
User avatar
Raspberry Pi Foundation Employee & Forum Moderator
Raspberry Pi Foundation Employee & Forum Moderator
Posts: 1585
Joined: Fri Oct 14, 2011 8:06 pm
Location: London, United Kingdom
by dan3008 » Wed Jun 26, 2013 8:42 am
Did anyone get this working? I want to play Dune again lol
dan3008 wrote:Pays your money, takes your choice
Posts: 1162
Joined: Wed Aug 15, 2012 1:05 pm
by DaveDriesen » Wed Jun 26, 2013 11:43 am
I've got a successful (manual) cross compile for raspbian at the moment.

Also building on an actual rev2 pi but this build has not completed yet.

Working on building a .deb package in the crosscompile environment in the meantime.

Dave Driesen
Linux dev and oldskool elite
User avatar
Posts: 112
Joined: Sun Mar 31, 2013 8:28 pm
Location: Top of the food chain
by DaveDriesen » Wed Jun 26, 2013 1:13 pm
Seems to work fine.. Please find the built debian package here, cross compiled in raspbian environment.

dunelegacy requires libsdl and libsdl-mixer1.2 -- let me know if you find additional dependencies.

Here's a shot of dunelegacy running on the pi:
dunelegacy.gif
dunelegacy.gif (61.7 KiB) Viewed 3739 times
I ran my tests in a vnc session to a 3G connected pi, so can't speak out on the actual speed of the application yet.

Dave Driesen
Linux dev and oldskool elite
User avatar
Posts: 112
Joined: Sun Mar 31, 2013 8:28 pm
Location: Top of the food chain
by dan3008 » Wed Jun 26, 2013 4:06 pm
WOW

Thankyou soooooooooooooo much. :D
dan3008 wrote:Pays your money, takes your choice
Posts: 1162
Joined: Wed Aug 15, 2012 1:05 pm
by DaveDriesen » Wed Jun 26, 2013 5:45 pm
Pleasure! Some additional notes..

Put your game data files in ~/.config/dunelegacy/data or the application will quietly exit.
(Discovered this using the --showlog option)

For best results on the pi, run the game directly from text console.
It will switch to fullscreen SDL graphics mode. BUT!
I had to disable double buffering to avoid screen flicker and lockup on the pi.

You can do this via the in-game options screen or by editing the game's ini:
Code: Select all
# ~/.config/dunelegacy/Dune Legacy.ini
Double Buffering = false
Lower resolutions work best, disable zooming and your game experience will be fine.
I'll see if all this can be predefined in the package.

Dave Driesen
Linux dev and oldskool elite
User avatar
Posts: 112
Joined: Sun Mar 31, 2013 8:28 pm
Location: Top of the food chain
by Forrrge » Thu Jun 27, 2013 7:10 am
Thanks for doing this Dave, hopefully find some time over the weekend to try it out :)
User avatar
Posts: 112
Joined: Fri Apr 27, 2012 6:07 am
Location: Gateshead, UK.
by DaveDriesen » Thu Jun 27, 2013 1:52 pm
Updated so that the default settings do not use double buffering on the pi.

This setting was hardcoded so there is a minor change in the source code compared to the base source.

I've rebuilt the raspbian package: dunelegacy_0.96.3_armhf.deb

Note that I'm only building the package, all the credit for the application goes to the dunelegacy team.

Dave Driesen
Linux dev and oldskool elite
User avatar
Posts: 112
Joined: Sun Mar 31, 2013 8:28 pm
Location: Top of the food chain
by Davespice » Tue Jul 02, 2013 9:54 am
Good work guys. I've also built a copy of this and have uploaded it to the Pi Store.
It is waiting for CAP approval at the moment but when approved it should show up under Games.
User avatar
Raspberry Pi Foundation Employee & Forum Moderator
Raspberry Pi Foundation Employee & Forum Moderator
Posts: 1585
Joined: Fri Oct 14, 2011 8:06 pm
Location: London, United Kingdom
by meltwater » Wed Jul 03, 2013 12:15 pm
That is great. I was playing around with DosBox and was trying C&C (failed unfortunately) did wonder about Dune though. I did find Cannon Fodder works rather nicely though...

This is even better than using Dos Box, plus the legacy tweaks make it that much better. Only played so far on PC, but will be sure to put it on the Pi (the "bad" graphics might even be ok on the analogue video out).
______________
http://www.themagpi.com/
A Magazine for Raspberry Pi Users
Read Online or Download for Free.

My new book: goo.gl/dmVtsc

Meltwater's Pi Hardware - pihardware.com

Like the MagPi? @TheMagP1 @TheMagPiTeam
User avatar
Posts: 1013
Joined: Tue Oct 18, 2011 11:38 am
by DaveDriesen » Wed Jul 03, 2013 1:20 pm
The graphics are actually pretty ok once you start playing. You'll acclimatize in no time.

The screenshot above just doesn't look like much due to the fog-of-war.

P.S. yes, C&C would be >> Dune

Dave Driesen
Linux dev and oldskool elite
User avatar
Posts: 112
Joined: Sun Mar 31, 2013 8:28 pm
Location: Top of the food chain
by meltwater » Fri Jul 05, 2013 8:13 am
I was using rpix86 which I think is based on NDS dosbox port.
Dune is still great though, and with the Legacy tweaks it stacks up rather well to C&C. Even the graphics aren't too far off, the original DOS C&C was still quite low res. Plus I didn't play Dune the first time around, so even better!
______________
http://www.themagpi.com/
A Magazine for Raspberry Pi Users
Read Online or Download for Free.

My new book: goo.gl/dmVtsc

Meltwater's Pi Hardware - pihardware.com

Like the MagPi? @TheMagP1 @TheMagPiTeam
User avatar
Posts: 1013
Joined: Tue Oct 18, 2011 11:38 am
by Davespice » Tue Aug 13, 2013 3:49 pm
Folks. Just to let you know this isn't going to be on the Pi Store any more.
This was because of the slightly unclear legal status of using the data files from the MS-DOS version of the game. My view is that this would technically be a distribution of a copyrighted work but since the game is 20 years old and is no longer being sold anywhere the copyright holder is not likely to enforce abandon-ware copyrights. Especially since it would be free, so please can we not have a flame war about abandon-ware legalities :)

However a front page blog post about it is planned for some time soon.

Currently we were only planning to host the file on my public drop box, but it would be a lot better if it was a torrent so I’ve created the file and am seeding it from a box at my house. It would be great if others could also seed this ready for when the blog post goes up.
User avatar
Raspberry Pi Foundation Employee & Forum Moderator
Raspberry Pi Foundation Employee & Forum Moderator
Posts: 1585
Joined: Fri Oct 14, 2011 8:06 pm
Location: London, United Kingdom
by DaveDriesen » Wed Aug 14, 2013 12:20 pm
The package doesn't contain the data files though -- well mine doesn't for sure, it is strictly an ARM compiled package of the dunelegacy source code.

Users must obtain their own data files and place them in ~/.config/dunelegacy/data

(But I see what you mean)

Dave Driesen
Linux dev and oldskool elite
User avatar
Posts: 112
Joined: Sun Mar 31, 2013 8:28 pm
Location: Top of the food chain
by meltwater » Fri Aug 16, 2013 9:14 am
Always a difficult issue, and best to side with caution with these things. I imagine a company would only pursue it if the party involved had money to extract as damages, otherwise it wouldn't be worth their effort (legit or not).

Dunelegacy has been around awhile it seems and I'm sure if the request was made to remove it, it would be. Shouldn't be a problem, but I can see why putting it in the PiStore isn't a good idea without official explicit permissions.
______________
http://www.themagpi.com/
A Magazine for Raspberry Pi Users
Read Online or Download for Free.

My new book: goo.gl/dmVtsc

Meltwater's Pi Hardware - pihardware.com

Like the MagPi? @TheMagP1 @TheMagPiTeam
User avatar
Posts: 1013
Joined: Tue Oct 18, 2011 11:38 am
by Davespice » Tue Nov 26, 2013 3:04 pm
Folks, we're finally up on the Pi Store;
http://store.raspberrypi.com/projects/dunelegacy

Although you must still supply the pak files from original Dune 2 yourself.
Either see earlier in this topic or Google is your friend :)
User avatar
Raspberry Pi Foundation Employee & Forum Moderator
Raspberry Pi Foundation Employee & Forum Moderator
Posts: 1585
Joined: Fri Oct 14, 2011 8:06 pm
Location: London, United Kingdom
by j0z0r » Tue Nov 26, 2013 4:28 pm
I'm gonna give this a try as soon as I get home. Thanks for the work that went into this. Just so I'm clear, those pak files are only necessary for Dune 2, correct?
Posts: 52
Joined: Fri Oct 28, 2011 5:46 pm
by Davespice » Tue Nov 26, 2013 5:31 pm
j0z0r wrote:Just so I'm clear, those pak files are only necessary for Dune 2, correct?

You need them to play Dune Legacy, which is an open source version of Dune 2. So without them you just get a screen of text telling you to go and get the pak files :) All the info you need to know is on the Dune Legacy store page.
User avatar
Raspberry Pi Foundation Employee & Forum Moderator
Raspberry Pi Foundation Employee & Forum Moderator
Posts: 1585
Joined: Fri Oct 14, 2011 8:06 pm
Location: London, United Kingdom
by frobro » Sat Jan 04, 2014 4:35 am
i downloaded this on pi stare and am a bit new to programing (why i bought the pi) and i have no idea where to get these PAKs!! its probibly a dumb question but i have no idea. can anyone tell me where to get these PAKs and where to put them? (along with anything else i need to do to launch the game)
Posts: 2
Joined: Mon Dec 30, 2013 5:05 pm
by KansasDrifter » Sun Jan 05, 2014 8:28 pm
I'm in the same boat as frobro but new to linux as well :-( I really wanna check this game out but don't know where to get the PAK's?
Posts: 1
Joined: Sun Jan 05, 2014 8:18 pm