stefanhendriks

D2TM - Help develop! Get the source. (SVN)

91 posts in this topic

Hi, I downloaded the source, but I'd like to know, what version is it meaning is it functional or not yet functional?

0

Share this post


Link to post
Share on other sites

I'll quote myself ;-)

Actually they are showstopper issues. To be concrete; there was a rewrite in progress, but half-way it stopped. Therefor the code can compile, but functionality is not brought back. I suggest you try to grab the source of an older revision.

But, if you are lucky i will get this up and running soon.

0

Share this post


Link to post
Share on other sites

Where can i get shai hulud game engine tutorial ? I'm big fan of dune :).

0

Share this post


Link to post
Share on other sites

grab svn, and grab the source. Play around with it i'd say ;-)

0

Share this post


Link to post
Share on other sites

I'm trying to compile D2TM by the book/manual. Everything went all fine except running the game. It says it's missing MSVCR70D.dll. Where can I get the file and where do I have to put it?

Or put the environment into "Release" mode instead of "Debug" mode when compiling. That's what I did (though I probably have the non-D MSVCR70.dll installed).

0

Share this post


Link to post
Share on other sites

Yes that is what i do as well. Although it should work with Debug mode on as that would be handy for... debugging? ;-)

0

Share this post


Link to post
Share on other sites

To get that to work you either need to find the missing DLL... or recompile the 3rd party libraries such as Allegro.

0

Share this post


Link to post
Share on other sites

FYI. The latest revision is not compilable out of the box and also *works*. The previous ones where in the middle of refactoring and also adding a new abstraction layer (known as the MME , MultiMediaEngine layer). I have reverted back to revision 45+. Now it works as expected.

0

Share this post


Link to post
Share on other sites

Revision 72 - win ordos 1 and the map doesn't work. Possibly more widespread, haven't tested beyond that mission.

0

Share this post


Link to post
Share on other sites

You mean the "select your next conquest" map? will check into that asap.

0

Share this post


Link to post
Share on other sites

Yes - the three target territories and arrows don't appear, and you can't click on them.

0

Share this post


Link to post
Share on other sites

I was wondering, did you run the version from the bin directory? Perhaps i did not set it up right there (wrong files and such). I'll let you know as soon as i can check myself.

0

Share this post


Link to post
Share on other sites

Yes. Is there another one I should be using?

Edit: Yep, same thing happens with Harkonnen and Atreides.

0

Share this post


Link to post
Share on other sites

I found the bug, will check in fix asap. ;)

edit:

Crap did something wrong with subversion so my fix is gone. I know where it is, so will fix it again... grr

0

Share this post


Link to post
Share on other sites

I think enemy units you've deviated may count against you when doing a victory check. Is there a timer on the deviation?

0

Share this post


Link to post
Share on other sites

You mean, if you have deviated the final enemy unit to your side you will not win the mission?

Hmm, tough one.

Afaik it does not have a timer, once deviated, it is always that team it converted to.

0

Share this post


Link to post
Share on other sites

Hi,

I'm trying to follow the howto instructions to get D2TM compiling under linux, and I'm having a few issues.

The script to install the libraries doesn't work for me, so I've just been doing each step manually, which seems to mostly work for each of the 4 libraries, except for a couple of issues:

I needed to run "fixunix.sh" on almp3 before the patch would apply.

Each time I try to "make install" almp3, alfont, and raknet, I get "make: *** No rule to make target `install'.  Stop."

The patch doesn't apply to raknet, it complains "can't find file to patch at input line 58".

I decided to try compiling D2TM anyway, and get the following:

automake -a returns "configure.in:7: required file `./ltmain.sh' not found".

running ./configure results in "config.status: error: cannot find input file: Makefile.in"

and (no real surprise, with the makefile missing), make returns "make: *** No targets specified and no makefile found.  Stop."

If you have any suggestions as to what I should do in order to get the correct makefiles/install the required libraries, and compile D2TM, it would be really appreciated.

If the script ends up needing tweaking to make it work on newer distributions (I'm running Ubuntu Intrepid Ibex), then I'm happy to do that and submit it back for an updated version of the howto zip file.

Thanks,

Simon

0

Share this post


Link to post
Share on other sites

I don't have experience compiling D2TM for Linux.

However, some libraries do not not compile on Linux. In the source code of d2tm (see d2tmh.h) these libraries are disabled for Linux.

I thought there was a makefile delivered?

Also, i think you can remove Raknet , it is not used anyway.

0

Share this post


Link to post
Share on other sites

First I want to thank you for continuing the project, I love this game and a few modern touches can make it just perfect.

Managed to compile current revision under linux so I want to share my experience with anyone also wanting to use it.

Took me 4 hours but at least it should work from now on.

The following changes are required to the howto workflow:

-Installing libraries

*

Run fixunix.sh before almp3 patch

-Added following lines before applying patch

chmod +x ./almp3/fixunix.sh

./almp3/fixunix.sh

Removed make install for almp3 and alfont

Removed raknet because not required

Copied library and includes for almp3 and alfont into /usr/local/lib and /usr/local/include

*

-Creating makefile

*

Modify Makefile.am

Change -lalleg-4.2.0 -lalleg_unsharable into `allegro-config --libs` (with tick)

Remove -lraknet

Run libtoolize before other tools

Proceed as in howto

*

This way the project should start compiling

PS. Had some compile errors with current revision, should I post them on the project webpage (never done team development so these things are new to me).

0

Share this post


Link to post
Share on other sites

The latest SVN checkouts only compile using MinGW32. Visual Studio is not supported (atleast I have not compiled it recently with the VC compiler).

0

Share this post


Link to post
Share on other sites

Stefan, a user from a Russian Dune Forum wishes to create a Sega Genesis/Mega Drive Dune: The Battle for Arrakis remake using D2TM engine (as you might know, the Sega version uses larger, 32x32 tiles). He asks what tools are needed to replace graphics in D2TM, can you help? :)

0

Share this post


Link to post
Share on other sites

Stefan, a user from a Russian Dune Forum wishes to create a Sega Genesis/Mega Drive Dune: The Battle for Arrakis remake using D2TM engine (as you might know, the Sega version uses larger, 32x32 tiles). He asks what tools are needed to replace graphics in D2TM, can you help? :)

Thats easy. The tool is delivered with the sourcecode, under the name "grabber.exe". Its in the tools directory within the dune2themaker dir. (when you check out the source code).

One note though, you should only replace the gfx, not the ID's, or d2tm will not work out of the box (unless you recompile).

0

Share this post


Link to post
Share on other sites

Thanks for the info! :)

BTW, how'd you like the new forum design?

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now