• Welcome to MX Bikes Official Forum. Please login or sign up.
 
June 15, 2021, 03:17:36 PM

News:

MX Bikes beta16b available! :)


Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - HornetMaX

1
v2.3 out:
  • Updates for GPB beta19 (tyre temps are logged).

I've added a PayPal donate button in the 1st post 8)
2
Plugins / Re: MaxHUD plugin
December 30, 2020, 09:16:54 PM
V2.2.4 out (2020/12/30)
  • Removed fixed font AsapBold as not truly fixed.
  • GPB only: ECU widget now also shows tyres temperatures (when bike allows it).
3
Plugins / Re: MaxHUD plugin
December 26, 2020, 06:47:05 PM
V2.2.2 out (2020/12/26)
  • Changes for GPB beta19.
  • Widgets in menu are now sorted alphabetically.
  • Changed default track & border width in HUDMap to "fixed screen size".
4
Plugins / Re: MaxHUD plugin
December 16, 2020, 01:18:02 PM
Quote from: Beto on December 15, 2020, 01:49:36 PMI need to change the shortcut to open the menu, how can I remove it from CAPS?
You can't. Why do you need to change it ?
5
Plugins / Re: MaxHUD plugin
December 09, 2020, 09:50:53 AM
Quote from: WestSideWill763 on December 09, 2020, 04:04:37 AMhaving issues with the hud menu not showing up when hittng caps lock on track all my files are placed in the right spot in plugin folder but idk why its not pulling anything up when on track

Check your VC redist.

Quote from: HornetMaX on November 10, 2020, 05:20:58 PM
Quote from: BlizzardDUCK on November 08, 2020, 09:20:49 PMI'm not getting that plugin to show up. I see the redistributable package x64 below, but that install doesn't work for me. Says Setup Failed, another version of this product is already installed and it cannot continue to install the file. What do I need to do?

Try this one: https://aka.ms/vs/16/release/vc_redist.x64.exe
It's the x64 for 2015, 2017 and 2019 from that page: https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloads

If still won't install, uninstall what you have (2015, 2017, 2019) and install the new one.
6
Plugins / Re: MaxHUD plugin
December 03, 2020, 02:51:42 PM
Quote from: Midbeck on November 28, 2020, 11:22:29 PMI have problems getting the rumble function to work, is there any known issues with it or is it just me?
You have to tell the plugin which joypad you want the rumble on. Did you do that ?
7
Had the same problem in Chrome: 3 of the 4 links at https://www.mx-bikes.com/?page=downloads stops after a while. One of the links has a file of only ~500MB.

I managed to download from one of them (the 4th link) straight from my NAS instead of using my PC/Chrome. Weird ...
8
Plugins / Re: MaxHUD plugin
November 10, 2020, 05:20:58 PM
Quote from: BlizzardDUCK on November 08, 2020, 09:20:49 PMI'm not getting that plugin to show up. I see the redistributable package x64 below, but that install doesn't work for me. Says Setup Failed, another version of this product is already installed and it cannot continue to install the file. What do I need to do?

Try this one: https://aka.ms/vs/16/release/vc_redist.x64.exe
It's the x64 for 2015, 2017 and 2019 from that page: https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloads

If still won't install, uninstall what you have (2015, 2017, 2019) and install the new one.
9
Plugins / Re: MaxHUD plugin
August 11, 2020, 08:58:23 PM
V2.2.1 out (2020/08/11)
  • Reduced by 50% the number of quads used by HUDMap: fps impact of MaxHUD should be lowered (especially on long tracks / low-spec systems).
  • All timings can now display longer times / gaps.
  • HUDLiveGapBar has now more options for its scale (can be longer, for veeery long tracks).
10
Plugins / Re: MaxHUD plugin
August 09, 2020, 03:07:46 PM
Quote from: iNsane | WW on July 05, 2020, 09:55:22 PMhey Max, while we are testing Erzberg which was the reason MXB got support for +50 Checkpoints, the plugin makes the game laggy as hell.
Someone with AMD setup got 15 fps, I had 30-40. Removing MaxHUD resolved the issue, AMD has 80 fps and I with everything maxed out suddenly have 80-100 fps.
OK, I had a look, here are my findings.

  • On my systems (i5-9600K, RTX 2070 super, 3440x1440, all MXB settings maxed out except AA at 8x) my fps at Kreken (start point) drop from ~170 (no plugin) to ~70 with the plugin. Ouch.
  • If I compile the plugin without the HUDMap widget, I get ~160fps so the problem, as expected, is in HUDMap due to the very long and twisty track.

The main reason is that HUDMap takes the track centerline (straights + arcs) and approximates it with straights only: in doing this, the number of centerline segments goes up, e.g. for Kraken the centerline has 1493 segments (469 straights and 1024 arcs) but after approximation I have 7041 straight segments.

Now for each segment I draw 4 quads: 1 rectangle for the "main segment" and 1 wider rectangle wider to have the track borders, plus 1 triangle joining two consecutive rectangles in a turn (and another "wider" triangle for the track border). Bottom line, that makes 28K quads and that maybe too much.

