citizenfx / fivem

The source code for the Cfx.re modification frameworks, such as FiveM, RedM and LibertyM, as well as FXServer.
https://cfx.re/
3.58k stars 2.12k forks source link

Can't run on Parallels (MacBook Pro, M1 Max) #1125

Open tobiaslins opened 3 years ago

tobiaslins commented 3 years ago

I just tried running GTA V without any issues. The performance and online mode are finally working fine using Parallels & Crossover. I would really love to see fivem also running with this tools.

For Parallels I get following error : Could not resolve host: ros.citizenfx.internal https://forum.cfx.re/t/could-not-resolve-host-ros-citizenfx-internal/2961856/6

For Crossover it can't run properly because it always runs it with extended privileges (which is not allowed by fivem)

Are there any plans to support Crossover/Parallels? With the new wave of more powerful M1 MacBooks there may be increased demand.

blattersturm commented 3 years ago

Parallels (and general Windows on ARM64 including Snapdragon laptops): not until Microsoft releases documentation for the ABI of their ARM64EC/ARM64X emulation layer as there's some architecture-dependent code with a custom compiler that can't be 'removed' or made to use a more standard compiler. Reverse engineering this spec is proving hard as the code runs before any debugger is allowed to attach. Similarly, Microsoft's schedule is unpredictable as always and we haven't gotten a hold of anyone yet who can release these specs.

CrossOver/other Wine variants: not until there's a DX implementation with shared resources supported. Wine developers seem to be unwilling to support shared resources (see every attempt to request it being marked as 'wontfix', e.g. https://github.com/doitsujin/dxvk/issues/899), so this won't happen any time soon.

Both are things we have no influence on.

mockdot commented 2 years ago

What do we need to make this happen? I might be able to help with a Microsoft contact. Would love to be able to run FiveM on my M1 Mac

matthias18771 commented 1 year ago

Documentation for the ABI of their ARM64EC emulation layer has been released a couple months ago - will there finally be support for Apple Silicon processors? https://learn.microsoft.com/en-us/windows/arm/arm64ec-abi

blattersturm commented 1 year ago

The documentation is still somewhat incomplete and doesn't mention the data in IMAGE_LOAD_CONFIG_DIRECTORY yet. I saw this was documented in another tool but some quick experiments involving this show it's a bit more difficult than hoped for.

clement-mullet commented 1 year ago

Is there a solution since 2021? I just had parralles on my mac M1 but at launch I have a problem.

The game is running in insecure mode because Windows on ARM is not supported by anticheat components at this time.

IngPleb commented 1 year ago

Is there a solution since 2021?

I just had parralles on my mac M1 but at launch I have a problem.

The game is running in insecure mode because Windows on ARM is not supported by anticheat components at this time.

Well, it's currently not supported but the documentation has greatly expanded since 2021. So it's up to them

Kuhicop commented 1 year ago

Using M2 with the same problem... @blattersturm are you going to make it possible? 😄

blattersturm commented 1 year ago

somewhat waiting for LLVM lld support for writing the load config still + the internal rebase of the lld patches to latest

elvowe commented 1 year ago

Is there no way to configure some parameter in my fivem server so that it accepts this type of clients? (I want to work programming fivem now on mac) at least for me to be able to connect to my localhost

Kuhicop commented 1 year ago

Is there no way to configure some parameter in my fivem server so that it accepts this type of clients? (I want to work programming fivem now on mac) at least for me to be able to connect to my localhost

That would be a workaround for my problem too, just like a whitelist

mockdot commented 1 year ago

The only way I found to work is via Remote Desktop, but the mouse for some reason randomly moves and ends up staring at the sky when you do sudden movements.

matthias18771 commented 1 year ago

You can run client and server without adhesive. For developing only that should work on your Mac

elvowe commented 1 year ago

How? can you explain me please?

matthias18771 commented 1 year ago

Remove svadhesive.dll from your server files, client shouldn’t load it anyways. Both client and server should be hosted in Parallels

Zonharo commented 1 year ago

