-
-
Notifications
You must be signed in to change notification settings - Fork 234
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
Neverwinter Nights #401
Comments
Oh, indeed, I reproduce the issue on my side. That's a box86 issue, I'll try to fix it... |
Ok, it should be fixed now. |
Thanks for the very quick response. I've rebuilt Box86 with the latest commit but unfortunately I'm seeing the same behaviour as before; character movement is still broken when I try without using GL4ES. When I try with GL4ES I still get the black background so I'm unable to see if that makes any difference. I don't know if it could be related but I ran the tests for both projects. The Box86 tests passed all 17, but my build of GL4ES failed 3 out of 8. $ make test 63% tests passed, 3 tests failed out of 8 Total Test time (real) = 45.50 sec |
Are you sure about box86? Because it's fixed me. Characters facing their dirrection of moving (it was an issue with the Arc-tangente opcode, that should be fixed now). |
I believe I'm testing the updated code. Here's the committed change in my source tree: $ grep -n -A 15 0xF3 /home/sh/src/box86-master/src/dynarec/dynarec_arm_d9.c I followed the build instructions including I tried running Box86 from my fresh install in /usr/local/bin, but just to double check I've also tested running from the binary in the build directory. $ BOX86_LD_LIBRARY_PATH=./lib:./miles /home/sh/src/box86-master/build/box86 ./nwmain I'm right in thinking that Box86 doesn't cache any JIT generated code that could be stale? |
No JIT-cache indeed. Ok, it's my bad, I didn't tested enough and there is another issue. The fix I did improved thing, but there is another bug :( Back to the debugging... |
Ok, it should be good this time. Second fix on the same opcode... The black background with gl4es, I don't know: maybe the GLES driver have smaler texture size limit than the GL driver, and so some |
Perfect. Thank you very much. I'm amazed you managed to track the bug down to a problem with arc tan so quickly. |
Firstly thanks very much for Box86 and GL4ES!
I'm trying to run the Neverwinter Nights Linux client on the current version of Pi OS (standard 32 bit version) on a Raspberry Pi 4 B. The client is running at version 1.69. I am using the following version of Box86:
Box86 with Dynarec v0.2.3 d5e3bc9 built on Jun 20 2021 00:03:24
Everything appears to work as expected except that characters do not face the direction of travel; walking backwards or sideways and NPCs often have their backs towards characters when talking. In case this was OpenGL related I've downloaded and built version 1.1.5 of GL4ES using the ODROID profile (since I'm using the Mesa VC4 driver).
With GL4ES in place, when I run the game the screen background is black, though the bottom bar and any opened sub windows still show correctly. This means I've no way of knowing if GL4ES has fixed the original problem. I've tried changing the LIBGL_FB variable, but anything other than the default value of 0 makes the entire screen go black.
I believe you mentioned somewhere that you had this game working so I thought I would post here on the off chance that you might recognise the problems and be able to suggest a fix.
The text was updated successfully, but these errors were encountered: