Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

box86rc: additional compatibility flags for UE3 based games #921

Merged
merged 1 commit into from
Jan 14, 2024

Conversation

airidosas252
Copy link
Contributor

Since these games are very very finnicky when it comes to running on box86, they need quite a few additional env variables to fix, but with them, these games perform and run just fine.

  • STRONGMEM is crucial since otherwise the game will crash right after it launches, unless you force only one thread for it.
  • FASTNAN fixes broken audio, otherwise the game has half broken audio.
  • X87DOUBLE is only specific to Mass Effect, because otherwise the game crashes when it starts loading up data.
  • FORWARD wouldn't be needed if you had box86 compiled before december. I guess it's some sorta regression that gotten introduced with dynarec optimizations. (I bisected the exact commit which break these games. Posted on Termux Discord)

Otherwise, with these exact flags the games are completely playable, albeit a bit stuttery.

There is also Mass Effect 3, but I'll need to test it again to double check which env variables are required for it to run properly.

I also keep forgetting to add them whenever I setup wine environment over and over again.
And more people needs to contribute to this file. It'll help deal with a lot of headaches of getting games to run, especially to those with little to no experience.

Since these games are very very finnicky when it comes to running on box86, they need quite a few additional env variables to fix, but with them, these games perform and run just fine.

- STRONGMEM is crucial since otherwise the game will crash right after it launches, unless you force only one thread for it.
- FASTNAN fixes broken audio, otherwise the game has half broken audio.
- X87DOUBLE is only specific to Mass Effect, because otherwise the game crashes when it starts loading up data.
- FORWARD wouldn't be needed if you had box86 compiled before december. I guess it's some sorta regression that gotten introduced with dynarec optimizations. (I bisected the exact commit which break these games. Posted on Termux Discord)

Otherwise, with these exact flags the games are completely playable, albeit a bit stuttery.
@ptitSeb ptitSeb merged commit 74a338d into ptitSeb:master Jan 14, 2024
@ptitSeb
Copy link
Owner

ptitSeb commented Jan 14, 2024

Thanks! And yes, more people should contributes to the rc files!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants