Tutorial: Getting the source

From DeleDWiki

Jump to: navigation, search

This Tutorial is for developers only who want to get straight into the Code and shows how do Download the DeleD Source, Build it and submit Patches.

Contents

Software Requirements

SVN Client

You need a Subversion Client, there are a few out there but the majority works with Tortoise SVN, go to the Site and download the latest release. You may need to restart your machine before Tortoise SVN really works.

Delphi Compiler

Following Delphi Compiler are tested: Delphi 6, Delphi 7, Delphi 2005, Delphi 2006, Turbo Explorer Edition and Delphi 2007. Every other Version is untested and may require a lot of work to get it running (Kylix).

SourceForge Account

Not a real Software requirement, you need an SourceForge Account to submit Patches.

Getting the Source

First, it is a good idea to create a basic folder structure. I am using f:\development\deled_ce\. Create such a folder first. Then right-click on the Folder and choose the Item SVN Checkout.... We are using following SVN Repository: https://deled.svn.sourceforge.net/svnroot/deled/trunk


And that's it, click OK and let SVN download the Codebase for you.


Running the Source

Before we run the Source we need to have a proper DeleD CE Version installed and at least have it executed once. Go to your DeleD CE installation directory and copy the deled.ini to the Executable directory in the Codebase. For example: f:\development\deled_ce\Executable\. Without this File DeleD will complain that Texture files are missing.

Open up the deled.dpr Project File. And compile & run it (F9). If you have any errors on screen you need to re-read the part above part or consult the community in our Development Forums


Creating a Patch

tbc.


Submitting the Patch

tbc.

Conclusion

tbc.

Personal tools