fraganator / archive-cache-manager

A LaunchBox plugin which extracts and caches large ROM archives, letting you play games faster.
GNU Lesser General Public License v2.1
11 stars 5 forks source link

Long disk spin-up or network delay can cause multi-disc m3u fail to launch #15

Closed fraganator closed 2 years ago

fraganator commented 2 years ago

When starting a multi-disc game, the emulator's m3u option is temporarily set false to enable archive extraction. After the game has launched OR after a 5 second delay, the m3u setting is reverted.

If the rom file is located on an idle disk that needs to spin up, or a slow network location (or both), there's a chance the 5 second delay will elapse and revert the m3u setting before the extraction process even begins. If this occurs, LaunchBox won't attempt to extract the archive, and instead generate an m3u file itself. This will then fail to load in the emulator.

If the game is then launched a second time soon afterwards, it will work (the disk and network are active).

fraganator commented 2 years ago

Fixed in commit 2f0f5e7 when addressing #16.