One thing you try immediately is edit the MaxHUD.ini file, find the [HUDMap] section in it. It should be as below:

[HUDMap]
_ini_version=2
_enabled={1,1,1}
_pos_x={0.721875,0.721875,0.721875}
_pos_Y={0.123611,0.123611,0.123611}
_pos_linked=1
_optlinked=1023
_color_back=[200,0,0,0]
_color_track=[255,0,0,0]
_color_trackborder=[255,230,230,230]
_color_me=[150,0,0,200]
_color_others=[150,0,128,205]
size={3,3,3}
rotate={0,0,0}
range={1,1,1}
show_racenums={1,1,1}
show_range={1,1,1}
track_width={5,5,5}
trackborder_width={1,1,1}
show_background={1,1,1}

In it, you can add these two lines:

_abserr = 0.500
_relerr = 0.002

The above values are the default ones. If I change _relerr to 0.020 (instead of 0.002) I get 120fps (instead of 70) for 3183 centerline segments (instead of 7041) and 12788 quads (instead of 28220). Of course in HUDMap, if you zoom a lot, the turns will be less smooth than before.

Explanations of the two parameters: the plugin needs to decide how many straight segments to use to approximate one arc. It picks the numebr of segs so that the error (distance between the "true" centerline arc and the sequence of approximating segments) is below a value. The value is dictated by the two parameters:
  • _abserr is absolute error, in meters (default - 0.5m).
  • _relerr is relative error: you multiply it by the arc radius and you get an absolute error (default = 0.002 means that for a turn with a radius of 4 meters, the allowed error is 4 * 0.002 = 8mm).
  • The min of the two errors is used.

So you can play with the values, that should help a bit.

On my side I can probaly cut the number of drawn quads by a factor 2, drawing a trapezoid instead of a rectangle + a triangle. That's on my todo list :)

Final word, I really think Piboso should have the HUDMap feature in MXB & co: surely he'd do it 10 times better and in a way more efficient manner.
11
Plugins / Re: MaxHUD plugin
August 07, 2020, 01:13:47 PM
Quote from: okwes on July 05, 2020, 03:59:06 PMWould it be possible to have the live timing go further than 9:59.99 for one lap? I'm wanting to use this for Enduro, where the lap time will be over 1hr
Yeah that's easy. Won't look very pretty in cases where one lap/split can be below/above 10min as it will show (example) 9:55.123 (below 10min) and 00h10:45 if above but guess that would be ok.
12
Plugins / Re: MaxHUD plugin
July 23, 2020, 09:31:12 PM
Hmm it's 40Km long, that's likely the reason. I'll have a look when I have the time.
13
Plugins / Re: MaxHUD plugin
July 23, 2020, 10:58:35 AM
Quote from: iNsane | WW on July 05, 2020, 09:55:22 PMhey Max, while we are testing Erzberg which was the reason MXB got support for +50 Checkpoints, the plugin makes the game laggy as hell.
Someone with AMD setup got 15 fps, I had 30-40. Removing MaxHUD resolved the issue, AMD has 80 fps and I with everything maxed out suddenly have 80-100 fps.

Is this anything you can resolve? I think it's due the amount of CPs. Erzberg has around 400ish.

Hi, sorry for the delay, I was on vacation (and I don't get any forum notification).

Not sure the number ofd CPs is the cause, the plugin doesn't even see them. Is there a place where I can download the track so that I can have a look ?

P.S.
I've PMed you my email, will be faster to communicate this way.
14
Plugins / Re: MaxHUD plugin
May 06, 2020, 11:08:39 PM
Quote from: 𝖙𝖋𝖈 on May 06, 2020, 07:17:07 PMOooh Max, thank you very much!

Can I make a request for the next release? Would it be possible to disable the helmet if in 3rd person? I frequently change from 1st to 3rd and keep having to turn the helmet on and off.

Thanks again!
Hi, no I cannot do that: the plugin has no idea if you're 1st or 3rd person.

But that's why I've created the profiles: you can have (for examples) one for 1st person and one for 3rd person.

It's harder to explain than to use :)
Each profile has the on/off status of each widget. Additionally, you can choose for each widget:
  • if its position is the same in each profile or not (the "pin" button)
  • if each widget parameter is the same in eah profile or not (the "link" button)
Bottom line: you can have 3 different setups of the widgets and switch between the 3 clicking on the "P1" / helmet button.
15
Plugins / Re: MaxHUD plugin
May 06, 2020, 04:40:36 PM
V2.2.0 out (2020/05/06)
  • Important: there are new files in the MaxHUD_data fodler: please copy the whole folder.
  • All the widgets that had the option to show or not a background can now also use a .tga file as background. Click on the menu option to know the file name each widget is expecting (in MaxHUD_data folder).
  • HUDMap: Improved track drawing. Now plots a border along the track. Width and color of track and border can be
    configured. Track width and track border width have a "fixed screen size" option. Warning: widget configuration will be
    reset.
  • HUDStandings: some cosmetic rework. Warning: widget configuration will be reset.
  • Fixed some scaling/aspect ratio bugs.
  • Some cosmetic changes all around.