MoRgNer Posted May 17, 2004 Share Posted May 17, 2004 Hi!I'm currently working on a native Linux version of Dune II (C++ and libSDL), and I decided to try to use the original Dune II .pak resources, so I need to decode / unpack the files. Pak, Cps and Shp are already working, but I need to decode these .wsa and .icn files. Can anybody help me / provideinformation on the format of these files?(I plan to include TCP/IP multiplayer features)Already working features are:sound (at least partial),unit movement,gui,buildings,building of units (only quad yet),so you have something to look at already.If you want to help me developing the game or just take a look at it, please tell me!Thank you! :)Christian 1 Quote Link to comment Share on other sites More sharing options...
Falknhayn Posted May 17, 2004 Share Posted May 17, 2004 Cool, looking forward to seeing it in action! :) 1 Quote Link to comment Share on other sites More sharing options...
Gobalopper Posted May 17, 2004 Share Posted May 17, 2004 You could look at the Dune Legacy code as I believe TonyD wrote some stuff for reading those formats. And Olaf might be able to help as well. 1 Quote Link to comment Share on other sites More sharing options...
minniat Posted May 22, 2004 Share Posted May 22, 2004 All I can help ATM is providing this link to GIF animation based on one of .wsa animations:I can convert some few other animations from Intro but note that they are taken from Amiga version and can be lower quality. If you want actual .wsa format yes, you should refer to Olaf's XCC page and programs. 1 Quote Link to comment Share on other sites More sharing options...
MoRgNer Posted June 2, 2004 Author Share Posted June 2, 2004 There is a first working version!I had to re-write the entire code to make it more readable and easier to understand (it's fully object-oriented now, with event handling), so the first things that are working are the basic gui and some vehicles (quad and trike) with sound, path-finding, shooting, a nice animation when a vehicle burns, and an animation when a vehicle explodes. (Just like in original Dune II).The code compiles cleanly under Debian/Woody, required libraries are libSDL, libSDL_mixer, libSDL_gfx (to be downloaded separately), libSDL_ttf, and libttf-dev (debian packages).See README for all libraries!The source code is available at:http://www.morgner.de/linuxduneThere is also a pre-compiled statically linked version for i386 available.Bye,MoRgNer 1 Quote Link to comment Share on other sites More sharing options...
MoRgNer Posted June 12, 2004 Author Share Posted June 12, 2004 Hi!Does anyone know how to create a Dune II map from the seed (or field)value in scenario.pak / the scenario files?There are some seed2map programs at dune-related sites, but I didn't findany source code or hints on how the seed value is used to create the map.I need an algorithm or a description of how it's done.Thank you!-MoRgNer Quote Link to comment Share on other sites More sharing options...
stefanhendriks Posted June 14, 2004 Share Posted June 14, 2004 i replied to your new created topic, please do not try to double post ;) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.