I just uploaded a couple of python scripts you might find useful. You can get python at http://www.python.org. They are for the command line, so if you aren't familiar with it this might help.
You can also specify which bikes you want by putting a comma separated list of bike indexes (zero based) after the filename. So if you only wanted the first bike out of demo1.mxdemo, do this:
Btw, for some reason the word "python" is triggering something that prevents the post from going through. So if you get an error posting and used the word "python" that is probably the reason why. Edit: I think this is fixed now
Last edited by jlv on Thu Apr 02, 2015 2:18 am, edited 1 time in total.
Reason:Demo splicer is obsolete
Hmmm, this thing just won't run for me, but then no other scripts will run either. Has anyone else tried this yet and succeeded? If so, you must teach me your way....
No, it comes up with that ''python' is not recognized as an internal or external command,
operable program or batch file", in both command prompts. But I know it should be working, because it has >>>.
Is there some place i should be putting the files?
EDIT- Hmmm, might have to edit that autoexec.bat when i get home, that could be the problem
As I said, I might have to change that bat file, because the python command won't work, except when i enter where it is located, which is C:/Python25/Python. Editing that bat file should make the command work. I'll see how it goes later. I'm such a noob at this script and programming stuff.
Success! I've got them working!But boy its effort typing stuff out. For those who want to use these scripts, and know jack all about python, watch that video jlv posted, making the script folder in the python folder, and open up a command prompt, and put in this-
For SAF-
python c:\python25\scripts\saf.py c:\python25\scripts\trackname c:\python25\scripts\trackname.saf
For Splicing-
python c:\python25\scripts\demosplice.py c:\python25\scripts\demo1.mxdemo c:\python25\scripts\demo2.mxdemo c:\python25\scripts\demo.mxdemo
demo,demo1,demo2 is whatever you've named it
Am I doing things the hard way here JLV? Or is there a simpler way?
So instead of this:
python c:\python25\scripts\saf.py c:\python25\scripts\trackname c:\python25\scripts\trackname.saf
You could use:
cd c:\python25\scripts
python saf.py trackname trackname.saf
If you're lucky your command line supports tab completion, so you can type just enough to make the filename unambiguous then hit tab and it will finish it for you.