Repository navigation
ZORKERB r30 では、Infocom の『ZORK I』と『ZORK II』の eraBASIC 移植を1つの配布物にまとめました。ZORKERB II(Zork II)はこの版で初めて公開します。
ZORKERB r30 brings the eraBASIC ports of Infocom's ZORK I and ZORK II together in one distribution. ZORKERB II (Zork II) is published for the first time.
日本語
内容
| 作品 | 原作 | この版 |
|---|---|---|
| ZORKERB I | ZORK I: The Great Underground Empire(Release 119 / Serial 880429) | r30。ゲームは r29 と同じで、変わったのはタイトル表示だけです。r29 のセーブをそのまま読み込めます |
| ZORKERB II | ZORK II: The Wizard of Frobozz(Release 63 / Serial 860811) | 最初の公開版 |
- 原典は、Microsoft が MIT License で公開している historicalsource/zork1 と historicalsource/zork2 の ZIL ソースです。
- ゲームの処理はすべて ERB で書かれています。Z-machine の解釈系や原作の story ファイル無しで動きます。
- 2作品は、同梱の PyEmuera 3.0.0(未改変、SHA-256
8a7b3697b97155c4dc994c8349c6756bb0401000d3bbccd8e85ff046e3774b35)1本で動きます。
ZORKERB は非公式の移植版です。InfocomやMicrosoftによる公式版ではなく、これらの承認を受けたものでもありません。
起動
ZORKERB-r30.zip を新しいフォルダーへ展開します。Python 3.10 以上が必要です(同梱していません)。
- Windows:
ZORKERB-I.batまたはZORKERB-II.batをダブルクリックします。 - そのほか:展開したフォルダーで次のように実行します。
python3 PyEmuera-3.0.0.pyz ZORKERB-I
python3 PyEmuera-3.0.0.pyz ZORKERB-IIタイトル画面で 0 を入力すると新しいゲームが始まります。2作品に共通の文書は docs/ にあります。
検証
- ZORKERB I:回帰試験1,596件、原作との比較(乱数列を揃えた801件、プローブ10,324手、全経路557手)、通常の入力だけでの350点の完走。
- ZORKERB II:原作との比較240件・74,130の比較ステップで表示が一致し、乱数47,650回と状態74,114時点も一致。400点の完走と10スロットの保存・復元。独立した監査で、原作との直接の比較(10経路・1,718応答)と、原典 ZIL からの再構築(ゲームのファイルがバイト単位で一致)を確認。
- 本家 Emuera(Windows):ZORKERB I は起動と序盤の操作が原作と一致。ZORKERB II は保存・復元を含む自動再生11件が、行の折り返しなど表示の違いを除いて期待どおり。
- 最終配布物のWindows受入(2026-11-13): Windows 10で統合版I/II・各単独版の計4経路について、元のバッチをcmd.exeから起動し、新規ゲーム、移動後の保存・復元、別プロセス復元がPASS。計8実行は終了コード0・標準エラーなしで、統合・単独の対応する出力はバイト一致。これはGUIダブルクリック試験や原作全経路比較を意味しません。証拠ZIPは非公開開発リポジトリに保管(SHA-256
7838d6bbc2c6086f698e9d333091345e15cbb3aaad258903d0d60e56c55d0abd)。
検証は試した範囲についてのもので、原作のすべての経路で同じ動作をすることを保証するものではありません。詳細は docs/VERIFICATION_ja.md と docs/COMPATIBILITY_ja.md にあります。
既知の制限
- ZORKERB I:原作の表示が解釈系に依存する経路(120文字を超える入力行など)では、原作と同じ表示になりません。
- ZORKERB II:原作で Fantasize の呪文の幻が
Fatal error: Store out of dynamic memoryで止まる経路は、原作と同じ表示で止まります。 - ZORKERB II:本家 Emuera で、途中で切れたセーブファイルを読み込むと、エンジンのエラーで止まります(ほかのスロットとゲームのファイルは変わりません)。
- PyEmuera を端末で対話的に使うと、ゲームの
>と PyEmuera の入力欄の>が重なって表示されます。 - 原作の Quetzal 形式のセーブとの互換性はありません。
添付ファイル
| ファイル | SHA-256 |
|---|---|
ZORKERB-r30.zip |
3e618237d35ebeef63841e00f0f2734ce695bd35a04c3794316d98d74c1fce66 |
SHA256SUMS.txt |
上のファイルの SHA-256 |
GitHub が自動で作る「Source code」のアーカイブはリポジトリの内容です。検証済みの配布物は ZORKERB-r30.zip です。
「ZORK」はその所有者の商標です。
English
Contents
| Game | Original | This release |
|---|---|---|
| ZORKERB I | ZORK I: The Great Underground Empire (Release 119 / Serial 880429) | r30. The game is the same as r29; only the title line changed. Saves from r29 load unchanged |
| ZORKERB II | ZORK II: The Wizard of Frobozz (Release 63 / Serial 860811) | first public release |
- The sources are the ZIL sources that Microsoft published under the MIT License: historicalsource/zork1 and historicalsource/zork2.
- All game logic is written in ERB. No Z-machine interpreter and no original story file are used at run time.
- Both games run on the one included PyEmuera 3.0.0 (unmodified, SHA-256
8a7b3697b97155c4dc994c8349c6756bb0401000d3bbccd8e85ff046e3774b35).
ZORKERB is an unofficial port. It is not an official release of, and is not endorsed by, Infocom and Microsoft.
Starting
Extract ZORKERB-r30.zip into a new folder. Python 3.10 or later is required (not included).
- Windows: double-click
ZORKERB-I.batorZORKERB-II.bat. - Elsewhere: run, in the extracted folder:
python3 PyEmuera-3.0.0.pyz ZORKERB-I
python3 PyEmuera-3.0.0.pyz ZORKERB-IIEnter 0 on the title screen to start a new game. Documents common to both games are in docs/.
Verification
- ZORKERB I: 1,596 regression tests; comparisons with the original (801 runs with aligned random sequences, probes of 10,324 moves, a full route of 557 moves); the 350-point playthrough with ordinary input only.
- ZORKERB II: the same text in 240 runs with 74,130 compared steps; 47,650 random draws and the state at 74,114 points agree too; the 400-point route and saving in 10 slots. An independent audit confirmed a direct comparison with the original (10 routes, 1,718 responses) and a rebuild from the original ZIL (game files byte-identical).
- Native Emuera (Windows): ZORKERB I's start-up and opening moves matched the original; ZORKERB II's 11 automatic replays, including saves and restores, matched apart from host display differences such as line wrapping.
- Final Windows distribution acceptance (November 13, 2026): Four routes passed on Windows 10 (combined I/II and standalone I/II), running the original batch files through cmd.exe, starting a game, moving to another room, restoring saves, and restoring from separate processes. All eight accepted runs exited with code 0 and empty stderr; combined/standalone output was byte-identical per game. This does not assert manual GUI double-click testing or exhaustive original-game parity. The evidence archive is retained in the private development repository (SHA-256
7838d6bbc2c6086f698e9d333091345e15cbb3aaad258903d0d60e56c55d0abd).
The verification covers what was tested; it does not guarantee identical behaviour on every path of the originals. Details: docs/VERIFICATION_en.md and docs/COMPATIBILITY_en.md.
Known limitations
- ZORKERB I: where the original's output depends on its interpreter (input lines over 120 characters and a few others), the output differs.
- ZORKERB II: where the original's Fantasize illusion stops with
Fatal error: Store out of dynamic memory, the port stops with the same text. - ZORKERB II: on the native Emuera, loading a truncated save file stops with an engine error (the other slots and the game files are unchanged).
- When PyEmuera is used interactively in a terminal, the game's
>and PyEmuera's>input prompt appear together. - Saves of the originals (Quetzal) are not compatible.
Attached files
| File | SHA-256 |
|---|---|
ZORKERB-r30.zip |
3e618237d35ebeef63841e00f0f2734ce695bd35a04c3794316d98d74c1fce66 |
SHA256SUMS.txt |
SHA-256 of the file above |
The "Source code" archives GitHub creates are the repository contents; the verified distribution is ZORKERB-r30.zip.
"ZORK" is a trademark of its owner.