[Problem] Log Formatting and Progress Processing doesn't work properly on captured DIC output. #295

Closed
opened 2026-01-29 16:13:47 +00:00 by claunia · 2 comments
Owner

Originally created by @nightson on GitHub (May 23, 2021).

Originally assigned to: @mnadareski on GitHub.

MPF Version 2.0-7a2061a3

Step to reproduce the problem: Disable Show Separate Window, enable Log Formatting and Progress Processing. Dump anything with DIC.

Expected result:

AppVersion
        x86, AnsiBuild, 20210401T101950
/c2 val1 was omitted. set [4000]
/c2 val2 was omitted. set [0]
CurrentDirectory
        D:\Program\Media\Dumping\MPF\Programs\Creator
WorkingPath
         Argument: HIOCTANE.bin
         FullPath: D:\Program\Media\Dumping\MPF\Programs\Creator\HIOCTANE.bin
            Drive: D:
        Directory: \Program\Media\Dumping\MPF\Programs\Creator\
         Filename: HIOCTANE
        Extension: .bin
StartTime: 2021-05-23T23:05:08+0800
Set the drive speed: 1411KB/sec
This drive supports [OpCode: 0xd8, SubCode: 0]
This drive supports [OpCode: 0xd8, SubCode: 1]
This drive supports [OpCode: 0xd8, SubCode: 2]
This drive supports [OpCode: 0xd8, SubCode: 8]
Checking reading lead-out -> OK
Checking SubQ adr (Track)  1/ 1
Checking SubRtoW (Track)  1/ 1
Checking Pregap sync, msf, mode (LBA)  -1151
Reading DirectoryRecord    7/   7
Set OpCode: 0xd8, SubCode: 8(Raw)
Checking SubQ ctl (Track)  1/ 1
Creating .scm (LBA)  10298/ 10298
No C2 errors
Copying .scm to .img
Descrambling data sector of img:  10297/ 10297
Exec ""D:\Program\Media\Dumping\MPF\Programs\Creator\EccEdc.exe" check "D:\Program\Media\Dumping\MPF\Programs\Creator\HIOCTANE.img""
FILE: D:\Program\Media\Dumping\MPF\Programs\Creator\HIOCTANE.img
Checking sectors:  10297/ 10297
[NO ERROR] User data vs. ecc/edc match all
Creating cue and ccd (Track)  1/ 1
Creating bin (Track)  1/ 1
Hashing: HIOCTANE.scm
Hashing: HIOCTANE.img
Hashing: HIOCTANE.bin
EndTime: 2021-05-23T23:05:53+0800

Actual result:

AppVersion
	x86, AnsiBuild, 20210401T101950
/c2 val1 was omitted. set [4000]
/c2 val2 was omitted. set [0]
CurrentDirectory
	D:\Program\Media\Dumping\MPF
WorkingPath
	 Argument: ISO\HIOCTANE\HIOCTANE.bin
	 FullPath: D:\Program\Media\Dumping\MPF\ISO\HIOCTANE\HIOCTANE.bin
	    Drive: D:
	Directory: \Program\Media\Dumping\MPF\ISO\HIOCTANE\
	 Filename: HIOCTANE
	Extension: .bin
StartTime: 2021-05-23T22:41:32+0800
Set the drive speed: 1411KB/sec
This drive supports [OpCode: 0xd8, SubCode: 0]
This drive supports [OpCode: 0xd8, SubCode: 1]
This drive supports [OpCode: 0xd8, SubCode: 2]
This drive supports [OpCode: 0xd8, SubCode: 8]
Checking reading lead-out -> OK
Checking SubQ adr (Track)  1/ 1
Checking SubRtoW (Track)  1/ 1
Checking Pregap sync, msf, mode (LBA)  -1941
Reading DirectoryRecord    7/   7
Set OpCode: 0xd8, SubCode: 8(Raw)
Checking SubQ ctl (Track)  1/ 1
Creating .scm (LBA)  10298/ 10298
No C2 errors
Copying .scm to .img
Descrambling data sector of img:  10282/ 10297
DescrFILE: D:\Program\Media\Dumping\MPF\ISO\HIOCTANE\HIOCTANE.img
Checking sectors:  10297/ 10297
[NO ERROR] User data vs. ecc/edc match all
Descrambling data sector of img:  10297/ 10297
Exec ""D:\Program\Media\Dumping\MPF\Programs\Creator\EccEdc.exe" check "D:\Program\Media\Dumping\MPF\ISO\HIOCTANE\HIOCTANE.img""
Creating cue and ccd (Track)  1/ 1
Creating bin (Track)  1/ 1
Hashing: HIOCTANE.scm
Hashing: HIOCTANE.img
Hashing: HIOCTANE.bin
EndTime: 2021-05-23T22:42:23+0800

Some lines towards the end are clearly messed up.

