Skip to content

Exedra64 1.2.0

Choose a tag to compare

@murdoc820 murdoc820 released this 26 Nov 23:45
· 22 commits to main since this release

English

  • New name: HyperPlay is now Exedra64. New name, icon and logo (chrome gamepad with "E64":
    the E doubles as the D-pad, with Select/Start and L1/R1). The GitHub repository moved to
    murdoc820/Exedra64 (old links redirect). Installs, saves and updates are unaffected: the
    package, the /sdcard/HyperPlay/ folder and _HyperPlaySaves keep their names. The release APK
    is now Exedra64-vX.Y.Z-Snapdragon8Elite-arm64-v8a.apk; the updater accepts both names.
  • Stardew Valley is playable (in testing): controller input works (window focus and cursor
    fixed), starting a new game no longer crashes (I/O completion ports, thread pool), the audio is
    no longer distorted (a limiter replaces hard clipping), and characters draw complete
    (glGetTexImage implemented).
  • 32-bit games (groundwork for DmC): 32-bit executables now get memory, stack and TEB below
    4 GB, a stdcall/cdecl bridge to native functions, 32-bit layouts of Windows structures
    (CRITICAL_SECTION, SYSTEM_INFO, MEMORY_BASIC_INFORMATION, STARTUPINFO, SRW locks) and
    up to 65536 DLL exports. The .NET Framework 4.8 from Microsoft can be used by 32-bit games
    (registry keys, C:\Windows mapping, mscoree). DmC still stops at startup.
  • Engine: PCMPISTRI fixed (invalid-element rules).
  • Fixed: in-app updates now install. The update downloaded but the system "Install?" dialog
    never appeared, so it stayed on "Installing…" forever: it was opened from a broadcast receiver,
    which Android 15/16 silently blocks. The launcher screen now opens it. Install failures show a
    clear reason (cancelled, blocked, signature/version conflict, invalid APK, no space), GitHub
    errors are no longer reported as "up to date", and the release APK is picked by its official name.
  • Privacy: error reports are scrubbed before they leave the phone. IP and MAC addresses,
    emails, user folders (/storage/emulated/0/..., /sdcard/..., C:\Users\<name>), device
    serials, Android ID, IMEI-like numbers, SteamIDs, account names and tokens are replaced with
    placeholders; of storage paths only the game folder and file name are kept. The report server
    applies the same rules again and can send reports to a separate private repository
    (REPORTS_REPO).
  • Engine: real Windows x64 exception handling (SEH). C++ and .NET exceptions are now
    dispatched like on Windows: vectored handlers, then each frame's handler from the module's
    .pdata (and the JIT tables of Mono/CoreCLR), then the unhandled filter; RtlUnwindEx,
    RtlRestoreContext (C++ catch blocks, longjmp), RtlVirtualUnwind, RtlLookupFunctionEntry
    and RtlCaptureContext are implemented. Before, RaiseException did nothing.
  • Stardew Valley (work in progress): its .NET 6 runtime (CoreCLR) now starts, loads the game
    and MonoGame and initializes SDL. Fixed on the way: forwarded exports of local DLLs, SEC_IMAGE
    file mappings, 64 KB-aligned VirtualAlloc, unaligned VirtualProtect, GetCPInfo, CET
    instructions (RDSSP), Windows version checks, file functions used by saves (SetEndOfFile,
    SetFileInformationByHandle, real FlushFileBuffers). Not yet: the game draws with OpenGL,
    which HyperPlay does not have yet.
  • OpenGL for Windows games (first version): HyperPlay now has its own opengl32.dll: WGL
    contexts are EGL contexts and desktop OpenGL calls go to the phone's OpenGL ES 3.2 (float
    arguments read from XMM registers, desktop-only calls adapted, GLSL #version lines removed),
    plus the GDI that SDL needs (pixel formats, SwapBuffers, DCs, cursor bitmaps). Stardew Valley's
    SDL video now starts. Not verified yet: no OpenGL game draws on screen yet.
  • Engine: PUSHFQ/POPFQ, NtQuerySystemInformation (process list), .NET settings now passed in
    the environment block that CoreCLR reads, SDL uses only XInput controllers in every game, safer
    exception dispatch over corrupt stacks.
  • Fixed: an old Unity-only workaround wrote into whatever a game stored in TLS slot 1; in
    Stardew Valley it corrupted .NET objects. It now applies only to Unity games.
  • Exceptions: RtlVirtualUnwind now reports where registers were saved (the .NET garbage
    collector needs it), and resuming after a .NET catch (CoreCLR jumps to the target frame by
    itself) is detected and applied correctly. Translator: PTEST.
  • Stardew Valley now gets through Game1's startup and stops later (LocalMultiplayer, a type
    that fails to load); under investigation.
  • Tested: Celeste (60 FPS) and Hollow Knight (menu) still work.
  • Engine: FlushInstructionCache now discards translated code for that range (it was a stub that
    did nothing and returned failure). New diagnostics for .NET games: exception codes and runtime
    exception texts in the log, and an optional EventPipe trace (debug.hyperplay.dotnettrace 1).
    Stardew Valley still stops at startup (a type lookup by name fails inside XmlSerializer).
  • .NET runtime messages now show: LoadStringW reads string resources from PE files (CoreCLR
    takes its error texts from mscorrc.dll) and GetUserDefaultLocaleName returns en-US (it was a
    stub returning failure). Before, every .NET runtime error had an empty message.
  • Engine: the safe string functions of the C runtime (strcpy_s, strncpy_s, strcat_s,
    wcsncpy_s...) and the static memcpy inside native DLLs such as coreclr.dll and
    UnityPlayer.dll now run as native ARM code instead of translated x86 (exact Windows behavior,
    faster). .NET games run without the concurrent background garbage collector.
  • Tested: Celeste, Cuphead, Hollow Knight and Silksong still at 120 FPS.
  • Display settings now live in each game. The quick menu no longer has Screen (Stretch / Zoom /
    aspect) or the render-resolution percentage: games always run at the screen's native resolution,
    full screen and undistorted. The game's own video menu now lists real resolutions (720p, 900p,
    1080p, 1/2, 5/8 and 3/4 of the screen, and native) through EnumDisplaySettings and DXGI
    GetDisplayModeList; a lower resolution is scaled to the screen keeping its aspect ratio (black
    bars when it differs), also for games with their own Vulkan (Celeste). Tested in Hollow Knight:
    2016x912 fills the screen and the GPU load drops from 75 % to 57 %.
  • FPS cap: 60, 90 or 120 (72 and Unlimited removed; old choices move to the default).
  • Controller navigation in the quick menu: left/right change the focused option and never move
    to another row; from the action buttons, right jumps to the settings column; LB/RB switch
    columns; the D-pad no longer counts twice (key + hat) and the stick uses only its main direction.
    The upscaler's automatic choice is now just called "Automatic".
  • Launcher with a controller: "up" from the game covers no longer leaves the focus on the
    Home/Settings tabs, where it was invisible (tabs switch with LB/RB); the same for "back" on the
    game page (B). The update notice shows a frame when focused and opens with A.
  • Also tested: Silksong and Cuphead at a lower resolution (16:9 with black bars or full screen,
    undistorted) and Silksong's own frame limit (30 real FPS, doubled to 60 by HyperFG).

