wow, that´s prety kewl, can u add a chronometer in game to know what time is in the demo please?jlv wrote:I just added new feature to demosplice to extract a specific time range from a demo.
Here's an example:
demosplice.py --cut 2:00.5-2:10.0 full.mxdemo part.mxdemo
That would take the time range from 2:00.5 to 2:10.0 from full.mxdemo and save it in part.mxdemo.
Some handy scripts
-
- Posts: 2303
- Joined: Wed Jan 02, 2008 5:53 am
- Team: your sister´s fan!
- Location: candy planet.
Re: Some handy scripts
Massacre ftw!
the human stupidity and the universe are unlimited, and im not totally sure about the universe...
Re: Some handy scripts
Thats a great feature. Thanks.
Re: Some handy scripts
Idk if this is the problem but maby its cuz you got your stuff in :C instead of a separate folder
-
- Posts: 2303
- Joined: Wed Jan 02, 2008 5:53 am
- Team: your sister´s fan!
- Location: candy planet.
Re: Some handy scripts
in python25 create a folder called scripts and put all the stuff there, then type in cmd
cd C:\Python25\scripts
then try to splice
cd C:\Python25\scripts
then try to splice
Massacre ftw!
the human stupidity and the universe are unlimited, and im not totally sure about the universe...
-
- Posts: 1723
- Joined: Fri May 16, 2008 8:58 pm
Re: Some handy scripts
ok so im trying to .saf a crf 250 skin and i followed all the steps in the vid and what dj wrote and i still dont quite get how to do it
here is the location of my bike C:\Users\kyle\Desktop\bike
so what do i do from here?
here is the location of my bike C:\Users\kyle\Desktop\bike
so what do i do from here?
DJ99X wrote:Putting forum quotes in your signature is gay as fuck
Re: Some handy scripts
Kawasakis:
You don't run the script from the python prompt (>>>). You run it from the command prompt (C:\Documents and Settings\Arme>).
Including the prompt, it should look this:
C:\Documents and Settings\Arme>python C:\Python25\scripts\demosplice.py --sync demo1.mxdemo demo2.mxdemo exporteddemo.mxdemo
You don't run the script from the python prompt (>>>). You run it from the command prompt (C:\Documents and Settings\Arme>).
Including the prompt, it should look this:
C:\Documents and Settings\Arme>python C:\Python25\scripts\demosplice.py --sync demo1.mxdemo demo2.mxdemo exporteddemo.mxdemo
Re: Some handy scripts
damn whats wrong... Syntax error... its writing ''File ''<stdin>'', line 1 and SyntaxError: invalid syntax..
Re: Some handy scripts
You don't want the >>> prompt. If the prompt looks like that hit ctrl-d to exit python and return to the command prompt.
Re: Some handy scripts
Edit this file in Notepad++. Change the directory, and the demo names provided. Save it. Run it
If you still can't do it after everything in this thread, I think it may be time to give up
If you still can't do it after everything in this thread, I think it may be time to give up
- Attachments
-
- demosplice-splicer.zip
- (238 Bytes) Downloaded 173 times
Re: Some handy scripts
i edited but when i trying to run it,its not open...
-
- Posts: 552
- Joined: Tue Mar 25, 2008 1:29 am
- Team: Privateer
- Location: New York, NY
- Contact:
Re: Some handy scripts
Kawasakis, I think you have your answer.DJ wrote:If you still can't do it after everything in this thread, I think it may be time to give up