Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
|
![]() |
|
Thread Tools | Search this Thread | Display Modes |
![]() |
#901 | Link | |
Registered User
Join Date: Dec 2013
Posts: 526
|
Quote:
Whats your preference: * eject disc and exit * or just exit * or use the ini parameter EjectDisc to define if the disc shall be ejected before the exit? |
|
![]() |
![]() |
![]() |
#904 | Link | |
Registered User
Join Date: Jan 2024
Posts: 54
|
Quote:
- whether the programs run in a loop - whether the disc would be auto-ejected (would also be nice for Linux, where that fails as Toad King mentioned, so one could simply disable it). Last edited by coricopat; 19th March 2025 at 00:56. Reason: correct typo |
|
![]() |
![]() |
![]() |
#905 | Link | |
Registered User
Join Date: Dec 2018
Posts: 16
|
Quote:
You can patch the 1.81 executable with this command: Code:
xxd FindVUK.exe | sed -e 's/00217fd0: 8b5c 2418 83fb 020f 8503/00217fd0: 8b5c 2418 83fb 090f 8403/' -e 's/00218330: 0448 2d00 ff74 2420 e87d 76f2 ff21 c074/00218330: 0448 2d00 ff74 2420 e87d 76f2 ff21 c066/' -e 's/00218340: 0431/00218340: 9031/' | xxd -r > FindVUK.patched.exe This patches two things: * Always do the FSCTL_LOCK_VOLUME/FSCTL_DISMOUNT_VOLUME/IOCTL_STORAGE_MEDIA_REMOVAL ioctls, regardless of drive type. * Skip checking the return value of IOCTL_STORAGE_MEDIA_REMOVAL, since that fails in Wine. EDIT: After some more investigating it looks like FindVUK tries to eject the disc drive twice in a row, which is the part that's triggering the bug. Code:
2025-03-18 23:27:07 # 5444 # [I] findvuk_showresult / _EjectDisc / Eject the disc now from drive >e:\< 2025-03-18 23:27:07 # 5444 # [I] drive_ms / DRVMS_EjectMedia / Eject drive >e< 2025-03-18 23:27:10 # 8177 # [I] findvuk_showresult / _EjectDisc / Successfully ejected the media in drive e! 2025-03-18 23:27:10 # 8178 # [I] FindVUK_Main / / Eject disc from drive >e< - insert next disc to validate or exit with ESC 2025-03-18 23:27:10 # 8178 # [I] FindVUK_Main / FVMAIN_Mode_ValidateDisc_EjectDisc / Eject the disc now from drive >e:\< 2025-03-18 23:27:10 # 8179 # [I] drive_ms / DRVMS_EjectMedia / Eject drive >e< 2025-03-18 23:27:10 # 8219 # [E] drive_ms / DRVMS_EjectMedia / ERROR! Couldn't remove the media in drive e! 2025-03-18 23:27:10 # 8269 # [E] FindVUK_Main / FVMAIN_Mode_ValidateDisc_EjectDisc / ERROR! Couldn't remove the media in drive e! Last edited by Toad King; 19th March 2025 at 05:34. |
|
![]() |
![]() |
![]() |
#906 | Link | |
Registered User
Join Date: Dec 2013
Posts: 526
|
Quote:
![]() |
|
![]() |
![]() |
![]() |
#907 | Link | |
Registered User
Join Date: Dec 2013
Posts: 526
|
Quote:
The fix will be to skip the 2nd eject in case the parameter is set to 1. |
|
![]() |
![]() |
![]() |
#909 | Link | |
Registered User
Join Date: Dec 2013
Posts: 526
|
Quote:
MS KB165721 Update: just noticed there's a major difference, because the example always locks, dismounts and media-removes ... will check tomorrow in detail ... Last edited by nalor; Today at 00:43. |
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|