Originally created by @nightson on GitHub (May 23, 2021). Originally assigned to: @mnadareski on GitHub. MPF Version 2.0-7a2061a3 Step to reproduce the problem: Disable Show Separate Window, enable Log Formatting and Progress Processing. Dump anything with DIC. Expected result: ``` AppVersion x86, AnsiBuild, 20210401T101950 /c2 val1 was omitted. set [4000] /c2 val2 was omitted. set [0] CurrentDirectory D:\Program\Media\Dumping\MPF\Programs\Creator WorkingPath Argument: HIOCTANE.bin FullPath: D:\Program\Media\Dumping\MPF\Programs\Creator\HIOCTANE.bin Drive: D: Directory: \Program\Media\Dumping\MPF\Programs\Creator\ Filename: HIOCTANE Extension: .bin StartTime: 2021-05-23T23:05:08+0800 Set the drive speed: 1411KB/sec This drive supports [OpCode: 0xd8, SubCode: 0] This drive supports [OpCode: 0xd8, SubCode: 1] This drive supports [OpCode: 0xd8, SubCode: 2] This drive supports [OpCode: 0xd8, SubCode: 8] Checking reading lead-out -> OK Checking SubQ adr (Track) 1/ 1 Checking SubRtoW (Track) 1/ 1 Checking Pregap sync, msf, mode (LBA) -1151 Reading DirectoryRecord 7/ 7 Set OpCode: 0xd8, SubCode: 8(Raw) Checking SubQ ctl (Track) 1/ 1 Creating .scm (LBA) 10298/ 10298 No C2 errors Copying .scm to .img Descrambling data sector of img: 10297/ 10297 Exec ""D:\Program\Media\Dumping\MPF\Programs\Creator\EccEdc.exe" check "D:\Program\Media\Dumping\MPF\Programs\Creator\HIOCTANE.img"" FILE: D:\Program\Media\Dumping\MPF\Programs\Creator\HIOCTANE.img Checking sectors: 10297/ 10297 [NO ERROR] User data vs. ecc/edc match all Creating cue and ccd (Track) 1/ 1 Creating bin (Track) 1/ 1 Hashing: HIOCTANE.scm Hashing: HIOCTANE.img Hashing: HIOCTANE.bin EndTime: 2021-05-23T23:05:53+0800 ``` Actual result: ``` AppVersion x86, AnsiBuild, 20210401T101950 /c2 val1 was omitted. set [4000] /c2 val2 was omitted. set [0] CurrentDirectory D:\Program\Media\Dumping\MPF WorkingPath Argument: ISO\HIOCTANE\HIOCTANE.bin FullPath: D:\Program\Media\Dumping\MPF\ISO\HIOCTANE\HIOCTANE.bin Drive: D: Directory: \Program\Media\Dumping\MPF\ISO\HIOCTANE\ Filename: HIOCTANE Extension: .bin StartTime: 2021-05-23T22:41:32+0800 Set the drive speed: 1411KB/sec This drive supports [OpCode: 0xd8, SubCode: 0] This drive supports [OpCode: 0xd8, SubCode: 1] This drive supports [OpCode: 0xd8, SubCode: 2] This drive supports [OpCode: 0xd8, SubCode: 8] Checking reading lead-out -> OK Checking SubQ adr (Track) 1/ 1 Checking SubRtoW (Track) 1/ 1 Checking Pregap sync, msf, mode (LBA) -1941 Reading DirectoryRecord 7/ 7 Set OpCode: 0xd8, SubCode: 8(Raw) Checking SubQ ctl (Track) 1/ 1 Creating .scm (LBA) 10298/ 10298 No C2 errors Copying .scm to .img Descrambling data sector of img: 10282/ 10297 DescrFILE: D:\Program\Media\Dumping\MPF\ISO\HIOCTANE\HIOCTANE.img Checking sectors: 10297/ 10297 [NO ERROR] User data vs. ecc/edc match all Descrambling data sector of img: 10297/ 10297 Exec ""D:\Program\Media\Dumping\MPF\Programs\Creator\EccEdc.exe" check "D:\Program\Media\Dumping\MPF\ISO\HIOCTANE\HIOCTANE.img"" Creating cue and ccd (Track) 1/ 1 Creating bin (Track) 1/ 1 Hashing: HIOCTANE.scm Hashing: HIOCTANE.img Hashing: HIOCTANE.bin EndTime: 2021-05-23T22:42:23+0800 ``` Some lines towards the end are clearly messed up.
claunia added the help wantedbug labels 2026-01-29 16:13:47 +00:00
Author
Owner

@mnadareski commented on GitHub (May 27, 2021):

This is an unfortunate side-effect of how console outputs are captured in .NET. I'm not sure I can do much about that, but I will keep this in mind when revisiting the processing code at a later date.

@mnadareski commented on GitHub (May 27, 2021): This is an unfortunate side-effect of how console outputs are captured in .NET. I'm not sure I can do much about that, but I will keep this in mind when revisiting the processing code at a later date.
Author
Owner

@mnadareski commented on GitHub (Oct 11, 2023):

This feature has been removed and therefore this is no longer relevant.

@mnadareski commented on GitHub (Oct 11, 2023): This feature has been removed and therefore this is no longer relevant.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SabreTools/MPF#295