Weekend Rust + WebAssembly rewrite experiment of DSJ 2.10 (not released — sharing progress & asking Jussi's thoughts)

General discussion about the PC version of DSJ2.
Post Reply
bmd
Posts: 3
Joined: 30 Nov 2026, 22:52

Weekend Rust + WebAssembly rewrite experiment of DSJ 2.10 (not released — sharing progress & asking Jussi's thoughts)

Post by bmd »

Hi Jussi and fellow DSJ fans,

I wanted to share a weekend experiment I've been working on, mostly out of admiration for DSJ 2.10 — and to be completely upfront with Jussi and the community from the start.

In the era of AI/LLM-assisted reverse engineering and decompilation, a ~300 KB DOS executable felt like a realistic weekend project to see how far modern tooling could go. I want to be transparent that this was built heavily with AI assistance. I know opinions on AI-assisted projects vary, especially in retro-gaming communities, so I'm not claiming superhuman solo coding here — just sharing the technical result because playing DSJ 2.10 with these additions genuinely felt like a breath of fresh air.

First, regarding sharing / copyright: I am not publishing the code, binaries, or a public link without Jussi's explicit approval. Even a "bring your own original files" approach (like OpenRCT2 or similar engine rewrites) doesn't really work cleanly for DSJ 2.10 because of its shareware/license model — an open engine can't meaningfully verify who owns a license, which would effectively undermine the original distribution. Out of respect for Jussi and everything he built, this stays private unless he is ever interested or okay with it.

Technical Overview
  • 1:1 Rust Rewrite: Rewrote the 70 Hz physics, aerodynamics, landing/crash mechanics, judging, and asset parsers in Rust. Determinism is verified against the original EXAMPLE.RPL (matching the exact 109.25 m, 126.7 pts, liftoff/touchdown ticks, and judge marks).
  • Original VGA Software Renderer in 16:9 (426×200): Rather than replacing the look with modern 3D, the original 256-color Mode 13h software renderer, palette ramps, parallax layers, and 3D skier skeleton were recreated directly in Rust. The vertical resolution stays at the exact original 200 pixels (preserving the 1.2× CRT pixel aspect), with 53 extra pixels added to each side (426×200) for true Hor+ 16:9 widescreen without stretching.
  • Desktop + WebAssembly: Compiles both to a native desktop app and to WebAssembly (wasm32) running directly in the browser with original sound effects decoded via Web Audio.
What Was Added on Top
  • Web Portal & Persistent Global Hill Records: On the web version, you pick a nickname (saved in the browser), view the global hill records table, and jump straight into the game. Clean jumps are verified server-side via replay simulation before saving, and the current global record set by any player on the site is synced straight into the game and drawn live as the record line on the hill.
  • Online Multiplayer (Early Prototype): Basic room-based WebSocket multiplayer with live turn streaming and standings. The core loop works, though it hasn't been heavily stress-tested yet.
  • Modern World Cup Format:
    • Expanded to 50 jumpers with a Top 30 cut for the second round and real 30-place FIS points (100, 80, 60, ..., 1).
    • Four Hills Tournament KO system (25 head-to-head pairs + 5 Lucky Losers) and dedicated Four Hills and Ski Flying World Cup standings alongside the Overall World Cup.
    • Optional Physics-Based Wind Compensation: Calibrated per hill directly from the 70 Hz physics engine's wind response curve (measured distance stays pure; only points are adjusted, and global records remain uncompensated).
    • Upgraded Competition AI: Continuous skill ratings, per-hill form, and human-like takeoff/flight variance for more realistic distance spreads.
    • Real World Cup Calendar Prototype: A one-click switch between Classic DSJ and a prototype real-world World Cup calendar (with Saturday/Sunday double-headers and real named hills — still rough/placeholder hills and not properly balanced, just a proof of concept).
Again, I have zero intention of releasing or sharing this publicly without Jussi's blessing — everything depends entirely on what Jussi thinks. I just wanted to let you and the fans know what's technically possible today in literally just a few hours, while keeping the exact spirit, physics, and VGA charm of DSJ 2.10 intact.

It seems I'm not allowed to post properly formatted links. Here's a few screenshots: imgur /a/L4BFP6C

All respect to Jussi for creating a game that people still love and tinker with 25 years later!
Lechoo
Posts: 179
Joined: 31 May 2012, 15:28

Re: Weekend Rust + WebAssembly rewrite experiment of DSJ 2.10 (not released — sharing progress & asking Jussi's thoughts

Post by Lechoo »

Amazing! I have always dreamt of DSJ 2.1 extension - more players, 4 hills tournament, realistic hills etc.

@Jussi Koskela

Please agree. This will bring back the good old DSJ 2.1 to new life!
bmd
Posts: 3
Joined: 30 Nov 2026, 22:52

Re: Weekend Rust + WebAssembly rewrite experiment of DSJ 2.10 (not released — sharing progress & asking Jussi's thoughts

Post by bmd »

There's also another idea, if Jussi would be down, of course.

It would be pretty straightforward to make a completely separate, stripped-down web version — without the full game's modes, cups, or original hills, just this: one procedurally generated hill each day (same hill and wind for everyone), only two or three daily jumps for each visitor, a daily leaderboard, and nicely formatted shareable text results in the style of popular daily web minigames (like Wordle).

Something like that hosted here on the official site could generate a lot of hype for the whole series too. I can easily see it catching on in nostalgic millennial group chats, especially with the social/daily-comparison element. Plus, imagine the possibilities for weird or funny daily hills, haha.
Jussi Koskela
Site Admin
Site Admin
Posts: 4149
Joined: 22 Jan 2007, 14:42
Location: Finland

Re: Weekend Rust + WebAssembly rewrite experiment of DSJ 2.10 (not released — sharing progress & asking Jussi's thoughts

Post by Jussi Koskela »

I'll have to think a bit. With the AI this has become a wild west as everyone is doing variants of DSJ with or without permission.
bmd
Posts: 3
Joined: 30 Nov 2026, 22:52

Re: Weekend Rust + WebAssembly rewrite experiment of DSJ 2.10 (not released — sharing progress & asking Jussi's thoughts

Post by bmd »

Totally fair, Jussi, take all the time you need, and I completely understand that concern. I'm not releasing anything without your blessing. For me it was just a very nice learning experience and a kind of eureka! moment of realization of how simple this stuff has become to achieve, even compared to the state of AI coding a year ago for example. We will have to deal with it on a civilizational scale.

In the meantime, I have managed to actually make the procedural daily jump wordle-style web version of the game, stripped of all other modes. Also just a totally private proof of concept.

And just for fun, I had a random retro "what if" idea and tried bolting a classic 90s Voxel Space engine inspired camera onto the exact same DSJ 2.10 engine. (The old NovaLogic Comanche/Delta Force technique, where the terrain is drawn on the CPU purely from a heightmap and colormap, with zero 3D polygons. To me it's one of the most beautiful algorithms and solutions of gaming history, that shouldn't be forgotten.)

Because DSJ 2.10 actually already had a real 3D skier skeleton under the hood, it only took projecting that same skeleton, the original pine tree sprites, and each hill's curve into the same 256-color VGA framebuffer. You can flip between the original 2D view and this third-person Voxel Space view with a single key mid-jump, and the physics and result stay 100% identical.

Thought people here might get a kick out of seeing what a pseudo-3D DSJ 2 looks like:

Image
Post Reply