SDK-TOOL v0.01 beta
====================

Send bug-reports to descent1@gmx.net.

1. Installation
2. Information to functions
3. Some words

1. Installation
===============

You'll have to unpack the zip-file with the following command:

unzip sdk-tool_v0.01_alpha.zip

then change into the created directory:

cd sdk-tool_v0.01_alpha

Now just run the following command:

make

If you get the following message, don't worry, you are just running an older gcc than 4.1! Just ignore this warning.

In file included from /usr/include/sys/types.h:270,
                 from /usr/include/stdlib.h:438,
                 from sdk-tool.c:20:
/usr/include/bits/pthreadtypes.h:69: warning: unnamed struct/union that defines no instances

Make sure, that you got a file named mods.txt. It'll be empty,
Now you can run it with: ./sdk-tool

NOTE: If you cannot compile it (maybe, you might not have gcc), use the binary. It should work on 32bit-systems.

Make sure, that the created directory is somewehere in your home-path!


2. Information for functions
============================

When you start sdk-tool, you get the following message:

Do you have SDK and gcc-2.8.1 already installed? You need gcc-2.8.1 to compile these mods!
(at your first start, you should type n) (y/n)

If you type 'n' (you will have to install gcc-2.8.1 to compile your mods) the
program will ask you for the installation-path for the d3sdk.

NOTE: You will have to download the sdk from my mirror, because it has some
bugfixes!

Now you can choose between two mirrors. It will download and unpack
automatically. 
After that, it will ask you, if you have a rpm- or deb-based system. Type 'd'
for deb, type 'r' for rpm.
It will downgrade your gcc and remove g++ (you can update and install both
everytime).

Now you will enter the menu. Here you can choose 7 functions:

1. Show available sourcecodes
2. Compile mod...
3. Install new source...
4. Compile dallas script...
5. Update sdk-tool...
6. Help
7. Quit

1st function:
============

This function will show you all available source-codes. You can just add some
mods, if you put a directory (including source-code) into your sdkpath/src.

2nd function:
============

Compiling mods: You have to use gcc-2.8.1 for this function. If you have NOT
installed this version, the program will abort. 

Now just choose one of the mods (you can get a list with the first function) and
press enter.

If you get some warnings, ignore them, if you get some errors, send an email to
descent1@gmx.net.

You can find the compiled so-file in yousdk/src/yourmod/Debug/Anarchy.so.
Don't worry, you can rename this file to (for example entropy.so). The name of
the so-file is not important.

Next step (not implemented yet) is to put the so-file in a d3m-file. Now you've
compiled your mod!

3rd function: (not implemented yet!)
============

This function 'will' download some sources and install them.
Wait for the realease 0.02!

4th function
============

What is a dallas script?

A dallas scipt is needed to create a so-file, that has special functions for levels.

NOTE: compiling will just work, if you downloaded my sdk, because it has a bash-script in
      the bin-directory!

After compiling, you just have to put the so-file into a mn3-missionfile! Done.

INFO: automatically packing will be implemented in version 0.02.

5th function:
=============

The update will download a file named update.txt. 
It contains a version-string. If the string is not the same as the defined in your version, it downloads a newer version.

NOTE: You need to restart sdk-tool to use the updatet version!

6th function:
============

No help for help ;-)

7th function:
============

Quite easy: it'll just quit sdk-tool.


3. some words
=============

NOTE: You are allowed to change this program. But i don't think, you will get
compiled this program on windows. Don't even try it!

You are welcome for new ideas and bug-reports: descent1@gmx.net

You also can get support at: http://dcent.110mb.com/forum  (choose the forum
"sdk-tool")


That's it! Have a lot of fun!


		sdk-tool by Philipp Lorenz aka DIIIA-D.Cent, 30th of March 2007