Español

  • Nuevo nombre: HyperPlay ahora es Exedra64. Nombre, icono y logo nuevos (mando cromado con
    "E64": la E hace de cruceta, con Select/Start y L1/R1). El repositorio de GitHub pasa a
    murdoc820/Exedra64 (los enlaces antiguos redirigen). Instalaciones, partidas y actualizaciones
    no cambian: el paquete, la carpeta /sdcard/HyperPlay/ y _HyperPlaySaves conservan su nombre.
    El APK de cada versión se llama ahora Exedra64-vX.Y.Z-Snapdragon8Elite-arm64-v8a.apk; el
    actualizador acepta los dos nombres.
  • Stardew Valley es jugable (en pruebas): el mando funciona (foco de ventana y cursor
    corregidos), empezar partida nueva ya no se cierra (puertos de finalización de E/S, pool de
    hilos), el sonido ya no se distorsiona (un limitador sustituye el recorte brusco) y los
    personajes se dibujan completos (glGetTexImage implementado).
  • Juegos de 32 bits (base para DmC): los ejecutables de 32 bits reciben memoria, pila y TEB por
    debajo de 4 GB, un puente stdcall/cdecl a las funciones nativas, las estructuras de Windows con
    su forma de 32 bits (CRITICAL_SECTION, SYSTEM_INFO, MEMORY_BASIC_INFORMATION,
    STARTUPINFO, bloqueos SRW) y hasta 65536 exportaciones por DLL. Los juegos de 32 bits pueden
    usar el .NET Framework 4.8 de Microsoft (claves de registro, carpeta C:\Windows, mscoree).
    DmC aún se para al arrancar.
  • Motor: corregido PCMPISTRI (reglas de elementos no válidos).
  • Arreglado: las actualizaciones desde la app ya se instalan. La actualización se descargaba,
    pero el diálogo «¿Instalar?» del sistema no aparecía y se quedaba en «Instalando…» para siempre:
    se abría desde un receptor de broadcasts, algo que Android 15/16 bloquea sin avisar. Ahora lo
    abre la pantalla del launcher. Los fallos de instalación muestran un motivo claro (cancelada,
    bloqueada, conflicto de firma/versión, APK no válido, sin espacio), los errores de GitHub ya no
    se muestran como «al día» y el APK de la Release se elige por su nombre oficial.
  • Privacidad: los informes de errores se limpian antes de salir del teléfono. Direcciones IP
    y MAC, correos, carpetas de usuario (/storage/emulated/0/..., /sdcard/...,
    C:\Users\<nombre>), números de serie, Android ID, números tipo IMEI, SteamID, nombres de cuenta
    y tokens se sustituyen por marcadores; de las rutas de almacenamiento solo se conservan la
    carpeta del juego y el nombre del archivo. El servidor de informes vuelve a aplicar las mismas
    reglas y puede enviar los informes a un repositorio privado aparte (REPORTS_REPO).
  • Motor: manejo real de excepciones de Windows x64 (SEH). Las excepciones de C++ y .NET se
    despachan como en Windows: manejadores vectoriales, después el manejador de cada marco según el
    .pdata del módulo (y las tablas del JIT de Mono/CoreCLR), y por último el filtro de no
    manejadas. Implementados RtlUnwindEx, RtlRestoreContext (bloques catch de C++, longjmp),
    RtlVirtualUnwind, RtlLookupFunctionEntry y RtlCaptureContext. Antes RaiseException no
    hacía nada.
  • Stardew Valley (en curso): su runtime .NET 6 (CoreCLR) ya arranca, carga el juego y
    MonoGame e inicia SDL. Arreglado por el camino: exports reenviados de DLL locales, mapeos
    SEC_IMAGE, VirtualAlloc alineado a 64 KB, VirtualProtect no alineado, GetCPInfo,
    instrucciones CET (RDSSP), comprobaciones de versión de Windows y funciones de archivo que usan
    los guardados (SetEndOfFile, SetFileInformationByHandle, FlushFileBuffers real). Falta: el
    juego dibuja con OpenGL, que HyperPlay aún no tiene.
  • OpenGL para juegos de Windows (primera versión): HyperPlay tiene su propio opengl32.dll:
    los contextos WGL son contextos EGL y las llamadas de OpenGL de escritorio van al OpenGL ES 3.2
    del teléfono (argumentos float leídos de los registros XMM, llamadas solo de escritorio
    adaptadas, líneas #version de GLSL quitadas), más el GDI que necesita SDL (formatos de píxel,
    SwapBuffers, DC, mapas de bits de cursor). El vídeo SDL de Stardew Valley ya arranca. Sin
    verificar aún: ningún juego OpenGL dibuja todavía en pantalla.
  • Motor: PUSHFQ/POPFQ, NtQuerySystemInformation (lista de procesos), los ajustes de .NET van
    ahora en el bloque de entorno que lee CoreCLR, SDL usa solo mandos XInput en todos los juegos y
    el despacho de excepciones resiste pilas corruptas.
  • Arreglado: un apaño antiguo solo para Unity escribía en lo que cualquier juego guardara en el
    slot TLS 1; en Stardew Valley corrompía objetos .NET. Ahora solo se aplica a juegos Unity.
  • Excepciones: RtlVirtualUnwind indica ahora dónde se guardó cada registro (lo necesita el
    recolector de basura de .NET), y la reanudación tras un catch de .NET (CoreCLR salta él mismo
    al marco destino) se detecta y se aplica bien. Traductor: PTEST.
  • Stardew Valley ya pasa el arranque de Game1 y se para más adelante (LocalMultiplayer, un
    tipo que no carga); en investigación.
  • Probado: Celeste (60 FPS) y Hollow Knight (menú) siguen funcionando.
  • Motor: FlushInstructionCache descarta ahora el código traducido de ese rango (era un stub que
    no hacía nada y devolvía fallo). Diagnósticos nuevos para juegos .NET: códigos y textos de las
    excepciones del runtime en el registro, y una traza EventPipe opcional
    (debug.hyperplay.dotnettrace 1). Stardew Valley sigue parándose al arrancar (falla la búsqueda de
    un tipo por nombre dentro de XmlSerializer).
  • Los mensajes del runtime de .NET ya se ven: LoadStringW lee los recursos de texto de los
    archivos PE (CoreCLR saca sus textos de error de mscorrc.dll) y GetUserDefaultLocaleName
    devuelve en-US (era un stub que devolvía fallo). Antes todos los errores del runtime de .NET
    salían sin mensaje.
  • Motor: las funciones seguras de cadenas del CRT (strcpy_s, strncpy_s, strcat_s,
    wcsncpy_s...) y el memcpy estático de DLL nativas como coreclr.dll y UnityPlayer.dll se
    ejecutan ahora como código ARM nativo en vez de x86 traducido (comportamiento exacto de Windows y
    más rápido). Los juegos .NET van sin el recolector de basura concurrente en segundo plano.
  • Probado: Celeste, Cuphead, Hollow Knight y Silksong siguen a 120 FPS.
  • Los ajustes de pantalla están ahora en cada juego. El menú rápido ya no tiene Pantalla
    (Estirar / Ampliar / aspecto) ni la resolución en porcentaje: los juegos van siempre a la
    resolución nativa de la pantalla, a pantalla completa y sin deformarse. El menú de vídeo del
    propio juego muestra ahora resoluciones reales (720p, 900p, 1080p, 1/2, 5/8 y 3/4 de la pantalla,
    y la nativa) mediante EnumDisplaySettings y GetDisplayModeList de DXGI; una resolución menor
    se escala a la pantalla conservando la proporción (bandas negras si es distinta), también en los
    juegos con Vulkan propio (Celeste). Probado en Hollow Knight: 2016x912 llena la pantalla y la
    carga de la GPU baja del 75 % al 57 %.
  • Tope de FPS: 60, 90 o 120 (se quitan 72 e Ilimitado; las elecciones antiguas pasan al valor
    por defecto).
  • Navegación con mando en el menú rápido: izquierda/derecha cambian la opción enfocada y nunca
    saltan a otra fila; desde los botones de acción, derecha salta a la columna de ajustes; LB/RB
    cambian de columna; la cruceta ya no cuenta doble (tecla + hat) y el stick solo usa su dirección
    principal. La opción automática del reescalado se llama ahora "Automático".
  • Launcher con mando: "arriba" desde las portadas ya no deja el foco en las pestañas
    Inicio/Ajustes, donde era invisible (se cambian con LB/RB); lo mismo con "volver" en la ficha del
    juego (B). El aviso de actualización muestra un marco al enfocarlo y se abre con A.
  • Probado también: Silksong y Cuphead a una resolución menor (16:9 con bandas negras o pantalla
    completa, sin deformar) y el límite de fotogramas del propio Silksong (30 FPS reales, que HyperFG
    duplica a 60).