Repository navigation
BOTWRecompAndroid 0.4.9 (beta 41): uma opção contra o travamento, e telas mais quadradas
Pre-releaseBeta 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.