Repository navigation
A round of smaller fixes after 1.7.1.
Safer files
- Figure files are written all the way to the disk before they replace the old file, so a power cut can't leave an empty one.
- The log of the last run is kept as
portalsync.previous.log, so you can still read what happened after a restart. - Editing a figure that was only ever played in Spyro's Adventure no longer adds a second save area it doesn't need.
- A hand-edited Backups per figure value in
settings.jsoncan't stop PortalSync from starting any more.
Hiding the real portal
portal_hide.dllnow pauses the emulator's other threads for the moment it changes the emulator, so an emulator that is scanning USB right then can't crash.- The virtual portal is recognised by its software USB controller. On PCs whose real USB controller is not on PCI, the real portal was not hidden.
- An emulator that isn't ready for the DLL yet is tried again every 10 seconds instead of given up after 10 tries.
Lighter and stricter
- PortalSync no longer starts
tasklistevery second to look for emulators. - A figure's backup is looked up once, not for every block the game saves.
- The virtual portal takes one connection at a time and refuses oversized transfers.
- Get pictures skips oversized files in the download.
- An error while updating the window is written to the log instead of silently freezing the window.
Update
Click the update link in PortalSync, or download PortalSync-v1.7.2.zip and unzip it over your PortalSync folder. Your figures and settings stay as they are. PortalSync-v1.7.2.zip.sig is the signature PortalSync checks; you don't need it yourself.