Skip to content

v0.5.0

Latest

Choose a tag to compare

@exsilium exsilium released this 26 Nov 14:40
5a451d5

This release includes many fixes, input responsiveness and general performance smoothness. The AOT build runs faster and gives the game more memory. In return the CIA is larger. AOT will be the single backend that will be focused on for the upcoming releases with Box86 kept as testing lane and reference to support development workflows.

Speed

┌────────────────────┬────────────────┬────────────────┬────────────────────────────────────────┐
│                    │      AOT       │  x86 (Box86)   │                 Where                  │
├────────────────────┼────────────────┼────────────────┼────────────────────────────────────────┤
│ Frame pass, median │ 30.0 ms        │ 37.8 ms        │ Console, 3DS-D2-1H (23 Nov)            │
├────────────────────┼────────────────┼────────────────┼────────────────────────────────────────┤
│ Frame pass, median │ 40.3 ms        │ 44.3 ms        │ Azahar today, Cold Plains, SD model on │
├────────────────────┼────────────────┼────────────────┼────────────────────────────────────────┤
│ Frames drawn       │ 3,252 by 170 s │ 2,752 by 180 s │ Same Azahar runs                       │
└────────────────────┴────────────────┴────────────────┴────────────────────────────────────────┘

Memory

┌────────────────────────────────┬───────────────────────────────────┬─────────────────┐
│                                │                AOT                │       x86       │
├────────────────────────────────┼───────────────────────────────────┼─────────────────┤
│ The game's own arena           │ 84,992 KiB                        │ 76,800 KiB      │
├────────────────────────────────┼───────────────────────────────────┼─────────────────┤
│ Linear memory                  │ 6,400 KiB                         │ 4,608 KiB       │
├────────────────────────────────┼───────────────────────────────────┼─────────────────┤
│ Read cache                     │ 32 blocks a file, 2 MiB in linear │ smaller default │
├────────────────────────────────┼───────────────────────────────────┼─────────────────┤
│ Tile store                     │ 1,536 KiB in linear               │ not there       │
├────────────────────────────────┼───────────────────────────────────┼─────────────────┤
│ Sprite store (#169)            │ 768 KiB                           │ off             │
├────────────────────────────────┼───────────────────────────────────┼─────────────────┤
│ Host heap free late in the run │ 11,998 KiB                        │ 4,574 KiB       │
└────────────────────────────────┴───────────────────────────────────┴─────────────────┘

What's Changed

  • d2d as a pinned submodule for tests and tools (#106) by @exsilium in #121
  • Profile tools name Game.exe's functions; start cross-check with d2d (#107) by @exsilium in #123
  • AOT design note (docs/aot.md, #112) by @exsilium in #122
  • UnitWalk against d2d's walk-back cases on the host (#108) by @exsilium in #124
  • Generated cases for every native in d2_native.cpp (#109) by @exsilium in #125
  • AOT spike: A* and CofParams compiled, checked and measured on the console (#113) by @exsilium in #126
  • run-game-azahar.sh: check the CIA's install, and take --cia relative by @exsilium in #127
  • d2d repinned to upstream main fb6d799d (#106) by @exsilium in #128
  • winx86 repinned to WinVita db71c76: the sound limiter (#117, #119) by @exsilium in #129
  • Sound limiter on OPTIONS and a sound clipping row in the profiler checklist (#117) by @exsilium in #130
  • AOT check for every compiled function, and scripts/docker.sh test aot (#114) by @exsilium in #131
  • Presses shorter than a frame kept: the pad sampled every 4 ms and replayed at the pump (#118) by @exsilium in #132
  • AOT coverage and exits (#115, stages 1 and 3a) by @exsilium in #133
  • AOT callouts and functions natives changed (#115) by @exsilium in #134
  • AOT census of d2d's whole function list (#135) by @exsilium in #140
  • AOT: esp known at a ret in 900 more functions (#138) by @exsilium in #141
  • AOT (#135): the generated C in parts by @exsilium in #142
  • AOT: x87 compiled (#136) by @exsilium in #143
  • AOT: tail calls through a pointer compiled (#138) by @exsilium in #145
  • AOT recompiler in Rust (#144) by @exsilium in #146
  • Cinematics play silent when their soundtracks are Bink DCT audio (localised releases): a fixed-point DCT decoder by @Poganyi-Priklad in #148
  • AOT: the natives' site table, and what Box86 still runs down to 0.01% (#138) by @exsilium in #149
  • AOT (#138): a Cpu without Box86, and the app built on it by @exsilium in #151
  • AOT (#138): the console's first stops, and every function covered in a build without Box86 by @exsilium in #152
  • AOT (#139): a stop ends the run in order, and a Game.exe that wasn't compiled stops at the start by @exsilium in #154
  • AOT packaging (#116): a title per backend, both CIAs install side by side by @exsilium in #155
  • Save files read through the read cache (#153): the 26 s act change by @exsilium in #156
  • AOT (#153): the clock, lock calls and calls through a pointer without the dispatcher by @exsilium in #157
  • AOT (#153): code that never ran compiled for size; the memory to the arena and the tile store by @exsilium in #158
  • AOT (#153): 2 MiB of read cache blocks in linear memory, 32 blocks a file (after #158) by @exsilium in #159
  • Sounds (#153): a sound's file read off the game thread at its first play by @exsilium in #160
  • Monsters (#153): a monster's sprites asked for a mode at a time by @exsilium in #161
  • Sprite frames (#153): a large group with no block has the cache let go of another by @exsilium in #162
  • Sounds (#153): a deferred sound no longer seconds late by @exsilium in #163
  • Sprite headers kept on the card between sessions (#153) by @exsilium in #164
  • The player's sprites asked for ahead on the AOT build (#153) by @exsilium in #165
  • Sprites ahead (#153): the rest of a sprite's file read ahead after its first read by @exsilium in #167
  • SD model (#166): the card's read time modelled in an emulator's runs, set to the console's slow end by @exsilium in #168
  • Sprite store (#153): a sprite's compressed data kept after its read by @exsilium in #169
  • Release v0.5.0 by @exsilium in #171

New Contributors

Full Changelog: v0.4.0...v0.5.0