Two sets of disks
The game came on two floppy disks: a scenario disk, which boots, and a game disk used on both sides. Copied into disk images, that makes three files.
The images that have circulated since at least 1997, including the ones on the Internet Archive, are all the same three files, byte for byte: a crack. They are plain sector images: 35 tracks of 16 sectors each.
The original came to light in 2018, when a collector captured a boxed copy with an Applesauce, a device that records the raw magnetic signal of every track (the A2 Canada collection, now on the Internet Archive). A capture like that keeps everything on the disk, including anything a sector image would lose, such as copy protection. The rebuild has a decoder that turns these captures back into sectors, so the two sets can be compared byte by byte.
Copy protection
Many Apple II games of the time hid their protection in the disk format itself: odd track layouts that a copy program couldn't reproduce. War of the Lance doesn't. Every track of all three sides is in the standard format, and the boot is an ordinary one. A plain copy of the disks runs.
The protection is a documentation check on the title screen. Once you press space, the game picks one of twenty questions and asks:
DOCUMENTATION CHECK:
TYPE THE (nth) WORD
IN THE (section) SECTION
The answer is a word from the manual. Get it wrong and the same question comes back; there is no limit on tries. Get it right and the game goes on to the accelerator menu and the opening options.
The game disk has a few oddities that look like the duplicating machine's, not protection: a stray byte after each sector's header, one unused catalog sector filled with noise, and a little signal on track 35, beyond the last track the game uses. Nothing in the game looks at any of them.
How it was cracked
The crack is signed. Its title screen reads "USAlliance Presents", "Cracked By: The Blue Adept" and "Crack Screen By: Data Wizard", with the message "Here's WOTL without word protection. USA's X-Mas '89 Crack": December 1989, the year the game came out. All of it is on the scenario disk, in two parts.
First, it skips the documentation check. The title screen is a compiled BASIC module, and the crack changes three bytes of it: the first instruction of the question becomes a jump to the code that follows a right answer. The game still picks its question, so even its random numbers are the same as the original's; it just never asks.
Second, the crackers added their own title screen, shown before the game starts:
Loading the crack screen from disk 1…
The screen is ordinary 40-column text. Each step of its loop turns the top line, moves the message along by a letter and clicks the speaker, and a "+" twinkles at twenty points around the boxes.
To fit the screen and its code on the disk, the crackers replaced the boot sector with a small loader that reads eleven more sectors from a list, all from space no file uses:
- the start of
WL.INIT, a table of the game's whose first bytes are always zero: the rest of the loader's list; - the end of
WL2.DAT, a word list that stops well short of the space it was given: the code that starts the game, with the crackers' working notes ("SWAP BACK TO CLEAR AT $0A00"); - eight sectors after the end of one of the game's modules: the crack screen itself.
Once a key is pressed on the crack screen, the loader wipes the screen from memory, puts back an exact copy of SSI's own boot sector, and runs it. From there the game boots exactly as the original does.
Two of those hiding places are inside files the game loads, so the crackers' bytes do get into memory. In a campaign game, 24 of them sit in the game's data for the whole game and go into saved games. To see whether they ever matter, the rebuild played three campaign games twice each, once with the crack's files and once with the original's, with the bug fixes off so that every stray read of memory happened. The games came out identical, byte for byte, apart from those 24 bytes.
A missing sector
One sector of the crack's scenario disk is blank where the original has text. It belongs to Q1.DAT, which holds the news reports shown at the start of each turn, one line of text after another.
The game finds a report by counting lines from the start of the file. The blank sector held seven lines, so every report after it starts seven lines too late. In the crack, thirteen of the news reports (the dragon orb, the Ice Wall, Theros and the silver arm, the Hammer of Kharas, Huma's tomb, the Knights of Solamnia and more) begin mid-sentence, run into the next report, and stop short. One line reads "A SQUAD OF BLUE DRAGONS HAS LAI", then a gap, then "ZE WORTH". The game's own table of where each report starts confirms the count: it puts the line about Kitiara's armor at line 175 of the file; in the crack it is line 168, in the original line 175.
The crack's loader uses no sector anywhere near it, so the damage isn't the crackers' doing; how the sector was lost isn't known. It isn't in the original, where the sector reads cleanly.
Differences in the cracked version
The two sides of the game disk are exactly the same in both sets. On the scenario disk, these are all the differences:
| Where | Original | Crack |
|---|---|---|
| The boot sector | SSI's boot | The crack's loader |
| The title screen module, 3 bytes | Asks the documentation check | Skips it |
WL.INIT, its first 20 bytes | Zeros | The loader's list of sectors |
WL2.DAT, after its word list | Zeros | The crack's start-up code and notes |
| 8 sectors after a module's end | Zeros | The crack screen |
Q1.DAT, one sector | Seven lines of news | Blank: the damage |
| After another module's end, 3 bytes | Zeros | Leftovers |
The original disks were nearly thirty years old when they were captured, and a few of their sectors no longer read cleanly: each of the five passes reads them differently, with the error starting at the same point. That is wear, mostly on the tracks next to the disk's catalog, the most-read part of a disk. The format makes a single bad spot recoverable. Each value on the disk is stored relative to the one before, so one bad spot throws off everything after it by the same amount, and the sector's checksum says by how much. Undoing that, every worn sector matches the crack's exactly, except two bytes of one news picture that sit right on a damaged spot and can't be confirmed either way.
What the rebuild uses
The rebuild plays from the crack's disks with the one damaged sector restored from the original. So the news reads as SSI wrote it, and the title screen goes straight on without the documentation check, as it has for everyone who has played the game from these disks. Nothing else on the disks matters to the game: the crack's extra bytes were shown above to change nothing.