Welcome Guest ( Log In | Register )


Important

The forums will be closing permanently the weekend of March 15th. Please see the notice in the announcements forum for details.

 
Half-life Engine Demo Support, Open, Edit *VirtualDub* your HL/CS demos
« Next Oldest | Next Newest » Track this topic | Email this topic | Print this topic
Mad_Martigan
Posted: Feb 10 2003, 08:38 PM


Unregistered









I love VirtualDub
I love Counter-Strike

Is it possible to open up Counter-Strike Demos with Virtual Dub?

Why not combine the best of two worlds and make the world of Game Demo Making a whole lot better by adding support for Opening / Exporting / Converting Counter-Strike Demos? (btw: This idea is not intended for just CS application...)


Please tell me if this has been done, if it can be done with a filter, a codec or something else. I'm not an expert on all of it, but it'd sure be cool.


Thanks much,

Mad_Martigan
 
  Top
phaeron
Posted: Feb 11 2003, 05:00 AM


Virtualdub Developer


Group: Administrator
Posts: 7773
Member No.: 61
Joined: 30-July 02



Video game demos are typically done by either recording input or inputs to a particular subsystem of the game, such as the physics or render engine. They do not include the graphic resources and for the most part rendering the demo requires the entire game engine itself.

As an example, the DOOM .lmp file format stores only your input movements, including weapon switch, fire, and mouse movements. The file is useless by itself and in fact if DOOM's collision detection, AI, or physics routines are changed, or any of the level or item data changes, the demo becomes totally unplayable as it quickly desyncs from reality and the players start firing into walls. On the other hand, this is what allowed two hours of four-player mayhem to fit in ~120K.
 
    Top
Mad_Martigan
Posted: Feb 11 2003, 10:19 AM


Unregistered









hmm, I think I understand what you're saying. Currently, the only way that I can watch the demos that I've made, is to open Counter-Strike and use the commands that come with the game. However:

Does this mean that you don't think it's possible?
or
It's just easier to use the game instead?

There is a program that attempts to make it easier to play / convert the demos, it's called GeekPlay. Sadly, I haven't figured it out yet. (Geekplay requires the game engine to be installed, which is what you're saying)

I also haven't figured out how to export at least the video to screen shots. Once it's to screenshots, I know that VirtualDub could handle and convert it to my hearts content. Maybe I need to do more research on demoing...? ohmy.gif

Thanks for your time biggrin.gif
 
  Top
muf
Posted: Feb 12 2003, 07:40 PM


MCF team member


Group: Moderators
Posts: 179
Member No.: 46
Joined: 21-July 02



I once had a Quake 2 demo editor, that allowed saving to AVI. Forgot the name.

FYI: HL engine == slightly changed Q2 engine.

--------------------
user posted image
 
     Top
BOB
Posted: Feb 12 2003, 09:56 PM


Unregistered









QUOTE (muf @ Feb 12 2003, 01:40 PM)
I once had a Quake 2 demo editor, that allowed saving to AVI. Forgot the name.

FYI: HL engine == slightly changed Q2 engine.

FYI: HL engine == heavilly modified Quake 1 engine, its a common misconception that its based upon the Quake 2 engine.

biggrin.gif

BOB

 
  Top
muf
Posted: Feb 13 2003, 11:17 AM


MCF team member


Group: Moderators
Posts: 179
Member No.: 46
Joined: 21-July 02



QUOTE (BOB @ Feb 12 2003, 03:56 PM)
QUOTE (muf @ Feb 12 2003, 01:40 PM)
I once had a Quake 2 demo editor, that allowed saving to AVI. Forgot the name.

FYI: HL engine == slightly changed Q2 engine.

FYI: HL engine == heavilly modified Quake 1 engine, its a common misconception that its based upon the Quake 2 engine.

biggrin.gif

BOB

FYI: Half-Life's engine is a hybrid between Quake 1, Quake 2 and valve's own code.
dry.gif
FYI: Quale 2's engine is a heavily modified Quake 1 engine.
sleep.gif

So in the end it's about the same as a slightly modified Quake 2 engine.



--------------------
user posted image
 
     Top
Neo Neko
Posted: Feb 14 2003, 09:32 AM


VirtualdubMod Alpha tester


Group: Vdubmod Alpha Testing Team
Posts: 474
Member No.: 24
Joined: 11-July 02



The best solution would be for someone to code a mod for the game that would allow allow pre-recorded demos to be rendered frame by frame to the HD. Having said that you would loose all your hardware's T&L effects as Directx would have to be bypassed. Not to say that the HL engine or Counterstrike setup has much T&L support. Yech! Do people still regularly play that? rolleyes.gif
 
     Top
BOB
Posted: Feb 14 2003, 07:07 PM


Unregistered









QUOTE (muf @ Feb 13 2003, 05:17 AM)
FYI: Half-Life's engine is a hybrid between Quake 1, Quake 2 and valve's own code.
dry.gif
FYI: Quale 2's engine is a heavily modified Quake 1 engine.
sleep.gif

So in the end it's about the same as a slightly modified Quake 2 engine.

Nope, its purely based on the Quake 1 source, not a single line of code from Quake 2 in it.
As it would have cost much, much more $$$ in Sierra licensing the code from ID.
Second, you only haveto look at the release dates of Quake 2 and Half-Life to see that no code from Quake 2 was used.
Yes, I know that Quake 2 was based upon the Quake 1 codebase.. just like Quake 3 was based upon that codebase.

Neo Neko, there is a codec around that allows you to capture whats on screen to a avi file... I can't remember its name at this time, but if you've ever seen video files of ingame footage from games.. chances are they used that or a similar screen capture codec.

BOB
 
  Top
BOB
Posted: Feb 14 2003, 07:08 PM


Unregistered









bwaha!

Found it, try http://www.fraps.com/ Neo Neko smile.gif

BOB
 
  Top
Mad_Martigan
Posted: Feb 22 2003, 03:02 PM


Unregistered









YAY!

Thanks for all the input... I downloaded fraps, now I just need to try it. biggrin.gif




Thanks much!


Mad_Martigan
 
  Top
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
9 replies since Feb 10 2003, 08:38 PM Track this topic | Email this topic | Print this topic

<< Back to VirtualDub Development Forum