Skip to content

Session 3: to the Gathering, no more first-sight stutter

Latest

Choose a tag to compare

@vs-sr-dev vs-sr-dev released this 12 Nov 09:03

Played through Chapter 1 to the Gathering, and no more stutter the first time a scene is seen.

  • How far it goes: from the strap screen through the Reptids' cave to Zael's mark (the Gathering) and the save after it, about a quarter of an hour of play with no crash or freeze, at 30 frames a second with a Classic Controller (any SDL gamepad).
  • First-sight stutter fixed: the hitches when the camera turned or a new scene came in were GPU programs (shaders) being compiled the moment they were first needed, up to a second or two at a time. wiikit now keeps a list of the programs a game uses and compiles them in the background at startup, and this repo ships The Last Story's list (tools/shaderlist.txt). Run with --shader-list ../../tools/shaderlist.txt (see the README). Your own runs add what they see to build/shaderlist.txt.
  • The list covers the opening to the cave so far; it grows as the game is played on.

As before, nothing from the game is included: bring your own disc and build from source (README). Details in docs/00-sessions.md; next steps in docs/07-next-session.md.