PCSX-rr Resync Required Files:


NOTE: The resync process is very slow on modern hardware.
It is recommended to do this within a virtual machine running Windows XP (32 bit).
(Even having hardware based in that era is also more preferred than modern hardware.)
There is a forum thread that partially tracks information about what to do, and a good area to ask questions.
This area will also provide files for Windows 10/11 machines, but again it's better if this done in a Windows XP enviroment.
[1506] PSX Crash Bandicoot 2: Cortex Strikes Back "item glitch" by pirohiko in 11:34.85 will be referred to, as it is a great example on things that can go right, and things that can go wrong.

Running PCSX-rr:

  1. Download the files from above, and place all the files within a pcsx emulator directory.
  2. Install LuaPack.
  3. Make sure all plugins are inside the plugins folder.
  4. Launch PCSX-rr and go through first time setup (refer to the first image) and click OK, relaunch the program.
    1. Enable: Tools > Skip SPU Loadstate (Note: If this causes problems, disable it.)
    2. Configuration > CD-ROM and select the ISO that PCSX-rr will automatically start with.
      • Rereferal: Spikestuff has compiled sync notes for each problematic movie in terms of what bios and settings the CD titles are required to be in.
    3. Disable: Configuration > Options - Pause After Playback.
  5. Within the Configuration > Plugins & Bios
    • Sound > Select TAS Sound Plugin 0.2.
      • Under Sound, Select Configure... and validate that Movie sync mode is checked (refer to the second image).
    • Sound > Select Eternal SPU Plugin 1.41.
      • Under Sound, Select Configure... and change Audio out method to SPUasync and Async Mode to Wait (refer to the third image).
      • After selecting OK reselect TAS Sound Plugin 0.2 as the sound plugin.
    • Graphics > Select TAS Soft Graphics Plugin 0.2
      • Under Graphics, Select Configure...
        • Quick Default Settings to Nice
        • Select Windowed Mode (640x480) and change Stretching to 1:1 (faster with some cards)
        • Uncheck Show FPS display on startup.
        • Check "Use FPS limit".







Setting Up and Running the Script:

NOTE: If the movie you're attempting to resync is above 200,000 frames refer to the Troubleshooting section below this one first.
  1. Open pcsxrrWorkflowConfig.lua in a text editor and at the line 45 put the whole path to your movie file inside the brackets, including the file name. If the file isn't located to where you're referring to the process won't start at all.
    • If the files are all in the same directory as pcsx-rr, and you have placed the pxm inside the movie's folder you don't have to write a whole path and instead can do this: movieName = [.\movies\pirohiko-cb2cortexstrikesbackglitched.pxm];
  2. File > Lua Scripting > New Lua Script Window.
    • Select detectCheckpoint.lua and run it. The movie must start, telling you in the Lua prompt what step the script is doing. When it's over, stop the script (emulator might crash).
NOTE: Be sure to create a copy of the folder it produced, for if any issues come out from here on out.
  1. Run detectCheckpoint.lua once again. It will start waiting for incoming desyncs.
  2. Start another instance of PCSX-rr.
  3. Sound > Select Eternal SPU Plugin 1.41.
  4. File > Lua Scripting > New Lua Script Window.
    • Select syncCheckpoint.lua and run it.
  5. After both instances finish their job (sending desync info and resync states to each other), stop the scripts (emulator might crash).
  6. Start a new instance of PCSX-rr.
  7. Now, as you run syncCheckpoint.lua with Eternal SPU, it will automatically load the required states at desync points.
    • Keep an eye at it at this state, because it may sway and desync unexpectedly. If that's the case...

Troubleshooting the script:


kkapture Required Files:

Running kkapture.

Please also refer to the Encoding Guide as well, if anything changes.
Be sure to have Eternal SPU selected before running kkapture, and also uncheck "Use FPS Limit" in the video settings.

After the movie is completed, you can validate the dump, and be done... well almost.
As referred to at the start this Crash 2 TAS was going to be referred to later, and we'll explain why here.
During its dumping process, after it successfully dumped it originally had audio issues within the Komodo Bros. fight where the wrong audio samples would play.
Be sure to always create two resynced files if need be (maybe more), and try changing things up such as with the desyncPoint, or remove savestates it created if you need to.
Another nice to have at least for the audience viewing the TAS is actually creating two dumps if necessary.
Again sticking to Crash 2, it showcases the vast difference of what it used to sound like, and what with the effort of going through it, what it actually should sound like with "Restored Audio".
There's no shame in showing a blemish with how TASes used to sound, and it should be shared for others to enjoy the little quirks.
In other cases you may need to change and work with a different value for desyncPoint if the audio outright disapears and causes hitching.
If that's the case for you try doing the positive value to what you placed there instead. So for instance if you already changed it to - 4, then switching the value to + 4 should help the process.
The movie should still sync with the opposite value of what you initially used, and hopefully not get stuck in a loop.
This will create some grunt work and some stitching but this is what can happen when you're going with Eternal SPU.

EmulatorResources/PCSX/Resync last edited by Spikestuff 4 days ago
Page History Latest diff List referrers View Source