Repository navigation
YAMPP v0.2.4 - 2026-09-22
Online. Everything in v0.2.0
still applies, including that Online needs a matching build on both sides.
Matches go straight between the two players
Rooms, matchmaking and the compatibility checks stay on the server. The match
itself no longer does: once two players have shown they can reach each other,
their input goes directly between them and the server is out of the path.
Relayed input travels to the server and then on to the other player, so the
round trip between two players was the sum of both of their round trips to it.
Going direct removes that, and the automatic input delay is sized from that
round trip -- so a direct match does not just feel smoother, it runs on fewer
frames of delay.
Each client finds its own address the way anything behind a router has to: one
STUN request, from the same socket the match will use. The master server never
needs a datagram port of its own -- introducing two players is a lobby job, on
the connection it already has.
The in-match readout says which route is in use: peer to peer, via server,
or via server (stream). A pair whose networks cannot reach each other keeps
playing through the server exactly as before.
MELEE_NETPLAY_STUN chooses the STUN server; the default is a public one, and
asking it reveals your address to that server, as any such lookup must.
Going direct means the other player's client learns your address; that is
inherent to not using a server as a go-between. Setting the environment
variable MELEE_NETPLAY_RELAY_ONLY=1 keeps every packet on the server.
Online no longer quietly stops agreeing with itself
Rollback restores a saved frame and replays it when a late input turns out to
differ from what was predicted. This build was refusing to do that on most
frames, because the check that decides whether a restore is safe treated a
routine piece of scheduling -- a sleeping task being woken once per video
frame -- as a reason to give up.
A refused correction is not a skipped optimisation. The game has already
simulated frames using a guess that turned out wrong, and declining to replay
them leaves it permanently disagreeing with the other player. Content that
streams more from the disc, Akaneia in particular, triggered it more often and
so drifted apart sooner. The scheduling state is now restored along with
everything else.
Stutter during online matches
Saving a frame for rollback copied 42 MB, every single simulated frame, and
again for every frame replayed after a correction -- roughly two and a half
gigabytes a second before anything went wrong, and costly twice over because
it evicted the memory the emulator was about to use.
Almost none of that changes between two frames. The two large memories are now
tracked so only the pages actually written are copied; a saved frame is 217 KB
plus whatever changed. Saved states are still complete, so nothing about how
rollback behaves has changed -- only what it costs.
The picture follows your monitor
The game simulates at the GameCube's real 59.94 Hz, not a flat 60, which ran a
tenth of a percent fast and beat slowly against every display. On a monitor
faster than 60 Hz the finished frames are now shown in step with it, which
removes tearing; on a variable-refresh monitor the display simply runs at
59.94. A 60 Hz monitor keeps the previous behaviour, where a frame that runs
slightly long costs only the time it ran over rather than a whole refresh.
Updating
Play YAMPP.cmd now asks the master server which release it expects and
updates before starting. A room only admits players on a matching build, so
being out of date meant not being able to play online at all, with nothing on
screen saying why.
The server reports a version number and nothing else -- the download address is
fixed in the launcher and always this repository -- and the archive is checked
against its published checksum before anything is unpacked. Your settings,
saves, extracted game and imported content are never replaced. Set
YAMPP_NO_UPDATE=1 to skip the check.
Also
- A failed memory allocation inside the game now says so in the log, with what
was asked for. That failure is otherwise silent, and it was behind the Item
Switch freeze fixed in v0.2.3.
Known issues
- Akaneia content runs slower than original content offline. Its code executes
through a slower path, which is unchanged in this release. - The Online results screen can look streaky. Cosmetic; the match is unaffected.
- Classic mode can stop progressing after the second or third stage
(#1). Not reproduced yet; the
new allocation diagnostic above is there to identify it if it is memory.