https://en.wikipedia.org/wiki/FM_Townshttps://en.wikipedia.org/wiki/FM_Towns_MartyTsugaru runs on Linux. Use Tsugaru_CUI as the executable in libTAS. Command line options are <bios path> -CD <game file>. You probably also want -GAMEPORT0 KEY to bind the controls to the keyboard. You may need to rename the BIOS files to capital letters (or maybe this was just an issue in the GUI).
time() needs to enabled in libTAS, and probably clock_gettime() realtime. Tsugaru has several time options itself. I avoided crashes with -NOWAIT. However, it may not be the best option to avoid desyncs. The opposite -YESWAIT might be better. You should experiment with the options if you want to make a complete TAS.
I made a quick test encode with Splatterhouse. The screen resolution changes when the game loads which splits the encode. The command line options for this were '/home/randomno/Downloads/FMT ROMs/[BIOS] FM Towns Marty (Fujitsu)' -CD '/home/randomno/Downloads/Splatterhouse/Splatterhouse [CD]/Splatterhouse.cue' -NOWAIT -GAMEPORT0 KEYLink to video
Warning: When making decisions, I try to collect as much data as possible before actually deciding. I try to abstract away and see the principles behind real world events and people's opinions. I try to generalize them and turn into something clear and reusable. I hate depending on unpredictable and having to make lottery guesses. Any problem can be solved by systems thinking and acting.