MX Bikes Official Forum

General Category => Documentation => Topic started by: storken on January 26, 2020, 06:16:12 PM

Title: Mac install guide
Post by: storken on January 26, 2020, 06:16:12 PM
Have gotten a few requests for a Mac install previously so went ahead and made one, with steam installed. Links are in the video description. Not very active on here, so if you have a question, I'm more likely to see it if I get a PM (email notification) or a comment on the video.

Title: Re: Mac install guide
Post by: Ldnbmx on December 28, 2022, 06:30:46 PM
Hello... I am very keen to get this game working on my Mac, the video has been removed from YouTube ? Is there another video that has been uploaded ?
Title: Re: Mac install guide
Post by: A_Rutherford on February 18, 2023, 11:49:07 AM
Quote from: Ldnbmx on December 28, 2022, 06:30:46 PMHello... I am very keen to get this game working on my Mac, the video has been removed from YouTube ? Is there another video that has been uploaded ?
me too, have you found any solutions yet?
Title: Re: Mac install guide
Post by: flexgrip on September 01, 2023, 01:01:39 AM
MX Bikes on MacOS

I managed to get MX Bikes working great on MacOS directly using wine. I have an M1 Max MBP. My controller works great (8bitdo ultimate 2.4ghz) via usb, 2.4ghz, and bluetooth. They all work. Online racing, mods, and even MaxHUD all work great. Just copy them to your wine installation and you are ready to go.

The only thing I haven't figured out yet is getting rumble to work in controllers. Rumble effects, I've read, don't work for controllers using dinput. So I am looking in to getting xinput to work. Wireless xbox controllers and ps4-5 controllers seem to work on Mac. You just need to look that stuff up. The 8bitdo ultimates I bought for this are actually way better in my opinion. But I'm not much of a controller guy.


Commands Run

1. Install wine

brew install --cask --no-quarantine gcenx/wine/wine-crossover
Optional: Now would be the time to setup your WINEPREFIX to get wine to install where you want. But this is optional.

To be safe, you can boot wine manually the first time by running `wine64 wineboot`

2. Download MX Bikes from mx-bikes.com
I have always had the version from mx-bikes.com. So it's easy to just install that version because they let you download the installer.

This will also work if you have the steam version of mx-bikes. What you would have to do is install the windows version of steam using wine. Then when that runs, use it to install mx-bikes. From that point you could either try running mx-bikes through steam or just run it directly using wine.

3. Install MX Bikes

In the terminal, find the directory where you've downloaded the mx bikes installer and then run:

wine64 wine64 mxbikes-beta18d.exe
The installer will pop up. Click through and install the game.

4. Run it for the first time

After the game installs it'll be in your WINEPREFIX. Usually that's just in your home directory under the .wine directory. In there you'll see

drive_c/Program Files/MX Bikes/mxbikes.exe
So just cd to that directory and then run `wine64 mxbikes.exe`

Optional controller mapping
For me, I needed to add environment variables for wine/sdl so that it knew all of the available buttons and mapping for my controller. You may need to do the same for yours unless you have a super well supported controller.

