ptitSeb / box86

Box86 - Linux Userspace x86 Emulator with a twist, targeted at ARM Linux devices
https://box86.org
MIT License
3.23k stars 223 forks source link

Games menu wrong #878

Open actraiser30 opened 10 months ago

actraiser30 commented 10 months ago

Hello I have a raspberry pi 4

And tried a few games

The 3 specific games have the same problem in the menu only

Age of empires 3 Age of mythology Age of mythology the titans expansion

The main game menu shows unreadable or the font is wrong or it shows nothing from letters in the menu only empty boxes Is there a setting or something I can do to try and ix this?

ptitSeb commented 10 months ago

Did you try to install corefonts with winetricks?

actraiser30 commented 10 months ago

No I will try that and let you know

actraiser30 commented 10 months ago

There is no corefonts in the software list of winetricks,I have wine 6.0.4 is that's the issue? Does it needs newer wine? Is there a way to download and install corefonts manual?? Thanks

On Sat, Oct 21, 2023, 10:03 PM ptitSeb @.***> wrote:

Did you try to install corefonts with winetricks?

— Reply to this email directly, view it on GitHub https://github.com/ptitSeb/box86/issues/878#issuecomment-1773895721, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJCXONN5DEDGF7MBQKZXUOTYAQL7ZAVCNFSM6AAAAAA6KJ67AWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONZTHA4TKNZSGE . You are receiving this because you authored the thread.Message ID: @.***>

ptitSeb commented 10 months ago

image corefonts is defently something winetricks can install. And it's usualy the 1st one to install for windows compatibility. just do winetricks corefonts and it will install the fonts (you might want to install cabextract and 7z before, using sudo apt install cabextract p7zip-full)

actraiser30 commented 10 months ago

I does not work returns errors tried to Install directx also but more errors Thanks for the help

On Sun, Oct 22, 2023, 11:53 AM ptitSeb @.***> wrote:

[image: image] https://user-images.githubusercontent.com/3250792/277154606-b58a50b0-35ac-4f99-8753-d94be3c8fb58.png corefonts is defently something winetricks can install. And it's usualy the 1st one to install for windows compatibility. just do winetricks corefonts and it will install the fonts (you might want to install cabextract and 7z before, using sudo apt install cabextract p7zip-full)

— Reply to this email directly, view it on GitHub https://github.com/ptitSeb/box86/issues/878#issuecomment-1774036123, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJCXONJ2LA4XJHHMIFGREQTYATNHRAVCNFSM6AAAAAA6KJ67AWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONZUGAZTMMJSGM . You are receiving this because you authored the thread.Message ID: @.***>

actraiser30 commented 10 months ago

I managed to install corefonts and directx but still the games menus are unreadable, any other ideas??

On Sun, Oct 22, 2023, 1:19 PM G D @.***> wrote:

I does not work returns errors tried to Install directx also but more errors Thanks for the help

On Sun, Oct 22, 2023, 11:53 AM ptitSeb @.***> wrote:

[image: image] https://user-images.githubusercontent.com/3250792/277154606-b58a50b0-35ac-4f99-8753-d94be3c8fb58.png corefonts is defently something winetricks can install. And it's usualy the 1st one to install for windows compatibility. just do winetricks corefonts and it will install the fonts (you might want to install cabextract and 7z before, using sudo apt install cabextract p7zip-full)

— Reply to this email directly, view it on GitHub https://github.com/ptitSeb/box86/issues/878#issuecomment-1774036123, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJCXONJ2LA4XJHHMIFGREQTYATNHRAVCNFSM6AAAAAA6KJ67AWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONZUGAZTMMJSGM . You are receiving this because you authored the thread.Message ID: @.***>

ptitSeb commented 10 months ago

Myabe try with software rendering, to check if it's an issue with box86 or with the mesa driver.

actraiser30 commented 10 months ago

Sorry check it from were?

On Sun, Oct 22, 2023, 8:34 PM ptitSeb @.***> wrote:

