mirror of
https://github.com/SabreTools/MPF.git
synced 2026-02-03 21:29:27 +00:00
[Request] Please add multisession information to comments, for MS discs. #409
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @sadikyo on GitHub (Mar 3, 2022).
Originally assigned to: @mnadareski on GitHub.
Is your feature request related to a problem? Please describe.
When multisession discs are submitted, mods need to inspect the logs manually to determine and share the sessions for multisession in the comments.
Describe the solution you'd like
If MPF could calculate and automatically store this information in the comments, this would be very helpful.
Describe alternatives you've considered
Mods continuing to do this manually.
Additional context
Here is an example:
http://redump.org/disc/90453/
You can see the two sessions recorded in the comments under the Multisession heading.
Essentially, the two tracks are stored in the TOC info of _disc.txt, but a calculation has to be done.
For the first session, 11400 is subtracted from the end of the first track, to determine the sectors for session one. In this example, it shows 13836 sectors, so by subtracting 11400, you get 2436. Therefore, Session 1: 0-2435
Session 2 should be as shown in the TOC in disc.txt. Session 2: 13836 - 15099.
In this example, you can confirm this by the number of sectors shown in each track on the redump page. Essentially, there is a 11,400 sector "gap" that DIC stores as part of the first track, that should be parsed out here.
If there is any way for this to be done at the MPF level automatically with dumps, this would save a lot of post-work for mods.
Please reach out with any questions!