Page 2 of 2

Re: Scripts, Software and Other Stuff

Posted: Fri Jun 15, 2012 6:50 pm
by churchy525
i dont understand the demosplice thing. can somebody explain how i can do it

Re: Scripts, Software and Other Stuff

Posted: Thu Sep 12, 2013 5:40 pm
by cedric_v_r
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 :)

Re: Scripts, Software and Other Stuff

Posted: Thu Feb 06, 2014 12:31 pm
by Dark Flare
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.

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()
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.

Re: Scripts, Software and Other Stuff

Posted: Sun Apr 07, 2019 6:41 pm
by fuzzynachos10
how do i change the icon for my on screen gear shifter?

Re: Scripts, Software and Other Stuff

Posted: Mon Apr 29, 2019 3:55 am
by x1xderrick
Is there a SAF creator for Linux?

Re: Scripts, Software and Other Stuff

Posted: Sat Aug 03, 2019 7:17 pm
by Wahlamt
x1xderrick wrote:Is there a SAF creator for Linux?
Yep, here.

Re: Scripts, Software and Other Stuff

Posted: Fri Mar 19, 2021 6:46 pm
by ddmx
Could someone post a list of all available scripting functions?

Thanks

Re: Scripts, Software and Other Stuff

Posted: Sat Mar 20, 2021 12:21 am
by jlv
ddmx wrote: Fri Mar 19, 2021 6:46 pm Could someone post a list of all available scripting functions?

Thanks
There's no documentation for the track scripts aside from the examples I've posted. I'll try to write something up now.

Re: Scripts, Software and Other Stuff

Posted: Sat Apr 22, 2023 6:12 am
by Trevdawg197
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

Posted: Sat Apr 22, 2023 9:13 am
by Wahlamt
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!
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.

Re: Scripts, Software and Other Stuff

Posted: Tue Sep 12, 2023 3:26 pm
by Fraser
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

Posted: Wed Sep 13, 2023 12:24 am
by jlv
Fraser wrote: Tue Sep 12, 2023 3:26 pm 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
There are some instructions for installing tracks here. For 7z or rar compressed tracks you'll need to install 7-zip first.