I actually had a similar request a loooooooooong time ago... I'm on linux,
tho. Using the tv_autorecord 1. Due to the security measurements I don't
allow to write to orangebox/tf directory, therefore it is a requirement to
write demos to a specific directory. I'm not sure what valve is cooking so
long, because it's just a simple cvar to record demos to a specific
directory. Anyways, I did a little research and found out that you can just
change (in hex mode) string "auto-" to "demo/" inside the engine file and
all the demos will be recorded to the orangebox/tf/demo directory. The
prefix "auto" will be dropped from the demo name, but that's not a big deal
compared to the benefit. You can use perl to change the string: perl -pi -e
's/auto-/demo\//' engine_i486.so however I'm not sure about the windows, but
it should be similar.

2010/3/13 Mark Gunnett <[email protected]>

> Of course there is. It was actually written in response to an ex-clan
> member
> of mine's request for a plugin that would auto-record when 2 or more
> players
> were in the server, and record to a specific directory. It also uses the
> auto-record format for naming the demos. We use it on all our public
> servers
> to record what goes on. What? Someone hacking... SourceTV demo FTW. But
> this
> is beside the point. A plugin has to be configured client side for a GSP.
> Well I mean the GSP can do it for the client, but then you have to worry
> about the client tweaking where the demo goes.
>
> On Sat, Mar 13, 2010 at 5:22 AM, Dominic Marciano
> <[email protected]>wrote:
>
> >
> > there's always a plugin....
> >
> > > Date: Sat, 13 Mar 2010 19:32:55 +0800
> > > From: [email protected]
> > > To: [email protected]
> > > Subject: Re: [hlds] Record to specific directory
> > >
> > > Only thing I can think of is seeing if the srcds console has some sort
> > > of scripting (as in, seta var <value>, inc var e.t.c).
> > >
> > > Otherwise I'm sure there's a server-side SM plugin that does what you
> > > want :)
> > >
> > > On 13/03/2010 5:21 PM, Christoffer Pedersen wrote:
> > > > Hi there
> > > >
> > > > Im trying to make my source tv recording to a specific directory
> > > > through a alias. I have succeeded with recording directly from the
> > > > command itself with:
> > > >
> > > > tv_record /path/to/demo/test.dem
> > > >
> > > > It worked, and the demo got recorded to the folder with the name
> > > > "test.dem". I want to use this as an alias, as my customers shouldn't
> > > > write all that stuff. I simply want them to write "record<filename>"
> > > > and make it record it to /path/to/demo/<filename>.dem . I have
> > > > therefore tried to make an alias which says:
> > > >
> > > > alias "record" "tv_record /path/to/demo/"
> > > >
> > > > I then tried to do "record test.dem", but it recorded to /path/to/
> > > > demo/.dem (without any filename). How can i make the alias include
> the
> > > > filename?
> > > >
> > > > Best regards
> > > >
> > > > Christoffer Pedersen
> > > > Adm. Direktør
> > > > ScanServers
> > > > [email protected]
> > > > www.scanservers.eu
> > > >
> > > > _______________________________________________
> > > > To unsubscribe, edit your list preferences, or view the list
> archives,
> > please visit:
> > > > http://list.valvesoftware.com/mailman/listinfo/hlds
> > > >
> > >
> > > _______________________________________________
> > > To unsubscribe, edit your list preferences, or view the list archives,
> > please visit:
> > > http://list.valvesoftware.com/mailman/listinfo/hlds
> >
> > _________________________________________________________________
> > Looking for a new home? With all the latest places, searching has never
> > been easier.
> > http://clk.atdmt.com/NMN/go/157631292/direct/01/
> > _______________________________________________
> > To unsubscribe, edit your list preferences, or view the list archives,
> > please visit:
> > http://list.valvesoftware.com/mailman/listinfo/hlds
> >
>
>
>
> --
> "All programmers are playwrights and all computers are lousy actors."
>  - Unknown
>
> "When I do good, I feel good; when I do bad, I feel bad, and that is my
> religion."
>  - Abraham Lincoln
>
> Mark J. Gunnett
> [EoE]SniperFodder{AL}
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list archives,
> please visit:
> http://list.valvesoftware.com/mailman/listinfo/hlds
>
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlds

Reply via email to