Skip to content

BOTWRecompAndroid 0.2.12 (beta 25): Touch Controls Overhaul

Pre-release
Pre-release

Choose a tag to compare

@mamcjr mamcjr released this 02 Nov 20:47
· 12 commits to main since this release

Beta 25. Touch Controls Overhaul: controles de toque com ícones, gestos e o minimapa no alto. E a correção do nome do cavalo.

Touch Controls Overhaul

Controles de toque no mundo

  • Layout de ação: enquanto você joga no mundo, os botões mostram o que fazem, em vez de A, B, ZR. São eles: atacar, defender, arco, arremessar, interagir, pular, correr, agachar, assobiar, a Sheikah Slate, o inventário e o poder. Os menus do jogo continuam com os botões clássicos. Dá para desligar em Controles > Ícones de ação no mundo.
  • Ícones do próprio jogo, lidos dos seus arquivos (nada vem no APK):
    • o ataque e a troca de arma mostram a arma equipada, o arco mostra o arco equipado, e a defesa e a troca de escudo mostram o escudo equipado;
    • o poder mostra a runa selecionada;
    • tudo isso muda junto com o jogo (1.6.0, 1.8.2 e 1.9.0; na 1.0.0 os ícones ficam fixos).
  • Gestos:
    • Arco e arremessar: segure e arraste o mesmo dedo para mirar; com o controle por movimento ligado, a mira é pelo celular. A sensibilidade se ajusta em Controles.
    • Câmera: arraste em qualquer ponto da metade direita da tela.
    • Troca de arma e de escudo: segure o botão e escolha com um segundo dedo na metade direita.
    • Sheikah Slate: abre a luneta.
  • Leque de runas: um toque no poder usa a runa. Segurando, abre um leque com as suas runas acima do botão; solte sobre uma para selecioná-la.

Leque de runas

  • Surf com escudo: toque duas vezes no escudo e segure no segundo toque.
  • Minimapa no alto: com os controles de toque na tela, o minimapa, a hora, a temperatura e o sensor vão para o canto superior direito, fora do caminho dos botões. Com um controle conectado, voltam ao lugar de sempre.
  • Mapa pelo minimapa: toque no minimapa para abrir o mapa.
  • Edição do layout:
    • Em Controles, edite o layout de ação ou o clássico.
    • Na edição, toque num botão para selecioná-lo e use − e + para mudar o tamanho só dele.
    • "Padrão" volta as posições e os tamanhos.

Correções

  • Mapa em aspecto livre: agora ocupa a tela toda, com a moldura nas bordas da tela. Os marcadores e nomes não escorregam mais quando o mapa é movido para os lados: o terreno era esticado para a tela larga, mas os marcadores ficavam na parte 16:9 do meio.
  • Nome do cavalo (#165): o estábulo pede o nome em UTF-16, e o app mandava em UTF-8. Com duas letras ou mais, o nome saía vazio, e em cirílico virava lixo. Agora sai como foi digitado, e o limite conta letras, não bytes.

Diagnóstico

  • Mali que fecha depois de ~30 min (#176): o driver da Mali quebrava ao começar uma etapa de desenho. Esta versão anota no log ("DEAD VIEW") quando uma imagem já liberada chega ao driver, para achar qual é. Se o jogo fechar, anexe o botwrecomp-log-previous.txt.

Não precisa compilar o código do jogo de novo: é só instalar por cima da 0.2.x.

Problemas conhecidos

  • 1.0.0 em combate: os inimigos podem deixar linhas e riscos pretos ao morrer, e o jogo pode fechar durante a luta. Isso não acontece na 1.8.2 nem na 1.9.0: use uma delas por enquanto.
  • Aspecto livre: na troca de páginas do menu, a página aparece cortada na borda da parte 16:9 enquanto desliza.
  • A grama baixa ao longe só aparece de perto.
  • O reflexo na água acompanha a câmera quando o Link anda para os lados.
  • No driver de fábrica da Qualcomm, o fundo do menu de pausa fica preto.
  • Modo nativo: o Link às vezes pisca ao levar o primeiro golpe.

Nenhum arquivo do jogo vem incluído. Testada num celular só (POCO F7 Ultra, Adreno 830, Turnip). Para instalar e configurar: 0.1.0-beta. Créditos no README.


Beta 25. Touch Controls Overhaul: touch controls with icons, gestures and the minimap at the top. And a fix for horse names.

Touch Controls Overhaul

Touch controls in the world

  • Action layout: while you play in the world, buttons show what they do instead of A, B, ZR. They are: attack, shield, bow, throw, interact, jump, sprint, crouch, whistle, the Sheikah Slate, inventory and power. The game's menus keep the classic buttons. You can turn it off in Controls > Action icons in the world.
  • The game's own icons, read from your game files (nothing is shipped in the APK):
    • attack and the weapon picker show your equipped weapon, the bow button your equipped bow, and the shield buttons your equipped shield;
    • power shows the selected rune;
    • all of them change along with the game (1.6.0, 1.8.2 and 1.9.0; on 1.0.0 the icons are fixed).
  • Gestures:
    • Bow and throw: hold and drag the same finger to aim; with motion controls on, you aim by moving the phone. The sensitivity is in Controls.
    • Camera: drag anywhere on the right half of the screen.
    • Weapon and shield pickers: hold the button and choose with a second finger on the right half.
    • Sheikah Slate: opens the scope.
  • Rune fan: a tap on power uses the rune. Held, it opens a fan of your runes above the button; let go over one to select it.

Rune fan

  • Shield surfing: double-tap the shield button and hold on the second tap.
  • Minimap at the top: while the touch controls are on screen, the minimap, time, temperature and sensor move to the top right corner, out of the buttons' way. With a controller connected, they go back to their usual place.
  • Map from the minimap: tap the minimap to open the map.
  • Layout editing:
    • In Controls, edit the action layout or the classic one.
    • While editing, touch a button to select it and use − and + to change its own size.
    • "Default" resets positions and sizes.

Fixes

  • The map in unlocked aspect: it now fills the screen, with its frame at the screen's edges. Markers and names no longer drift when the map moves sideways: the terrain was stretched across the wide screen, but the markers stayed in the middle 16:9 part.
  • Horse names (#165): the stable asks for the name in UTF-16, and the app sent UTF-8. With two letters or more, the name came out empty, and Cyrillic turned into garbage. Now it comes out as typed, and the limit counts letters, not bytes.

Diagnostics

  • Mali closing after ~30 min (#176): Mali's driver crashed as a draw pass began. This version logs ("DEAD VIEW") when an image already freed reaches the driver, to find which one. If the game closes, please attach botwrecomp-log-previous.txt.

No need to build the game code again: just install over 0.2.x.

Known issues

  • 1.0.0 in combat: enemies can leave black lines and streaks when they die, and the game can close during a fight. This doesn't happen on 1.8.2 or 1.9.0: please use one of them for now.
  • Free aspect: when the menu turns its page, the page shows cut at the 16:9 part's edge while it slides.
  • Short grass in the distance only appears up close.
  • The water's reflection follows the camera when Link walks sideways.
  • On Qualcomm's stock driver, the pause menu's background is black.
  • Native mode: Link sometimes flickers on the first hit he takes.

No game files are included. Tested on one phone only (POCO F7 Ultra, Adreno 830, Turnip). To install and set up: 0.1.0-beta. Credits in the README.