I would like to see a command line option that makes x64sc continue using autostart warp mode (-autostart-warp) until a specified number of cycles after RUN have passed.
For example, -autostart-warp-extension=5000000 would extend autostart warping for 5000000 cycles after RUN has been issued. This should also apply to -autostartprgmode=1, i. e. even if no initial loading from disk etc. was necessary.
The thing is that I often need to test programs that need quite some time initializing (loading more stuff from disk, but also CPU-bound stuff). Warping draws a lot of CPU power so I would like to minimize the amount of time it is initially enabled. Also, the keyboard shortcut for toggling warp mode is very similar to how I close windows in my window manager, so you can image what sometimes happens unintentionally.
I'd rather not make the autostart logic even more complex (it is already silly complex)...
BUT: you can probably achieve what you want to do by using a simple monitor script
Thank you, gpz, for pointing out that the monitor should already be capable of that.
After some experimenting, I came up with what essentially amounts to creating a file
myscript.moncontainingand then launching x64sc like
which is exactly what I was looking for.
cheers :) Yeah monitor scripts can be a powerful tool for things like this