Basically just go here: SDL Controller Database (https://github.com/gabomdq/SDL_GameControllerDB/blob/master/gamecontrollerdb.txt)

Get the string that matches your controller. Then when you start the game from the terminal you would set the environment variable like this:

SDL_GAMECONTROLLERCONFIG="03000000c82d00001130000011010000,8BitDo Ultimate Wired,a:b0...blahblahblah" wine64 mxbikes.exe
Once you get it all working, feel free to make a shortcut or helper script to launch it easier in the future.
Title: Re: Mac install guide
Post by: flexgrip on September 01, 2023, 01:03:26 AM
I think I even got reshade working. Just had to override the native dlls.
Title: Re: Mac install guide
Post by: raphpay on November 03, 2023, 10:18:20 AM
Quote from: flexgrip on September 01, 2023, 01:01:39 AMMX Bikes on MacOS

I managed to get MX Bikes working great on MacOS directly using wine. I have an M1 Max MBP. My controller works great (8bitdo ultimate 2.4ghz) via usb, 2.4ghz, and bluetooth. They all work. Online racing, mods, and even MaxHUD all work great. Just copy them to your wine installation and you are ready to go.

I was able to install and play the game through your tutorial, but how did you manage to get the mods working ?
Title: Re: Mac install guide
Post by: Corvi113 on November 13, 2023, 09:52:17 PM
Just installed mxbikes on my 21 macbook M1 Pro, it works but a bit freezing .. Do you have the same issue ?
Title: Re: Mac install guide
Post by: flexgrip on December 06, 2023, 05:16:52 AM
Quote from: raphpay on November 03, 2023, 10:18:20 AMI was able to install and play the game through your tutorial, but how did you manage to get the mods working ?

The same way you install mods on windows. Just copy the mod files to the Documents directory. The actual path should be something like this on your computer: ~/.wine/drive_c/users/{your_username}/Documents/PiBoSo/MX\ Bikes/mods/
Title: Re: Mac install guide
Post by: LupaHo on December 25, 2023, 12:12:36 PM
Hi, so i was able to Download the Game on my Mac! I tried to install the new oem mod to the Game, dropped it into the PiBoSo/Mods folder..
When i start the Game, the mod will Not Show up, can anyone help me?
Title: Re: Mac install guide
Post by: RingedCarp1114 on January 02, 2024, 12:52:31 AM
Hi there so I was able to get the game downloaded using wine cross over and I have been able to get the game loaded and I own it. But I am struggling so hard on adding mods onto the game. So if someone could please help with that, that would be amazing!! I cant drag and drop and Im not the best using terminal to save it so any help would be amazing!
Title: Re: Mac install guide
Post by: RingedCarp1114 on January 02, 2024, 01:52:48 AM
I figured it out Im just an idiot
Title: Re: Mac install guide
Post by: cultchris on January 08, 2024, 10:33:46 AM
Quote from: flexgrip on December 06, 2023, 05:16:52 AM
Quote from: raphpay on November 03, 2023, 10:18:20 AMI was able to install and play the game through your tutorial, but how did you manage to get the mods working ?

The same way you install mods on windows. Just copy the mod files to the Documents directory. The actual path should be something like this on your computer: ~/.wine/drive_c/users/{your_username}/Documents/PiBoSo/MX\ Bikes/mods/

Hi Guys, new here! Just a quick follow up as I seem to have done these steps, however still getting no mods showing up in game.

What can you suggest I do next?

Thanks :)
Title: Re: Mac install guide
Post by: cultchris on January 09, 2024, 02:19:13 AM
Quote from: cultchris on January 08, 2024, 10:33:46 AM
Quote from: flexgrip on December 06, 2023, 05:16:52 AM
Quote from: raphpay on November 03, 2023, 10:18:20 AMI was able to install and play the game through your tutorial, but how did you manage to get the mods working ?

The same way you install mods on windows. Just copy the mod files to the Documents directory. The actual path should be something like this on your computer: ~/.wine/drive_c/users/{your_username}/Documents/PiBoSo/MX\ Bikes/mods/

Hi Guys, new here! Just a quick follow up as I seem to have done these steps, however still getting no mods showing up in game.

What can you suggest I do next?

Thanks :)

Okay so just to update - this DOES work of course, however I currently cannot change the path of the mods folder via global.ini file.

If I re-route the mods folder to an SSD, the mods folder is not found. That was my issue.

Anyone got a fix for this on MAC?

Thanks!
Title: Re: Mac install guide
Post by: teeds on January 11, 2024, 10:11:11 AM
Could always try running everything in the install folder with this switch, no documents folder needed like this -
http://forum.mx-bikes.com/index.php?topic=899.msg12994#msg12994
Title: Re: Mac install guide
Post by: RingedCarp1114 on January 13, 2024, 01:28:24 AM
Hey there has anyone been able to download the max HUD for mac? I do not know where to put it in the Piboso folder.
Title: Re: Mac install guide
Post by: raphpay on January 16, 2024, 10:24:59 AM
MX Bikes installation via Crossover ( not Wine-crossover )

After struggling with mods with wine-crossover, I found Crossover with yet another Google search !
Easier to install than by passing with homebrew !

Step by step:
Step 1:

