2008-12-03 snapshot
-
jlv
- Site Admin
- Posts: 15312
- Joined: Fri Nov 02, 2007 5:39 am
- Team: No Frills Racing
- Contact:
2008-12-03 snapshot
Changes:
- New command line option: --hidden-hud
- Race timing info now saved in results.txt after race.
Windows users: http://mxsimulator.com/snapshots/mx-2008-12-03.exe
Linux users: http://mxsimulator.com/snapshots/mxbin-2008-12-03
Replace mx.exe or mxbin with one of the above files. I'd keep a backup of the originals since these aren't well tested.
You will also need to put this file in your install folder:
http://mxsimulator.com/zzzx.saf
(This hasn't changed since the 2008-11-26 version.)
I've also written a python script to parse results.txt and output a lap chart. You can get that here:
http://mxsimulator.com/scripts/lapchart.py
- New command line option: --hidden-hud
- Race timing info now saved in results.txt after race.
Windows users: http://mxsimulator.com/snapshots/mx-2008-12-03.exe
Linux users: http://mxsimulator.com/snapshots/mxbin-2008-12-03
Replace mx.exe or mxbin with one of the above files. I'd keep a backup of the originals since these aren't well tested.
You will also need to put this file in your install folder:
http://mxsimulator.com/zzzx.saf
(This hasn't changed since the 2008-11-26 version.)
I've also written a python script to parse results.txt and output a lap chart. You can get that here:
http://mxsimulator.com/scripts/lapchart.py
-
yomo
- Posts: 1930
- Joined: Tue Apr 22, 2008 10:00 am
Re: 2008-12-03 snapshot
wow another update... awesome job JLV.
1 thing... today is the 4th of december not the 3rd. Anyway it is here in aus
1 thing... today is the 4th of december not the 3rd. Anyway it is here in aus

-
gordy
- Posts: 1099
- Joined: Sat Jan 19, 2008 6:43 am
- Team: Privateer
- Location: Bathurst, Australia
Re: 2008-12-03 snapshot
yeah but we are only just east of the international date line, and they are only just to the west, so we are like 14 hours ahead of their east coast
damn you are pumping out these updates lately jlv, you are a coding machine.
keep up the awesome work, its well appreciated
damn you are pumping out these updates lately jlv, you are a coding machine.
keep up the awesome work, its well appreciated

instupitious.
-
yomo
- Posts: 1930
- Joined: Tue Apr 22, 2008 10:00 am
Re: 2008-12-03 snapshot
I thought USA was 12 hours behind... so like 1:30 in the morning... obviously not. Anyway doesn't matter just an awesome job by JLV

-
Phathry25
- Posts: 7481
- Joined: Sat Dec 01, 2007 1:09 am
- Team: No Frills Racing
- Location: WI
- Contact:
Re: 2008-12-03 snapshot
THANK YOU!!!! We can call this the Phathry25 update, lol.
Whats the format of the date in the results.txt? date=1228360550 Seems like jibberish to me. Local time was 9:16ish on 12/3/2008.
Whats the format of the date in the results.txt? date=1228360550 Seems like jibberish to me. Local time was 9:16ish on 12/3/2008.
jlv wrote:Here's a picture of my nuts.
-
jlv
- Site Admin
- Posts: 15312
- Joined: Fri Nov 02, 2007 5:39 am
- Team: No Frills Racing
- Contact:
Re: 2008-12-03 snapshot
It's the number of seconds since 00:00:00 UTC, January 1, 1970.
-
yomo
- Posts: 1930
- Joined: Tue Apr 22, 2008 10:00 am
Re: 2008-12-03 snapshot
The worlds new dating system ahahajlv wrote:It's the number of seconds since 00:00:00 UTC, January 1, 1970.

-
frederick
- Posts: 2424
- Joined: Fri Mar 21, 2008 5:05 pm
- Team: Adept
- Location: Sweden
Re: 2008-12-03 snapshot
I just did a muck around with a bot @ rostarn
JLV can you explain what the numbers below "6" means?
Time=0.00|Laps=1|Track=Rostarn MX|Date=1228401491
No. | Bike | Laps | Total Time | BLap | Best Time
11 | cr125 | 1 | 0:36.476 | 0 | 0:00.000
68 | kx250f | 1 | 2:20.804 | 0 | 0:00.000
6
-1.570 10.695 16.602 28.297 32.641 36.477
6
19.961 55.211 95.172 119.266 136.445 140.805
JLV can you explain what the numbers below "6" means?
Time=0.00|Laps=1|Track=Rostarn MX|Date=1228401491
No. | Bike | Laps | Total Time | BLap | Best Time
11 | cr125 | 1 | 0:36.476 | 0 | 0:00.000
68 | kx250f | 1 | 2:20.804 | 0 | 0:00.000
6
-1.570 10.695 16.602 28.297 32.641 36.477
6
19.961 55.211 95.172 119.266 136.445 140.805

-
Jack 984
- Posts: 936
- Joined: Mon Oct 27, 2008 5:29 pm
- Team: Privateer
- Location: St.Louis, MO
Re: 2008-12-03 snapshot
Sorry if this is a noob question, but where is the option to disable the HUD?
-
Kawasakis
- Posts: 6583
- Joined: Sun Mar 16, 2008 5:32 pm
- Contact:
Re: 2008-12-03 snapshot
Press right mouse button on mx sim shortcut and fill this --hidden-hud after mx.exe or something.. then save and try go to game
-
ddmx
- Posts: 5381
- Joined: Sun Apr 20, 2008 3:36 pm
- Location: Midland MI
Re: 2008-12-03 snapshot
How would we execute that code for the python script? Here is what I have. I'm not sure if it's supposed to output it to a txt file or like an excel file or what.
Code: Select all
cd C:\Users\Davey\Documents\Mx Simulator\results.py
python results.py results.txt results.txt
-
DJ99X
- Posts: 15524
- Joined: Tue Jan 15, 2008 11:36 am
- Location: Land Down Under
Re: 2008-12-03 snapshot
6 is the number of timing gates the rider went throughfrederick wrote:I just did a muck around with a bot @ rostarn
JLV can you explain what the numbers below "6" means?
Time=0.00|Laps=1|Track=Rostarn MX|Date=1228401491
No. | Bike | Laps | Total Time | BLap | Best Time
11 | cr125 | 1 | 0:36.476 | 0 | 0:00.000
68 | kx250f | 1 | 2:20.804 | 0 | 0:00.000
6
-1.570 10.695 16.602 28.297 32.641 36.477
6
19.961 55.211 95.172 119.266 136.445 140.805
-
jlv
- Site Admin
- Posts: 15312
- Joined: Fri Nov 02, 2007 5:39 am
- Team: No Frills Racing
- Contact:
Re: 2008-12-03 snapshot
The output is printed to the standard output which defaults to the console . To save it to a file redirect the console output like this (note the > symbol):ddmx488 wrote:How would we execute that code for the python script? Here is what I have. I'm not sure if it's supposed to output it to a txt file or like an excel file or what.Code: Select all
cd C:\Users\Davey\Documents\Mx Simulator\results.py python results.py results.txt results.txt
python lapchart.py results.txt >lapchart.txt
6 is the number of gates passed and it's followed by the times when the gates were hit. A time of -1 means the gate was bypassed.frederick wrote:I just did a muck around with a bot @ rostarn
JLV can you explain what the numbers below "6" means?
-
ddmx
- Posts: 5381
- Joined: Sun Apr 20, 2008 3:36 pm
- Location: Midland MI
Re: 2008-12-03 snapshot
Thank you so much jlv, that is simply amazing how that works. I'm easily amused also. This is gonna be so cool to look at after a race is done.
-
Rallemx
- Posts: 1136
- Joined: Fri Nov 21, 2008 2:00 pm



