Skip to content

v0.2.8 – Fixes the crash at start-up on some consoles

Pre-release
Pre-release

Choose a tag to compare

@SantiBros SantiBros released this 15 Oct 21:40
· 9 commits to main since this release

Fixes the crash at start-up that happened on some consoles, and adds crash reports to log.txt.

Important

No game files are included. You need your own copy of Need for Speed Most Wanted for Android, version 1.3.128: the APK and the OBB (or one .xapk file with both).
Only the Android version works: not the PC, PS3, Xbox 360, PS Vita or Wii U versions.

What's new in 0.2.8

  • Fixed: the port crashed right after starting on some consoles (every version up to 0.2.7). The game expects its memory to start out empty, as on a phone. On the Switch, the memory the port uses still held what the program that ran before it left there (the Homebrew Menu, a forwarder), and the port didn't clear it. Depending on what ran before, the game's start-up code found garbage there and crashed. The port now clears its memory before the game starts. Thanks to the tester who sent the crash report!
  • No more silent closes from a damaged game file. If one of the game's libraries in game/lib/ was cut off or damaged (an interrupted copy, an SD card error), the port used to close right after starting, without a message. It now checks each library, deletes a damaged one and tells you to put your APK back into game/: at the next start it takes a fresh copy out of it.
  • Crash reports. If the port crashes or runs out of memory, it now says so: log.txt ends with a CRASH section that says what went wrong and where. Before, the log could stop up to a second before the crash, with nothing about it. If your game closes, please open an issue and attach log.txt.
  • The game libraries load faster (read in one go instead of a few hundred bytes at a time).
  • log.txt lists each library's checksum and says when one is not the tested 1.3.128 build, or has changed since the setup took it out of your APK. It also starts with your firmware version, how the port was started and how much memory it got, so a report says it all.

How to install

  1. Download NFSMostWanted2012-0.2.8.zip below, under Assets (not "Source code"), and copy its switch folder to the root of your SD card.
  2. Copy your APK and your OBB into switch/NFSMostWanted2012/game/, without unzipping or renaming them. A single .xapk file works too.
  3. Hold R while launching any game, open NFS Most Wanted 2012 Loader, wait for the setup screen and press A.

NFSMostWanted2012-0.2.8-symbols.elf is only for developers (to read crash reports): you don't need it to play.

Updating from 0.2.7

Copy the new switch folder over the old one. Your game files, saves and settings are kept, and the old .nro is removed automatically the first time you start the new one. As after every update, the first start is a bit slower: the JIT cache is rebuilt.

Known issues

  • Experimental: back up your SD card and use emuMMC.
  • Reflections in the building windows can look wrong on the console. Still being investigated: it doesn't happen on the PC test build. Photos are very welcome in an issue.
  • The frame rate is still being tuned: busy races can drop below 30 fps at stock clocks. The debug menu (ZL + ZR + Minus) can raise the CPU clock.
  • Please report problems with the log.txt file from the port's folder.

Full guide, troubleshooting and changelog: see the README on the main page of this repository.


🇪🇸 Español

Corrige el cierre al abrirlo que pasaba en algunas consolas, y agrega reportes de errores a log.txt.

Important

No se incluye ningún archivo del juego. Necesitas tu propia copia de Need for Speed Most Wanted para Android, versión 1.3.128: el APK y el OBB (o un solo archivo .xapk con los dos).
Solo funciona la versión Android: no las de PC, PS3, Xbox 360, PS Vita ni Wii U.

Novedades de la 0.2.8

  • Corregido: el port se cerraba justo después de abrirlo en algunas consolas (todas las versiones hasta la 0.2.7). El juego espera que su memoria empiece vacía, como en un teléfono. En la Switch, la memoria que usa el port todavía tenía lo que dejó el programa que se abrió antes (el Homebrew Menu, un forwarder), y el port no la limpiaba. Según lo que se hubiera abierto antes, el código de arranque del juego encontraba basura ahí y se cerraba. Ahora el port limpia su memoria antes de que arranque el juego. ¡Gracias a la persona que envió el reporte del error!
  • Se acabaron los cierres sin aviso por un archivo dañado. Si una de las bibliotecas del juego en game/lib/ quedaba cortada o dañada (una copia interrumpida, un error de la tarjeta SD), el port se cerraba justo después de abrirlo, sin ningún mensaje. Ahora revisa cada biblioteca, borra la que esté dañada y te pide volver a poner tu APK en game/: la próxima vez que lo abras saca de ahí una copia nueva.
  • Reportes de errores. Si el port se cierra por un error o se queda sin memoria, ahora lo dice: log.txt termina con una sección CRASH que dice qué falló y dónde. Antes el log podía cortarse hasta un segundo antes del error, sin nada sobre él. Si tu juego se cierra, abre un issue y adjunta log.txt.
  • Las bibliotecas del juego cargan más rápido (se leen de una vez, en lugar de unos cientos de bytes a la vez).
  • log.txt muestra la suma de verificación de cada biblioteca y avisa si una no es la versión 1.3.128 probada o si cambió desde que la preparación la sacó de tu APK. También empieza con la versión de tu firmware, cómo se abrió el port y cuánta memoria recibió, así un reporte lo dice todo.

Cómo instalar

  1. Descarga NFSMostWanted2012-0.2.8.zip aquí abajo, en Assets (no "Source code"), y copia su carpeta switch a la raíz de tu tarjeta SD.
  2. Copia tu APK y tu OBB en switch/NFSMostWanted2012/game/, sin descomprimirlos ni cambiarles el nombre. También sirve un solo archivo .xapk.
  3. Mantén R al abrir cualquier juego, abre NFS Most Wanted 2012 Loader, espera la pantalla de preparación y presiona A.

NFSMostWanted2012-0.2.8-symbols.elf es solo para desarrolladores (para leer los reportes de errores): no lo necesitas para jugar.

Actualizar desde la 0.2.7

Copia la nueva carpeta switch encima de la anterior. Tus archivos del juego, partidas guardadas y ajustes se conservan, y el .nro viejo se borra solo la primera vez que abres el nuevo. Como después de cada actualización, la primera vez que lo abras será un poco más lenta: la caché JIT se vuelve a crear.

Problemas conocidos

  • Experimental: respalda tu tarjeta SD y usa emuMMC.
  • Los reflejos en las ventanas de los edificios pueden verse mal en la consola. Todavía se está investigando: no pasa en la versión de prueba para PC. Se agradecen fotos en un issue.
  • Los FPS todavía se están ajustando: en carreras con mucha acción pueden bajar de 30 con los relojes de fábrica. El menú de depuración (ZL + ZR + Menos) permite subir el reloj de la CPU.
  • Reporta los problemas adjuntando el archivo log.txt de la carpeta del port (puedes escribir en español).

Guía completa y solución de problemas en español: en la página principal de este repositorio, botón Español.


NFSMostWanted2012-0.2.8.nro SHA-256: 10c9cd4de9ada0bfc94434615851c350ff20cba9b8db7716a2eb83a95d0d0175