Skip to content

acs_cosim_server

Simone Bondi edited this page Sep 28, 2024 · 7 revisions

Applying the patch

The patch can be applied by using bspatch, another free utility from the bsdiff project. It should be available on the Ubuntu official APT repos. This means you'll probably need to do this on a UNIX system.

Get the patchfile from the releases page of this repo (or patch the game manually, see Creating the patch

Backup the original acs.exe. mv acs.exe acs.exe.bak

Apply the patch: bspatch acs.exe acs.exe.patched patchfile

Creating the patch

The patched executable must be first crafted by hand using Ghidra. PhysicsDriveThread::run was modified to remove all synchronization with the wall clock, and then replaced with synchronization based on Windows Events.

Finally bsdiff, a free utility from the bsdiff project, was used for creating the patch file. available for installation on the Ubuntu APT repos

Clone this wiki locally