Some handy scripts

All about making tracks for MX Simulator
mace-x
Posts: 2303
Joined: Wed Jan 02, 2008 5:53 am
Team: your sister´s fan!
Location: candy planet.

Re: Some handy scripts

Post 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?
Image
Massacre ftw!

the human stupidity and the universe are unlimited, and im not totally sure about the universe...
DJ99X
Posts: 15523
Joined: Tue Jan 15, 2008 11:36 am
Location: Land Down Under

Re: Some handy scripts

Post by DJ99X »

Thats a great feature. Thanks.
Kawasakis
Posts: 6583
Joined: Sun Mar 16, 2008 5:32 pm
Contact:

Re: Some handy scripts

Post by Kawasakis »

hey who knows whats wrong ?

Image
MXS Cup Winner
AX MX2 Champion

Image
Image
frederick
Posts: 2424
Joined: Fri Mar 21, 2008 5:05 pm
Team: Adept
Location: Sweden

Re: Some handy scripts

Post by frederick »

Idk if this is the problem but maby its cuz you got your stuff in :C instead of a separate folder
Image
mace-x
Posts: 2303
Joined: Wed Jan 02, 2008 5:53 am
Team: your sister´s fan!
Location: candy planet.

Re: Some handy scripts

Post 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
Image
Massacre ftw!

the human stupidity and the universe are unlimited, and im not totally sure about the universe...
Kawasakis
Posts: 6583
Joined: Sun Mar 16, 2008 5:32 pm
Contact:

Re: Some handy scripts

Post by Kawasakis »

i do what you say but....

Image
MXS Cup Winner
AX MX2 Champion

Image
Image
mxracer118
Posts: 1723
Joined: Fri May 16, 2008 8:58 pm

Re: Some handy scripts

Post 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?
Image
DJ99X wrote:Putting forum quotes in your signature is gay as fuck
jlv
Site Admin
Posts: 14930
Joined: Fri Nov 02, 2007 5:39 am
Team: No Frills Racing
Contact:

Re: Some handy scripts

Post 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
Kawasakis
Posts: 6583
Joined: Sun Mar 16, 2008 5:32 pm
Contact:

Re: Some handy scripts

Post by Kawasakis »

damn whats wrong... Syntax error... its writing ''File ''<stdin>'', line 1 and SyntaxError: invalid syntax..
MXS Cup Winner
AX MX2 Champion

Image
Image
jlv
Site Admin
Posts: 14930
Joined: Fri Nov 02, 2007 5:39 am
Team: No Frills Racing
Contact:

Re: Some handy scripts

Post 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.
Kawasakis
Posts: 6583
Joined: Sun Mar 16, 2008 5:32 pm
Contact:

Re: Some handy scripts

Post by Kawasakis »

ahh damn i dont understand anything at that..
MXS Cup Winner
AX MX2 Champion

Image
Image
DJ99X
Posts: 15523
Joined: Tue Jan 15, 2008 11:36 am
Location: Land Down Under

Re: Some handy scripts

Post 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
Attachments
demosplice-splicer.zip
(238 Bytes) Downloaded 173 times
Kawasakis
Posts: 6583
Joined: Sun Mar 16, 2008 5:32 pm
Contact:

Re: Some handy scripts

Post by Kawasakis »

i edited but when i trying to run it,its not open...
MXS Cup Winner
AX MX2 Champion

Image
Image
INVADEtheLINE
Posts: 552
Joined: Tue Mar 25, 2008 1:29 am
Team: Privateer
Location: New York, NY
Contact:

Re: Some handy scripts

Post 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.
Kawasakis
Posts: 6583
Joined: Sun Mar 16, 2008 5:32 pm
Contact:

Re: Some handy scripts

Post by Kawasakis »

yes i think.. :D
MXS Cup Winner
AX MX2 Champion

Image
Image
Post Reply