Demo Splicer

Post anything about MX Simulator here. Please. I'm begging you.
Post Reply
Victor Morela
Posts: 24
Joined: Wed Oct 28, 2015 4:19 am
Team: Privateer

Demo Splicer

Post by Victor Morela »

Hello everybody,

I search for a update of Demo Splice .... Someone know something about this ?

Or another solution to ride against my ghost ?

Thx to all, sorry for my bad english.
_darkdiamonds
Posts: 40
Joined: Wed Mar 22, 2017 10:55 pm

Re: Demo Splicer

Post by _darkdiamonds »

do you mean like when you go into time trial mode? that would be it
Image
KTM57
Posts: 13870
Joined: Wed Jul 07, 2010 2:42 am
Location: TX
Contact:

Re: Demo Splicer

Post by KTM57 »

I am pretty sure that demo splicing became impossible when the demo system was updated to save more information like chat logs.
_darkdiamonds wrote:do you mean like when you go into time trial mode? that would be it
http://forum.mxsimulator.com/viewtopic. ... lice#p3322
This is a block of text that can be added to posts you make. There is a 255 character limit.
jlv
Site Admin
Posts: 15334
Joined: Fri Nov 02, 2007 5:39 am
Team: No Frills Racing
Contact:

Re: Demo Splicer

Post by jlv »

Here's an updated script. You need node.js to run it.

http://mxsimulator.com/scripts/demosplice.js
Josh Vanderhoof
Sole Proprietor
jlv@mxsimulator.com
If you email, put "MX Simulator" in the subject to make sure it gets through my spam filter.
Victor Morela
Posts: 24
Joined: Wed Oct 28, 2015 4:19 am
Team: Privateer

Re: Demo Splicer

Post by Victor Morela »

Thank's to all !

JLV, can you explain me, how to use it please ?
jlv
Site Admin
Posts: 15334
Joined: Fri Nov 02, 2007 5:39 am
Team: No Frills Racing
Contact:

Re: Demo Splicer

Post by jlv »

First go to nodejs.org and install node.js. Then you'd run it like this:

/path/where/node/is/installed/node demosplice.js demo1.mxdemo demo2.mxdemo -o spliced.mxdemo

(Obviously, you have to use the actual path where node.js is installed rather than /path/where/node/js/is/installed.)
Josh Vanderhoof
Sole Proprietor
jlv@mxsimulator.com
If you email, put "MX Simulator" in the subject to make sure it gets through my spam filter.
Victor Morela
Posts: 24
Joined: Wed Oct 28, 2015 4:19 am
Team: Privateer

Re: Demo Splicer

Post by Victor Morela »

It work, thank's thank's thank's !!!
MX_Cardinal
Posts: 131
Joined: Thu Sep 09, 2010 10:16 pm

Re: Demo Splicer

Post by MX_Cardinal »

jlv wrote:First go to nodejs.org and install node.js. Then you'd run it like this:

/path/where/node/is/installed/node demosplice.js demo1.mxdemo demo2.mxdemo -o spliced.mxdemo

(Obviously, you have to use the actual path where node.js is installed rather than /path/where/node/js/is/installed.)
Thanks a ton, for helping the few of us who still demosplice!! Welp, I guess I won't be needing to temporarily downgrade to 1.9 on occasion, and can once again stick to the same version for online and offline!! :D :D :wink: :wink:
Vojda
Posts: 68
Joined: Sun Aug 26, 2018 4:37 pm
Team: MxGR

Re: Demo Splicer

Post by Vojda »

jlv wrote: Fri Sep 22, 2017 1:06 am Here's an updated script. You need node.js to run it.

http://mxsimulator.com/scripts/demosplice.js
Hi JLV, just found this script, does it still work ?

I saw in the code that there's something to delete message and no-sync, do you still remember the syntax of these commands ?

Do you know if it is possible with this script to cut a demo like this old command ?
jlv
Site Admin
Posts: 15334
Joined: Fri Nov 02, 2007 5:39 am
Team: No Frills Racing
Contact:

Re: Demo Splicer

Post by jlv »

Vojda wrote: Sat Nov 29, 2025 12:36 am
jlv wrote: Fri Sep 22, 2017 1:06 am Here's an updated script. You need node.js to run it.

http://mxsimulator.com/scripts/demosplice.js
Hi JLV, just found this script, does it still work ?

I saw in the code that there's something to delete message and no-sync, do you still remember the syntax of these commands ?

Do you know if it is possible with this script to cut a demo like this old command ?
I haven't used it lately but it should still work. Unfortunately there is no cut option in the new version.
Josh Vanderhoof
Sole Proprietor
jlv@mxsimulator.com
If you email, put "MX Simulator" in the subject to make sure it gets through my spam filter.
Vojda
Posts: 68
Joined: Sun Aug 26, 2018 4:37 pm
Team: MxGR

Re: Demo Splicer

Post by Vojda »

jlv wrote: Sat Nov 29, 2025 3:48 am I haven't used it lately but it should still work. Unfortunately there is no cut option in the new version.
Ok, thanks for your answer.
Do you think it still could be possible by a dev or an AI with the actual demo version ?
jlv
Site Admin
Posts: 15334
Joined: Fri Nov 02, 2007 5:39 am
Team: No Frills Racing
Contact:

Re: Demo Splicer

Post by jlv »

Vojda wrote: Sun Nov 30, 2025 12:45 am Do you think it still could be possible by a dev or an AI with the actual demo version ?
It's a bit more difficult with the newer demo format. It was easy with the old format because it just stored all the positions on every game step which made it easy to calculate the file position to cut at. The new format is smaller but it's more complicated to figure out which parts are for what time.
Josh Vanderhoof
Sole Proprietor
jlv@mxsimulator.com
If you email, put "MX Simulator" in the subject to make sure it gets through my spam filter.
Post Reply