There is already some progress in launch Fivem on Parallels. I still waiting since 2k21.

IngPleb commented 1 year ago

Over the years, FiveM platform has provided countless gamers, including myself, with an opportunity to expand, adapt, and enrich the world of Grand Theft Auto. I wish to make a case for the extension of FiveM support to ARM-based devices, a step I believe can mark the future of our beloved modding community.

The Prevailing Trend Towards ARM Support: It's evident that the world of software is rapidly moving in the direction of ARM compatibility. Industry leaders such as Apple and Microsoft are already capitalizing on ARM-based devices with their respective products like the Mx chips. Given this transition, it's imperative for platforms, especially those as influential as FiveM, to adapt and extend their support to cater to an ever-growing audience. Performance Metrics: Recent tests have showcased the sheer power and capability of ARM-based devices. Games like RDR2 and, crucially for us, GTA run flawlessly, indicating the compatibility and robustness of these chips in handling extensive gaming requirements. By not extending support, we risk sidelining a section of the community that relies on these devices. A Surge of New Developers: The ARM architecture, being fundamentally different, could usher in a fresh wave of developers, fostering innovation and potentially taking the modding capabilities of GTA to new horizons. It's a rich ecosystem to tap into, promising fresh perspectives and ideas. Rising Popularity of ARM-Based Laptops: With ARM-based CPUs becoming increasingly common in laptops and other portable devices, it's clear that these are not just a fleeting trend, but a mainstay for the foreseeable future. By adapting FiveM for ARM, we ensure we're catering to present demands and are well-prepared for future shifts in the tech landscape. In conclusion, extending FiveM support to ARM-based devices isn't merely a strategy for inclusivity; it's a forward-thinking approach to guaranteeing the platform's relevancy and growth in the coming years. This step not only promises to benefit the existing community but will also open doors to myriad new opportunities and users.

AvarianKnight commented 1 year ago

I feel like i just read something generated by chat gpt

matthias18771 commented 1 year ago

same, hahahahahah Anyways, everyone reading this please just not answer to this issue, except you actually have some knowledge and not just complain about it not being there yet, thanks! The Collective will for sure do something about it when it's technically possible

IngPleb commented 1 year ago

I feel like I just read something generated by chat gpt

Yup, you did. I just have a simple Python program iterate through my old replies and use Openai's API to decide whether to continue the conversation. But gotta agree on this one with the AI.

SuricatoX commented 1 year ago

Praying to be possible (one day) program 100% from MAC to FiveM

Pato2222 commented 1 year ago

@blattersturm any news on the crossover/parallels/others compatibility?

Luma-exe commented 8 months ago

Any updates on this? I'm sure there is plently on people now especially now with how powerful the silicon processors are getting that'd love to play fivem

Zonharo commented 8 months ago

Any updates on this? I'm sure there is plently on people now especially now with how powerful the silicon processors are getting that'd love to play fivem

No

Zonharo commented 5 months ago

Maybe something will change after the announcement of GPTK 2.0

emanueldev1 commented 5 months ago

Remove svadhesive.dll from your server files, client shouldn’t load it anyways. Both client and server should be hosted in Parallels

I am doing this but as soon as I start the server it gives me a fatal error that that .dll was not found

@matthias18771

And by any chance is there any estimate of when there may be official compatibility?

At the moment I only need to connect to my localhost to create scripts

Master37373 commented 3 months ago

Any solution available for this ?

SuricatoX commented 3 months ago

Unfortunately for now, just buy a windows pc.

Pato2222 commented 3 months ago

Unfortunately for now, just buy a windows pc.

Yea no

D7M03 commented 1 month ago

ماالحل

D7M03 commented 1 month ago

Screenshot 2024-10-15 025059 ما هذه المشكلة ؟؟

Lilith0101 commented 1 month ago

Screenshot 2024-10-15 025059 ما هذه المشكلة ؟؟

لقيت الحل ياخوي؟

GEORGEbouz-hub commented 2 days ago

Any update now? I can open FiveM but when I try to join a server it says "authentication ticket wasn't specified