Myabe try with software rendering, to check if it's an issue with box86 or with the mesa driver.

— Reply to this email directly, view it on GitHub https://github.com/ptitSeb/box86/issues/878#issuecomment-1774153192, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJCXONJKISQFKROZWVUUZDTYAVKJXAVCNFSM6AAAAAA6KJ67AWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONZUGE2TGMJZGI . You are receiving this because you authored the thread.Message ID: @.***>

ptitSeb commented 10 months ago

Look here: https://docs.mesa3d.org/envvars.html

use LIBGL_ALWAYS_SOFTWARE=1 wine MyStuff.exe for example. That will be slow, but using a reference software renderer. If it works fine (but slow), then it's an issue with the Pi Mesa driver. If it's still wrong, that it's probably box86.

actraiser30 commented 10 months ago

I tried everything,installed also game thought wine inside the drive_c did not work also,it's a font issue,is there a way to set the buildin fonts to override mode to use the buildin version like you can do with directx and other utils?

actraiser30 commented 10 months ago

Look here: https://docs.mesa3d.org/envvars.html

use LIBGL_ALWAYS_SOFTWARE=1 wine MyStuff.exe for example. That will be slow, but using a reference software renderer. If it works fine (but slow), then it's an issue with the Pi Mesa driver. If it's still wrong, that it's probably box86.

I managed to run it in software mode with the menus correct but it's too slow and unplayable,any tips to make it faster?? Maybe to use something like ddraw?

Roburetto commented 9 months ago

What version of Raspberry Pi OS are you using? The issue with the messed menu fonts in Age of Mythology is a MESA problem which was debugged by Salva (MicroLinux) months (a year?) ago, the fix should have been incorporated in the code ( I lost track of the issue where this was discussed elsewhere). It is gone / I no longer have it with Bookworn - Raspberry Pi OS Release date: October 10th 2023. AOM is running fine.

actraiser30 commented 9 months ago

Thx for the response

In what mesa version this issue is fixed ???

I tried with buster and bullseye the menu and in-game dialogs were either missing or incorrectly displayed,in bookworm did not have that issue.

Thanks

On Sat, Nov 11, 2023, 9:50 AM Roburetto @.***> wrote:

What version of Raspberry Pi OS are you using? The issue with the messed menu fonts in Age of Mythology is a MESA problem which was debugged by Salva (MicroLinux) months (a year?) ago, the fix should have been incorporated in the code ( I lost track of the issue where this was discussed). It is gone / I no longer have it with Bookworn - Raspberry Pi OS Release date: October 10th 2023. AOM is running fine.

— Reply to this email directly, view it on GitHub https://github.com/ptitSeb/box86/issues/878#issuecomment-1806735787, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJCXONJFQYG7TPT4LVTW65TYD4U4ZAVCNFSM6AAAAAA6KJ67AWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMBWG4ZTKNZYG4 . You are receiving this because you authored the thread.Message ID: @.***>

Roburetto commented 9 months ago

I believe this was the the gitlab issue: https://gitlab.freedesktop.org/mesa/mesa/-/issues/6027 You can probably get the answer to "In what mesa version this issue is fixed ???" from the commits history.

actraiser30 commented 9 months ago

Cannot Install in buster mesa 22 or higher needs libdrm-dev v2.4.109 and buster latest available is 2.4.100...

On Sat, Nov 11, 2023, 3:04 PM Roburetto @.***> wrote:

I believe this was the the gitlab issue: https://gitlab.freedesktop.org/mesa/mesa/-/issues/6027 You can probably the answer to "In what mesa version this issue is fixed ???" from the commits history.

— Reply to this email directly, view it on GitHub https://github.com/ptitSeb/box86/issues/878#issuecomment-1806811882, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJCXONINK5ZSZTH4UMHQ7XDYD5ZUPAVCNFSM6AAAAAA6KJ67AWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMBWHAYTCOBYGI . You are receiving this because you authored the thread.Message ID: @.***>