-
Notifications
You must be signed in to change notification settings - Fork 804
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
[1.5] events: ignore ALT modifier if using Keyboard-as-Controller #7606
Conversation
You may have to use unpacked MPQs for this device to reduce RAM usage and improve load times (I had to for RG99 which also has 32 MiB of RAM). https://github.com/diasurgical/devilutionx-mpq-tools/ |
disable fullscreen hotkey as such
dcaeda1
to
7b1edab
Compare
Nice tks, the loading times seemed acceptable with |
@glebm now I remember that I tried with UNPACKED_MPQS, but even after placing unpacked |
@Apaczer The spawn.mpq from DevilutionX is not compatible with Also note that 1.5 and master should use different versions of https://github.com/diasurgical/devilutionx-mpq-tools/. The most important thing about using it for 32 MiB devices is RAM usage rather than load speed (faster loads are a nice side effect). I think without it you might simply run out of RAM in RAM-heavy places such as dungeon level 16 (depending on how much overhead there is from the OS). |
Indeed it is much smoother with unpacked mpq! I continue to have an issue with spawn version (to not go off-topic: diasurgical/devilutionx-mpq-tools#14) Going back to this change, I think this is good to have it regardless of the issue, but it would be also interesting to investigate why single pressed LALT forces FullScreen hotkey to even start in Dialog's UI (it is also happening on PC when HAS_KBCTRL is true and u have KBCTRL_BUTTON_B=SDLK_LALT assign at compile time) |
it has MP3 mislabeled as wav so it's probably even worse, but older ones do have wave, the right one will be about 50mb in size. You can extract it from the shareware installer using an MPQ tool (like smpq), link is in the main readme. |
When using HAS_KBCTRL flag, fullscreen hotkey should be avoided IMO (end-user don't expect them to happen on gamepad as well). Generally I wouldn't mind leaving it as it was, but there is weird event happening in DialogUI when only left alone LALT is pressed and game switches between Fullscreen/Windowed mode, so there may be smth more to look in PressKey().
@AJenbo, compiling it for old OE Miyoo devices with F1C100S (ARMv5, 32MB of RAM). I must congratulate for ppl working on this project, cuz the code is very portable even for such obscure platform with little resources 👍 .