Page 3 of 7
Re: Some handy scripts
Posted: Tue Sep 16, 2008 4:52 am
by mace-x
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.
wow, that´s prety kewl, can u add a chronometer in game to know what time is in the demo please?
Re: Some handy scripts
Posted: Tue Sep 16, 2008 6:36 am
by DJ99X
Thats a great feature. Thanks.
Re: Some handy scripts
Posted: Tue Sep 16, 2008 3:37 pm
by Kawasakis
hey who knows whats wrong ?
![Image](http://www.ipix.lt/images/29274849.jpg)
Re: Some handy scripts
Posted: Tue Sep 16, 2008 4:29 pm
by frederick
Idk if this is the problem but maby its cuz you got your stuff in :C instead of a separate folder
Re: Some handy scripts
Posted: Tue Sep 16, 2008 4:36 pm
by mace-x
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
Re: Some handy scripts
Posted: Tue Sep 16, 2008 8:02 pm
by Kawasakis
i do what you say but....
![Image](http://www.ipix.lt/images/26405589.jpg)
Re: Some handy scripts
Posted: Tue Sep 16, 2008 8:40 pm
by mxracer118
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?
Re: Some handy scripts
Posted: Tue Sep 16, 2008 10:37 pm
by jlv
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
Re: Some handy scripts
Posted: Wed Sep 17, 2008 12:52 pm
by Kawasakis
damn whats wrong... Syntax error... its writing ''File ''<stdin>'', line 1 and SyntaxError: invalid syntax..
Re: Some handy scripts
Posted: Wed Sep 17, 2008 10:00 pm
by jlv
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
Posted: Thu Sep 18, 2008 11:39 am
by Kawasakis
ahh damn i dont understand anything at that..
Re: Some handy scripts
Posted: Thu Sep 18, 2008 11:58 am
by DJ99X
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
Re: Some handy scripts
Posted: Thu Sep 18, 2008 12:46 pm
by Kawasakis
i edited but when i trying to run it,its not open...
Re: Some handy scripts
Posted: Thu Sep 18, 2008 5:48 pm
by INVADEtheLINE
DJ wrote:If you still can't do it after everything in this thread, I think it may be time to give up
Kawasakis, I think you have your answer.
Re: Some handy scripts
Posted: Thu Sep 18, 2008 6:12 pm
by Kawasakis
yes i think..
![Very Happy :D](./images/smilies/icon_biggrin.gif)