Jump to content
Setting up an AI agent? ReverseEngineering.wiki skill (works from the command line, no configuration): https://reverseengineering.wiki/skill/rewiki/SKILL.md · setup for every client, including MCP: https://reverseengineering.wiki/llms.txt · REWiki:Connect

Software:SkiFree

From ReverseEngineering.wiki
Software
Developer Chris Pirih
Publisher Microsoft (Microsoft Entertainment Pack 3)
Platforms Windows 3.x (Win16)
Versions 1991 Win16 SKI.EXE; later 32-bit rebuild by the author
Extensions .exe
On this wiki Facts · Code · Notes · Topics

Downhill skiing game by Chris Pirih, released by Microsoft in 1991 in Software:Microsoft Entertainment Pack 3 as a 16-bit Windows (Platform:Win16) executable, SKI.EXE, in Format:NE (New Executable) format. All graphics are 86 numbered 4-bpp bitmap resources, and the game has three timed events (Slalom, Tree Slalom, Freestyle) plus the Yeti.

Overview

SkiFree is a single-executable Win16 game. There are no data files: every sprite is a bitmap resource inside SKI.EXE, and high scores are stored in the Entertainment Pack's shared settings file, entpack.ini (see Software:Microsoft Entertainment Pack). The player skis down an endless slope. Three marked events branch off near the start (Slalom, Tree Slalom, Freestyle), and the Yeti appears after the player has skied far enough (2000 m on the HUD).

Resources

SKI.EXE contains 86 bitmap resources with integer IDs 1–86. In the copy examined, every one is 4 bits per pixel (16 colors). The ID → content mapping below was checked by extracting all 86 resources and viewing them. For the resource table layout and how to turn the resources into .bmp files, see Format:NE (New Executable).

IDs Size (px) Content
1–22 16×32 to 32×34 Player skier poses: straight, three turn steps each way, hard turns, jumps, tricks. ID 12 is the crash pose with "OUCH!", ID 13 is sitting in the snow
23, 24 12×24 Slalom flags: red with left arrow, blue with right arrow
25, 26 12×24 Gate result markers: green smiley (passed), red frown (missed)
27 64×32 Moguls
28–32 ~22×29 Other skier (NPC): 28–30 skiing, 31–32 crashed
33–36 21×15, 19×19 Dog: 33/34 walking, 35/36 barking ("WOOF!")
37–44 ~25–32 px Snowboarder ("hot dogger") animation frames, including flips
45 23×11 Rock
46 16×11 Tree stump
47, 48 16×4, 24×8 Small and large snow bumps
49 28×32 Tree
50 22×27 Dead (bare) tree
51 32×64 Tall tree
52 32×8 Rainbow jump ramp
53 107×55 Title: "SkiFree by Chris Pirih, Copyright 1991 Chris Pirih"
54 53×9 Version text. In the copy examined it reads "Version 0.2.7"
55 92×30 Help: "Use NumPad (0-9) for better control"
56 63×32 Help: "F2 = Restart / F3 = Pause"
57, 58 42×27 "Start" banners (right- and left-pointing)
59, 60 50×29 "Finish" banners (right- and left-pointing)
61 40×36 "Slalom" sign
62 44×36 "Tree Slalom" sign
63 40×35 "Freestyle" sign
64 24×64 Ski lift tower
65–67 26×32 Ski lift chairs (65, 66 occupied, 67 empty)
68–81 32×48 Yeti: running and jumping frames. 76–78 show the Yeti eating the player
82 16×8 Yellow snow patch
83–85 22×27 Fire animation (3 frames)
86 8×11 Small brown fragment, apparently the remains of a stump

Controls

From the in-game help bitmaps: the numeric keypad (0–9) steers and performs tricks, F2 restarts and F3 pauses. The mouse also steers: the skier turns toward the pointer.

Game logic

Behavioral details recovered so far, such as the RNG, event boundaries and state tables, are unverified leads collected during a clean-room reimplementation. They are in the Notes attached to this page until someone confirms them against a hashed build.

Open questions

  • SHA-256 of the original Microsoft Entertainment Pack 3 SKI.EXE, and the differences from the later 32-bit build.
  • Why the version bitmap (ID 54) reads "Version 0.2.7" in the copy examined.
  • The spawn-weight selectors and several far calls without relocations were not fully resolved.