Scripts, Software and Other Stuff
-
- Crushed Dissenter
- Posts: 352
- Joined: Sat Oct 01, 2011 7:20 pm
- Team: Decal Works Racing
- Location: clinton, ontario, canada
Re: Scripts, Software and Other Stuff
i dont understand the demosplice thing. can somebody explain how i can do it
-
- Posts: 4
- Joined: Fri Aug 23, 2013 5:33 pm
- Team: Privateer
Re: Scripts, Software and Other Stuff
hey i'm new and i was wondering how i can add these scripts to a track or what ever where they are suposed to be.
thanks alot
thanks alot
-
- Posts: 1
- Joined: Thu Feb 06, 2014 12:28 pm
- Team: Privateer
Re: Scripts, Software and Other Stuff
I got pretty sick of having to type in Trackinfo additions manually for the serverargs.txt, so this will create an entry for every track you have in that folder. It's quick and dirty and you'll have to edit the params at the top yourself (and add any you want in the same style). Works fine on Linux, not tested on Windows.
Save as generateserverargs.py or whatever inside your MXServer folder. serverargs.txt outputs to the same folder as the one the script is run from.
Code: Select all
import os
import sys
from os.path import join, getsize
trackinfos = []
filepath = "FULL PATH TO YOUR MXS TRACKINFO FOLDER"
for dirpath, dirnames, files in os.walk(filepath):
for fil in files:
if fil.endswith('.trackinfo'):
trackinfos.append(fil)
f = open('serverargs.txt', 'w')
f.write('--port 19800\n')
f.write('--max-clients 11\n')
f.write('--greeting "PUT YOUR GREETING HERE"\n')
f.write('--results-file results.txt\n')
f.write('--track-interval 15\n')
f.write('--laps 5\n')
f.write('--no-arcade\n')
f.write('--admin YOUR ADMIN UID\n')
for track in trackinfos:
f.write('trackinfo/' + track + '\n')
f.close()
-
- Posts: 4
- Joined: Sat Feb 09, 2019 6:17 pm
- Team: Privateer
- Contact:
-
- Posts: 1
- Joined: Wed Apr 03, 2019 2:02 am
Re: Scripts, Software and Other Stuff
Is there a SAF creator for Linux?
Re: Scripts, Software and Other Stuff
Yep, here.x1xderrick wrote:Is there a SAF creator for Linux?
Discord: StorkeN#6883 - StorkenMXS Youtube - StorkenMXS Instagram - StorkenMXS Facebook - TMFR on Faceboook
Re: Scripts, Software and Other Stuff
Could someone post a list of all available scripting functions?
Thanks
Thanks
Re: Scripts, Software and Other Stuff
There's no documentation for the track scripts aside from the examples I've posted. I'll try to write something up now.
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.
Sole Proprietor
jlv@mxsimulator.com
If you email, put "MX Simulator" in the subject to make sure it gets through my spam filter.
-
- Posts: 71
- Joined: Fri Apr 13, 2018 4:17 am
- Team: OCMX Racing
Re: Scripts, Software and Other Stuff
Has anyone looked into creating a different interface or overlay for the track cameras? Even maybe bringing in a software like ATVO used in iRacing would maybe make the process easier? Idk though since I have no idea how tf to script or any of that lmao. Just throwing my hat into the ring!
Re: Scripts, Software and Other Stuff
Pretty sure this isn't supported, but JLV's said that he want to open scripting up to more things, such as custom HUD's etc.Trevdawg197 wrote: ↑Sat Apr 22, 2023 6:12 am Has anyone looked into creating a different interface or overlay for the track cameras? Even maybe bringing in a software like ATVO used in iRacing would maybe make the process easier? Idk though since I have no idea how tf to script or any of that lmao. Just throwing my hat into the ring!
Discord: StorkeN#6883 - StorkenMXS Youtube - StorkenMXS Instagram - StorkenMXS Facebook - TMFR on Faceboook
Re: Scripts, Software and Other Stuff
hi im new i have downloaded tracks and gear put them in my mx simulator folder but they dont show in the game could someone help
Re: Scripts, Software and Other Stuff
There are some instructions for installing tracks here. For 7z or rar compressed tracks you'll need to install 7-zip first.
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.
Sole Proprietor
jlv@mxsimulator.com
If you email, put "MX Simulator" in the subject to make sure it gets through my spam filter.