Go to the CodeWeavers (https://www.codeweavers.com/crossover/) website, choose whether you want to buy it or get the free trial.
I'm got the free trial twice with the same mail address, and no problems with it so far.

Step 2:
Download the MX Bikes exe ( of course ), or the Steam exe.

Step 3.a: ( for MX Bikes )
Open CrossOver, and click on install an unlisted application.
Select a destination, where you placed the MXBikes.exe. Mine is in the Downloads folder, but it could be better I think in Documents.
Next, give the bottle a name. The bottle in this software is just a way to name the folder in the Crossover app.

Step 3.b: ( for Steam )
I didn't try it, but you got Steam on the main page of the app, so just follow the steps provided when you click install, it shouldn't be harder than the step above.

Step 4:
Follow the instructions to install the exe. game.

Step 5:
Enjoy and braaaap!!

Mods and plugins
After the installation is complete, you will have two MX Bikes folders:
- One located in the documents folder, under the PiBoSo folder. This is where you will install your mods, just like on Windows.
- Another located in your :/C drive. You can access it via the crossover platform, just before launching the game. Here, you will install the UI, and some other plugins ( like MaxHUD ).

Performances
Reeeally good on a MacBook Air M2. No fans, a little bit of heat ( really nothing even after a couple hours of gaming ). And the game settings are all turned up to the max.


Enjoy now !!
Title: Re: Mac install guide
Post by: RingedCarp1114 on January 19, 2024, 05:42:32 AM
Quote from: raphpay on January 16, 2024, 10:24:59 AMMX Bikes installation via Crossover ( not Wine-crossover )

After struggling with mods with wine-crossover, I found Crossover with yet another Google search !
Easier to install than by passing with homebrew !

Step by step:
Step 1:

Go to the CodeWeavers (https://www.codeweavers.com/crossover/) website, choose whether you want to buy it or get the free trial.
I'm got the free trial twice with the same mail address, and no problems with it so far.

Step 2:
Download the MX Bikes exe ( of course ), or the Steam exe.

Step 3.a: ( for MX Bikes )
Open CrossOver, and click on install an unlisted application.
Select a destination, where you placed the MXBikes.exe. Mine is in the Downloads folder, but it could be better I think in Documents.
Next, give the bottle a name. The bottle in this software is just a way to name the folder in the Crossover app.

Step 3.b: ( for Steam )
I didn't try it, but you got Steam on the main page of the app, so just follow the steps provided when you click install, it shouldn't be harder than the step above.

Step 4:
Follow the instructions to install the exe. game.

Step 5:
Enjoy and braaaap!!

Mods and plugins
After the installation is complete, you will have two MX Bikes folders:
- One located in the documents folder, under the PiBoSo folder. This is where you will install your mods, just like on Windows.
- Another located in your :/C drive. You can access it via the crossover platform, just before launching the game. Here, you will install the UI, and some other plugins ( like MaxHUD ).

Performances
Reeeally good on a MacBook Air M2. No fans, a little bit of heat ( really nothing even after a couple hours of gaming ). And the game settings are all turned up to the max.


Enjoy now !!


How do you save things using the cross over platform? Im just having a hard time getting max hud
Title: Re: Mac install guide
Post by: flexgrip on January 20, 2024, 12:56:28 AM
Quote from: RingedCarp1114 on January 19, 2024, 05:42:32 AMHow do you save things using the cross over platform? Im just having a hard time getting max hud

I am unsure what you're having trouble with. You just install them in the same place you would on windows. Mods, maxhud, etc. I think the trick is just making sure you are in the base directory that wine is looking for. Basically it just makes these virtual C drives. But they are just directories in your home dir usually. Mine is just in ~/.wine/drive_c

Crossover tries to handle all this for you. But uses crappier versions of wine. But if it works, then great.

I'm currently having trouble with my controllers once I updated to Sonoma. They kinda work but the mappings are wrong and none of the SDL maps I've tried seem to be applying. So I've just been running bikes from windows for now.

That being said I had zero problems with any mods, paints, maxhud, etc etc. Even got reshade working. Again its exactly like windows. Just find the appropriate directory that matches what it would be in windows. ~/.wine/drive_c/Users/.../Documents/Piboso etc