Repository navigation
BOTWRecompAndroid 0.5.1 (beta 47): crash dos alvos da Pedra Sheikah, movimento dos controles
Pre-releaseBeta 47. Uma correção para um crash com o Magnesis e a câmera, o movimento dos controles Nintendo no Android e o mapa em 16:9 em telas estreitas.
Precisa compilar o código do jogo de novo, uma vez: a tela inicial pede depois de instalar.
Crash com os alvos da Pedra Sheikah (#415, #596)
O jogo guarda o alvo do Magnesis e da câmera da Pedra Sheikah. Às vezes, esse alvo é um ator que já tinha sumido, e o jogo lia a memória dele e fechava. No log isso aparecia como accessing 0x...3f800570 in the game's code em main+120bc44, na Mali e no Adreno.
- Agora um ator que já sumiu conta como "sem alvo", e o jogo segue. Quando isso acontece, o log diz
a stale actor in the target manager was ignored. - A correção é do SavageWindRecomp (MIT), o recomp de PC do BOTW, que achou o mesmo crash.
- Vale para o jogo 1.9.0 e 1.8.2. Na 1.6.0 e na 1.0.0 a função é diferente e ainda não foi coberta.
- O crash da f_100a1fb80 (#558, #568), com a Estase, é outro ponto e continua aberto.
Controles
Movimento dos controles Nintendo no Android (PR #545, Propinbo; #338, #521):
- Pro Controller, Joy-Con e controles no modo Switch, ligados pelo driver do Android, agora têm os eixos do giroscópio na ordem certa.
- O relógio do sensor desses controles andava quase 2x mais rápido que o real, e a mira voltava sozinha depois de mexer. Isso foi corrigido.
- O viés do giroscópio, em repouso, é aprendido separado para o celular e para cada controle, e a mira não deriva mais com o controle parado.
- Se algo piorar, dá para voltar em Driver variables:
LARECOMP_PAD_GYRO=x,y,z, para os eixos;LARECOMP_NO_CLOCK_SCALE=1, para o relógio;LARECOMP_NO_GYRO_BIAS=1, para o viés.
Tela
- Centralizar o mapa em 16:9 (PR #574, lican81; #553): em Tela, com a proporção Livre, uma opção nova mostra o mapa do mundo com as proporções originais, com faixas em cima e embaixo, em telas mais estreitas que 16:9 (dobráveis, tablets 4:3). Vem desligada.
Mali
- A thread de espera da GPU ligada por padrão (PR #466, maxi000q): na Mali, ler o progresso da GPU parava a thread de render até a GPU terminar. Agora ela usa a mesma thread de espera que o Turnip já usava. Num Helio G95 (Mali-G76), o autor mediu menos espera por quadro. Para desligar:
LARECOMP_SEQ_THREAD=0.
Problemas conhecidos
- Mali-G720 / G615: o app pode fechar depois de ~30 min (#496, #560). Desde a 0.4.13, alguns jogadores com G720 relatam que os mapeamentos de memória ficam bem abaixo do limite (#595); seguimos acompanhando.
- Crash com a Estase em f_100a1fb80 (#558, #568, #546).
- Minimapa em cima, logo depois de fechar a pausa ou o inventário (#259): por cerca de um segundo, o minimapa mostra o chão em vez do mapa.
- RADV no Xclipse 530: roda, mas com travadas de alguns segundos (#383). PanVK ainda não é suportado.
- A chuva cai mais devagar que no console. A grama baixa ao longe só aparece de perto. No driver de fábrica da Qualcomm, o fundo do menu de pausa fica preto.
Nenhum arquivo do jogo vem incluído. Testada no POCO F7 Ultra (Adreno 830, Turnip). Para instalar e configurar: 0.1.0-beta. Créditos no README.
Beta 47. A fix for a crash with Magnesis and the camera, Nintendo controllers' motion on Android, and the world map in 16:9 on narrow screens.
The game code must be built again, once: the start screen asks for it after you install.
Crash with the Sheikah Slate's targets (#415, #596)
The game keeps the target of Magnesis and of the Sheikah Slate's camera. Sometimes that target is an actor that was already gone, and the game read its memory and closed. In the log it showed as accessing 0x...3f800570 in the game's code at main+120bc44, on Mali and on Adreno.
- Now an actor that is already gone counts as "no target", and the game goes on. When that happens, the log says
a stale actor in the target manager was ignored. - The fix comes from SavageWindRecomp (MIT), BOTW's PC recomp, which found the same crash.
- It covers game versions 1.9.0 and 1.8.2. On 1.6.0 and 1.0.0 the function is different and isn't covered yet.
- The f_100a1fb80 crash (#558, #568), with Stasis, is a different spot and is still open.
Controllers
Nintendo controllers' motion on Android (PR #545, Propinbo; #338, #521):
- Pro Controller, Joy-Con and pads in Switch mode, connected through Android's driver, now get their gyroscope axes in the right order.
- These pads' sensor clock ran almost 2x faster than real time, and the aim sprang back after a movement. That's fixed.
- The gyroscope's resting bias is learned separately for the phone and for each controller, and the aim no longer drifts while the controller is still.
- If anything gets worse, you can roll it back in Driver variables:
LARECOMP_PAD_GYRO=x,y,zfor the axes;LARECOMP_NO_CLOCK_SCALE=1for the clock;LARECOMP_NO_GYRO_BIAS=1for the bias.
Display
- Center world map at 16:9 (PR #574, lican81; #553): under Display, with the Unlocked aspect ratio, a new option shows the world map at its original proportions, with bars above and below, on screens narrower than 16:9 (foldables, 4:3 tablets). Off by default.
Mali
- The GPU-progress waiter thread on by default (PR #466, maxi000q): on Mali, reading the GPU's progress stopped the render thread until the GPU finished. Now it uses the same waiter thread Turnip already did. On a Helio G95 (Mali-G76), the author measured less waiting per frame. To turn it off:
LARECOMP_SEQ_THREAD=0.
Known issues
- Mali-G720 / G615: the app can close after ~30 min (#496, #560). Since 0.4.13, some G720 players report memory mappings staying well below the limit (#595); we're still following it.
- Crash with Stasis in f_100a1fb80 (#558, #568, #546).
- Minimap at the top, right after closing the pause or the inventory (#259): for about a second the minimap shows the ground instead of the map.
- RADV on Xclipse 530: it runs, but with freezes of a few seconds (#383). PanVK isn't supported yet.
- Rain falls slower than on the console. Short grass in the distance only appears up close. On Qualcomm's stock driver, the pause menu's background is black.
No game files are included. Tested on the POCO F7 Ultra (Adreno 830, Turnip). To install and set up: 0.1.0-beta. Credits in the README.