Skip to content

uncharted-android 0.3.2 (beta)

Choose a tag to compare

@revvv991 revvv991 released this 11 Nov 21:10
· 21 commits to main since this release

uncharted-android 0.3.2 (base: uncharted_pc 0.3.14) - beta: controllers the game did not read can now be set up, the game can be quit from its panel, Nate runs with the on-screen stick, and the game should start on Snapdragon 865 (Adreno 650) devices. No game files are included: you need your own decrypted dump of the collection (version 1.02 of the executables). Please attach the log to a report (Saves and logs > Copy the log).

New

  • Controller setup (#16): a button in the launcher (under Controls) and an item in the in-game panel (swipe in from the right edge of the screen, or L3+R3) open a window that draws the on-screen gamepad. Tap a control, then press the controller's button for it, or use Set up all, which asks for each control in turn. It is meant for controllers the game did not read: a pad in a PC / DirectInput mode reports generic buttons, which the port ignored, or (with 13 buttons or more) read without its buttons. While the window is open, pressed buttons light up and the sticks move, to check the result; Reset removes the setup. A setup is kept for that controller and applies whenever it is connected; changed over the game, it applies at once (the game keeps running under the window: pause it first). If a connected controller is not read at all, a notice at the top of the screen says so, and the log names every controller and whether it is read.
  • The game reads the controller used last: a handheld's own controls and an external pad both play. Before, only the first one was read - on a handheld, its built-in controls.
  • Quit game at the bottom of the in-game panel (#29): it asks once more, waits for a save in progress to finish (at most 5 seconds), then closes the game and removes it from Recents.

Fixed

  • Snapdragon 865 / Adreno 650 devices (such as the Retroid Pocket 5): the game did not start (#36, "Device lost during a sparse bind"). Where the kernel's GPU driver has no virtual buffer objects (older kernels), the driver offers no sparse memory, and the port's buffer cache used sparse memory on every GPU. On such drivers the buffer cache now keeps its memory in ordinary allocations (the approach of Bloodborne-Android, reworked for this port), at the cost of about 0.5 GB more memory. Forced on the Retroid Pocket G2, all three games play as before; it has not run on an Adreno 650 itself yet, so a log from the first start is very welcome, whether it works or not. Devices with sparse memory (the G2, Adreno 7xx/8xx on newer kernels) keep the previous code.
  • Nate walked instead of running with the on-screen stick in Uncharted 2 and 3 (#34): these games run only from about 85% of a full push, and the stick gave a full push only at the edge of its ring. A full push now comes at three quarters of the ring (the knob reaches the ring when the push is full).

For developers

  • BB_TOUCH_STICK_FULL=<0.5..1>: where the on-screen stick's full push is, as a share of its ring (default 0.75; 1 is the ring, as in 0.3.1).
  • BB_PAD_LAST_USED=0: only the first gamepad is read, as before.
  • BB_NONSPARSE_ARENAS=1 / =0: the buffer cache's arenas in ordinary memory forced on or off (default: on only where the driver has no sparse buffers); BB_NONSPARSE_ARENA_MB=<2..4096>: their page size (a power of two, default 16). The log's Buffer cache: no sparse binding line says they are in use; its later Buffer cache: lines show the memory they hold.
  • Controller setups are kept in controllers.txt next to bbport.ini: one line per controller (vendor:product:crc of SDL's GUID, the name, the SDL mapping); deleting the file drops them all.
  • android/scripts/g2/runs/vpad.sh: virtual controllers on a device through Android's uinput tool (a pad in a DirectInput mode with sixteen generic buttons), for input tests.

Known issues

  • Uncharted 3: character models (Drake in the desert, the horses) glitch in chapters 19-20 on an Adreno 750 (#35); under investigation.
  • Uncharted 3 crashed right after it was chosen in the collection's menu on an Odin 3 (Adreno 830, #33); 0.3.1 has a fix that may cover it, not confirmed yet.
  • Controller setup: a controller in a keyboard or mouse mode is no controller to Android and cannot be set up; switch it to another mode.
  • Adreno 8xx: tested on one phone (an Adreno 825); the 830 and 840 may behave differently. Reports with the log are welcome.
  • Uncharted 3 can still crash once in a while in long sessions (the game's job code reads memory that was reused; under investigation). Save often.
  • Without the frame rate limit the GPU is the limit in Uncharted 3's heaviest places (the market chase at about 30 FPS on the Retroid Pocket G2). A phone without a fan heats up fast in Uncharted 3: keep the 60 limit there and let it cool between long sessions.
  • Uncharted 2 still moves a little unevenly at the frame rate limit: its view does not follow the game's frame clock.
  • The sizes below 1080p need version 1.02 of the executables (#3).

0.2.7 to 0.3.1 offer this release in the app (Update); or install uncharted-android-0.3.2.apk over the previous version (same signing key; settings and saves stay). Building from source: see the README.

Checksums

  • uncharted-android-0.3.2.apk SHA-256: 047e040cd111878b8763ca6d3a5f808d8528abb05af9aa92d4eb3898e994529a
  • Signing certificate SHA-256: e9f4c3735869e415fbf21647eafb7991b05d6e926f9daf0eea0f88fc3e7bc60b