Skip to content

Releases

LAS Recomp for Android 0.5.11 (preview): Mali lighting and closing fixes / luz na Mali e fechamento corrigidos

Choose a tag to compare

@mamcjr mamcjr released this 14 Nov 04:07

English

Fixes for Mali GPUs (lighting, textures) and for a crash when closing the app.

  • Lighting flickering in houses and dungeons on Mali (issue #2): on GPUs that go through memory copies, the app keeps a list of the memory ranges the lighting reads. It had room for 16, and a dungeon needs 20 to 33: they pushed each other out and came back, and the light read zero each time one was out. The list now has room for 48, and a range that's missed again moves to the front instead of pushing another out.
  • Draws that write the game's memory, on Mali: when one of them needed two memory ranges joined, the app ended the drawing pass in the middle of the draw, which leaves that draw outside any pass. The ranges are now joined before the pass starts.
  • Textures Mali can't filter smoothly: a few formats can't be filtered linearly on Mali, and sampling them that way is undefined (in BOTWRecompAndroid it turned the grass black on a Mali-G68). They're now sampled without filtering. It may be the cause of the flowers' black outline (issue #14).
  • Crash when closing the app (issues #2, #14): closing it (from recent apps, or QUIT on the start screen) let the GPU driver clean itself up while the app was still drawing - "FORTIFY: pthread_mutex_lock called on a destroyed mutex", or a crash in the Mali driver. The app now ends without that cleanup. It only happened on the way out; saves weren't affected.

Updating from 0.5.10 doesn't build the game code again. Saves aren't touched.

Validation: release APK built and signed with the same key as the previous versions. On the POCO F7 Ultra (Adreno 830, Turnip): closing from recent apps with the game running crashed in 2 of 3 tries on 0.5.10 and in 0 of 6 with this version; QUIT on the start screen, right after opening and after the game went back to it, closed cleanly. With a Mali-like path simulated: the lighting route (Mabe Village, the Library, Turtle Rock, Tail Cave) gave the same picture and 29.7 fps as 0.5.10 with the new list; with all the Mali changes, 5 areas ran without errors. The flicker and the textures don't show on this phone, so those fixes aren't confirmed on a real Mali yet.

Experimental preview for Android 11+ / ARM64. It does not include any files extracted from the game.


Português

Correções para GPUs Mali (iluminação, texturas) e para um fechamento com erro ao sair do app.

  • Luz piscando em casas e masmorras na Mali (issue #2): nas GPUs que passam por cópias de memória, o app guarda uma lista das faixas de memória que a iluminação lê. Ela tinha espaço para 16, e uma masmorra precisa de 20 a 33: uma empurrava a outra para fora e voltava logo depois, e a luz lia zero cada vez que uma estava fora. Agora a lista tem espaço para 48, e uma faixa que volta a faltar passa para a frente em vez de tirar outra.
  • Desenhos que gravam na memória do jogo, na Mali: quando um deles precisava juntar duas faixas de memória, o app encerrava a etapa de desenho no meio do desenho, o que deixava esse desenho fora de qualquer etapa. Agora as faixas são juntadas antes de a etapa começar.
  • Texturas que a Mali não consegue suavizar: alguns formatos não podem ser filtrados linearmente na Mali, e usá-los assim dá resultado indefinido (no BOTWRecompAndroid isso deixava a grama preta numa Mali-G68). Agora eles são lidos sem filtro. Pode ser a causa do contorno preto das flores (issue #14).
  • Fechamento com erro ao sair do app (issues #2, #14): fechar o app (pelos apps recentes, ou pelo SAIR da tela inicial) deixava o driver da GPU se desmontar enquanto o app ainda desenhava - "FORTIFY: pthread_mutex_lock called on a destroyed mutex", ou um erro dentro do driver da Mali. Agora o app termina sem essa desmontagem. Só acontecia na saída; os saves não eram afetados.

Atualizar a partir da 0.5.10 não compila o código do jogo de novo. Os saves não são alterados.

Validação: APK de release compilado e assinado com a mesma chave das versões anteriores. No POCO F7 Ultra (Adreno 830, Turnip): fechar pelos apps recentes com o jogo rodando dava erro em 2 de 3 tentativas na 0.5.10 e em 0 de 6 com esta versão; o SAIR da tela inicial, logo ao abrir e depois de o jogo voltar para ela, fechou sem erro. Simulando o caminho da Mali: a rota da iluminação (Vila Mabe, a biblioteca, Turtle Rock, Tail Cave) deu a mesma imagem e 29,7 fps da 0.5.10 com a lista nova; com todas as mudanças da Mali, 5 áreas rodaram sem erro. A piscada e as texturas não aparecem neste celular, então essas correções ainda não estão confirmadas numa Mali de verdade.

Preview experimental para Android 11+ / ARM64. Não inclui arquivos extraídos do jogo.

LAS Recomp for Android 0.5.10 (preview): a Mali crash fixed / um travamento na Mali corrigido

Choose a tag to compare

@mamcjr mamcjr released this 01 Nov 12:41

English

A crash on Mali fixed: the game could close by itself, most often around area changes.

  • Crash while playing (issue #2): when the game destroys a texture (it does that a lot when an area changes), the app waited for the render thread to finish its queue, but another of the game's threads could queue new work right after. The render thread then used the GPU driver at the same time as the destroying thread, and a Mali-G57's driver crashed in both. Now the queue stays held until the texture is gone.

Updating from 0.5.9 doesn't build the game code again. Saves aren't touched.

Validation: release APK built and signed with the same key as the previous versions. On the POCO F7 Ultra (Adreno 830, Turnip), issue #2's route (Mysterious Woods, Mabe Village, the Library and out: four area changes) with the native game code on and a Mali-like path simulated: no crash or hang, steady 30 fps, the right picture at each stop. The crash itself was found in a Mali-G57's log and isn't reproducible here, so it's not confirmed on a real Mali yet.

Experimental preview for Android 11+ / ARM64. It does not include any files extracted from the game.


Português

Um travamento na Mali corrigido: o jogo podia fechar sozinho, quase sempre perto de uma troca de área.

  • Fechamento durante o jogo (issue #2): quando o jogo apaga uma textura (o que acontece muito ao trocar de área), o app esperava a thread que desenha terminar a fila, mas outra thread do jogo podia mandar trabalho novo logo em seguida. A thread que desenha passava a usar o driver da GPU ao mesmo tempo que a que apagava a textura, e o driver de uma Mali-G57 caía nas duas. Agora a fila fica segurada até a textura terminar de ser apagada.

Atualizar a partir da 0.5.9 não compila o código do jogo de novo. Os saves não são alterados.

Validação: APK de release compilado e assinado com a mesma chave das versões anteriores. No POCO F7 Ultra (Adreno 830, Turnip), a rota da issue #2 (Floresta Misteriosa, Vila Mabe, a biblioteca e a saída: quatro trocas de área) com o código nativo do jogo ligado e simulando o caminho da Mali: sem travar nem congelar, 30 fps estáveis, a imagem certa em cada parada. O travamento em si foi achado no log de uma Mali-G57 e não se reproduz aqui, então ainda não está confirmado numa Mali de verdade.

Preview experimental para Android 11+ / ARM64. Não inclui arquivos extraídos do jogo.

LAS Recomp for Android 0.5.9 (preview): PowerVR and Chinese fixes, fewer CPU copies on Mali / correções na PowerVR e no chinês, menos cópias na Mali

Choose a tag to compare

@mamcjr mamcjr released this 31 Oct 23:09

English

PowerVR's overbright scenes and the Chinese languages fixed; fewer CPU copies and less memory on Mali after loading an area; a few fixes from BOTWRecompAndroid.

  • PowerVR: the scene no longer lit white (issue #8). The driver can't read one of the game's vertex formats (10:10:10:2, where the models' normals are); the app read it some other way, and with wrong normals almost everything glowed white. Now such a format is read as one number and unpacked by the shader.
  • Chinese text (issue #12): with Simplified or Traditional Chinese chosen, the game showed its Japanese text. It's now told the language as the Switch's current system does (zh-Hans / zh-Hant).
  • Mali, Xclipse and Qualcomm's own driver (the copy path), from BOTWRecompAndroid: after loading an area, a draw's memory table could overflow and send everything back to full CPU copies - megabytes a draw, very low fps until a restart there. The table now has room for twice as many ranges, the learned ranges take only the free places, a table over its limit no longer turns into one huge range (that could also corrupt the game's memory), and idle upload memory is given back.
  • Mali performance: render targets the driver can compress (a Mali driver doesn't compress an image whose views may change format), and the game's worker threads no longer wait on the system at every yield (about 30 µs each before).
  • Shaders: an 8-bit value read back from a texture is rounded instead of truncated (in BOTWRecompAndroid a material ID read one lower left distant trees unlit).
  • Fewer crashes: a window surface lost while it's being made (back from the background) is made again instead of ending the game; a movie that can't be opened plays as an empty one instead of crashing the game moments later.

Updating from 0.5.8 doesn't build the game code again. The shaders are prepared again at the first start (the shader translator changed). Saves aren't touched.

Validation: release APK built and signed with the same key as the previous versions. On the POCO F7 Ultra (Adreno 830, Turnip): the PowerVR case reproduced by making the app treat those vertex formats as unreadable - with the old path the village turned white as in issue #8's screenshots, with the new one it's lit right; Chinese chosen, the file select switched from the Japanese text to the Chinese; issue #2's route (Mysterious Woods, Mabe Village, the Library and out) with a Mali-like path simulated and the Mali changes forced on, the right picture at each stop; a missing movie skipped without a crash. Not tested on a real PowerVR, Mali, Xclipse or Qualcomm driver here, so the Mali performance changes aren't measured on one.

Experimental preview for Android 11+ / ARM64. It does not include any files extracted from the game.


Português

O brilho estourado na PowerVR e os idiomas chineses corrigidos; menos cópias pela CPU e menos memória na Mali depois de carregar uma área; algumas correções do BOTWRecompAndroid.

  • PowerVR: a cena não fica mais branca (issue #8). O driver não lê um dos formatos de vértice do jogo (10:10:10:2, onde ficam as normais dos modelos); o app o lia de outro jeito, e com normais erradas quase tudo brilhava branco. Agora esse formato é lido como um número só e desempacotado pelo shader.
  • Textos em chinês (issue #12): com chinês simplificado ou tradicional escolhido, o jogo mostrava os textos em japonês. Agora o idioma é passado como o sistema atual do Switch passa (zh-Hans / zh-Hant).
  • Mali, Xclipse e o driver da própria Qualcomm (o caminho de cópias), do BOTWRecompAndroid: depois de carregar uma área, a tabela de memória de um desenho podia estourar e mandar tudo de volta para cópias completas pela CPU - megabytes por desenho, fps muito baixo até reiniciar, lá. A tabela agora cabe o dobro de faixas, as faixas aprendidas ocupam só os lugares livres, uma tabela acima do limite não vira mais uma faixa enorme (que também podia corromper a memória do jogo), e a memória de upload ociosa é devolvida.
  • Desempenho na Mali: render targets que o driver pode comprimir (o driver da Mali não comprime uma imagem cujas views podem mudar de formato), e as threads de trabalho do jogo não esperam mais pelo sistema a cada yield (uns 30 µs cada antes).
  • Shaders: um valor de 8 bits lido de uma textura é arredondado em vez de truncado (no BOTWRecompAndroid um ID de material lido um a menos deixava árvores distantes sem luz).
  • Menos travamentos: uma superfície da janela perdida enquanto é criada (na volta do segundo plano) é criada de novo em vez de encerrar o jogo; um vídeo que não abre toca vazio em vez de derrubar o jogo logo depois.

Atualizar a partir da 0.5.8 não compila o código do jogo de novo. Os shaders são preparados de novo no primeiro início (o tradutor de shaders mudou). Os saves não são alterados.

Validação: APK de release compilado e assinado com a mesma chave das versões anteriores. No POCO F7 Ultra (Adreno 830, Turnip): o caso da PowerVR reproduzido fazendo o app tratar esses formatos de vértice como ilegíveis - com o caminho antigo a vila ficou branca como nas capturas da issue #8, com o novo ela aparece com a luz certa; com chinês escolhido, a seleção de arquivos trocou o texto japonês pelo chinês; a rota da issue #2 (Floresta Misteriosa, Vila Mabe, a biblioteca e a saída) simulando o caminho da Mali e com as mudanças da Mali forçadas, a imagem certa em cada parada; um vídeo faltando pulado sem travar. Não testado numa PowerVR, Mali, Xclipse ou driver da Qualcomm de verdade aqui, então as mudanças de desempenho na Mali não foram medidas numa.

Preview experimental para Android 11+ / ARM64. Não inclui arquivos extraídos do jogo.

LAS Recomp for Android 0.5.8 (preview): native game code, game files in place / código nativo do jogo, arquivos do jogo no lugar

Choose a tag to compare

@mamcjr mamcjr released this 30 Oct 12:22

English

Native game code (experimental): the game can run without building its code on the phone. Game files used in place: no copy of the game data. The setup takes a ready-made romfs.bin. Plus fixes for issues #2, #7 and #10, and a crash when going back to the start screen.

  • Native game code (experimental). The game's own ARM64 code runs directly on the phone's CPU instead of the game code the setup builds from your files. With Game code: Native (chosen above the game files folder, before picking it), the setup only copies the files: no build, none of the minutes, memory and storage it takes. An installed game can switch in Video > Native game code (applies at the next start). Off by default; the recompiled path is unchanged. Only what can't run outside the Switch is rewritten when the game loads (system calls, thread storage, the clock), and LAS Recomp's own fixes and features (widescreen, frame pacing, the crash fixes) hook into the same places. On phones whose clock isn't the Switch's 19.2 MHz (most Mali phones), the game's time is converted to it. From BOTWRecompAndroid, after the approach of MacNativeGames and d2r-mobile.
  • Back to the start screen no longer crashes on Turnip while sound plays: the audio kept reading the game's memory after it had been released.
  • Crash on 0.5.7 with write tracking (issue #2: signal 11 right after "page write tracking on"): a fault on a page that should already be writable is now reopened instead of ending the game.
  • Mali memory coherency (issue #2): on Mali, the shader memory and the GPU readbacks live in cached memory that isn't coherent; it's now flushed and invalidated by hand. This may be behind the dark village and the broken geometry reported there.
  • Up to 16 swapchain images (issue #10): drivers that ask for more than 8 no longer stop the game at startup.
  • Game memory on the GPU only with ~7 GB of RAM or more: on a 6 GB phone with the option turned on by hand, Android killed the app while the world loaded.
  • Lighter game code build (issue #7): no debug info, sanitizer or stack protector from the compiler, which used much more memory and time.
  • Game files used in place (no copy). A new choice above the game files folder: Game files: Copy them / Use them in place. In place, the setup copies only exefs/ (small) and the game reads its data straight from your folder - its romfs/ or its romfs.bin - so the ~6 GB copy, its wait and its space are gone. Android asks for the permission to access all files when you pick the folder (only in this mode). The folder must stay where it is: moved or deleted, set the game files up again (the game says so). Mods still apply on top. From BOTWRecompAndroid.
  • Game data in one romfs.bin, now ready-made too. The game reads its data from a single image, romfs.bin, not from its ~3,800 loose files (the setup has built that image from the picked folder since 0.4.0; only the few files opened by path, the movies and the sheets, stay loose). The setup now also takes a folder with exefs/ and a romfs.bin made already (on a PC with hactool --romfs, or from another install) when there's no romfs/ folder: it's copied as one file instead of ~3,800 through Android's file picker (what fails or crawls on many phones), checked from its own tables (header, size - a copy cut short is named - and every file by name and size against the game's version), and the loose files are taken out of it. A romfs/ folder is set up as before.

Updating from 0.5.7 doesn't build the game code again. Saves aren't touched.

Validation: release APK built and signed with the same key as the previous versions. On the POCO F7 Ultra (Adreno 830, Turnip), 1.1.0, with native game code: title screen, file select, Mabe Village with Link walking, widescreen; 60 fps in the village at 50% internal resolution, as with the recompiled code (the game thread took 5.4 ms a frame against 7.8 ms, one reading each; native showed an occasional single slow frame); back to the start screen and in again; and issue #2's route (Mysterious Woods, the village, the Library and out) with a Mali-like path simulated - game memory through CPU copies with write tracking, non-coherent shader memory, Vulkan 1.1 without dynamic rendering, synchronization2 or extended dynamic state, and the converted clock forced on - with the right picture at each stop and no crash. The start screen crash was reproduced with the recompiled code too, and fixed. Game files in place: the image made up from a folder is identical, byte for byte, to the romfs.bin built from it (PC); on the POCO, with 1.1.0's romfs/ folder in the phone's storage, the game stops with a clear message without the all-files permission, and with it indexes the 3,836 files in 0.1 s, plays the movies from the folder and reaches the village; a romfs.bin used in place too (with native game code). The file picker's in-place flow itself wasn't run on the phone (it would have replaced the installed setup). Not tested on a real Mali, Xclipse or Qualcomm driver here; the romfs.bin import and the 16 swapchain images weren't run on a phone.

Experimental preview for Android 11+ / ARM64. It does not include any files extracted from the game.


Português

Código nativo do jogo (experimental): o jogo pode rodar sem compilar o código dele no celular. Arquivos do jogo usados no lugar: sem cópia dos dados do jogo. A configuração aceita um romfs.bin pronto. Mais correções para as issues #2, #7 e #10, e para um crash ao voltar à tela inicial.

  • Código nativo do jogo (experimental). O código ARM64 original do jogo roda direto no processador do celular, no lugar do código que a configuração compila a partir dos seus arquivos. Com Código do jogo: Nativo (escolhido acima da pasta dos arquivos do jogo, antes de escolhê-la), a configuração só copia os arquivos: sem compilar, sem os minutos, a memória e o espaço que isso pede. Um jogo já instalado pode mudar em Vídeo > Código nativo do jogo (vale a partir do próximo início). Desligado por padrão; o caminho recompilado não muda. Só o que não roda fora do Switch é reescrito quando o jogo carrega (chamadas de sistema, armazenamento das threads, o relógio), e as correções e recursos do próprio LAS Recomp (widescreen, ritmo dos quadros, as correções de crash) entram nos mesmos pontos. Em celulares cujo relógio não é o de 19,2 MHz do Switch (a maioria dos com Mali), o tempo do jogo é convertido para ele. Vem do BOTWRecompAndroid, seguindo a ideia do MacNativeGames e do d2r-mobile.
  • Voltar à tela inicial não trava mais no Turnip com som tocando: o áudio continuava lendo a memória do jogo depois de ela ser liberada.
  • Crash da 0.5.7 com o rastreio de escrita (issue #2: signal 11 logo depois de "page write tracking on"): uma falha numa página que já deveria poder ser escrita agora é reaberta em vez de encerrar o jogo.
  • Coerência de memória na Mali (issue #2): na Mali, a memória dos shaders e as leituras de volta da GPU ficam em memória com cache que não é coerente; agora ela é sincronizada à mão. Isso pode estar por trás da vila escura e da geometria quebrada relatadas lá.
  • Até 16 imagens na swapchain (issue #10): drivers que pedem mais de 8 não param mais o jogo na abertura.
  • Memória do jogo na GPU só com ~7 GB de RAM ou mais: num celular de 6 GB com a opção ligada à mão, o Android fechava o app enquanto o mundo carregava.
  • Compilação do código do jogo mais leve (issue #7): sem informações de depuração, sanitizer nem proteção de pilha do compilador, que gastavam bem mais memória e tempo.
  • Arquivos do jogo usados no lugar (sem cópia). Uma escolha nova acima da pasta dos arquivos do jogo: Arquivos do jogo: Copiar / Usar no lugar. No lugar, a configuração copia só o exefs/ (pequeno) e o jogo lê os dados direto da sua pasta - o romfs/ ou o romfs.bin dela -, então somem a cópia de ~6 GB, a espera e o espaço. O Android pede a permissão de acesso a todos os arquivos quando você escolhe a pasta (só nesse modo). A pasta tem que ficar onde está: movida ou apagada, configure os arquivos do jogo de novo (o jogo avisa). Os mods continuam valendo por cima. Vem do BOTWRecompAndroid.
  • Dados do jogo num único romfs.bin, agora também pronto. O jogo lê os dados de uma única imagem, o romfs.bin, e não dos seus ~3.800 arquivos soltos (a configuração monta essa imagem a partir da pasta escolhida desde a 0.4.0; só os poucos arquivos abertos pelo caminho, os vídeos e as planilhas, ficam soltos). Agora a configuração também aceita uma pasta com exefs/ e um romfs.bin já pronto (feito no PC com hactool --romfs, ou de outra instalação) quando não há pasta romfs/: ele é copiado como um arquivo só em vez de ~3.800 pelo seletor de arquivos do Android (o que falha ou se arrasta em muitos celulares), conferido pelas próprias tabelas (cabeçalho, tamanho - uma cópia incompleta é apontada - e cada arquivo por nome e tamanho contra a versão do jogo), e os arquivos soltos são tirados dele. Uma pasta romfs/ é configurada como antes.

Atualizar a partir da 0.5.7 não compila o código do jogo de novo. Os saves não são alterados.

Validação: APK de release compilado e assinado com a mesma chave das versões anteriores. No POCO F7 Ultra (Adreno 830, Turnip), 1.1.0, com o código nativo: tela de título, seleção de arquivo, Vila Mabe com o Link andando, widescreen; 60 fps na vila com resolução interna de 50%, como com o código recompilado (a thread do jogo levou 5,4 ms por quadro contra 7,8 ms, uma leitura de cada; o nativo teve um quadro lento de vez em quando); voltar à tela inicial e entrar de novo; e a rota da issue #2 (Floresta Misteriosa, a vila, a biblioteca e a saída) simulando o caminho da Mali - memória do jogo por cópias pela CPU com o rastreio de escrita, memória dos shaders não coerente, Vulkan 1.1 sem renderização dinâmica, synchronization2 nem estado dinâmico estendido, e o relógio convertido forçado - com a imagem certa em cada parada e sem crash. O crash...

Read more

LAS Recomp for Android 0.5.7 (preview): less CPU work on Mali, Xclipse and Qualcomm's driver / menos trabalho de CPU na Mali, Xclipse e driver da Qualcomm

Choose a tag to compare

@mamcjr mamcjr released this 27 Oct 11:33

English

Less CPU work on phones whose driver can't map the game's memory on the GPU: Mali, Samsung Xclipse, Qualcomm's own driver, and Turnip with Game memory on the GPU turned off.

  • Vertex data copied only where it changed. On those drivers the game's memory reaches the GPU through CPU copies, and every vertex and index buffer was copied each frame: 250-490 MB every 2 s on a Mali-G57 (issue #2). The app now notices which pages of the game's memory the game writes (they're watched like a write-protected page: the first write after a frame is noted) and copies only those into a cache the GPU keeps. Texture checks use the same information. From BOTWRecompAndroid, where it halved the render thread's time on Qualcomm's driver.
  • The app's version now shows in the start screen's lower right corner (it said nothing before, so it was hard to tell which version was installed).

Updating from 0.5.6 doesn't build the game code again. Saves aren't touched. If something looks wrong on one of those drivers, it can be turned off for a test with LARECOMP_NO_WRITE_TRACKING=1.

Validation: release APK built and signed with the same key as the previous versions. On the POCO F7 Ultra (Adreno 830, Turnip) with a Mali-like path simulated (Vulkan 1.1, no dynamic rendering, synchronization2 or extended dynamic state, game memory through CPU copies, 32-bit shader math), the same route on and off - Mysterious Woods, Mabe Village outside the Library, the Library, and out again, 60 fps cap: CPU copies in the field went from 769 to 123 MB every 2 s, in the Library from 109 to 48 MB, with the same picture at each stop. The frame rate didn't change on this phone, whose CPU has room to spare; on a slower phone the copies weigh more. Not tested on a real Mali, Xclipse or Qualcomm driver here. The version label is checked in the built APK, not seen on a phone.

Experimental preview for Android 11+ / ARM64. It does not include any files extracted from the game.


Português

Menos trabalho de CPU em celulares cujo driver não consegue mapear a memória do jogo na GPU: Mali, Samsung Xclipse, o driver da própria Qualcomm e o Turnip com a Memória do jogo na GPU desligada.

  • Dados de vértices copiados só onde mudaram. Nesses drivers a memória do jogo chega à GPU por cópias pela CPU, e todos os buffers de vértices e índices eram copiados a cada quadro: 250 a 490 MB a cada 2 s numa Mali-G57 (issue #2). Agora o app percebe quais páginas da memória do jogo o jogo escreve (elas são vigiadas como páginas protegidas contra escrita: a primeira escrita depois de um quadro é anotada) e copia só essas para um cache que a GPU mantém. A conferência de texturas usa a mesma informação. Vem do BOTWRecompAndroid, onde isso cortou pela metade o tempo da thread de render no driver da Qualcomm.
  • A versão do app agora aparece no canto inferior direito da tela inicial (antes não aparecia, e era difícil saber qual versão estava instalada).

Atualizar a partir da 0.5.6 não compila o código do jogo de novo. Os saves não são alterados. Se algo parecer errado num desses drivers, dá para desligar para testar com LARECOMP_NO_WRITE_TRACKING=1.

Validação: APK de release compilado e assinado com a mesma chave das versões anteriores. No POCO F7 Ultra (Adreno 830, Turnip) simulando o caminho da Mali (Vulkan 1.1, sem renderização dinâmica, synchronization2 nem estado dinâmico estendido, memória do jogo por cópias pela CPU, shaders de 32 bits), a mesma rota com e sem - Floresta Misteriosa, Vila Mabe em frente à biblioteca, a biblioteca e a saída, limite de 60 fps: as cópias pela CPU no campo foram de 769 para 123 MB a cada 2 s, na biblioteca de 109 para 48 MB, com a mesma imagem em cada parada. A taxa de quadros não mudou neste celular, cuja CPU tem folga; num celular mais lento as cópias pesam mais. Não testado numa Mali, Xclipse ou driver da Qualcomm de verdade aqui. O rótulo da versão foi conferido no APK, não visto num celular.

Preview experimental para Android 11+ / ARM64. Não inclui arquivos extraídos do jogo.

LAS Recomp for Android 0.5.6 (preview): fixes from LAS Recomp and a faster game code build / correções do LAS Recomp e compilação do código do jogo mais rápida

Choose a tag to compare

@mamcjr mamcjr released this 26 Oct 12:57

English

Fixes from the original LAS Recomp, two engine fixes, and a check for damaged game files.

  • Names with accents: a name like "Sebastiã" was cut in the middle of a letter, and the file select crashed. Names are now cut at whole letters, 8 as on the console, whether typed on the phone's keyboard or picked on the on-screen keys (from LAS Recomp).
  • Damaged or changed game files (from LAS Recomp): copies with one of the game's files missing, renamed or changed crashed at start with nothing saying why. The setup now checks every game file by name and size, and their total; if something is off, it ends with "Game files damaged or changed" and what to do, the start screen says so in orange, and the log names the files. PLAY stays available (a translation mod changes sizes too). Copies set up before 0.5.6 aren't checked until they're set up again.
  • Save editor: Give hands out the item you chose. From Mermaid's Scale on it handed out another one (it sent the item's row in the game's table, not its id). Dungeon items take the dungeon number as their index. Equipment rows also set the bit the game uses to know an item was found (from LAS Recomp).
  • Faster game code build: functions with jump tables no longer get an entry into every instruction, only into each block. 1.0.1's game code built in 284 s on the POCO F7 Ultra (416 s with 0.5.4).
  • Shaders that use local memory zeroed 1 KB per pixel even when they used a few bytes; now they zero what they use, which saves GPU work on those shaders.

Updating from 0.5.x builds each version's game code once more (about 4-5 minutes per version on a fast phone), and the start screen prepares the shaders again (under a minute). Saves aren't touched.

Validation: release APK built and signed with the same key as the previous versions, installed over 0.5.5 on the POCO F7 Ultra (Adreno 830, Turnip). A new file named "Sebastiã" (8 letters, 9 bytes: the case that crashed) started the game and was saved whole; "Rupees (100)" given from the save editor sent the right item and the wallet went from 0 to 100; the damaged-files warning shown on the start screen with PLAY available; the game's own check found nothing wrong in an intact 1.0.1 copy (3836 files), with a translation mod on; 1.0.1's game code built in 284 s and 1.1.0's in 4 min 15 s. The file check is also tested against the real 1.0.0 files on the PC (all 3836 the game's, the total right; a renamed, resized, missing and extra file each caught). Not tested here: setting up a really damaged copy, and the GPU saving of the local memory fix in LAS.

Experimental preview for Android 11+ / ARM64. It does not include any files extracted from the game.


Português

Correções do LAS Recomp original, duas correções do motor e uma verificação de arquivos do jogo danificados.

  • Nomes com acento: um nome como "Sebastiã" era cortado no meio de uma letra, e a seleção de arquivos travava. Agora o nome é cortado em letras inteiras, 8 como no console, digitado no teclado do celular ou escolhido nas teclas da tela (do LAS Recomp).
  • Arquivos do jogo danificados ou alterados (do LAS Recomp): cópias com algum arquivo do jogo faltando, renomeado ou alterado travavam ao abrir, sem nada dizer por quê. A instalação agora confere cada arquivo do jogo por nome e tamanho, e o total; se algo estiver errado, ela termina com "Arquivos do jogo danificados ou alterados" e o que fazer, a tela inicial avisa em laranja e o log diz quais são os arquivos. O JOGAR continua disponível (um mod de tradução também muda tamanhos). Cópias instaladas antes da 0.5.6 só são conferidas quando forem instaladas de novo.
  • Editor de saves: o Dar item entrega o item escolhido. A partir da Escama de Sereia ele entregava outro (mandava a linha do item na tabela do jogo, não o id dele). Itens de masmorra usam o número da masmorra como índice. As linhas de equipamento também marcam o bit que o jogo usa para saber que o item foi encontrado (do LAS Recomp).
  • Código do jogo compilado mais rápido: funções com tabelas de salto não ganham mais uma entrada em cada instrução, só em cada bloco. O código do jogo da 1.0.1 foi compilado em 284 s no POCO F7 Ultra (416 s na 0.5.4).
  • Shaders que usam memória local zeravam 1 KB por pixel mesmo usando poucos bytes; agora zeram só o que usam, o que poupa trabalho da GPU nesses shaders.

Atualizar a partir da 0.5.x compila o código do jogo de cada versão mais uma vez (uns 4 a 5 minutos por versão num celular rápido), e a tela inicial prepara os shaders de novo (menos de um minuto). Os saves não são alterados.

Validação: APK de release compilado e assinado com a mesma chave das versões anteriores, instalado por cima da 0.5.5 no POCO F7 Ultra (Adreno 830, Turnip). Um arquivo novo com o nome "Sebastiã" (8 letras, 9 bytes: o caso que travava) começou o jogo e foi salvo inteiro; "Rupias (100)" dadas pelo editor de saves mandaram o item certo e a carteira foi de 0 para 100; o aviso de arquivos danificados apareceu na tela inicial com o JOGAR disponível; a verificação do próprio jogo não achou nada errado numa cópia íntegra da 1.0.1 (3836 arquivos), com um mod de tradução ligado; o código do jogo da 1.0.1 foi compilado em 284 s e o da 1.1.0 em 4 min 15 s. A verificação de arquivos também é testada com os arquivos reais da 1.0.0 no PC (os 3836 do jogo, o total certo; um arquivo renomeado, um com outro tamanho, um faltando e um a mais, cada um pego). Não testado aqui: instalar uma cópia realmente danificada, e o ganho de GPU da correção de memória local no LAS.

Preview experimental para Android 11+ / ARM64. Não inclui arquivos extraídos do jogo.

LAS Recomp for Android 0.5.5 (preview): the fishing game, Auto frame rate and dynamic resolution fixes / correções da pescaria, da taxa Auto e da resolução dinâmica

Choose a tag to compare

@mamcjr mamcjr released this 26 Oct 02:31

English

Fixes for what you reported on 0.5.4: the fishing game, Auto dropping to 30 fps when you enter an area, dynamic resolution, and custom fonts.

  • Fishing game (issue #1): the underwater view showed another room, the pond before the game began, or nothing at all. One of 0.5.4's GPU savings skipped a copy of the picture that the water reads in the same draw. The fish are back, at 30 and 60 fps and in any aspect ratio, and the saving stays everywhere else.
  • Auto frame rate (issue #3): when you entered an area, the frames spent preparing new shaders made Auto drop to 30 fps for a few seconds. They no longer count. Entering the field can still drop to 30 for about 3 s, because the GPU really is that busy on its first draws there.
  • Dynamic resolution (issue #3): it went by the frame time, so the same shader work lowered the resolution. It now goes by the GPU's own time, and a step down that doesn't make the GPU faster isn't taken again for 30 s.
  • Custom fonts (issue #3): the app opens its own file picker, where font files can be selected (several at once).
  • Turnip LRZ is now on by default on the Adreno 7xx too (it was 8xx only). The text and colour bug it was blamed for was a memory limit, fixed in 0.5.0. Off is still in Saves & files > Driver compatibility.
  • Blurred side bars are lighter: a third of the texture reads per pixel, with the same look. On a Mali-G57 they cost frames (issue #2).
  • Logs now show the GPU's time per frame, so a log tells whether the GPU or the CPU is holding the frame rate back.
  • The list of game versions no longer shows a release twice while it's being set up again.

Updating from 0.5.x doesn't build the game code again.

Validation: release APK built and signed with the same key as the previous versions, installed over 0.5.4 on the POCO F7 Ultra (Adreno 830, Turnip). Fishing game, through a test warp: black underwater view on 0.5.4, fish and their movement on 0.5.5 at 30 and 60 fps, Unlocked and Original 16:9, with the same GPU time as with every copy made. Auto frame rate with the shaders translated again: one drop to 30 a run (entering the field) instead of two. Dynamic resolution held 0.85-0.90 through a new area, where it fell to 0.65 before. Fonts: a .ttf imported through the new picker. Side bars: 16 taps next to 49, the same look. Not tested here: LRZ on an Adreno 7xx (an Adreno 750 ran 0.5.4 with LRZ on at 55-60 fps), the version list during a re-import, and the side bars' gain on a Mali.

Experimental preview for Android 11+ / ARM64. It does not include any files extracted from the game.

If you'd like to support the work, there's GitHub Sponsors. It's entirely optional: every release stays free and the same for everyone.


Português

Correções do que vocês relataram na 0.5.4: a pescaria, o Auto caindo para 30 fps ao entrar numa área, a resolução dinâmica e as fontes personalizadas.

  • Pescaria (issue #1): a vista de baixo d'água mostrava outra sala, o lago antes do jogo começar, ou nada. Uma das economias de GPU da 0.5.4 pulava uma cópia da imagem que a água lê no mesmo desenho. Os peixes voltaram, a 30 e a 60 fps e em qualquer proporção, e a economia continua no resto do jogo.
  • Taxa de quadros Auto (issue #3): ao entrar numa área, os quadros gastos preparando shaders novos faziam o Auto cair para 30 fps por alguns segundos. Agora eles não contam. Entrar no campo ainda pode cair para 30 por uns 3 s, porque a GPU realmente fica ocupada nos primeiros desenhos ali.
  • Resolução dinâmica (issue #3): ela se guiava pelo tempo do quadro, e o mesmo trabalho com shaders baixava a resolução. Agora ela se guia pelo tempo da própria GPU, e um passo para baixo que não deixa a GPU mais rápida não é repetido por 30 s.
  • Fontes personalizadas (issue #3): o app abre o próprio seletor de arquivos, onde dá para escolher arquivos de fonte (vários de uma vez).
  • LRZ do Turnip agora vem ligado também nas Adreno 7xx (antes, só nas 8xx). O problema de textos e cores atribuído a ele era um limite de memória, corrigido na 0.5.0. Dá para desligar em Saves e arquivos > Compatibilidade do driver.
  • Barras laterais desfocadas mais leves: um terço das leituras de textura por pixel, com o mesmo visual. Numa Mali-G57 elas custavam quadros (issue #2).
  • Os logs agora mostram o tempo da GPU por quadro, para saber se é a GPU ou a CPU que segura a taxa de quadros.
  • A lista de versões do jogo não mostra mais uma versão duas vezes enquanto ela é instalada de novo.

Atualizar a partir da 0.5.x não compila o código do jogo de novo.

Validação: APK de release compilado e assinado com a mesma chave das versões anteriores, instalado por cima da 0.5.4 no POCO F7 Ultra (Adreno 830, Turnip). Pescaria, por um atalho de teste: vista de baixo d'água preta na 0.5.4; peixes e o movimento deles na 0.5.5, a 30 e a 60 fps, em Livre e em Original 16:9, com o mesmo tempo de GPU de quando todas as cópias são feitas. Taxa Auto com os shaders traduzidos de novo: uma queda para 30 por execução (ao entrar no campo) em vez de duas. A resolução dinâmica ficou em 0,85-0,90 numa área nova, onde antes caía para 0,65. Fontes: um .ttf importado pelo novo seletor. Barras laterais: 16 amostras ao lado de 49, com o mesmo visual. Não testado aqui: LRZ numa Adreno 7xx (uma Adreno 750 rodou a 0.5.4 com o LRZ ligado a 55-60 fps), a lista de versões durante uma reimportação e o ganho das barras laterais numa Mali.

Preview experimental para Android 11+ / ARM64. Não inclui arquivos extraídos do jogo.

Se quiser apoiar o trabalho, tem o GitHub Sponsors. É totalmente opcional: todas as versões continuam gratuitas e iguais para todos.

LAS Recomp for Android 0.5.4 (preview): more from LASRecomp-Android-Plus / mais do LASRecomp-Android-Plus

Choose a tag to compare

@mamcjr mamcjr released this 25 Oct 04:11

English

More of LASRecomp-Android-Plus by Nycolazs, merged in with its author's agreement, and a fix for a black screen at start.

  • Black screen at start (0.5.3, reported on X): when the window failed to open, the app waited up to 10 minutes without saying why. The error now shows after 5 s (time behind the lock screen doesn't count).
  • Driver errors: if the Vulkan driver fails at start, a dialog offers to install a driver (the file picker, then the app starts again with it), use the system driver, or close. Before, the settings that choose a driver were out of reach in that case.
  • Touch controls
    • Buttons with the item icons (optional, Settings > Controls): blue bubbles with the game's own icons - the sword on B, the shield on R, the Pegasus Boots on L, the equipped items on X / Y - with the button's letter on a badge, and a compass-rose stick. The icons are read from your own game files. Off by default: the current look stays.
    • Fixed stick (optional): the stick stays where the layout puts it.
    • Only the buttons the game uses (on by default): B, R and L show once Link has the sword, the shield and the Pegasus Boots, X and Y once an item is on them.
  • Controllers: the controller in use is the one the game reads (a keyboard receiver listed as a gamepad no longer takes its place); face buttons by their letters (Settings > Controls), for Xbox-style pads and handhelds.
  • Video: 1.25x and 1.5x internal resolution; the bars beside a narrower picture (movies, menus, Original 16:9) show its own edges blurred, or plain black (Video > Side bars).
  • Performance: render targets compressed on Turnip (UBWC); colour copies nobody reads are skipped; the small glow levels and the water's reflection stay at the game's size; the game code built on the phone about 6% faster (the largest files first).
  • Menus in Spanish, French, German, Italian and Dutch on a phone set to one of those languages (strings from deedywu/LASRecomp).
  • The game stays open while you're at the home screen (a small notification while it runs), settings are written safely and saved when the app goes to the background, and phones whose driver offers guest memory import (Samsung Xclipse, Mali) use CPU copies instead (it failed on a Galaxy S26).

Updating from 0.5.x doesn't build the game code again.

Validation: release APK built and signed with the same key as the previous versions, installed over the earlier builds on the POCO F7 Ultra (Adreno 830). Village on 1.1.0 at 60 fps with Turnip and 30 fps with the Qualcomm driver, the side bars blurred, the touch buttons following Link's items, the keep-alive service running. Game files of 1.0.1 imported again: the game code built on the phone in 416 s (441 s before) and the field at 60 fps. Buttons with the item icons: all 14 icons read from the game files, the sword on B and the shield on R, 60 fps; X / Y with items on them weren't seen on screen (no save at hand with items there). The driver dialog shown on a forced driver error, Close working. Not tested here: controllers, the new languages on a phone set to them, Samsung Xclipse / Mali GPUs.

Experimental preview for Android 11+ / ARM64. It does not include any files extracted from the game.


Português

Mais partes do LASRecomp-Android-Plus, do Nycolazs, incorporadas com o acordo do autor, e a correção de uma tela preta ao abrir.

  • Tela preta ao abrir (0.5.3, relatada no X): quando a janela não abria, o app esperava até 10 minutos sem dizer por quê. Agora o erro aparece depois de 5 s (o tempo atrás da tela de bloqueio não conta).
  • Erros de driver: se o driver Vulkan falhar ao abrir, uma janela oferece instalar um driver (o seletor de arquivos, e o app reabre com ele), usar o driver do sistema ou fechar. Antes, nesse caso, as configurações que escolhem o driver ficavam fora de alcance.
  • Controles na tela
    • Botões com os ícones dos itens (opcional, Configurações > Controles): bolhas azuis com os ícones do próprio jogo - a espada no B, o escudo no R, as Botas de Pégaso no L, os itens equipados no X / Y - com a letra do botão num selo, e um analógico com rosa dos ventos. Os ícones são lidos dos seus próprios arquivos do jogo. Desligado por padrão: o visual atual continua.
    • Analógico fixo (opcional): o analógico fica onde o layout o coloca.
    • Só os botões que o jogo usa (ligado por padrão): B, R e L aparecem quando o Link tem a espada, o escudo e as Botas de Pégaso, X e Y quando há um item neles.
  • Controles físicos: o controle em uso é o que o jogo lê (um receptor de teclado listado como controle não toma mais o lugar dele); botões de ação pelas letras (Configurações > Controles), para controles estilo Xbox e portáteis.
  • Vídeo: resolução interna de 1,25x e 1,5x; as faixas ao lado de uma imagem mais estreita (vídeos, menus, Original 16:9) mostram as próprias bordas dela desfocadas, ou preto (Vídeo > Barras laterais).
  • Desempenho: alvos de renderização comprimidos no Turnip (UBWC); cópias de cor que ninguém lê são puladas; os níveis pequenos de brilho e o reflexo da água ficam no tamanho do jogo; o código do jogo compilado no celular cerca de 6% mais rápido (os arquivos maiores primeiro).
  • Menus em espanhol, francês, alemão, italiano e holandês num celular configurado num desses idiomas (textos do deedywu/LASRecomp).
  • O jogo continua aberto enquanto você está na tela inicial do celular (uma pequena notificação enquanto roda), as configurações são gravadas com segurança e salvas quando o app vai para o segundo plano, e celulares cujo driver oferece importar a memória do jogo (Samsung Xclipse, Mali) usam cópias pela CPU (isso falhava num Galaxy S26).

Atualizar a partir da 0.5.x não compila o código do jogo de novo.

Validação: APK de release compilado e assinado com a mesma chave das versões anteriores, instalado por cima das builds anteriores no POCO F7 Ultra (Adreno 830). Vila na 1.1.0 a 60 fps com o Turnip e a 30 fps com o driver da Qualcomm, as faixas laterais desfocadas, os botões de toque acompanhando os itens do Link, o serviço que mantém o jogo aberto funcionando. Arquivos da 1.0.1 importados de novo: o código do jogo compilado no celular em 416 s (441 s antes) e o campo a 60 fps. Botões com os ícones dos itens: os 14 ícones lidos dos arquivos do jogo, a espada no B e o escudo no R, 60 fps; X / Y com itens não foram vistos na tela (nenhum save à mão com itens neles). A janela de erro do driver apareceu num erro de driver forçado, com o Fechar funcionando. Não testado aqui: controles físicos, os novos idiomas num celular configurado neles, GPUs Samsung Xclipse / Mali.

Preview experimental para Android 11+ / ARM64. Não inclui arquivos extraídos do jogo.

LAS Recomp for Android 0.5.3 (preview): more drivers below Vulkan 1.3 / mais drivers abaixo do Vulkan 1.3

Choose a tag to compare

@mamcjr mamcjr released this 24 Oct 20:09

English

More drivers below Vulkan 1.3, such as the stock Mali drivers on many Samsung phones.

  • Five more extensions are optional (issue #2: on the Galaxy A15, 0.5.2 got past dynamic rendering and then listed VK_KHR_synchronization2, VK_EXT_extended_dynamic_state, VK_EXT_extended_dynamic_state2, VK_EXT_shader_demote_to_helper_invocation and VK_KHR_shader_terminate_invocation). Without them:
    • synchronization2: barriers and submissions go through Vulkan 1.0's own.
    • extended dynamic state: each draw's cull mode, depth / stencil test and ops, topology and depth bias are baked into its pipeline instead of being set per draw. That means more pipelines, so areas may stutter more the first time they show up on those drivers.
    • demote / terminate: below Vulkan 1.3 the shaders don't use them.
  • Drivers that have these extensions keep using them, as before.

Updating from 0.5.x doesn't build the game code again.

Validation: release APK built and signed with the same key as the previous versions, installed over 0.5.2 on the POCO F7 Ultra (Adreno 830); village reached with Turnip on the normal path (58-60 fps). With each fallback forced on its own with Turnip (LARECOMP_NO_SYNC2=1, LARECOMP_NO_EDS=1), the village drew right at 60 fps; with all of them plus the render passes from 0.5.2, frame generation and SMAA also drew right. The Qualcomm driver run as Vulkan 1.1 with all of them (11 device extensions, the closest to the Mali case available here) drew the village right at 30 fps. Only the village and Marin's house were tested this way, not dungeons. Not tested yet on a real Mali: it may still lack something further on, which the message will then list.

Experimental preview for Android 11+ / ARM64. It does not include any files extracted from the game.


Português

Mais drivers abaixo do Vulkan 1.3, como os drivers Mali de fábrica de muitos celulares Samsung.

  • Mais cinco extensões ficaram opcionais (issue #2: no Galaxy A15, a 0.5.2 passou da renderização dinâmica e então listou VK_KHR_synchronization2, VK_EXT_extended_dynamic_state, VK_EXT_extended_dynamic_state2, VK_EXT_shader_demote_to_helper_invocation e VK_KHR_shader_terminate_invocation). Sem elas:
    • synchronization2: as barreiras e os envios passam pelos do próprio Vulkan 1.0.
    • estado dinâmico estendido: o culling, o teste e as operações de profundidade / stencil, a topologia e o depth bias de cada desenho ficam embutidos no pipeline dele, em vez de definidos a cada desenho. Isso significa mais pipelines, então as áreas podem engasgar mais na primeira vez que aparecem nesses drivers.
    • demote / terminate: abaixo do Vulkan 1.3 os shaders não as usam.
  • Drivers que têm essas extensões continuam usando-as, como antes.

Atualizar a partir da 0.5.x não compila o código do jogo de novo.

Validação: APK de release compilado e assinado com a mesma chave das versões anteriores, instalado por cima da 0.5.2 no POCO F7 Ultra (Adreno 830); vila alcançada com o Turnip pelo caminho normal (58-60 fps). Com cada alternativa forçada sozinha no Turnip (LARECOMP_NO_SYNC2=1, LARECOMP_NO_EDS=1), a vila desenhou certo a 60 fps; com todas juntas mais os render passes da 0.5.2, a geração de quadros e o SMAA também desenharam certo. O driver da Qualcomm rodando como Vulkan 1.1 com todas elas (11 extensões no dispositivo, o mais próximo do caso da Mali que dá para testar aqui) desenhou a vila certo a 30 fps. Só a vila e a casa da Marin foram testadas assim, não masmorras. Ainda não testado numa Mali de verdade: ainda pode faltar algo mais adiante, que a mensagem então vai listar.

Preview experimental para Android 11+ / ARM64. Não inclui arquivos extraídos do jogo.

LAS Recomp for Android 0.5.2 (preview): drivers without dynamic rendering / drivers sem renderização dinâmica

Choose a tag to compare

@mamcjr mamcjr released this 24 Oct 16:26

English

Drivers without dynamic rendering, such as the stock Mali drivers on many Samsung phones.

  • Drivers without VK_KHR_dynamic_rendering (issue #2: Galaxy A15, Mali-G57): the app stopped at start with "This phone's Vulkan driver is too old for the game ... (missing: VK_KHR_dynamic_rendering)". It now draws with classic render passes on those drivers: each pass becomes a render pass and a framebuffer, kept for reuse, and the pipelines are made against them. The idea and the first version come from BOTWRecompAndroid, which shares this renderer. Drivers that have dynamic rendering keep using it, as before.
  • The startup message names every missing extension, not only the first, so one screenshot says everything a driver lacks.

Updating from 0.5.0 or 0.5.1 doesn't build the game code again.

Validation: release APK built and signed with the same key as the previous versions, installed over 0.5.1 on the POCO F7 Ultra (Adreno 830); village reached with Turnip and dynamic rendering, as before (60 fps). With the render passes forced on (LARECOMP_NO_DYNAMIC_RENDERING=1): village drawn right at 59-60 fps with Turnip, and at 30 fps with the Qualcomm driver run as Vulkan 1.1 without the dynamic rendering extensions, the closest to the Mali case available here. Frame generation, SMAA, the start screen and the settings also drew right through the render passes. Not tested yet on a real Mali: it may lack other extensions too, which the message will then list.

Experimental preview for Android 11+ / ARM64. It does not include any files extracted from the game.


Português

Drivers sem renderização dinâmica, como os drivers Mali de fábrica de muitos celulares Samsung.

  • Drivers sem VK_KHR_dynamic_rendering (issue #2: Galaxy A15, Mali-G57): o app parava na abertura com "This phone's Vulkan driver is too old for the game ... (missing: VK_KHR_dynamic_rendering)". Agora, nesses drivers, ele desenha com render passes clássicos: cada passada vira um render pass e um framebuffer, guardados para reuso, e os pipelines são criados para eles. A ideia e a primeira versão vêm do BOTWRecompAndroid, que compartilha este renderizador. Drivers que têm a renderização dinâmica continuam usando-a, como antes.
  • A mensagem de abertura lista todas as extensões que faltam, não só a primeira, então uma captura diz tudo o que o driver não tem.

Atualizar a partir da 0.5.0 ou da 0.5.1 não compila o código do jogo de novo.

Validação: APK de release compilado e assinado com a mesma chave das versões anteriores, instalado por cima da 0.5.1 no POCO F7 Ultra (Adreno 830); vila alcançada com o Turnip e a renderização dinâmica, como antes (60 fps). Com os render passes forçados (LARECOMP_NO_DYNAMIC_RENDERING=1): vila desenhada certo a 59-60 fps com o Turnip, e a 30 fps com o driver da Qualcomm rodando como Vulkan 1.1 sem as extensões da renderização dinâmica, o mais próximo do caso da Mali que dá para testar aqui. Geração de quadros, SMAA, a tela inicial e as configurações também desenharam certo pelos render passes. Ainda não testado numa Mali de verdade: pode faltar outras extensões também, que a mensagem então vai listar.

Preview experimental para Android 11+ / ARM64. Não inclui arquivos extraídos do jogo.