Repository navigation
Releases
CB2-Online 0.8.6
Fixes a crash that could end the game in the middle of a level (an invalid parameter in the C runtime when the game printed a message; the windowed program has no console). Skip the intro (Esc > Settings, on by default) no longer needs a saved state: the boot level is patched in memory, as a modified executable would, so a new game starts in the warp room, also when your memory card has saves. The warp room's own opening scene still plays (Tab speeds it up). Props (Esc > Settings > Experimental, unstable): in Turtle Woods you can now place the game's own crates anywhere and in any number with a props.txt file (crate and wall lines): they are real game objects made while Crash is near, so they do what the game's crates do (they break when spun into or jumped on, give their fruit, TNT and Nitro explode, the arrow crate bounces). A test field of every kind is ahead of where Crash starts. The crate in the warp room is still the old bouncing one. Crash reports are in docs/CRASHES.md. The program is still not code-signed, so Windows Defender or SmartScreen may warn: see the FAQ. Network protocol unchanged (v4).
CB2-Online 0.8.5
Skip the intro (Esc > Settings, on by default): a new game starts in the warp room instead of playing the logos, the title and the story. The first start plays the game to the warp room in the background (20 to 60 seconds, on a blank memory card kept in memory, so your saves are never touched) and saves that moment; every later start takes about two seconds. It is not used when your memory card already has a save. Props (Esc > Settings > Experimental, unstable): the game's own ? crate, with its real model, size and textures read from your Turtle Woods file, in the warp room; you cannot walk through it and you bounce on it. Other crates (TNT, Nitro, steel, arrow, ...) can be placed with a props.txt file: docs/PROPS.md. Added a privacy policy (docs/PRIVACY.md). The program is still not code-signed (the SignPath Foundation application was declined for now), so Windows Defender or SmartScreen may warn: see the FAQ. Network protocol unchanged (v4).
CB2-Online 0.8.4
Crash diagnostics: every session now keeps an event log (cb2-session.log) that survives a killed process; a crash writes crash.log (call stack, game state, loaded modules, last events) and a minidump crash.dmp; a game that stops responding for 20 s is recorded with its stack (hang.dmp). The next start offers a prefilled bug report and opens the folder with the files to attach. Each release now carries a link map (Crash2-v0.8.4.map) that tools/resolve_crash.py uses to turn crash addresses into function names; see docs/CRASHES.md. Firewall / antivirus: if nothing answers over the internet for about ten seconds the waiting room now says that a firewall or antivirus (Kaspersky, ...) may be blocking Crash2.exe, and the local network probing is much gentler so it does not look like a port scan; steps for Kaspersky and others in docs/ONLINE.md. Added a privacy policy and a code signing policy. Network protocol unchanged (v4).
CB2-Online 0.8.3
Freeze watchdog: the engine's page allocator can hang in a loop that nothing interrupts (black picture while the window still answers). The game now detects it and, after three seconds, goes back to a snapshot taken while it was healthy (every 15 s), with a notice; the memory card is untouched. Details and tools in docs/PERFORMANCE.md. European release: the warp rooms of the other languages (levels 0x2D-0x30) now count as the warp room for the other players, so players with different languages find each other there. The waiting room's status lines no longer overlap. Network protocol unchanged (v4). The project page now runs on GitHub Pages from docs/ and shows the roadmap: speedrun multiplayer, co-op, level editor, custom levels, skins and freeroam.
CB2-Online 0.8.2
First-run setup inside the game: it asks which release you have (European PAL or American NTSC-U) and explains what that means (you play and meet players online with that release only), then opens the usual Windows file window on top of the game for the disc image; a disc of the other release is refused before anything is copied; progress bar. New RELEASE row in the play screen: switch between the European and American release when both are installed (the game restarts), or add the other one. Add another release.bat and --setup do the same. Widescreen and 60 fps smoothing moved to Settings > Experimental (marked UNSTABLE) next to Native world. Both programs now carry version information (company, description, version, licence) which helps against Windows Defender false positives; the files are still not code signed. Network protocol unchanged (v4): 0.8.1 players still meet 0.8.2 players.
CB2-Online 0.8.1
Security hardening of online play and two fixes. Network protocol changed (v4): older versions do not see this one online, so update. Passwords: SHA-256 key derivation and a tag over the contents of every state packet. Forged or hijacked players are rejected (a player is tied to the address it first spoke from, at most 32 players). Server: refuses registrations for the id of a living member from another address, drops claimed private addresses that are not private, rate-limits answers per address. Players no longer send to implausible addresses from a server's peer list. Directory (redeploy the Worker): /leave and one entry per address, so joining and leaving the lobby no longer raises the player count; servers are listed oldest first; per-caller limits. Phone hotspots and strict networks: with no relay configured the lobby now uses a dedicated server from the directory's list as the relay. Details in docs/ONLINE.md (Security notes).
CB2-Online 0.8.0
European (PAL) release support: the game now plays both the European (SCES_009.67, 50 Hz) and the American release; import either disc (data-pal / data), region = auto|pal|ntsc in cb2.cfg. Players of the two releases use separate rooms. Rooms can have a password (padlock in the list, WRONG PASSWORD message). Dedicated servers list themselves in the lobby directory by default (--no-announce to opt out); keep the UDP port open. New Esc menu: Settings > Display / Sound and timer / Experimental, descriptions for every row, Native world marked UNSTABLE. Network protocol changed (v3): older versions do not see this one online.
CB2-Online 0.7.4
Native world: fixed the flickering. When the game projected scenery for two pictures with the same camera matrix, or split polygons near the camera, the native renderer lost the camera for some pictures and drew the world black (every few frames at 60 fps). The camera is now found per picture and tolerates the polygons the game splits; if it still cannot be found, that picture is left to the game's own polygons instead of going blank. Network protocol unchanged.
CB2-Online 0.7.3
Native world: the game's culling no longer shows. Every part of the level within the game's draw distance is drawn natively, so the world no longer pops in at the sides when you move, and the widescreen margins are filled with real geometry. See-through surfaces (portals, glows, water) are recognised from the level file and stay the game's. Network protocol unchanged.
CB2-Online 0.7.2
Native world: none of the game's own scenery polygons are drawn any more. The polygons the game splits when they get close to the camera (the source of the stray artifacts on top of the world) are dropped and the whole level polygons are drawn instead, so nothing is left blank. See-through scenery such as portals, water and ice is still the game's. Network protocol unchanged.