Skip to content

Releases

v0.5.0

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

v0.4.0

Choose a tag to compare

@exsilium exsilium released this 13 Nov 14:40
b9a347d

This is a significant release aiming to improve performance, reporting and quality of life.

What's Changed

  • Problem reports to Sentry, sent with a TLS module loaded only to send (#26) by @exsilium in #29
  • Sprite cache governor without thrash, and a sprite trace sent with reports (#18) by @exsilium in #32
  • Sprite decoding and the slow play windows: polls that return at once, and counters for where the time goes (#31) by @exsilium in #34
  • Hitch counters, and a profiler run in place of the profiling build (#19) by @exsilium in #35
  • Reports at the game's end: give the guest arena back first (#30) by @exsilium in #36
  • A guest code profile's tables, by function (#20) by @exsilium in #41
  • A file-read trace replayed through the read cache's policy (#21) by @exsilium in #42
  • Translated code in use, beside the chunks opened for it (#23) by @exsilium in #43
  • What a decoded sprite holds, replayed as memory held (#33) by @exsilium in #45
  • The sprite cache's hits and file paths in native code (#37) by @exsilium in #46
  • The locked lookups in native code (#38) by @exsilium in #47
  • GetTickCount in line from the slice's clock, its reads counted (#39) by @exsilium in #49
  • The guest code profile's tail in 64-byte buckets (#40) by @exsilium in #50
  • The sprites' frames in blocks of their own (#44) by @exsilium in #51
  • Uncontended lock calls in line, without the Bridge (#48) by @exsilium in #52
  • A "Suspending..." panel on the bottom screen while HOME takes over (#27) by @exsilium in #53
  • Let libctru's APT thread see the HOME press at once (#27) by @exsilium in #54
  • Log what the system has left, and refused heap growth (#24) by @exsilium in #55
  • The backend's work tree is prepared again when its patch series changes by @exsilium in #60
  • JIT cache sync: the data cache by range through svcFlushProcessDataCache (patch 0056) by @exsilium in #58
  • Cinematic soundtracks decoded in fixed point (#56) by @exsilium in #57
  • Problem reports grouped by what happened; player reports titled by version and topic (#61) by @exsilium in #62
  • Screenshot pairs for problem reports (#61) by @exsilium in #63
  • Bottom screen: a cinematic's own panel while it plays (#59) by @exsilium in #65
  • Act II arrival: the ARMv6 translator no longer aborts on mov al, al (#66) by @exsilium in #68
  • Draw on core 2: floor tiles and the frame's copy on the second core, the governor's spare cut (#80) by @exsilium in #82
  • Top screen at 50 Hz: each 25 fps frame shown for exactly two refreshes by @exsilium in #85
  • Native DCC sprite decoder, run on core 2 off the read thread by @exsilium in #87
  • Frame lock at 50 Hz: the game's clock kept in step with the screen's refreshes by @exsilium in #88
  • Tile prefetch: the rooms near the player's tiles read on core 2 before their first draw by @exsilium in #91
  • Crowds and Act II: the game thread's hottest routines as checked natives by @exsilium in #93
  • A full static JIT pool refuses new code chunks without the heap fallback by @exsilium in #94
  • Controls: ZR is a modifier, ZR + A/B/Y/X for skills F1–F4 by @exsilium in #100
  • Game end: report progress on the bottom screen; whole-screen start-up and end messages by @exsilium in #101
  • OPTIONS page: the options reordered, and a frame lock note that fits by @exsilium in #102
  • Controls: Y sells (shop open) or drops (inventory open) the item under the cursor by @exsilium in #103
  • Release v0.4.0 by @exsilium in #104

Full Changelog: v0.3.2...v0.4.0

v0.3.2

Choose a tag to compare

@exsilium exsilium released this 27 Oct 10:54

What's Changed

  • Long Act I sessions out of memory: release empty pool blocks, 128 KiB blocks by @exsilium in #17

Full Changelog: v0.3.1...v0.3.2

v0.3.1

Choose a tag to compare

@exsilium exsilium released this 23 Oct 11:38

What's Changed

  • Den of Evil out of memory: sprite cache governor, larger pool, clean fatal exit by @exsilium in #16

Full Changelog: v0.3.0...v0.3.1

v0.3.0

Choose a tag to compare

@exsilium exsilium released this 21 Oct 14:19
6e7ea28

What's Changed

  • Guest memory fixes and a console crash report (#5) by @exsilium in #7
  • HOME button: serviced during level loads; no frame mid-handover (#6) by @exsilium in #8
  • On-screen keyboard: R+Select instead of Select+Start by @exsilium in #9
  • Audio: don't wait on the DSP once the app is closing by @exsilium in #10
  • Screenshots into the Camera album with L+R+Select by @exsilium in #11
  • Bottom screen: map, hotkeys, zoom, info and panel tabs by @exsilium in #12
  • HOME menu art from the game: LoD icon, burning logo banner, title tune by @exsilium in #13
  • Controls list on the bottom screen: HELP in the MAP tab by @exsilium in #14

Full Changelog: v0.2.0...v0.3.0

v0.2.0

Choose a tag to compare

@exsilium exsilium released this 19 Oct 17:28
  • Cinematics
  • Performance improvements

What's Changed

  • Performance: New 3DS profiling and native hot paths (closes #3) by @exsilium in #4
  • Cinematics: a native Bink 1 decoder and player (closes #1) by @exsilium in #2

Full Changelog: v0.1.0...v0.2.0

v0.1.0

Choose a tag to compare

@exsilium exsilium released this 18 Oct 11:52