You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I recently tried using this tool on mac. It compiles quite easily! But I found a few issues. I hope this helps someone else trying to use this tool on mac.
OSX Semaphore Deadlock
By default, cdvd_inject will hang due to what appears to be a semaphore deadlock. I did some light debugging and found that the read call here
{ /* data not available; schedule and wait untill its ready */
thd->job.start_sector=start_sector;
thd->job.num_sectors=num_sectors;
thd->job.dest=thd->buf+ (thd->active_buf % 2);
#if defined(USE_NAMED_SEMAPHORES)
sem_post (thd->worker_lock);
#else
sem_post (&thd->worker_lock);
#endif
}
}
}
while (1);
Compiling with USE_THREADED_IIN=no allows cdvd_inject to function, however!
Extremely slow local speeds
Although USE_THREADED_IIN=no allows cdvd_inject to proceed, it does so extremely slowly. My speeds were around 0.7 or 0.8 MB/sec for a local drive. Compare this to a Windows build of hdl_dump (same commit as mac build) that is moving at ~20 MB/sec (and I've seen higher, ~80MB/sec with a different drive, seemingly maxing out PATA speeds)!
Conclusion
Overall, thank you for maintaining this tool, and for working to make it run on OSX. Now that XDumb no longer functions due to recent mac updates, this is one of the last functioning tools! If there is something I can do to help make mac more compatible, please let me know.
Hello!
I recently tried using this tool on mac. It compiles quite easily! But I found a few issues. I hope this helps someone else trying to use this tool on mac.
OSX Semaphore Deadlock
By default, cdvd_inject will hang due to what appears to be a semaphore deadlock. I did some light debugging and found that the
read
call herehdl-dump/isofs.c
Line 298 in 92213b5
hdl-dump/thd_iin.c
Lines 153 to 184 in 92213b5
Compiling with
USE_THREADED_IIN=no
allows cdvd_inject to function, however!Extremely slow local speeds
Although
USE_THREADED_IIN=no
allows cdvd_inject to proceed, it does so extremely slowly. My speeds were around 0.7 or 0.8 MB/sec for a local drive. Compare this to a Windows build of hdl_dump (same commit as mac build) that is moving at ~20 MB/sec (and I've seen higher, ~80MB/sec with a different drive, seemingly maxing out PATA speeds)!Conclusion
Overall, thank you for maintaining this tool, and for working to make it run on OSX. Now that XDumb no longer functions due to recent mac updates, this is one of the last functioning tools! If there is something I can do to help make mac more compatible, please let me know.
P.S. Here is a script for uploading multiple ISO/bin+cue from a folder (works on both OSX and Windows) in case it helps anyone: https://gist.github.com/kirbysayshi/d35d279c85adb5c54c6385c9b636c64d
The text was updated successfully, but these errors were encountered: