DieHard Wolfers Forum Index DieHard Wolfers
A Wolfenstein 3d Fan Community


  Hosted by: MCS & Areyep.com - Designed by: BrotherTank

Original Yahoo Forum - Die Hard Archives

AReyeP HomepageAreyep Homepage DieHard Wolfenstein BunkerDieHard Wolfenstein Bunker Log inLog in RegisterRegister Banlist FAQFAQ Search ForumsSearch

  Username:    Password:      Remember me       

Demo Viewer?
Page 1 of 1
DieHard Wolfers Forum Index -> Wolfenstein 3d View Previous TopicRefresh this PageAdd Topic to your Browser FavoritesSearch ForumsPrint this TopicE-mail TopicGoto Page BottomView Next Topic
Post new topicReply to topic
Author Message
Majik Monkee
Pixel Master
Pixel Master


Joined: 23 Jun 2003
Last Visit: 01 Jul 2016

Topics: 80
Posts: 1624
Location: Nebraska
usa.gif

PostPosted: Mon Nov 22, 2004 3:37 pm
   Subject: Demo Viewer?
   [ IP : Logged ]
Reply with quote
Goto Top of PostsGoto Next PostGoto Bottom of Posts

Hey, folks...got to make this quick...nothing is more annoying (well...few things, that is) than recording a demo for a mod you're working on, then taking the time to import it into the game, only to see that something about it doesn't play quite the same as when you recorded it, or that it just looks lame altogether. Are there any programs out there that can view Wolfenstein demos without having to put them into the Wolf engine and going through all the trouble that involves? I'm thinking probably not, since it would require the code that the game was built around, but how cool would it be if there was an editor type program that used the exe and files from the game to instantly "play" any demos that you recorded right after you did them? I haven't had much sleep today, and I might just be rambling here, but it's a thought I had...I'm outta' here... Cheesy Grin

_________________
MonkeeSims!! - http://monkeesims.blogspot.com/
Switchboard - http://www.angelfire.com/droid/majikmonkee/SB.html
Chris
DieHard Wolfer
DieHard Wolfer


Joined: 11 Mar 2003
Last Visit: 30 Oct 2017

Topics: 55
Posts: 2115
Location: Canada
blank.gif

PostPosted: Mon Nov 22, 2004 4:04 pm
   Subject: Re: Demo Viewer?
   [ IP : Logged ]
Reply with quote
Goto Top of PostsGoto Previous PostGoto Next PostGoto Bottom of Posts

It wouldn't be hard to make an extra exe on the side that automatically skips right to the demo screen; prompting you which demo number to play... using the external demo files you've recorded (such as demo0.wl6).

Not sure if you noticed, but when you're recording a demo, there will be a black screen when you finish recording. It's supposed to say something like "Demo Number (0-9)", but the text is invisable. If you press a number (let's say 3), and then Enter, it will save that file as demo3.wl6 instead on the black screen. Using that, in combination with a similar one to load them, would make it pretty easy to have demo recording and playback selection in one.

Just some thoughts for any coder that's looking for a little more experience and/or fun. Smile
MCS
Site Administrator
<B>Site Administrator</B>


Joined: 01 Mar 2003
Last Visit: 15 Jul 2013

Topics: 20
Posts: 243
Location: Amsterdam, the Netherlands
netherlands.gif

PostPosted: Tue Nov 23, 2004 12:23 am
   Subject: Re: Demo Viewer?
   [ IP : Logged ]
Reply with quote
Goto Top of PostsGoto Previous PostGoto Bottom of Posts

Ah, the infamous black screen... here's a way to make it work like it should (add the lines in red)

::: CODE :::
/*
==================
=
= FinishDemoRecord
=
==================
*/

char   demoname[13] = "DEMO?.";
int   tempcolor;

void FinishDemoRecord (void)
{
   long   length,level;

   demorecord = false;

   length = demoptr - (char far *)demobuffer;

   demoptr = ((char far *)demobuffer)+1;
   *(unsigned far *)demoptr = length;

   VW_FadeIn ();      // ID forgot this :-)
   tempcolor = backcolor;
   backcolor = 24;
   
   CenterWindow(24,3);
   PrintY+=6;
   US_Print(" Demo number (0-9):");
   VW_UpdateScreen();

   if (US_LineInput (px,py,tmp,NULL,true,2,0))
   {
      level = atoi (tmp);
      if (level>=0 && level<=9)
      {
         demoname[4] = '0'+level;
         CA_WriteFile (demoname,(void far *)demobuffer,length);
      }
   }

   MM_FreePtr (&demobuffer);
   backcolor = tempcolor;
}


At least you should now be able to see what you're doing Smile

_________________
-= Fortune awaits those who search =-
Display posts from previous:   
Post new topicReply to topic Time synchronized with the forum server time
DieHard Wolfers Forum Index -> Wolfenstein 3d View Previous TopicRefresh this PageAdd Topic to your Browser FavoritesSearch ForumsPrint this TopicE-mail TopicGoto Page TopView Next Topic
Page 1 of 1
Jump to:  

Related topics
 Topics   Replies   Views   Last Post 
No new posts Doctor Wolfenstein!
Author: AReyeP
6 3369 Thu Feb 16, 2006 6:13 pm
Anonymous View latest post
No new posts Wolfenstein Plus
Author: Zach
56 9128 Sun May 01, 2005 8:23 am
Blade Nightflame View latest post
No new posts The Wolfenstein Release/Notes Chart
Author: experiencedgamer
4 2688 Tue Jun 22, 2004 10:42 am
experiencedgamer View latest post
No new posts Ideas for the "Wolfenstein" section
Author: Chris
12 3626 Wed Feb 04, 2004 5:17 pm
Zach View latest post
No new posts The Game That Started It All...Wolfenstein 3D
Author: Guest
23 558 Sat Nov 29, 2003 8:34 am
Hair Machine View latest post
 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
   You cannot delete your posts in this forum
You cannot vote in polls in this forum


Copyright ©2003-2008 DieHard Wolfers
A Modified subBunker Theme by BrotherTank
Powered by phpBB © 2001, 2005 phpBB Group