Some handy scripts
Re: Some handy scripts
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.
-
- Posts: 749
- Joined: Mon Mar 17, 2008 6:47 pm
- Team: Privateer
- Location: Lake Havasu AZ
Re: Some handy scripts
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
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
WHOA THERE
Re: Some handy scripts
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").
-
- Posts: 4132
- Joined: Tue Oct 21, 2008 5:20 pm
- Location: Washington, USA
- Contact:
Re: Some handy scripts
What should the directory look like in the demosplice.py file?
Thanks.
Thanks.
-
- Posts: 1070
- Joined: Mon Dec 24, 2007 5:10 pm
- Team: Danke KTM
- Location: chile
- Contact:
Re: Some handy scripts
cant use phyton :S
Kawasakis wrote:Hah yeah, because basketball and football requires just one ball - two balls just only for motocross riders haha
Re: Some handy scripts
Thanks for letting us know that
Re: Some handy scripts
WOWW took me long enough but i finally figured out splicing -_-
-
- Posts: 4132
- Joined: Tue Oct 21, 2008 5:20 pm
- Location: Washington, USA
- Contact:
Re: Some handy scripts
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?
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
-Number that the game reads to see if its compatible with the snapshot playing itAlso, 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?
-Riders
-Time of race
-Laps
-Time the gate drops
-
- Posts: 4132
- Joined: Tue Oct 21, 2008 5:20 pm
- Location: Washington, USA
- Contact:
Re: Some handy scripts
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.
-
- Posts: 4891
- Joined: Sun Jan 13, 2008 5:22 am
- Team: Privateer
- Location: Southern Vermont
- Contact:
Re: Some handy scripts
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.
-
- Posts: 1070
- Joined: Mon Dec 24, 2007 5:10 pm
- Team: Danke KTM
- Location: chile
- Contact:
Re: Some handy scripts
so we always need to use --sync??
Kawasakis wrote:Hah yeah, because basketball and football requires just one ball - two balls just only for motocross riders haha
-
- Posts: 4891
- Joined: Sun Jan 13, 2008 5:22 am
- Team: Privateer
- Location: Southern Vermont
- Contact:
Re: Some handy scripts
Yes. Unless you want everyone starting 5 seconds from each other.
Re: Some handy scripts
Wait, does the gate drop at different times? I count the 30second board guys footsteps and its always the same.
Re: Some handy scripts
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