Pages: (21) [1] 2 3 ... Last » ( Go to first unread post )

 New DK executable
Mefistotelis
Posted: Jun 10 2008, 06:01 PM


Dragon
*

Group: Creatures
Posts: 819
Member No.: 274
Joined: 24-March 07



I was just able to create a DLL file from Dungeon Keeper EXE!

This means we may rewrite DK code function by function, and we're able to play the new version even if not everything is rewritten!

Here is first release of the DLL and EXE file which uses it to run DK:
(link outdated; see keeper.lubie.org for new releases)

As for now, it is just a standard Dungeon Keeper Gold, but soon I will make some modifications.


--------------------
user posted image
Top
DarkMisstress
Posted: Jun 10 2008, 07:09 PM


Orc
*

Group: Creatures
Posts: 81
Member No.: 754
Joined: 11-February 08



How flexible is it? & What sort of stuff can be modified?

Thanks.


--------------------
*Hell Hath No Fury Like A Dark Mistress Scorned*

* You Leave Me Entralled By Your Deceptive Nature...*
Top
Mefistotelis
Posted: Jun 10 2008, 07:24 PM


Dragon
*

Group: Creatures
Posts: 819
Member No.: 274
Joined: 24-March 07



QUOTE (DarkMisstress @ Jun 10 2008, 07:09 PM)
How flexible is it? & What sort of stuff can be modified?

As for now - nothing is rewritten, so nothing can be modified.

I will start with rewriting the main() function. This will allow to change command line parameters, and will open the way for rewriting other functions.


--------------------
user posted image
Top
DragonsLover
Posted: Jun 10 2008, 08:08 PM


Horned Reaper
*

Group: Dungeon Keepers
Posts: 1,276
Member No.: 330
Joined: 12-June 07



Excellent, Mefisto! icon_biggrin.gif Great news!


--------------------
I like dragons! They're the center of my life! I'll never forget them...

user posted image

Click here to visit my dragons and help them grow!
Top
psycix
Posted: Jun 10 2008, 08:59 PM


Dragon
*

Group: Creatures
Posts: 791
Member No.: 779
Joined: 21-February 08



AWESOME!


What doors does this open?

Would it also help with NBK because we now can look at the code and see how stuff is programmed?


--------------------
DK1 Script generator status:
V1.3 is available.
PM me for the file. It is no longer online.
Last update: 20-07-08
Project is on hold for a few months as I have other things to do.
Top
Mefistotelis
Posted: Jun 10 2008, 09:29 PM


Dragon
*

Group: Creatures
Posts: 819
Member No.: 274
Joined: 24-March 07



QUOTE (psycix @ Jun 10 2008, 08:59 PM)
What doors does this open?

Would it also help with NBK because we now can look at the code and see how stuff is programmed?

NBK will be ready only when finished - and my KeeperFX can be used even now, and if I will only rewrite a single function, I can still make it working, as all original Bullfrog functions are inside the DLL which I can use.

I don't think this will help in NBK, but I can't be sure, as NBK it is not open-source project so I don't know how it's written (I've seen a message that it's open somewhere, but that's a lie).



--------------------
user posted image
Top
Synesthesia
Posted: Jun 10 2008, 10:38 PM


Warlock
*

Group: NBK Team
Posts: 517
Member No.: 893
Joined: 7-April 08



Sounds interesting, I'd like to see a mod that lets creatures train to level 20 or more icon_twisted.gif


--------------------
user posted image
Top
IKSLM
Posted: Jun 11 2008, 09:49 AM


Mistress
*

Group: NBK Team
Posts: 580
Member No.: 19
Joined: 6-May 06



QUOTE (Mefistotelis @ Jun 10 2008, 09:29 PM)
... is not open-source project so I don't know how it's written (I've seen a message that it's open somewhere, but that's a lie).

well. the old engine (NBK) is freely available to download from svn server so it's not a lie. and the new engine (NBKE) will be available for downloading too.


oh, NBK engine has been available for download for at least a year!
Top
Mefistotelis
Posted: Jun 11 2008, 11:55 AM


Dragon
*

Group: Creatures
Posts: 819
Member No.: 274
Joined: 24-March 07



QUOTE (IKSLM @ Jun 11 2008, 09:49 AM)

well. the old engine (NBK) is freely available to download from svn server so it's not a lie. and the new engine (NBKE) will be available for downloading too.


oh, NBK engine has been available for download for at least a year!

Could you give me a link to the svn server? It's strange, but I can't find it on the project site, nor in google.

Definition of open-source published by Open Source Group, and definition of free software by FSF both mention that the source code should be freely available for everyone who "receives a copy of the software". Since I downloaded NBK demo, and I couldn't download the source code, I'm afraid the definition in not met.

You could make a subpage about SVN on the project site, to make sure everyone can get the source.


--------------------
user posted image
Top
danrhan
Posted: Jun 11 2008, 09:55 PM


Imp
*

Group: Creatures
Posts: 6
Member No.: 954
Joined: 29-April 08



Excellent Mefistotelis !!!
Top
Mefistotelis
Posted: Jun 11 2008, 11:39 PM


Dragon
*

Group: Creatures
Posts: 819
Member No.: 274
Joined: 24-March 07



Yeah, it required some skill in ASM and binary coding...

The biggest problem now is with classes - most of the code is written using just functions and global variables, but unfortunately there are classes too.

Uhh... if I only had type information in the debug data...

As for now I'm stuck with class TDDrawSdk. I think the only way to deal with it is to treat it as struct. I don't know its members; I only know it is derived from TDDrawBaseClass and has 405 bytes.


--------------------
user posted image
Top
PoetAndMadman
Posted: Jun 12 2008, 04:05 AM


Orc
*

Group: Creatures
Posts: 80
Member No.: 1,025
Joined: 2-June 08



Is it possible now to rewrite executable to run under OpenGl and higher resolutions?
Top
Mefistotelis
Posted: Jun 12 2008, 12:56 PM


Dragon
*

Group: Creatures
Posts: 819
Member No.: 274
Joined: 24-March 07



At some point it will be possible.

Now I'm making command line parameters.


--------------------
user posted image
Top
Drakim
Posted: Jun 14 2008, 06:38 PM


Imp
*

Group: Creatures
Posts: 6
Member No.: 1,019
Joined: 31-May 08



This is very impressive, and awesome, even if you have to code "blindfolded" ^^
Top
Mefistotelis
Posted: Jun 14 2008, 11:16 PM


Dragon
*

Group: Creatures
Posts: 819
Member No.: 274
Joined: 24-March 07



QUOTE (Drakim @ Jun 14 2008, 06:38 PM)
This is very impressive, and awesome, even if you have to code "blindfolded" ^^

I'm trying to use debug data from beta version of the game. There are still no type definitions, but at least functions and global variables are named.

I still have 10000 debug info entries to check, and I'm making approx. 500 entries per day, so it will take some time before the next release.

But within two weeks I should be able to release next version.


--------------------
user posted image
Top
0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)
0 Members:


Pages: (21) [1] 2 3 ... Last »



Hosted for free by InvisionFree (Terms of Use: Updated 7/7/05) | Powered by Invision Power Board v1.3 Final © 2003 IPS, Inc.
Page creation time: 0.1495 seconds | Archive
Skin Clockwork by Nephos of the IFSZ