ZiNc input plugins: Difference between revisions
Jump to navigation
Jump to search
*>Upy →Input recorder/player: Replaced temporary links |
Nightmareci (talk | contribs) m 3 revisions: The IP numbers should be Upy's username; this should fix it |
(No difference)
|
Revision as of 23:50, 24 July 2009
Although ZiNc is currently the best option to play TGM, it is known for its frame input delay and it doesn't have a recording/playback capability of its own. However, you'll find here an input plugin for recording/playback.
Input recorder/player
This is a proxy or filter plugin that stands between ZiNc and the actual input plugin. As such, it doesn't run by itself. Here's the instructions:
Installing
- Rename your actual input plugin to realcontroller.znc (Windows) or librealcontrolznc.so (Linux)
- Put this file in place of the actual plugin
Recording
- Before running ZiNc, backup your game's .cfg file
- The first time you run a game, the plugin will create a .znp file
- Actually, this happens when the respective .znp file doesn't exist
- Remember, the backed up .cfg pairs with the created .znp file
Replaying
- Put the backed up .cfg in place
- The second time you run a game, the plugin will read the respective .znp file
- Actually, this happens when the respective .znp file exists
Here are two batch files that might help:
@rem record.bat @echo off copy /y cfg\tgmj.cfg cfg\tgmj-before.cfg del tgmj.znp ZiNc 24
@rem playback.bat @echo off copy /y cfg\tgmj.cfg cfg\tgmj.bak copy /y cfg\tgmj-before.cfg cfg\tgmj.cfg ZiNc 24 move /y cfg\tgmj.bak cfg\tgmj.cfg