[Problem] Error with GetLayerBreaks #886

Closed
opened 2026-01-29 16:23:56 +00:00 by claunia · 1 comment
Owner

Originally created by @Deterous on GitHub (Jan 1, 2026).

Originally assigned to: @mnadareski on GitHub.

Reported by Evil_Droid
This issue is not specific to DIC.
I'm not sure exactly which MPF version it was.

Executing DiscImageCreator... please wait!
DiscImageCreator has finished!
System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values. (Parameter 'offset must be between 0 and 0, 12 provided')
   at SabreTools.IO.Extensions.ByteArrayReaderExtensions.ReadExactlyToBuffer(Byte[] content, Int32& offset, Int32 length)
   at SabreTools.IO.Extensions.ByteArrayReaderExtensions.ReadInt32BigEndian(Byte[] content, Int32& offset)
   at MPF.Processors.ProcessingTool.<GetLayerbreaks>g__ReadFromArrayBigEndian|9_0(Byte[] bytes, Int32 offset)
   at MPF.Processors.ProcessingTool.GetLayerbreaks(DiscInformation di, Nullable`1& layerbreak1, Nullable`1& layerbreak2, Nullable`1& layerbreak3)
   at MPF.Processors.DiscImageCreator.GenerateSubmissionInfo(SubmissionInfo info, Nullable`1 mediaType, String basePath, Boolean redumpCompat)
   at MPF.Frontend.Tools.SubmissionGenerator.ExtractOutputInformation(String outputPath, Drive drive, Nullable`1 system, Nullable`1 mediaType, Options options, BaseProcessor processor, IProgress`1 resultProgress, IProgress`1 protectionProgress)
   at MPF.Frontend.DumpEnvironment.VerifyAndSaveDumpOutput(IProgress`1 resultProgress, IProgress`1 protectionProgress, ProcessUserInfoDelegate processUserInfo, SubmissionInfo seedInfo)
   at MPF.Frontend.ViewModels.MainViewModel.StartDumping()
Gathering submission information... please wait!
Extracting output information from output files...
Originally created by @Deterous on GitHub (Jan 1, 2026). Originally assigned to: @mnadareski on GitHub. Reported by Evil_Droid This issue is not specific to DIC. I'm not sure exactly which MPF version it was. ``` Executing DiscImageCreator... please wait! DiscImageCreator has finished! System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values. (Parameter 'offset must be between 0 and 0, 12 provided') at SabreTools.IO.Extensions.ByteArrayReaderExtensions.ReadExactlyToBuffer(Byte[] content, Int32& offset, Int32 length) at SabreTools.IO.Extensions.ByteArrayReaderExtensions.ReadInt32BigEndian(Byte[] content, Int32& offset) at MPF.Processors.ProcessingTool.<GetLayerbreaks>g__ReadFromArrayBigEndian|9_0(Byte[] bytes, Int32 offset) at MPF.Processors.ProcessingTool.GetLayerbreaks(DiscInformation di, Nullable`1& layerbreak1, Nullable`1& layerbreak2, Nullable`1& layerbreak3) at MPF.Processors.DiscImageCreator.GenerateSubmissionInfo(SubmissionInfo info, Nullable`1 mediaType, String basePath, Boolean redumpCompat) at MPF.Frontend.Tools.SubmissionGenerator.ExtractOutputInformation(String outputPath, Drive drive, Nullable`1 system, Nullable`1 mediaType, Options options, BaseProcessor processor, IProgress`1 resultProgress, IProgress`1 protectionProgress) at MPF.Frontend.DumpEnvironment.VerifyAndSaveDumpOutput(IProgress`1 resultProgress, IProgress`1 protectionProgress, ProcessUserInfoDelegate processUserInfo, SubmissionInfo seedInfo) at MPF.Frontend.ViewModels.MainViewModel.StartDumping() Gathering submission information... please wait! Extracting output information from output files... ```
claunia added the bug label 2026-01-29 16:23:56 +00:00
Author
Owner

@mnadareski commented on GitHub (Jan 1, 2026):

This should be fixed already in WIP by the combination of 9fc5799999 and 94fd614673

@mnadareski commented on GitHub (Jan 1, 2026): This should be fixed already in WIP by the combination of https://github.com/SabreTools/MPF/commit/9fc579999975a256c8b555d649ae832664141e3f and https://github.com/SabreTools/MPF/commit/94fd6146733848dba4eed755ff6c9984f24e8893
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SabreTools/MPF#886