Skip to content

HyperPlay 1.1.0

Choose a tag to compare

@murdoc820 murdoc820 released this 21 Nov 15:53
· 59 commits to main since this release

English

  • Celeste at 120 FPS with HyperFG. Games that draw with their own Vulkan (Celeste) now draw
    into HyperPlay images; HyperPlay copies each frame to the screen. With HyperFG on (Quick menu),
    HyperPlay generates one frame between each pair of game frames: Celeste runs at 60 and the
    screen shows 120. Tested on the phone: title, main menu and 3D mountain menu at 120 FPS, no
    crashes. Known: HyperFG uses more GPU at native resolution (about 60-80 %), and the thermal
    protection of HyperFG does not act on these games yet.

  • The APK name now says the processor it is built for:
    HyperPlay-vX.Y.Z-Snapdragon8Elite-arm64-v8a.apk.

  • .NET games (Celeste): HyperPlay runs .NET Framework games with Mono x64 for Windows
    (translated) and FNA instead of XNA. The game's Vulkan renderer (FNA3D/SDL GPU) is passed to
    the phone's Vulkan almost as is (Win32 surface → Android surface, orientation handled). Tested
    on the phone: Celeste title, menus, file select and the prologue at 60 FPS with the controller.
    The .NET runtime (33 MB, release runtime-mono-x64-1) is downloaded by the app the first time
    a .NET game opens, checked with SHA-256 and installed in the app's own folder. Not yet: audio
    (FMOD is proprietary and the shim is silent; your own FMOD 1.10 x64 for Windows in
    /sdcard/HyperPlay/fmod replaces it).

  • Engine fixes found on the way: DLL init order (dependencies first), real
    CommandLineToArgvW, GetStringTypeW (the CRT thought no character was a space),
    ExitThread, ERROR_TIMEOUT from condition variables, NtCreateFile/NtQueryDirectoryFile,
    SetProp/GetProp, msvcrt.dll routed to the UCRT, 32-bit DLLs refused in 64-bit games,
    game console output in logcat.

  • Real widescreen for Cuphead (Quick menu → Image → Screen = Widescreen, the default):
    the game draws more of the scene at the sides, at native resolution, with no stretching and
    no cropping. HyperPlay patches the 16:9 limit of the game camera in memory when the game
    loads (the game files are not changed). Tested on the phone: menus, world map and a
    run-and-gun level fill the 20:9 screen at 60 FPS. Known detail: in some levels a haze layer of
    the sky was drawn for 16:9 and shows a faint seam near the old edges.

  • Quick menu → Image → Screen: Original / Stretch / Zoom, saved per game. Fills the screen
    for games that draw 16:9 with side bars (Cuphead on a 20:9 phone). Stretch widens the image;
    Zoom keeps the shape and crops top and bottom. Tested on the device in Cuphead.

  • Each game now runs in its own process. Force closing a game and opening it (or another one)
    again no longer crashes the app. Quick Resume still works (the held game resumes instantly);
    opening a different game closes the held one first.

  • Launcher: a D-pad press is no longer lost after the RedMagic Game Space layer shows up when
    the app opens.

  • Quick menu: tapping ‹ now steps a setting back and › steps it forward (before, any tap moved
    forward).

  • Gamepad: very short button presses are held for at least 40 ms, so games that read the pad
    once per frame no longer miss them.

  • Hollow Knight: Silksong starts without internet. About 1 launch in 5 stayed on a black
    screen (with or without internet; it looked like a network problem). Cause:
    TryEnterCriticalSection waited like EnterCriticalSection and the Mono garbage collector,
    which uses it while it pauses threads, waited forever. Tested on the phone: 10 of 10 launches
    without internet reach the menu (~115 FPS), and a new game is playable.

  • Fixed a crash when a game opened a file deep in its call stack (Silksong when starting a game):
    the Cuphead widescreen code used 64 KB of stack in every file open. The game thread and the
    threads games create now also get a larger native stack.

  • A thread that runs game code from inside a native call (callbacks, exceptions) is marked as
    "in native code" again when it returns, so pausing it never waits forever.

  • Celeste has sound, without FMOD. HyperPlay now has its own FMOD Studio (native code, no
    Firelight code): it reads the game's sound banks, decodes their Vorbis sounds with Android and
    mixes them at 48 kHz. Tested on the phone: title ambience (looping), menu music and interface
    sounds. Supported: events and timelines, random variations, nested events, loops and sustain
    points, bus/VCA volume and pause, long music decoded in blocks, a soft limiter. Tested in the
    prologue: footsteps, jump, landing, ambience and music. Also: game parameters (music layers fade
    in and out like on PC; defaults read from the bank), sounds chosen by a parameter, and stereo
    position (left/right, quieter off screen), the mixer buses and their faders, snapshots (the
    pause menu lowers the music and ambience; story moments lower the ambience) and music that
    changes section when the game says so. Not done: effects such as reverb. Celeste's saves were
    checked: "Save and Quit" writes the file and it loads
    after restarting.

  • Loading screen: games that draw with their own Vulkan (Celeste) now leave it as soon as they
    show something (before it stayed up to 45 s).

  • Fixed: Mono sometimes aborted (mono-mmap-windows.c:132) because VirtualQuery reported a
    just-reserved region as free; and a folder listing could come back empty when a handle number
    was reused (Celeste: "Missing Language Files").

  • Celeste saves again. Changing an option showed "Save Failed": Mono creates the Saves
    folder with a Win32 long path (\\?\D:\Saves) and HyperPlay did not understand the \\?\
    prefix. Tested on the phone: an option changed in Celeste is still there after restarting.

  • Loading screen: the technical engine text is gone; it now shows a friendly stage ("Getting the
    game ready…", "Almost there…") and a light-hearted line that changes every few seconds.

  • .NET detection fixed: mixed C++/CLI executables (DmC: Devil May Cry) were started with Mono.
    Only IL-only assemblies use Mono now.

  • 32-bit games: their DLLs are always mapped below 4 GB (before, some PhysX DLLs of DmC ended up
    above it), and the import table of a 32-bit DLL is written with 4-byte slots (DmC crashed while
    loading its wxWidgets DLLs). DmC still does not start (missing Windows functions).

  • Error reports reach the server. With your permission, reports are sent to the HyperPlay
    report server, which opens an issue on GitHub (no token in the app). To use little space on
    the phone: the app log is cleared after reports are sent, at most 20 unsent reports (under 30
    days old) are kept, and only the last 5 game session logs.

Español

  • Celeste a 120 FPS con HyperFG. Los juegos que dibujan con su propio Vulkan (Celeste) dibujan
    ahora en imágenes de HyperPlay, y HyperPlay copia cada frame a la pantalla. Con HyperFG activo
    (Menú rápido), HyperPlay genera un frame entre cada par de frames del juego: Celeste va a 60 y
    la pantalla muestra 120. Probado en el teléfono: título, menú principal y menú 3D de la montaña
    a 120 FPS, sin cierres. Conocido: HyperFG usa más GPU a resolución nativa (60-80 %), y la
    protección térmica de HyperFG aún no actúa en estos juegos.
  • El nombre del APK indica ahora el procesador para el que está hecho:
    HyperPlay-vX.Y.Z-Snapdragon8Elite-arm64-v8a.apk.
  • Juegos .NET (Celeste): HyperPlay ejecuta juegos de .NET Framework con Mono x64 para Windows
    (traducido) y FNA en lugar de XNA. El renderizador Vulkan del juego (FNA3D/SDL GPU) se pasa al
    Vulkan del teléfono casi tal cual (superficie Win32 → Android, orientación resuelta). Probado en
    el teléfono: título, menús, selección de partida y el prólogo de Celeste a 60 FPS con mando.
    La app descarga el runtime .NET (33 MB, release runtime-mono-x64-1) la primera vez que se abre
    un juego .NET, lo comprueba con SHA-256 y lo instala en su propia carpeta. Falta: sonido (FMOD
    es propietario y el shim es mudo; tu propio FMOD 1.10 x64 para Windows en
    /sdcard/HyperPlay/fmod lo sustituye).
  • Arreglos del motor encontrados por el camino: orden de inicio de las DLL (dependencias
    primero), CommandLineToArgvW real, GetStringTypeW (el CRT creía que ningún carácter era un
    espacio), ExitThread, ERROR_TIMEOUT en variables de condición,
    NtCreateFile/NtQueryDirectoryFile, SetProp/GetProp, msvcrt.dll al UCRT, DLL de 32 bits
    rechazadas en juegos de 64, salida de consola del juego en logcat.
  • Panorámica real para Cuphead (Menú rápido → Imagen → Pantalla = Panorámica, por
    defecto): el juego dibuja más escenario a los lados, a resolución nativa, sin estirar ni
    recortar. HyperPlay parchea en memoria el límite 16:9 de la cámara del juego al cargarlo (los
    archivos del juego no se tocan). Probado en el teléfono: menús, mapa del mundo y un nivel de
    disparos llenan la pantalla 20:9 a 60 FPS. Detalle conocido: en algunos niveles una capa de
    bruma del cielo está dibujada para 16:9 y deja una costura suave cerca de los bordes antiguos.
  • Menú rápido → Imagen → Pantalla: Original / Estirar / Ampliar, se guarda por juego. Llena
    la pantalla en juegos que dibujan en 16:9 con barras a los lados (Cuphead en un teléfono 20:9).
    Estirar ensancha la imagen; Ampliar mantiene la forma y recorta arriba y abajo. Probado en el
    teléfono con Cuphead.
  • Cada juego corre ahora en su propio proceso. Forzar el cierre de un juego y volver a abrirlo
    (o abrir otro) ya no cierra la app. Quick Resume sigue funcionando (el juego suspendido se
    reanuda al instante); abrir otro juego cierra antes el suspendido.
  • Launcher: ya no se pierde una pulsación de la cruceta cuando aparece la capa de RedMagic Game
    Space al abrir la app.
  • Menú rápido: tocar ‹ ahora retrocede el ajuste y › lo avanza (antes cualquier toque avanzaba).
  • Mando: las pulsaciones muy cortas se mantienen al menos 40 ms, así los juegos que leen el mando
    una vez por frame ya no las pierden.
  • Hollow Knight: Silksong arranca sin internet. Alrededor de 1 de cada 5 arranques se quedaba
    en pantalla negra (con o sin internet; parecía un problema de red). Causa:
    TryEnterCriticalSection esperaba como EnterCriticalSection y el recolector de memoria de
    Mono, que la usa mientras pausa hilos, esperaba para siempre. Probado en el teléfono: 10 de 10
    arranques sin internet llegan al menú (~115 FPS) y una partida nueva se puede jugar.
  • Arreglado un cierre cuando un juego abría un archivo con la pila de llamadas muy llena
    (Silksong al empezar partida): el código de panorámica de Cuphead usaba 64 KB de pila en cada
    apertura de archivo. El hilo del juego y los hilos que crean los juegos tienen ahora también
    más pila nativa.
  • Un hilo que ejecuta código del juego desde dentro de una llamada nativa (callbacks,
    excepciones) vuelve a marcarse "en código nativo" al terminar, así pausarlo nunca espera para
    siempre.
  • Celeste tiene sonido, sin FMOD. HyperPlay tiene ahora su propio FMOD Studio (código nativo,
    sin código de Firelight): lee los bancos de sonido del juego, decodifica sus sonidos Vorbis con
    Android y los mezcla a 48 kHz. Probado en el teléfono: ambiente del título (en bucle), música
    del menú y sonidos de la interfaz. Incluye: eventos y líneas de tiempo, variaciones aleatorias,
    eventos anidados, bucles y puntos de sostén, volumen y pausa de buses/VCA, música larga
    decodificada por bloques y un limitador suave. Probado en el prólogo: pasos, salto, aterrizaje,
    ambiente y música. Además: parámetros del juego (las capas de la música entran y salen como en
    PC; valores por defecto leídos del banco), sonidos elegidos por un parámetro y posición en
    estéreo (izquierda/derecha, más bajo fuera de la pantalla), los buses del mezclador y sus
    faders, snapshots (el menú de pausa baja la música y el ambiente; momentos de la historia bajan
    el ambiente) y música que cambia de sección cuando el juego lo indica. No hecho: efectos como la
    reverberación. Comprobado el guardado de Celeste: "Save and Quit" escribe la
    partida y se carga al reiniciar.
  • Pantalla de carga: los juegos que dibujan con su propio Vulkan (Celeste) la quitan en cuanto
    muestran algo (antes podía durar hasta 45 s).
  • Arreglado: Mono a veces abortaba (mono-mmap-windows.c:132) porque VirtualQuery daba por
    libre una región recién reservada; y el listado de una carpeta podía salir vacío al reutilizarse
    un número de handle (Celeste: "Missing Language Files").
  • Celeste vuelve a guardar. Al cambiar una opción salía "Save Failed": Mono crea la carpeta
    Saves con una ruta larga de Win32 (\\?\D:\Saves) y HyperPlay no entendía el prefijo \\?\.
    Probado en el teléfono: una opción cambiada en Celeste sigue igual tras reiniciar el juego.
  • Pantalla de carga: fuera el texto técnico del motor; ahora muestra una etapa amable
    ("Preparando el juego…", "Ya casi está…") y una frase divertida que cambia cada pocos segundos.
  • Arreglada la detección de juegos .NET: los ejecutables mixtos C++/CLI (DmC: Devil May Cry) se
    arrancaban con Mono. Ahora solo usan Mono los ensamblados solo IL.
  • Juegos de 32 bits: sus DLL se colocan siempre por debajo de 4 GB (antes algunas DLL de PhysX de
    DmC quedaban por encima) y la tabla de importaciones de una DLL de 32 bits se escribe con
    ranuras de 4 bytes (DmC se cerraba al cargar sus DLL de wxWidgets). DmC aún no arranca (faltan
    funciones de Windows).
  • Los informes de errores llegan al servidor. Con tu permiso, los informes se envían al
    servidor de informes de HyperPlay, que abre un issue en GitHub (sin token en la app). Para
    ocupar poco en el teléfono: el registro de la app se vacía al enviar los informes, se guardan
    como mucho 20 informes sin enviar (de menos de 30 días) y solo los 5 últimos logs de sesión.