Skip to content

Releases

Call of Duty: Advanced Warfare for Switch v0.3.0

Choose a tag to compare

@github-actions github-actions released this 28 Nov 22:44

Smoother: sound without gaps, no freezes where something new comes into view
on a new player's first visit, a frame rate counter, and a little faster
everywhere.

To update, build the programs again from your discs, as for 0.2.0 (git pull and switch/setup.sh on a PC, or your builder's workflow again), and copy
the new files over the old ones on the SD card.

  • Sound without gaps. audout is handed each of the title's 5.333 ms frames
    as a buffer of its own and kept a few frames ahead, more for a while after
    the game has been busy, as the Android port's output is; the mixer, the
    XMA decoder's threads and the title's own sound thread run above the rest
    of the game (the title's thread priorities are honoured on the Switch, where
    a thread keeps its core until it waits). The title's sound callback took 3.2
    ms of every 5.333 and the output ran dry 1568 times in six minutes of the
    campaign; now 0.6 ms and a handful of times, and recordings of the campaign
    and a match have no audible gaps.
  • No freezes on a first visit. A shader the game had not compiled before
    was compiled on the renderer's thread at its first draw: 119 ms each, 516 of
    them in Seoul's first minutes on an empty cache, frames at 1 to 16 a second
    wherever the player turned to something new. Now the shader workers compile
    them, ahead of their other work, while the draws that need them wait a
    moment (61 s of the renderer's time to 0.07 s in that run).
  • Shaders compiled during a level's load. The game's shaders are handed to
    the workers as the level loads them (6152 in Seoul), as the other ports do;
    they run under the game's threads, so they compile in the time it leaves.
  • Frame rate counter: the launcher's Settings, Frame rate counter shows
    the frames of the last second, the longest of them and a graph of the last
    hundred at the top left.
  • Faster: texture signing and vertex copies in NEON (the renderer's
    largest costs in a level; signing 37% quicker), the guest's memory on 2 MB
    pages, the log written to the SD card in the background, the job workers'
    Sleep(0) spins bounded. The campaign's drop-pod sequence went from 47.3 to
    49.2 fps (OC); multiplayer as in 0.2.0.
  • Listed on PortZone: the repository describes the port for
    PortZone (portzone.json).

Known: as in 0.2.0, rarely (about once in three hours of play in testing) the
game closes with a graphics error; start it again.


aw-nx.nro is the launcher: copy it to switch/aw-nx/aw-nx.nro on the SD card. The game's programs are built from your own discs, with switch/setup.sh on a PC or online with aw-nx-builder: see the README. No game files are included.

Call of Duty: Advanced Warfare for Switch v0.2.0

Choose a tag to compare

@github-actions github-actions released this 28 Nov 12:01

Faster, steadier and closer to the console: the campaign's heaviest scene
tested and Sideshow with 6 bots at 54.6 fps on average (were 49.5 and about
45), the buttons by their letters, rumble on in new profiles, and no more
freezes when the console's network stalls.

To update, build the programs again from your discs, the same way as the
first time (git pull and switch/setup.sh on a PC, or your builder's
workflow again), and copy the new files over the old ones on the SD card. On
the first start after updating, the screen stays black for two to three
minutes while the shaders are made again, once. A now confirms; the
launcher's Settings, Buttons: Xbox positions brings back the old layout.

  • The Android port's runtime up to aw-recomp 0.1.6 merged: the field of
    view kept through spawns, the pipeline cache's rules, the kernel's hash
    functions and the release announcement for Discord.
  • Multiplayer on Venus: 57.3 fps on average with 6 bots over 150 s of a
    match (53.2 in the same run before the merge), the graphics chip at 13.7 ms
    a frame (was 15.1).
  • A rewritten texture is still read at the end of a segment on the Switch
    (MW2_TEXTURES_AT_BIND=1 reads it at the bind, as the other ports do): read
    at the bind it costs the campaign opening 0.7 fps.
  • Vertices copied in host byte order on the Switch, so the vertex shaders
    no longer exchange each dword's bytes: the campaign opening 49.0 to 50.3
    fps, the graphics chip 1.3 ms and the renderer's thread 3.3 ms lighter a
    frame; a match on Venus 57.3 to 58.1 fps, the graphics chip 13.7 to 12.6 ms
    (MW2_HOST_ORDER=0 keeps the guest order).
  • A vertex shader's float constants as a uniform block on the Switch, a
    window of the frame arena the GPU reads as a constant bank instead of
    fetching each constant: the campaign opening 50.3 to 52.7 fps, the graphics
    chip 19.5 to 17.0 ms and the renderer's thread 17.4 to 14.9 ms a frame
    (MW2_VERTEX_UNIFORMS=0 fetches them as before).
  • With both, the shaders and the pipelines are made again once on the first
    start after updating, into cache/pipeline-uniform.vkcache: a screen that
    stays black for two to three minutes while they are, once. The files of
    the kinds before it (cache/pipeline.vkcache, cache/pipeline-host.vkcache)
    are deleted then, which frees 60 to 250 MB of the card.
  • Vertex copies held for the frame on the Switch: a vertex window one
    draw copies serves the frame's later draws for as long as the guest has not
    written its pages, which the Switch's write watch tells for a byte of a
    table. The campaign opening copies 4.9 MB of vertex data a frame instead of
    7.7, 53.2 to 54.9 fps in its play, the renderer's thread 1 ms lighter a
    frame (MW2_FRAME_VERTICES=0 copies each draw's own).
  • The kernel objects' lock without Horizon's mutex on the Switch: a
    thread that finds it held looks again a while and then sleeps on its word,
    and an unlock lets whichever thread comes first have it, rather than
    handing it to a waiter that has no core yet. In the campaign opening's play
    the waits that found it held went from 88% to 5%, and 2.5 to 2.9 s a
    second of the threads' time waiting for it to 0.04; 54.8 to 55.3 fps
    rather than 54.1 to 54.3, Venus 54.5 (runtime.md).
    Setting an event already set no longer wakes its waiters again.
  • The face buttons go by their letters: the button a prompt names is the
    one with that letter, A to confirm and B to go back, as in the launcher and
    the system's menus. The launcher's Buttons setting (MW2_BUTTONS=positions)
    keeps the layout before it, the Switch's B where the Xbox's A is.
  • No freeze when the console's network stalls: a campaign left at its
    title screen stopped for good 278 s in, its main thread waiting on Horizon's
    socket service, which had stalled with every socket on the console. The
    game's threads no longer call that service once their sockets are made: with
    no online service what the game sends itself stays in the process, and the
    relay's and the LAN's datagrams are sent and received by two threads of
    their own, which the game only meets through queues. A stall now costs the
    connection, not the game, and a match's main thread no longer looks at the
    socket itself (Venus with 6 bots on the relay, 54.8 fps over 231 s).
  • Rumble on in a new profile: the console's own default for a profile's
    controller vibration, which a new profile takes its Vibration option
    from, where "not set" had turned it off. A profile made before keeps what it
    has: Options, Vibration turns it on.
  • A build directory made before takes the version from switch/VERSION
    again; it had kept 0.1.0 after a git pull.

Known: rarely, about once in three hours of play in testing, the game closes
with a graphics error ("the Vulkan device was lost" in the log). Start it
again; reports help.


aw-nx.nro is the launcher: copy it to switch/aw-nx/aw-nx.nro on the SD card. The game's programs are built from your own discs, with switch/setup.sh on a PC or online with aw-nx-builder: see the README. No game files are included.

Call of Duty: Advanced Warfare for Switch v0.1.0

Choose a tag to compare

@github-actions github-actions released this 28 Nov 03:53

The first release for testers.

  • The whole game from one Homebrew Menu entry: the campaign, the disc's
    multiplayer, multiplayer with title update 17 (the map packs' maps) and Exo
    Zombies, with bots in the matches the console hosts. Start it by holding R
    while starting any game.
  • Online with the Android and PC ports through the same relay server
    (mw3.yassin.app by default), or on the local network.
  • Performance: 60 fps in the menus, 55 to 57 in a multiplayer match on
    Venus with 6 bots, 55 to 58 in Exo Zombies, about 45 on Sideshow and 49.5 in
    the campaign's heaviest scene (OLED, overclocked, Graphics: Adaptive). At the
    console's stock clocks a match is 56. Shaders and pipelines are cached on the
    SD card after a level's first load.
  • One-command build on a PC: switch/setup.sh installs the tools,
    downloads the prebuilt NVK graphics driver, recompiles your discs'
    executables and puts the SD card's files in out/sd/.
  • Build without a PC: aw-nx-builder,
    a template that builds the programs in a private GitHub repository of your
    own, from the files the launcher's Files for the online builder writes.
  • Launcher: Settings for the player name, network and relay server, Xbox
    LIVE sign-in, unlock-all, bots, the multiplayer version, field of view
    (multiplayer and Exo Zombies, 65 to 120), frame rate limit, graphics, clocks
    and the log. Help and tools: Report a problem (report.txt with the
    console's versions, what is on the SD card and the end of the log, and QR
    codes for the issues page and the Discord), Install from disc images
    (the .iso files on the SD card unpacked in place, resumable) and the
    online builder's files.
  • Optional overclock through Horizon-OC's hoc-clk (CPU 1963.5 / GPU
    1075.2 MHz, about a tenth more frames), and an optional patch that gives
    homebrew the fourth CPU core.

aw-nx.nro is the launcher: copy it to switch/aw-nx/aw-nx.nro on the SD card. The game's programs are built from your own discs, with switch/setup.sh on a PC or online with aw-nx-builder: see the README. No game files are included.

NVK SDK (Mesa, no game code)

Pre-release

Choose a tag to compare

@yassinsolim yassinsolim released this 28 Nov 03:24

Prebuilt NVK (Mesa's Vulkan driver for NVIDIA GPUs), built static for the Nintendo Switch (Horizon, libnx) by switch/build_mesa.sh. switch/setup.sh downloads this so you don't have to build Mesa yourself (that takes a long while and needs extra tools).

  • Source: https://github.com/danfromtico/mesa-switch at 1a8c1a66d6fd8d65f10107c4627ffc3606ba5631, plus switch/patches/mesa-mw2nx.patch (from kyokoxdev/mw2nx)
  • Mesa is under the MIT license and others compatible with it; see LICENSE-mesa.rst in the archive.
  • No game code is in here.

sha256 7960b4c201d37a1ce57d4ca43cbd36191f52f0a6d2fd5812f08d90bda85511e9