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

HOMM3 help #1022

Open
noobmaster777 opened this issue Jan 9, 2025 · 11 comments
Open

HOMM3 help #1022

noobmaster777 opened this issue Jan 9, 2025 · 11 comments

Comments

@noobmaster777
Copy link

Hello, I am running Box86 v0.3.4 and Wine 7.0.1 stable on my raspberry pi 5. When I run Heroes of Might and Magic 3, this is what I get:

IMG_1468

Does anybody know how I can fix this? Thanks in advance!

@noobmaster777
Copy link
Author

I found the solution by downloading the games HD mod

@noobmaster777
Copy link
Author

Ok the game works but its always crashing. There are no roads and the game menus dont pop up when I try to pick up items. No green arrows when I try to move and when I go to combat, it crashes. Is this a box86 specific problem? If so, what can I do to fix it?

@noobmaster777
Copy link
Author

IMG_1470

@noobmaster777
Copy link
Author

Maps are distorted
IMG_1471

@noobmaster777
Copy link
Author

Whats opcode?
IMG_1475

@noobmaster777
Copy link
Author

noobmaster777 commented Jan 11, 2025

"BOX86_DYNAREC=0 wine Heroes3_HD.exe" makes the map and game normal but if I end a turn on the character, it hangs on waiting for the turn to finish then crashes. The games fps becomes very slow too. Any workarounds for this?

@ptitSeb
Copy link
Owner

ptitSeb commented Jan 11, 2025

The Dynarec is what makes box86 fast.
But that proves that box86 has a dynarec bug.
And the interpreter (what's run when dynarec is disabled) doesn't handle Strongmem very well, so I guess the freeze is a strongmem issue.

What you could try is using Box64 build with Box32 to run wine, as a workaround. You can also try Box64 and Wine with new WoW64 to run that 32bits game.

I will chack later what's wrong on box86, but I'm mostly working on box64 now...

@noobmaster777
Copy link
Author

Thank you for your response @ptitSeb i will go try that!

@noobmaster777
Copy link
Author

Hi @ptitSeb I recently found the time to test this. Box86(0.3.4) with Box64(0.3.2) was built with wine 7.0.1 on my Raspberry Pi 5 and is working however it yielded the same result on the game. When I built Box64 with -D BOX32=ON I get this error when running "wine64 Heroes_HD.exe":

Image

Am I missing a library? Or perhaps a wine version incompatibility?

@ptitSeb
Copy link
Owner

ptitSeb commented Jan 31, 2025

Tu use box32 to run homm, you would simply use box64 wine Heroes_HD.exe

But looking at the log, there are some new wrapped function that needs to be implemented in box32 first, for your version of wine to run.

(note thta, on my side, I use wine x64 build, not wine 32bits, so that both 32bits and 64bits can be run on the same wine.

@noobmaster777
Copy link
Author

Ok i tried with "box64 wine Heroes3_HD.exe" and its the same. Thanks for your reply @ptitSeb, I guess il wait for the next updates. This project of yours is the best

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

No branches or pull requests

2 participants