See Zinfidel/SyncScripts.html for usage.
This scripts sets up an instance of BizHawk to act as a "server" for generating syncing savestates.
! Version info: libTAS version: 1.4.1 ! Annotation info: {{OS: Ubuntu 20.04.1 LTS, Linux kernel 5.4.0-59-generic libTAS: Version 1.4.1 interim 513aa25f PCem: TASVideos branch v17_13f53a2, commit 4aa08f2915d9c7168138a48be91d73befe6b01ce Follow these instructions up through the Diagnostic disk section: http://tasvideos.org/EmulatorResources/PCem/DOS.html#Late80s Download FD12LGCY.iso (md5: a55750577b4c3b88dba489df4f929f88) and extract FLOPPY.img (md5: 36689ac4152d8efb13ab230e9aea46ec) from FD12FLOPPY.zip from here: https://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/distributions/1.2/ In your .cfg file, set disc_a = {path to diagnostic disk};{path to FLOPPY.img}. Also in your .cfg file, set cdrom_drive = 200 and set cdrom_path = {path to FD12LGCY.iso here}. In ~/.pcem/pcem.cfg, set confirm_on_stop_emulation = 0. UNCHECK RUNTIME -> PREVENT WRITING TO DISK OR THIS MOVIE WILL DO NOTHING! Set game executable to your pcem path. Set command-line options to --config {path to your .cfg file here} and then run the movie. This movie has been known to crash occasionally, playing the movie on fast-forward can mitigate this problem. On the last frame of the movie, stop PCem through libTAS (WAIT FOR IT TO CLOSE, DO NOT KILL). This should leave you with these three files from the Late 80s premade config: .cfg file in ~/.pcem/configs/ - Hashes for this will vary because file paths/names will be different for everyone. .nvr file in ~/.pcem/nvr/ - md5: e32d409f6f822aab0834b6661823c8c3 .img file wherever you originally saved it - md5: 257208622a9d51f5504eacdabd161955}}
! Version info: libTAS version: 1.4.1 ! Annotation info: {{ OS: Ubuntu 20.04.1 LTS, Linux kernel 5.4.0-59-generic libTAS: Version 1.4.1 interim 7e2a5bf6 PCem: TASVideos branch v17_13f53a2, commit 55f0fdb3b83e983646e7b5dcc6dbae5f5e2ee06b Follow these instructions up through the NVR section: http://tasvideos.org/EmulatorResources/PCem/DOS.html#Late90s Download FD12LGCY.iso (md5: a55750577b4c3b88dba489df4f929f88) from here: https://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/distributions/1.2/ In your .cfg file, set cdrom_drive = 200 and set cdrom_path = {path to FD12LGCY.iso here}. In ~/.pcem/pcem.cfg, set confirm_on_stop_emulation = 0. UNCHECK RUNTIME -> PREVENT WRITING TO DISK OR THIS MOVIE WILL DO NOTHING! Set game executable to your pcem path. Set command-line options to --config {path to your .cfg file here} and then run the movie. On the last frame of the movie, stop PCem through libTAS (WAIT FOR IT TO CLOSE, DO NOT KILL). This should leave you with these three files from the Late 90s premade config: .cfg file in ~/.pcem/configs/ - Hashes for this will vary because file paths/names will be different for everyone. .nvr file in ~/.pcem/nvr/ - md5: 8f2ad5e603e595bb344c7f4022294f0d .img file wherever you originally saved it - md5: 4970100ff619201db3de803eba9cd3d9}}
! Version info: libTAS version: 1.4.1 ! Annotation info: {{OS: Ubuntu 20.04.1 LTS, Linux kernel 5.4.0-59-generic libTAS: Version 1.4.1 interim 7e2a5bf6 PCem: TASVideos branch v17_13f53a2, commit 55f0fdb3b83e983646e7b5dcc6dbae5f5e2ee06b Follow these instructions up through the Diagnostic disk section: http://tasvideos.org/EmulatorResources/PCem/DOS.html#Late80s Download FD12LGCY.iso (md5: a55750577b4c3b88dba489df4f929f88) and extract FLOPPY.img (md5: 36689ac4152d8efb13ab230e9aea46ec) from FDFLOPPY12.zip from here: https://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/distributions/1.2/ In your .cfg file, set disc_a = {path to diagnostic disk};{path to FLOPPY.img};{path to unmountable file}. The unmountable file can be any existing non-image file (a file that doesn't exist will not work); this is necessary because when PCem tries to mount it, it fails and ejects the floppy drive, and this is currently the only way to do that. Also in your .cfg file, set cdrom_drive = 200 and set cdrom_path = {path to FD12LGCY.iso here}. In ~/.pcem/pcem.cfg, set confirm_on_stop_emulation = 0. UNCHECK RUNTIME -> PREVENT WRITING TO DISK OR THIS MOVIE WILL DO NOTHING! Set game executable to your pcem path. Set command-line options to --config {path to your .cfg file here} and then run the movie. On the last frame of the movie, stop PCem through libTAS (WAIT FOR IT TO CLOSE, DO NOT KILL). This should leave you with these three files from the Late 80s premade config: .cfg file in ~/.pcem/configs/ - Hashes for this will vary because file paths/names will be different for everyone. .nvr file in ~/.pcem/nvr/ - md5: e32d409f6f822aab0834b6661823c8c3 .img file wherever you originally saved it - md5: 257208622a9d51f5504eacdabd161955}}
! Version info: libTAS version: 1.4.1 ! Annotation info: {{ OS: Ubuntu 20.04.1 LTS, Linux kernel 5.4.0-59-generic libTAS: Version 1.4.1 interim 7e2a5bf6 PCem: TASVideos branch v17_13f53a2, commit 55f0fdb3b83e983646e7b5dcc6dbae5f5e2ee06b Follow these instructions up through the NVR section: http://tasvideos.org/EmulatorResources/PCem/DOS.html#Early90s Download FD12LGCY.iso (md5: a55750577b4c3b88dba489df4f929f88) from here: https://www.freedos.org/download/ In your .cfg file, set cdrom_drive = 200 and set cdrom_path = {path to FD12LGCY.iso here}. In ~/.pcem/pcem.cfg, set confirm_on_stop_emulation = 0. UNCHECK RUNTIME -> PREVENT WRITING TO DISK OR THIS MOVIE WILL DO NOTHING! Set game executable to your pcem path. Set command-line options to --config {path to your .cfg file here} and then run the movie. On the last frame of the movie, stop PCem through libTAS (WAIT FOR IT TO CLOSE, DO NOT KILL). This should leave you with these three files from the Early 90s premade config: .cfg file in ~/.pcem/configs/ - Hashes for this will vary because file paths/names will be different for everyone. .nvr file in ~/.pcem/nvr/ - md5: 4c885df878a4c302e1050232f4b3c866 .img file wherever you originally saved it - md5: 5512d2895d082655d75e78e82ce48280}}
! Version info: libTAS version: 1.4.1 ! Annotation info: {{ OS: Ubuntu 20.04.1 LTS, Linux kernel 5.4.0-59-generic libTAS: Version 1.4.1 interim 7e2a5bf6 PCem: TASVideos branch v17_13f53a2, commit 55f0fdb3b83e983646e7b5dcc6dbae5f5e2ee06b Follow these instructions up through the NVR section: http://tasvideos.org/EmulatorResources/PCem/DOS.html#Early90s Download FD12LGCY.iso (md5: a55750577b4c3b88dba489df4f929f88) from here: https://www.freedos.org/download/ In your .cfg file, set cdrom_drive = 200 and set cdrom_path = {path to FD12LGCY.iso here}. In ~/.pcem/pcem.cfg, set confirm_on_stop_emulation = 0. UNCHECK RUNTIME -> PREVENT WRITING TO DISK OR THIS MOVIE WILL DO NOTHING! Set game executable to your pcem path. Set command-line options to --config {path to your .cfg file here} and then run the movie. On the last frame of the movie, stop and kill PCem through libTAS. This should leave you with these three files from the Early 90s premade config: .cfg file in ~/.pcem/configs/ - Hashes for this will vary because file paths/names will be different for everyone. .nvr file in ~/.pcem/nvr/ - md5: cddb53f8a8f38e860b6101846417ee8c .img file wherever you originally saved it - md5: 869da8ccb2750515838f69af4d7004d3}}
! Version info: libTAS version: 1.4.1 ! Annotation info: {{ OS: Ubuntu 20.04.1 LTS, Linux kernel 5.4.0-59-generic libTAS: Version 1.4.1 stable PCem: TASVideos branch v17_13f53a2, commit 55f0fdb3b83e983646e7b5dcc6dbae5f5e2ee06b Follow these instructions up through the NVR section: http://tasvideos.org/EmulatorResources/PCem/DOS.html#Early90s Download FD12LGCY.iso (md5: a55750577b4c3b88dba489df4f929f88) from here: https://www.freedos.org/download/ In your .cfg file, set cdrom_drive = 200 and set cdrom_path = {path to FD12LGCY.iso here}. In ~/.pcem/pcem.cfg, set confirm_on_stop_emulation = 0. UNCHECK RUNTIME -> PREVENT WRITING TO DISK OR THIS MOVIE WILL DO NOTHING! Set game executable to your pcem path. Set command-line options to --config {path to your .cfg file here} and then run the movie. For now, you may want to have fast-forward on when you run this movie. There are two restart inputs in the movie; these can be buggy. Each time there's a restart input, you will have to close the window manually after it. You can tell there's been a restart because the frame counter stops, these only happen on reboot prompts in the FreeDOS installation. Emulation normally continues and the RTC keeps ticking until you close the window, but if you have fast-forward on, it pauses the emulation properly. Just X out the PCem window and it will restart on its own after that. On the last frame of the movie, stop and kill PCem through libTAS. This should leave you with these three files from the Early 90s premade config: .cfg file in ~/.pcem/configs/ - Hashes for this will vary because file paths/names will be different for everyone. .nvr file in ~/.pcem/nvr/ - md5: 4628d06be958fb8b577376d3f6c4a447 .img file wherever you originally saved it - md5: f1b6b5e374182b88812245d4cca0d6d3}}
! Version info: libTAS version: 1.4.1 ! Annotation info: {{OS: Ubuntu 20.04.1 LTS, Linux kernel 5.4.0-59-generic libTAS: Version 1.4.1 stable PCem: TASVideos branch v17_13f53a2, commit 55f0fdb3b83e983646e7b5dcc6dbae5f5e2ee06b Follow these instructions up through the NVR section: http://tasvideos.org/EmulatorResources/PCem/DOS.html#Early90s Download FD12LGCY.iso (md5: a55750577b4c3b88dba489df4f929f88) from here: https://www.freedos.org/download/ In your .cfg file, set cdrom_drive = 200 and set cdrom_path = {path to FD12LGCY.iso here}. In ~/.pcem/pcem.cfg, set confirm_on_stop_emulation = 0. UNCHECK RUNTIME -> PREVENT WRITING TO DISK OR THIS MOVIE WILL DO NOTHING! Set game executable to your pcem path. Set command-line options to --config {path to your .cfg file here} and then run the movie. There are two restart inputs in the movie; these can be buggy. Each time there's a restart input, you will have to close the window manually after it. You can tell there's been a restart because the frame counter stops, these only happen on reboot prompts in the FreeDOS installation. Just X out the PCem window and it will restart on its own after that. On the last frame of the movie, stop and kill PCem through libTAS. This should leave you with these three files from the Early 90s premade config: .cfg file in ~/.pcem/configs/ - Hashes for this will vary because file paths/names will be different for everyone. .nvr file in ~/.pcem/nvr/ - md5: 0d668573b97704a1ba248c8f4d30d920 .img file wherever you originally saved it - md5: 092292beee89178116fa93b72baf31b6}}
Edit movie
tool.