Username:    Password:    Remember me     
 

Headers Compile V1.00
The Tutorial here is made by ini Deliverance

- SampleNativePackage -


//--------------------------------------------------------------------------------
// SETTING UP A RUNE FOLDER TO WORK WITH THE HEADERS
//--------------------------------------------------------------------------------

1) Install A 'Fresh' copy of Rune1.00 --- on your (C --- EX: C:\Rune


//--------------------------------------------------------------------------------
// INSTALLING THE HEADERS
//--------------------------------------------------------------------------------

UNZIP THE RunePubSrc100.zip

1) Extract all of the files and folders into the new Rune directory

NOTE: place all files & folders from the headers into 'Rune' the main directory!

A couple folders in the Rune directory will promt as a duplicate
Help = Say "No" when promtped to replace folder
System = Say "No" when promtped to replace folder


//--------------------------------------------------------------------------------
// SETTING UP THE Rune.ini FILE TO COMPILE WITH THE HEADERS
//--------------------------------------------------------------------------------

OPEN THE Rune.ini file (located in the C:\Rune\System directory)

1) locate the [Editor.EditorEngine] section and place this line with others similar:

EditPackages=SampleNativePackage

After you add the editor package line, save and close the Rune.ini file.

Why do you do this you might ask? Well in order to have all the classes able to be
located in compile through VB6, you have to add the package for the RuneEditorEngine
to comprehend the package.

//--------------------------------------------------------------------------------
// YOUR RUNE DIRECTORY SHOULD NOW BE READY TO COMPILE THROUGH DOS(command prompt)
//--------------------------------------------------------------------------------

go to:

Start\Run... click on 'Run'
type: cmd ( hit 'OK or enter' )

type: cd\ ( hit 'enter' )

type: Rune\System\ucc make -nobind command ( hit 'enter' )

this will compile the SampleNativePackage into the engine...
If you see:

C:\Documents and Settings\Slothious>cd\

C:\>rune\system\ucc make -nobind
--------------------Core--------------------
--------------------Engine--------------------
--------------------Editor--------------------
--------------------UWindow--------------------
--------------------Fire--------------------
--------------------IpDrv--------------------
--------------------UWeb--------------------
--------------------IpServer--------------------
--------------------Imports--------------------
--------------------UBrowser--------------------
--------------------RBrowser--------------------
--------------------RuneI--------------------
--------------------RMenu--------------------
--------------------RuneServerAdmin--------------------
--------------------SampleNativePackage--------------------
Analyzing...
Parsing SampleClass
Compiling SampleClass
The file '..\SampleNativePackage\Inc\SampleNativePackageClasses.h' needs to be u
pdated. Do you want to overwrite the existing version? (Y/N): y
Success - 0 error(s), 0 warnings

C:\>YOU ARE NOW READY TO OPEN THE PACKAGE IN VB6(IT SHOULD BE VB6-FOR COMPATIBILITY REASONS)


//--------------------------------------------------------------------------------
// SETTING UP VB-6 TO COMPILE THE SAMPLENATIVEPACKAGE TO THE RUNE ENGINE
//--------------------------------------------------------------------------------

Open C:\Rune\SampleNativePackage\

Locate the 'SampleNativePackage.dsp' <--- right click and choose Open with MSDEV(VB-6)
this will open the 'SampleNativePackage' Workspace

Set to 'File View'
Set to Build\Active Configuration to 'Release' <-- ( NOT debug )

Right click on 'SampleNativePackage files' - Choose 'Build (Selection Only)'




--------------------Configuration: SampleNativePackage - Win32 Release--------------------
Compiling...
SampleClass.cpp
Linking...
Creating library Release/SampleNativePackage.lib and object Release/SampleNativePackage.exp

SampleNativePackage.dll - 0 error(s), 0 warning(s)



IF YOU SEE THIS (WITH NO ERRORS) CONTINUE BELOW
IF YOU HAVE ERRORS, IT IS GENERALLY DUE TO THE LOCATION OF THE HEADER FILES OR
THE SAMPLENATIVEPACKAGE WAS NOT COMPILED CORRECTLY THROUGH THE UCC MAKE -NOBIND COMMAND


- save workspace

After you have a successful compile close everything and open the Editor, and you should
now see that the SampleNativePackage is now a visible part of the Engine/Editor.


NOW YOU ARE READY TO MAKE A NEW GAME MOD USING THIS PRINCIPAL...
CONTINUE TO NEXT TUTORIAL HERE:

Headers Tutorial
This site is powered by e107, which is released under the terms of the GNU GPL License.