Announcement: Be excellent to each other.


Caravel Forum : Caravel Boards : Development : DROD demo testing system (DROD demo testing system problems)
New Topic New Poll Post Reply
Poster Message
patmo98
Level: Delver
Rank Points: 39
Registered: 03-14-2003
IP: Logged
icon DROD demo testing system (+1)  
I am interested in creating a automated demo tester. This would allow you to test if a change to drod would break any of KDD levels. Right now I have created a demo for every level in KDD, but I am running into two problems with DRODUtil(Note: I am not a C programmer.). First how do I find the demo id for a demo? Second is there any switch that would remove the need to press enter after each demo. Last I have exported all of the demos, but is there a quicker way to import them into a new set of .dat files?


I was going to do this in a batch script with the use of a few ported unix utilities. I was thinking of puting it in the format of something like this.

KDD: Level 1 1S1E: SUCCESS
KDD: Level 1 1S2E: SUCCESS
KDD: Level 1 Entrance: SUCCESS
KDD: Level 1 1S: SUCCESS
KDD: Level 1 1N2W: SUCCESS
KDD: Level 1 2S1N: SUCCESS
KDD: Level 1: SUCCESS
KDD: Level 2 1S1E: SUCCESS
KDD: Level 2 1S2E: SUCCESS
KDD: Level 2 Entrance: SUCCESS
KDD: Level 2 1S: FAILED
KDD: Level 2 1N2W: SUCCESS
KDD: Level 2 2S1N: SUCCESS
KDD: Level 2: FAILED
...
...
KDD:FAILED

At one time someone said this would be helpful, but if this is no longer helpful please tell me before I get any farther.

[Edited by patmo98 on 09-05-2004 at 08:01 PM GMT]
09-05-2004 at 03:41 PM
View Profile Send Private Message to User Send Email to User Show all user's posts Quote Reply
ErikH2000
Level: Legendary Smitemaster
Avatar
Rank Points: 2794
Registered: 02-04-2003
IP: Logged
icon Re: DROD demo testing system (0)  
patmo98 wrote:
I am interested in creating a automated demo tester. This would allow you to test if a change to drod would break any of KDD levels. Right now I have created a demo for every level in KDD, but I am running into two problems with DRODUtil(Note: I am not a C programmer.). First how do I find the demo id for a demo? Second is there any switch that would remove the need to press enter after each demo. Last I have exported all of the demos, but is there a quicker way to import them into a new set of .dat files?
You're going to need to do some programming to solve these two problems, I'm afraid. It isn't a lot of programming, but it's pretty much unavoidable.

Problem 1--there is a class called CDbHold. I remember right it has a Demos member that can be used to enumerate demos and demo IDs. This has to be done with C++ coding.

Problem 2--there's some code that asks for the user to press a key that would need to be commented out and then recompile DRODUtil.

If you want to get into the code to solve this, I would definitely try to help you. I understand that this wasn't your intention to begin with.

At one time someone said this would be helpful, but if this is no longer helpful please tell me before I get any farther.

My feeling is that, yes, it would be quite helpful but is not high enough on anyone's priority list right at the moment because of pre-beta work we're doing. However, if you are going to invest time in learning how to build DROD and make changes to it, then that's fantastic, and I'll back you up with as much help as I can give.

-Erik

____________________________
The Godkiller - Chapter 1 available now on Steam. It's a DROD-like puzzle adventure game.
dev journals | twitch stream | youtube archive (NSFW)
09-06-2004 at 07:30 AM
View Profile Send Email to User Show all user's posts This architect's holds Quote Reply
New Topic New Poll Post Reply
Caravel Forum : Caravel Boards : Development : DROD demo testing system (DROD demo testing system problems)
Surf To:


Forum Rules:
Can I post a new topic? No
Can I reply? No
Can I read? Yes
HTML Enabled? No
UBBC Enabled? Yes
Words Filter Enable? No

Contact Us | CaravelGames.com

Powered by: tForum tForumHacks Edition b0.98.8
Originally created by Toan Huynh (Copyright © 2000)
Enhanced by the tForumHacks team and the Caravel team.