Repository navigation
Releases
BOTWRecompAndroid 0.5.3 (beta 49): profundidade de 16 bits, para os Huawei Maleoon
Beta 49. Uma opção nova para o formato da profundidade das sombras, que deve resolver as cenas escuras nos Huawei Maleoon.
Vindo da 0.5.2, não precisa compilar o código do jogo de novo: é só instalar por cima. De versões anteriores, a tela inicial pede uma vez.
Profundidade de 16 bits (#516, #240)
O jogo guarda a profundidade dos mapas de sombra em 16 bits (D16). O driver dos Huawei Maleoon recusava o D16 e fechava o jogo na abertura (#301). Por isso, desde a 0.4.0, o app usava D32 nesses aparelhos. Só que o D32 deixa cenas inteiras escuras: o céu fica certo, mas o terreno, as construções e os personagens quase pretos (#516). No POCO F7 Ultra, forçando o D32, a mesma cena ficou com metade do brilho.
- Opção nova: tela inicial > Compatibilidade do driver > Profundidade de 16 bits (sombras): Automático, D16, D32 ou D24.
- Automático nos Maleoon agora é D24, e D32 só se o driver não aceitar o D24. No POCO, o D24 sai praticamente igual ao D16. Nas outras GPUs nada muda: continua D16.
- Se um formato não puder ser usado para tudo nesse driver, o app troca por outro que possa, e o log diz qual.
- No Maleoon 920C (#240), o driver recusa o D16 e o D32, então o D24 é a opção a testar.
- O log mostra o formato em uso na linha
[vk] depth16:.
Quem tem Maleoon: teste com o Automático e diga se as cenas voltaram ao normal. Se não, tente as outras opções e mande o botwrecomp-log.txt (Configurações > Arquivos).
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.
- 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 49. A new option for the format of the shadows' depth, which should fix the dark scenes on Huawei Maleoon.
Coming from 0.5.2, there's no need to build the game code again: just install over it. From older versions, the start screen asks once.
16-bit depth (#516, #240)
The game keeps its shadow maps' depth in 16 bits (D16). The Huawei Maleoon driver rejected D16 and closed the game as it opened (#301). So since 0.4.0 the app used D32 on those phones. But D32 leaves whole scenes dark: the sky is right, but the terrain, the buildings and the characters are almost black (#516). On the POCO F7 Ultra, with D32 forced, the same scene had half the brightness.
- New option: start screen > Driver compatibility > 16-bit depth (shadows): Automatic, D16, D32 or D24.
- Automatic on Maleoon is now D24, and D32 only if the driver doesn't accept D24. On the POCO, D24 looks practically the same as D16. Nothing changes on other GPUs: they stay on D16.
- If a format can't be used for everything on that driver, the app switches to one that can, and the log says which.
- On the Maleoon 920C (#240), the driver rejects both D16 and D32, so D24 is the option to try.
- The log shows the format in use on the
[vk] depth16:line.
If you have a Maleoon: try Automatic and tell us whether the scenes look normal again. If not, try the other options and send botwrecomp-log.txt (Settings > Files).
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.
- 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.
BOTWRecompAndroid 0.5.2 (beta 48): mods de código
Beta 48. Mods que trazem código agora funcionam, e mais um crash com os alvos da Pedra Sheikah foi coberto.
Precisa compilar o código do jogo de novo, uma vez: a tela inicial pede depois de instalar.
Mods de código (#390)
Até aqui o app usava só a pasta romfs dos mods, que guarda arquivos do jogo, como textos, texturas e modelos. Agora ele também usa a pasta exefs, como o Eden, o Yuzu e o Ryujinx:
- Patches IPS do código do jogo (
exefs/<build id>.ips, IPS ou IPS32): entram no código do jogo quando ele é compilado. - Módulos extras (
exefs/subsdk1asubsdk9, como os feitos com exlaunch): também são compilados e ficam logo depois do código do jogo, onde o Switch os coloca.
Funciona nos modos Recompilado e Nativo. O teste foi com a tradução árabe Arabic_Hesham, que forma as letras árabes e põe o texto da direita para a esquerda com o próprio código: a tela de título e os menus saem em árabe.
Como usar:
- Em Configurações > Mods > Importar pasta de mod, escolha a pasta do mod, a que tem
romfse/ouexefsdentro. A tela de Mods ainda fala só emromfs, mas as duas são importadas. - No modo Recompilado, ligar, desligar ou trocar um mod de código pede para compilar o código do jogo de novo. A tela inicial avisa, e leva uns 15 minutos no POCO F7 Ultra. No modo Nativo não precisa: vale na próxima vez que o jogo abrir.
- Os patches valem só para a versão do jogo para a qual foram feitos: o nome do
.ipsé o build id dessa versão. Um patch de outra versão é ignorado, e o log diz isso.
O que ainda não funciona:
- Mods que mudam o código do jogo enquanto ele roda (ganchos do exlaunch instalados na inicialização) no modo Recompilado. No Nativo podem funcionar, mas não foram testados.
- Arquivos
.pchtxte a troca domainou dosdkinteiros.
Crash com os alvos da Pedra Sheikah (#401)
A 0.5.1 passou a ignorar um ator que já tinha sumido quando o jogo pede o alvo do Magnesis ou da câmera. No crash da #401 na 0.5.0, o ator parecia válido, mas o vínculo dele apontava para o código do jogo, e o valor lido ali não era um objeto. Esse caso agora também conta como "sem alvo".
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.
- Huawei Maleoon: cenas escuras desde a 0.4.0 (#516), e um crash no 920C (#240): os dois estão ligados ao formato de profundidade; uma opção para testar vem na próxima versão.
- 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 48. Mods that bring code now work, and one more crash with the Sheikah Slate's targets is covered.
The game code must be built again, once: the start screen asks for it after you install.
Code mods (#390)
Until now the app used only a mod's romfs folder, which holds the game's files, such as text, textures and models. Now it also uses the exefs folder, as Eden, Yuzu and Ryujinx do:
- IPS patches for the game's code (
exefs/<build id>.ips, IPS or IPS32): they go into the game code when it is built. - Extra modules (
exefs/subsdk1tosubsdk9, like the ones made with exlaunch): they are built too, and placed right after the game's code, where the Switch puts them.
It works in both Recompiled and Native mode. It was tested with the Arabic_Hesham translation, which shapes the Arabic letters and lays the text out right to left with its own code: the title screen and the menus show in Arabic.
How to use it:
- In Settings > Mods > Import a mod folder, pick the mod's folder, the one with
romfsand/orexefsinside. The Mods page still mentions onlyromfs, but both are imported. - In Recompiled mode, turning a code mod on or off, or changing it, needs the game code built again. The start screen says so, and it takes about 15 minutes on the POCO F7 Ultra. Native mode doesn't need it: the change applies the next time the game opens.
- Patches only apply to the game version they were made for: the
.ipsfile is named after that version's build id. A patch for another version is skipped, and the log says so.
What doesn't work yet:
- Mods that change the game's code while it runs (exlaunch hooks installed at start-up) in Recompiled mode. In Native mode they may work, but they haven't been tested.
.pchtxtfiles, and replacing the wholemainorsdk.
Crash with the Sheikah Slate's targets (#401)
0.5.1 started ignoring an actor that was already gone when the game asks for the Magnesis or camera target. In #401's 0.5.0 crash, the actor looked valid, but its link pointed into the game's code, and the value read there wasn't an object. That case now counts as "no target" too.
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.
- Huawei Maleoon: dark scenes since 0.4.0 (#516), and a crash on the 920C (#240): both are tied to the depth format; an option to test comes in the next version.
- 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.
BOTWRecompAndroid 0.5.1 (beta 47): crash dos alvos da Pedra Sheikah, movimento dos controles
Beta 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.
BOTWRecompAndroid 0.5.0 (beta 46): amiibo
Beta 46. Agora dá para usar amiibo no jogo, sem figura física, e os menus ficaram mais fáceis de usar com o dedo.
amiibo (#181)
Um leitor de amiibo virtual, com as 36 figuras que o jogo reconhece: as da série Zelda, o Lobo Link, e as de outras séries que dão itens.
- Como usar: escolha a runa amiibo e aponte para onde os itens vão cair. Depois toque de novo no botão da runa (no layout clássico, o L): o menu abre já na escolha do amiibo, em Controles. Escolha a figura e toque em Encostar o amiibo. O menu fecha e o jogo lê a figura.
- Com um controle, ou fora da runa: abra o menu e vá em Controles > amiibo.
- Cada figura dá seus itens uma vez por dia, como no Switch. Os dados de cada figura ficam salvos no app: o coração e o progresso do Lobo Link continuam entre as partidas.
Menus no toque
- As listas rolam com o dedo, com inércia, inclusive as que abrem (como a de amiibo): antes era preciso arrastar uma barra de rolagem fina. As barras e os puxadores também ficaram maiores.
- Configurações do overlay recolhidas: em Mostrar FPS, um item Configurações do overlay mostra ou esconde o estilo, o tamanho e a opacidade. Os itens do que o overlay mostra só aparecem no estilo detalhado.
Não precisa compilar o código do jogo de novo: é só instalar por cima.
Problemas conhecidos
- Mali-G720 / G615: o app pode fechar depois de ~30 min (#496, #560): o número de mapeamentos de memória chega ao limite do Android. Os logs mostram a memória crescendo com os pipelines; estamos investigando.
- 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: o jogo cai dentro do driver RADV ao entrar no mundo (#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 46. amiibo now work in the game, with no physical figure, and the menus are easier to use with a finger.
amiibo (#181)
A virtual amiibo reader, with the 36 figures the game recognizes: the Zelda series, Wolf Link, and the ones from other series that give items.
- How to use it: pick the amiibo rune and aim where the items should land. Then tap the rune button again (L on the classic layout): the menu opens on the amiibo picker, in Controls. Pick the figure and tap Touch the amiibo. The menu closes and the game reads the figure.
- With a controller, or outside the rune: open the menu and go to Controls > amiibo.
- Each figure gives its items once a day, as on the Switch. Each figure's data is kept in the app: Wolf Link's hearts and progress carry over between sessions.
Menus on touch
- Lists scroll with a finger, with momentum, including the ones that drop down (like the amiibo list): before, you had to drag a thin scrollbar. Scrollbars and grabs are bigger too.
- Overlay settings folded: under Show FPS, an Overlay settings row shows or hides the style, size and opacity. The rows for what the overlay shows appear only with the detailed style.
No need to build the game's code again: just install over the previous version.
Known issues
- Mali-G720 / G615: the app can close after ~30 min (#496, #560): the number of memory mappings reaches Android's limit. The logs show memory growing with the pipelines; we're investigating.
- 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: the game crashes inside the RADV driver when entering the world (#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.
BOTWRecompAndroid 0.4.13 (beta 45): correção para o travamento da Mali nas lutas
Beta 45. Uma correção para o travamento depois de alguns minutos de luta na Mali, e três mudanças de desempenho para a Mali.
O travamento da Mali (#401)
Na Mali-G1 Ultra do #401, o jogo travava depois de alguns minutos de luta (com muitos efeitos), no modo Nativo e no Recompilado. Os logs mostravam uma thread do jogo presa percorrendo a lista de blocos livres do alocador de memória do jogo, que dava a volta.
- A causa provável: na Mali, o que um shader grava na memória do jogo é copiado de volta quando a GPU termina. Fora da "arena" de memória global, essa cópia era da faixa inteira, e desfazia o que o jogo tinha escrito ali no meio-tempo, inclusive os cabeçalhos e os links da lista de blocos livres, que ficam logo antes dos buffers. A 0.4.10 já fazia a cópia certa, mas só dentro da arena, que nunca liga nas Malis cujo driver oferece a importação de memória (como a G1 Ultra).
- O que muda: agora volta só o que a GPU mudou, palavra por palavra, e o que o jogo escreveu no meio-tempo fica. Quando isso acontece, o log diz
copy-back: a word the game wrote meanwhile kept. - No POCO F7 Ultra, no mesmo caminho da Mali (forçado), o desempenho ficou igual. Quem tinha o travamento: jogue as mesmas lutas e conte se ainda trava. Se travar, espere uns 15 s, feche o app e mande o
botwrecomp-log-previous.txt(Configurações > Arquivos).
Mali
- Leitura direta da imagem desenhada no Automático (#549): numa Mali-G615, decalques e efeitos que leem a imagem sobre a qual desenham passaram a ler direto, sem cópias: de 27,6 para 29,7 fps em média, e de ~25% para 88% do tempo a 30 fps cheios. Se aparecer algo desenhado errado, desligue em tela inicial > Compatibilidade do driver > Leitura direta da imagem desenhada.
- Render passes clássicos nos drivers Mali r49 e mais novos (PR #534, Propinbo): uma opção nova em Compatibilidade do driver, no Automático ligada nesses drivers. Na primeira partida depois de atualizar, a Mali r49+ recompila os pipelines: os primeiros minutos podem travar um pouco, como numa instalação nova.
- Texturas comprimidas decodificadas em 4 threads (PR #531, Propinbo): nas GPUs sem BC (a maioria das Malis), menos travadinhas ao carregar texturas.
Não precisa compilar o código do jogo de novo: é só instalar por cima. No Turnip nada muda.
Problemas conhecidos
- Mali-G720 / G615: o app pode fechar depois de ~30 min (#496, #560): o número de mapeamentos de memória chega ao limite do Android. Os logs mostram a memória crescendo com os pipelines; estamos investigando.
- 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: o jogo cai dentro do driver RADV ao entrar no mundo (#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 45. A fix for the freeze after a few minutes of fighting on Mali, and three performance changes for Mali.
The Mali freeze (#401)
On the Mali-G1 Ultra of #401, the game froze after a few minutes of fighting (with many effects), in Native and Recompiled mode alike. The logs showed a game thread stuck walking the free-block list of the game's memory allocator, which looped.
- The likely cause: on Mali, what a shader writes into the game's memory is copied back when the GPU finishes. Outside the global-memory "arena", that copy was the whole range, and it undid what the game had written there meanwhile, including the headers and links of the free-block list that sit right before the buffers. 0.4.10 already did the right copy, but only inside the arena, which never starts on Malis whose driver offers the memory import (like the G1 Ultra).
- What changes: now only what the GPU changed goes back, word by word, and what the game wrote meanwhile stays. When that happens, the log says
copy-back: a word the game wrote meanwhile kept. - On the POCO F7 Ultra, in the same path as the Mali (forced), performance stayed the same. If you had the freeze: play the same fights and tell us whether it still freezes. If it does, wait about 15 s, close the app and send
botwrecomp-log-previous.txt(Settings > Files).
Mali
- Draw-target reads in place on Automatic (#549): on a Mali-G615, decals and effects that read the image they draw on now read it directly, without copies: 27.6 to 29.7 fps on average, and ~25% to 88% of the time at a full 30 fps. If something draws wrong, turn it off on the start screen > Driver compatibility > Draw-target reads in place.
- Classic render passes on Mali r49 and newer drivers (PR #534, Propinbo): a new option under Driver compatibility, on in Automatic for those drivers. On the first game after updating, Mali r49+ builds its pipelines again: the first minutes may stutter a little, as after a fresh install.
- Compressed textures decoded on 4 threads (PR #531, Propinbo): on GPUs without BC (most Malis), fewer hitches while textures load.
No need to build the game's code again: just install over the previous version. Nothing changes on Turnip.
Known issues
- Mali-G720 / G615: the app can close after ~30 min (#496, #560): the number of memory mappings reaches Android's limit. The logs show memory growing with the pipelines; we're investigating.
- 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: the game crashes inside the RADV driver when entering the world (#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.
BOTWRecompAndroid 0.4.12 (beta 44): eixos do giroscópio do controle e FIFO no Adreno 7xx
Beta 44. Duas opções novas, uma correção do HUD nos santuários e duas mudanças para a Mali.
Novidades
- Eixos do giroscópio do controle (Configurações > Controles; #511, #521): para controles cujo giroscópio informa os eixos em outra ordem, como o DataFrog B01 e o Flydigi Direwolf 4, e a mira anda de lado quando você levanta o controle. As opções são "Como o controle informa", "Trocar esquerda-direita e cima-baixo", "Trocar cima-baixo e inclinação" e "Trocar esquerda-direita e inclinação". A troca vale na hora.
- Esperar a tela (FIFO) (tela inicial, em Compatibilidade do driver; #367): num Adreno 730, a imagem congelava por segundos enquanto o som e o jogo continuavam. Esperar a tela resolveu. A opção tem Automático, Ligado e Desligado. O Automático liga no Adreno 7xx e deixa desligado nas outras GPUs, como antes. Se a imagem congelar assim no seu aparelho, ligue.
Correções
- Minimapa em cima, nos santuários (#261): com o minimapa em cima, as barras de som e temperatura subiam e desciam a cada segundo dentro dos santuários. Uma peça do HUD que aparece e some ali era tomada pelo disco do minimapa. Agora só o disco conta.
- Mali, mapeamentos de memória (#450, #496): no modo de cópias da Mali, cada página que o jogo escrevia era liberada sozinha, e isso partia o mapa de memória até o limite do Android (~65 mil) depois de meia hora. Agora uma escrita libera de uma vez o trecho em volta, até 1 MB para cada lado. Não testado numa Mali real: quem tinha o app fechando depois de ~35 min, conte se mudou.
- Mali, alvos inteiros de 16 e 8 bits: o shader agora grava os bits baixos do valor, como o Switch, em vez de a Mali saturar. Do Savage Wind Recomp, onde corrigia os balões de fala dos NPCs.
- Leitura dos alvos no lugar na Mali (PR #507, Propinbo): a opção "Leitura direta da imagem desenhada" (tela inicial, em Compatibilidade do driver) agora também pode ser ligada na Mali.
- PR #537 (Propinbo): corrige o caminho opcional
LARECOMP_VK_DESCRIPTOR_PLAN=1. PR #480 (Propinbo): o benchmark confere a altura do Link e ganhou um conjunto de 12 cenas. - O log agora registra o clock da GPU quando o jogo cai para 20 fps, nos aparelhos em que o Android deixa o app ler (no POCO não deixa).
Não precisa compilar o código do jogo de novo: é só instalar por cima.
Problemas conhecidos
- Mali e driver de fábrica da Qualcomm, travamento depois de alguns minutos (#401): os logs mostram o alocador de memória do jogo preso num loop. Estamos testando se acontece também no modo Recompilado.
- 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. Já reproduzido, a correção vem numa próxima versão.
- Mali-G720 / G615: o app pode fechar depois de ~35 min (#496), se a mudança acima não bastar.
- RADV no Xclipse 530: o jogo cai dentro do driver RADV ao entrar no mundo (#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 44. Two new options, a HUD fix for shrines and two changes for Mali.
New
- Controller gyro axes (Settings > Controls; #511, #521): for controllers whose gyroscope reports its axes in another order, like the DataFrog B01 and the Flydigi Direwolf 4, where the aim moves sideways when you tilt the controller up. The choices are "As reported", "Swap left-right and up-down", "Swap up-down and tilt" and "Swap left-right and tilt". It applies at once.
- Wait for the screen (FIFO) (start screen, under Driver compatibility; #367): on an Adreno 730 the picture froze for seconds while the sound and the game went on. Waiting for the screen fixed it. The option has Automatic, On and Off. Automatic is on for Adreno 7xx and off for other GPUs, as before. If the picture freezes like that on your device, turn it on.
Fixes
- Minimap at the top, in shrines (#261): with the minimap at the top, the sound and temperature meters moved up and down every second inside shrines. A HUD piece that comes and goes there was taken for the minimap's disc. Now only the disc counts.
- Mali, memory mappings (#450, #496): in Mali's copy mode, each page the game wrote was opened on its own, which split the memory map until Android's limit (~65,000) after half an hour. Now one write opens the run around it, up to 1 MB each way. Not tested on a real Mali: if the app used to close after ~35 min for you, tell us whether that changed.
- Mali, 16 and 8-bit integer targets: the shader now writes the low bits of the value, as the Switch does, instead of Mali saturating it. From Savage Wind Recomp, where it fixed the NPCs' speech bubbles.
- Draw-target reads in place on Mali (PR #507, Propinbo): the "Draw-target reads in place" option (start screen, under Driver compatibility) can now be turned on on Mali too.
- PR #537 (Propinbo): fixes the opt-in
LARECOMP_VK_DESCRIPTOR_PLAN=1path. PR #480 (Propinbo): the benchmark checks Link's height and gained a 12-scene set. - The log now records the GPU clock when the game drops to 20 fps, on devices where Android lets the app read it (the POCO doesn't).
No need to build the game's code again: just install over the previous version.
Known issues
- Mali and Qualcomm's stock driver, freeze after a few minutes (#401): the logs show the game's memory allocator stuck in a loop. We're testing whether it also happens in Recompiled mode.
- 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. Reproduced; the fix comes in a later version.
- Mali-G720 / G615: the app can close after ~35 min (#496), if the change above isn't enough.
- RADV on Xclipse 530: the game crashes inside the RADV driver when entering the world (#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.
BOTWRecompAndroid 0.4.11 (beta 43): o jogo não fecha mais por falta de memória no Adreno 640
Beta 43. Uma correção para o jogo que fechava depois de alguns minutos num Adreno 6xx com 8 GB de RAM.
Adreno 6xx com 8 GB de RAM (#520)
O log do OnePlus 7 Pro (Adreno 640, 8 GB) mostrou que a GPU ficava sem memória: depois de 8 a 28 minutos, o driver não conseguia mais criar os pipelines (os "programas" que desenham cada tipo de objeto), e o jogo fechava logo depois.
- A causa: no Turnip, a opção Memória do jogo na GPU (Turnip) no Automático coloca os ~3,1 GB da memória do jogo direto na GPU. Num aparelho com 8 GB, isso deixava pouca memória para o próprio driver.
- O que muda: num Adreno 6xx com 8 GB de RAM ou menos, o Automático agora deixa essa opção desligada, e o jogo trabalha com cópias. A tela inicial avisa isso embaixo da opção. Com cópias, o mesmo aparelho jogou 2 horas sem fechar, com o texto certo e de 13 a 16 fps (antes, de 10 a 14). Quem quiser pode ligar a opção na mão.
- E se a memória acabar mesmo assim: antes, um pipeline que falhava por falta de memória ficava perdido até o fim da sessão, e o que ele desenhava sumia. Agora os pipelines sem uso são liberados na hora, e o que falhou é criado de novo 5 s depois.
- No POCO F7 Ultra (Adreno 830) nada muda. Testei lá a falta de memória simulada: o jogo continuou sem travar e com o mesmo desempenho.
- Quem tem um Adreno 6xx com 8 GB: jogue como antes e conte se o jogo ainda fecha. Se fechar, mande o
botwrecomp-log-previous.txt(Configurações > Arquivos).
Não precisa compilar o código do jogo de novo: é só instalar por cima.
Problemas conhecidos
- Mali e driver de fábrica da Qualcomm: a 0.4.10 trouxe uma correção para o travamento depois de alguns minutos (#401). Ainda esperamos a confirmação de quem tinha o problema.
- Mali-G720 / G615: o app pode fechar depois de ~35 min porque os mapeamentos de memória crescem (#496).
- 4 GB de RAM: perto de 20 fps no mundo, e o fps cai quando o aparelho esquenta.
- RADV no Xclipse 530: o jogo cai dentro do driver RADV ao entrar no mundo (#383). PanVK ainda não é suportado (#497, #503).
- 1.0.0 em combate: os inimigos podem deixar linhas pretas ao morrer. Use a 1.8.2 ou a 1.9.0.
- 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 43. A fix for the game closing after a few minutes on an Adreno 6xx with 8 GB of RAM.
Adreno 6xx with 8 GB of RAM (#520)
The log from a OnePlus 7 Pro (Adreno 640, 8 GB) showed the GPU running out of memory: after 8 to 28 minutes the driver could no longer create pipelines (the "programs" that draw each kind of object), and the game closed soon after.
- The cause: on Turnip, Game memory on the GPU (Turnip) on Automatic puts the game's ~3.1 GB of memory straight on the GPU. On an 8 GB device, that left little memory for the driver itself.
- What changes: on an Adreno 6xx with 8 GB of RAM or less, Automatic now leaves that option off, and the game works with copies. The start screen says so under the option. With copies, the same device played for 2 hours without closing, with correct text and 13 to 16 fps (10 to 14 before). You can still turn the option on by hand.
- If memory still runs out: before, a pipeline that failed for lack of memory was lost for the rest of the session, and what it drew disappeared. Now unused pipelines are freed at once, and the failed one is created again 5 s later.
- Nothing changes on the POCO F7 Ultra (Adreno 830). I tested a simulated out-of-memory there: the game kept going without freezing, at the same performance.
- If you have an Adreno 6xx with 8 GB: play as before and tell us whether the game still closes. If it does, send
botwrecomp-log-previous.txt(Settings > Files).
No need to build the game's code again: just install over the previous version.
Known issues
- Mali and Qualcomm's stock driver: 0.4.10 brought a fix for the freeze after a few minutes (#401). We're still waiting for confirmation from those who had it.
- Mali-G720 / G615: the app can close after ~35 min because memory mappings grow (#496).
- 4 GB RAM: close to 20 fps in the world, and fps drops as the device heats up.
- RADV on Xclipse 530: the game crashes inside the RADV driver when entering the world (#383). PanVK isn't supported yet (#497, #503).
- 1.0.0 in combat: enemies can leave black lines when they die. Please use 1.8.2 or 1.9.0.
- 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.
BOTWRecompAndroid 0.4.10 (beta 42): uma correção para o travamento na Mali
Beta 42. Uma correção para o travamento depois de alguns minutos nas GPUs que trabalham no modo cópia (Mali e o driver de fábrica da Qualcomm).
O travamento depois de alguns minutos (#401, #489)
Os logs da 0.4.9 mostraram que o problema não era a ordem das threads nos núcleos: com a opção nova ligada, o jogo travou do mesmo jeito, e o laço estava no alocador de memória do jogo, que percorria uma lista de blocos livres danificada.
- A causa provável: nessas GPUs, o que um shader grava na memória do jogo volta para ela depois que a GPU termina. Cada pedaço era conferido ("a GPU mudou, o jogo não") e depois copiado inteiro. Se uma thread do jogo escrevesse no mesmo pedaço entre as duas coisas, por exemplo nos dados que o alocador guarda ao lado de cada bloco, essa escrita se perdia. Uma escrita perdida ali deixa a lista de blocos livres em laço, e o jogo para.
- A correção: só volta o que a GPU mudou, palavra por palavra, e cada palavra só é escrita se o jogo não a mudou nesse meio-tempo. A escrita do jogo nunca se perde.
- No POCO F7 Ultra (Turnip) a memória do jogo fica na própria GPU e nada volta, por isso ele nunca travou. Testada lá também no modo cópia, sem perda de desempenho.
- A opção Turnos por núcleo como no Switch continua nas Configurações, mas não ajudou neste travamento: pode deixar desligada.
- Quem tinha o travamento: jogue como antes e conte se ainda trava. Se travar, espere uns 15 s, feche o app e mande o
botwrecomp-log-previous.txt(Configurações > Arquivos).
Não precisa compilar o código do jogo de novo: é só instalar por cima.
Problemas conhecidos
- Mali-G720 / G615: o app pode fechar depois de ~35 min porque os mapeamentos de memória crescem (#496).
- Adreno 640 com 8 GB: "Memória do jogo na GPU (Turnip)" no Automático pode esgotar a memória do driver e fechar o jogo depois de alguns minutos (#520). Desligue em Configurações > Prelaunch > Compatibilidade do driver.
- 4 GB de RAM: perto de 20 fps no mundo, e o fps cai quando o aparelho esquenta.
- RADV no Xclipse 530: o jogo cai dentro do driver RADV ao entrar no mundo (#383). PanVK ainda não é suportado (#497, #503).
- 1.0.0 em combate: os inimigos podem deixar linhas pretas ao morrer. Use a 1.8.2 ou a 1.9.0.
- 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 42. A fix for the freeze after a few minutes on GPUs that work in copy mode (Mali, and Qualcomm's stock driver).
The freeze after a few minutes (#401, #489)
The 0.4.9 logs showed it wasn't about how threads take turns on the cores: with the new option on, the game froze the same way, and the loop was in the game's memory allocator, walking a damaged list of free blocks.
- The likely cause: on these GPUs, what a shader writes into the game's memory is copied back once the GPU is done. Each piece was checked ("the GPU changed it, the game didn't") and then copied whole. If a game thread wrote into the same piece between the two steps (for example, the data the allocator keeps next to each block), that write was lost. One lost write there makes the free-block list loop, and the game stops.
- The fix: only what the GPU changed goes back, word by word, and each word is written only if the game hasn't changed it meanwhile. The game's write is never lost.
- On the POCO F7 Ultra (Turnip) the game's memory lives on the GPU and nothing is copied back, which is why it never froze there. Also tested there in copy mode, with no performance cost.
- The Switch-style core turns option stays in Settings, but it didn't help with this freeze: you can leave it off.
- If you had the freeze: play as before and tell us whether it still happens. If it does, wait about 15 s, close the app, and send
botwrecomp-log-previous.txt(Settings > Files).
No need to build the game's code again: just install over the previous version.
Known issues
- Mali-G720 / G615: the app can close after ~35 min because memory mappings grow (#496).
- Adreno 640 with 8 GB: "Game memory on the GPU (Turnip)" on Automatic can exhaust the driver's memory and close the game after a few minutes (#520). Turn it off in Settings > Prelaunch > Driver compatibility.
- 4 GB RAM: close to 20 fps in the world, and fps drops as the device heats up.
- RADV on Xclipse 530: the game crashes inside the RADV driver when entering the world (#383). PanVK isn't supported yet (#497, #503).
- 1.0.0 in combat: enemies can leave black lines when they die. Please use 1.8.2 or 1.9.0.
- 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.
BOTWRecompAndroid 0.4.9 (beta 41): uma opção contra o travamento, e telas mais quadradas
Beta 41. Uma opção experimental para o travamento depois de alguns minutos, um relatório de travamento mais completo, o modo Livre em telas mais quadradas que 16:9, e menos cópias de constantes na Mali.
O travamento depois de alguns minutos (#401)
Os logs da 0.4.8 mostraram onde ele para: a thread principal do jogo fica presa para sempre percorrendo uma lista dos efeitos do jogo que foi danificada antes. O código de efeitos do jogo escolhe uma área de trabalho pelo número do núcleo da CPU em que a thread está. No Switch, duas threads do mesmo núcleo nunca rodam ao mesmo tempo; aqui isso só valia para o núcleo 0, então duas threads dos núcleos 1 ou 2 podiam usar a mesma área de uma vez.
- Nova opção: Configurações > Turnos por núcleo como no Switch (experimental). As threads que dividem um núcleo se revezam nos núcleos 0 a 2, e não só no 0. Vem desligada. Quem tem o travamento: ligue, jogue como antes e conte se ainda trava. Vale na próxima vez que o jogo iniciar.
- Relatório de travamento: as threads que estão rodando dizem em que função do app estão e de qual núcleo seguram a vez, e as que ficam paradas numa função do app ou segurando a vez mostram onde estão.
Telas mais quadradas (#474)
- Aspecto Livre em telas mais quadradas que 16:9 (tablets 16:10, 3:2, 4:3, dobráveis abertos): a imagem ocupa a altura toda e o jogo mostra mais em cima e embaixo, em vez de faixas. Em Original, volta o 16:9 com faixas. Contribuição do Propinbo (#504).
Desempenho
- Mali (modo cópia): constantes dos shaders copiadas só na parte que muda, com um cache por envio, em vez do buffer inteiro a cada desenho. Ligado por padrão na Mali; nas outras GPUs não muda nada. Contribuição do Propinbo (#506).
Não precisa compilar o código do jogo de novo: é só instalar por cima.
Problemas conhecidos
- O jogo pode travar depois de alguns minutos (#401 na Mali-G1, #489 numa Adreno 710): experimente a opção nova acima.
- Mali-G720 / G615: o app pode fechar depois de ~35 min porque os mapeamentos de memória crescem (#496).
- 4 GB de RAM: perto de 20 fps no mundo, e o fps cai quando o aparelho esquenta.
- RADV no Xclipse 530: o jogo cai dentro do driver RADV ao entrar no mundo (#383). PanVK ainda não é suportado (#497, #503).
- 1.0.0 em combate: os inimigos podem deixar linhas pretas ao morrer. Use a 1.8.2 ou a 1.9.0.
- 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 41. An experimental option for the freeze after a few minutes, a fuller freeze report, Unlocked aspect on screens squarer than 16:9, and fewer constant copies on Mali.
The freeze after a few minutes (#401)
The 0.4.8 logs showed where it stops: the game's main thread gets stuck forever walking a list of the game's effects that was damaged earlier. The game's effect code picks a work area by the number of the CPU core its thread is on. On the Switch, two threads of the same core never run at once; here that only held for core 0, so two threads of core 1 or 2 could use the same area at the same time.
- New option: Settings > Switch-style core turns (experimental). Threads that share a core take turns on cores 0 to 2, not only on core 0. It's off by default. If you get the freeze: turn it on, play as before, and tell us whether it still freezes. Applies the next time the game starts.
- Freeze report: running threads say which app function they're in and which core's turn they hold, and threads stuck in an app function or holding a turn show where they are.
Squarer screens (#474)
- Unlocked aspect on screens squarer than 16:9 (16:10 tablets, 3:2, 4:3, unfolded foldables): the picture fills the full height and the game shows more above and below, instead of bars. Original brings back 16:9 with bars. Contributed by Propinbo (#504).
Performance
- Mali (copy mode): shader constants copied only where they change, with a cache per submission, instead of the whole buffer for every draw. On by default on Mali; nothing changes on other GPUs. Contributed by Propinbo (#506).
No need to build the game's code again: just install over the previous version.
Known issues
- The game can freeze after a few minutes (#401 on Mali-G1, #489 on an Adreno 710): try the new option above.
- Mali-G720 / G615: the app can close after ~35 min because memory mappings grow (#496).
- 4 GB RAM: close to 20 fps in the world, and fps drops as the device heats up.
- RADV on Xclipse 530: the game crashes inside the RADV driver when entering the world (#383). PanVK isn't supported yet (#497, #503).
- 1.0.0 in combat: enemies can leave black lines when they die. Please use 1.8.2 or 1.9.0.
- 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.
BOTWRecompAndroid 0.4.8 (beta 40): caçando o travamento, e texturas sem esperas
Beta 40. Correções para threads do jogo que podiam ficar esperando para sempre, um relatório de travamento que mostra onde a thread principal do jogo está, e trocas de textura sem esperar a thread de render em toda GPU.
O travamento depois de alguns minutos (#401, #489)
Os primeiros logs da 0.4.7 mostraram que não é a GPU: quando trava, a thread principal do jogo segura o "núcleo 0" (o app faz as threads desse núcleo se revezarem, como no Switch) e não larga, enquanto as outras esperam. Uma delas pediu para dormir 100 ms e ficou 10 s esperando atrás dela.
- Relatório de travamento: além da lista de threads, o log agora diz quem segura o núcleo 0, há quanto tempo, quem está na fila, e onde a thread que o segura está naquele momento. Quem tem o travamento: espere uns 15 s depois de travar, feche o app e mande o
botwrecomp-log-previous.txt(Configurações > Arquivos). - Três correções que podiam deixar uma thread do jogo esperando para sempre:
- as esperas com prazo (como um "durma 100 ms") usavam o relógio do sistema: se o Android acertasse a hora para trás, a espera durava até o relógio alcançar. Agora usam um relógio que não volta (ideia do peanuts-native);
- um cancelamento de espera terminava também esperas por uma trava, e a thread seguia como se tivesse a trava. Agora só termina o tipo de espera certo, como no Switch;
- algumas esperas pela thread de render (ao destruir ou registrar uma textura) seguravam o núcleo 0 enquanto esperavam. Agora o liberam.
- O relatório não acusa mais travamento durante um reinício do jogo.
Desempenho
- Trocas de slots de textura sem esperar a thread de render em toda GPU (antes só na Mali e com pouca RAM). No POCO F7 Ultra, de 1254 esperas para 0 no Platô. Contribuição do HallanBR (#454).
- Mali (e o modo cópia): trabalho de compute encadeado sem barreiras a mais, e uma barreira que podia se perder agora é feita. Contribuição do Propinbo (#508).
Não precisa compilar o código do jogo de novo: é só instalar por cima.
Problemas conhecidos
- O jogo pode travar depois de alguns minutos (#401 na Mali-G1, #489 numa Adreno 710): as correções acima podem ajudar, e o novo relatório deve mostrar a causa.
- Mali-G720 / G615: o app pode fechar depois de ~35 min porque os mapeamentos de memória crescem (#496).
- 4 GB de RAM: perto de 20 fps no mundo, e o fps cai quando o aparelho esquenta.
- RADV no Xclipse 530: o jogo cai dentro do driver RADV ao entrar no mundo (#383). PanVK ainda não é suportado (#497, #503).
- 1.0.0 em combate: os inimigos podem deixar linhas pretas ao morrer. Use a 1.8.2 ou a 1.9.0.
- 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 40. Fixes for game threads that could wait forever, a freeze report that shows where the game's main thread is, and texture swaps without waiting for the render thread on every GPU.
The freeze after a few minutes (#401, #489)
The first 0.4.7 logs showed that it isn't the GPU: when it freezes, the game's main thread holds "core 0" (the app makes that core's threads take turns, as on the Switch) and never lets go, while the others wait. One of them asked to sleep 100 ms and waited 10 s behind it.
- Freeze report: besides the thread list, the log now says who holds core 0, for how long, who is queued for it, and where the holding thread is at that moment. If you get the freeze: wait about 15 s after it freezes, close the app, and send
botwrecomp-log-previous.txt(Settings > Files). - Three fixes for ways a game thread could wait forever:
- timed waits (like "sleep 100 ms") used the system clock: if Android set the time back, the wait lasted until the clock caught up. They now use a clock that never goes back (an idea from peanuts-native);
- a cancelled wait also ended waits for a lock, and the thread went on as if it held the lock. Now it only ends the right kind of wait, as on the Switch;
- some waits for the render thread (when a texture is destroyed or registered) kept core 0 while waiting. They now let it go.
- The report no longer calls an in-game restart a freeze.
Performance
- Texture slot swaps without waiting for the render thread on every GPU (before: only on Mali and low RAM). On the POCO F7 Ultra, from 1254 waits to 0 on the Plateau. Contributed by HallanBR (#454).
- Mali (and copy mode): compute work chained without extra barriers, and a barrier that could be lost is now made. Contributed by Propinbo (#508).
No need to build the game's code again: just install over the previous version.
Known issues
- The game can freeze after a few minutes (#401 on Mali-G1, #489 on an Adreno 710): the fixes above may help, and the new report should show the cause.
- Mali-G720 / G615: the app can close after ~35 min because memory mappings grow (#496).
- 4 GB RAM: close to 20 fps in the world, and fps drops as the device heats up.
- RADV on Xclipse 530: the game crashes inside the RADV driver when entering the world (#383). PanVK isn't supported yet (#497, #503).
- 1.0.0 in combat: enemies can leave black lines when they die. Please use 1.8.2 or 1.9.0.
- 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.