Page 4 of 7

Re: Some handy scripts

Posted: Fri Nov 21, 2008 3:48 am
by jlv
The demo splice script has been updated. It defaults to the new format. If you need to splice an old demo put --v4 on the command line.

Re: Some handy scripts

Posted: Fri Nov 28, 2008 8:46 am
by mulishatroop88
ok super noob at this stuff

everytime i type python i get
traceback<most recent call last>:
File "<stdin>" , line 1 , in module

etc

whatsup? i edited the path and everything

my path looks like this

%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program Files\QuickTime\QTSystem\;c:\python30;c:\python30\scripts\
and yes i have python 3.0 not 2.5

Re: Some handy scripts

Posted: Sat Nov 29, 2008 12:13 am
by jlv
You don't want to start python by itself. You want to give it the script to run on the command line (e.g. "python demosplice.py --sync demo1.mxdemo demo2.mxdemo exporteddemo.mxdemo").

Re: Some handy scripts

Posted: Wed Dec 10, 2008 7:13 am
by wheels1758
What should the directory look like in the demosplice.py file?

Thanks.

Re: Some handy scripts

Posted: Mon Dec 29, 2008 1:32 am
by DankeKTM21
cant use phyton :S

Re: Some handy scripts

Posted: Mon Dec 29, 2008 1:37 am
by DJ99X
Thanks for letting us know that

Re: Some handy scripts

Posted: Tue Dec 30, 2008 11:56 pm
by DannyBoy
WOWW took me long enough but i finally figured out splicing -_-

Re: Some handy scripts

Posted: Sat Jan 03, 2009 9:08 am
by wheels1758
Quick question for JLV: If a person changes their physics from sim to arcade in the middle of a demo, is there something unique that will show up in the .mxdemo file when you open it with Notepad++? I was just wondering, i think it would be an easy way to find out if somebody is cheating. Not that i am saying people would cheat, but if you could just open it up and have the computer search for a certain thing, that would be nice. Thanks.
Also, what is the makeup of the first line in Notepad++ when you open a .mxdemo file?
MX05 1 0 3 1859 <-- [no idea] [number of riders] [no idea] [number of laps] [no idea]? Something like that?

Re: Some handy scripts

Posted: Sat Jan 03, 2009 10:28 am
by DJ99X
Also, what is the makeup of the first line in Notepad++ when you open a .mxdemo file?
MX05 1 0 3 1859 <-- [no idea] [number of riders] [no idea] [number of laps] [no idea]? Something like that?
-Number that the game reads to see if its compatible with the snapshot playing it
-Riders
-Time of race
-Laps
-Time the gate drops

Re: Some handy scripts

Posted: Sat Jan 03, 2009 10:31 am
by wheels1758
Is there a reason the gate would drop at a different time for different demos? And does --sync make all the gates drop at the same time when splicing? I guess that would make sense.

Re: Some handy scripts

Posted: Sun Jan 04, 2009 8:16 am
by Voutare
wheels1758 wrote:Is there a reason the gate would drop at a different time for different demos? And does --sync make all the gates drop at the same time when splicing? I guess that would make sense.

The gate drops at different times in game, so you can't jump it (Like MvA, you know, everyone knows when it's going to drop). and --sync makes them all go at the same time.

Re: Some handy scripts

Posted: Mon Jan 05, 2009 1:54 am
by DankeKTM21
so we always need to use --sync??

Re: Some handy scripts

Posted: Fri Jan 16, 2009 8:06 pm
by Voutare
Yes. Unless you want everyone starting 5 seconds from each other.

Re: Some handy scripts

Posted: Fri Jan 16, 2009 8:08 pm
by frederick
Wait, does the gate drop at different times? I count the 30second board guys footsteps and its always the same.

Re: Some handy scripts

Posted: Sun Jan 18, 2009 11:40 am
by yomo
mulishatroop88 wrote:
everytime i type python i get
traceback<most recent call last>:
File "<stdin>" , line 1 , in module

I get the same thing happening

I've downloaded python and installed it (version 3.0)

Followed the video and added in my path thingo ;C:\Python30;C:\Python30\Scripts
I then created a new folder in C:\Python30 called Scripts
I put the demo splice script into the Script folder
I opened a command prompt
C:\Users\Jordan> python demosplice.py --sync yomolocust.mxdemo exporteddemo.mxdemo

Also when i just type in "python" it says... 'python' is not recognized as an internal or external command, operable program or batch.

thanks for any help