[Bug 3638] pif's with batch files
http://bugs.winehq.org/show_bug.cgi?id=3638 --- Comment #21 from Austin English <austinenglish@gmail.com> --- (In reply to imccluney from comment #20)
Two decades later, I can confirm that the bug is still there, but I think I have the solution. I would create a merge request if I could, but I am unable to fork the project first.
Anyway, the solution involves changing the second argument in SearchPathA inside pif_cmd from progname to filename, then altering both progpath and progname as a concatenated string that is then passed into start_dosbox, whence DOSBox opens and automatically opens the executable at the same location as the PIF. I have tested Wine on two PIF files using this patch, and both seem to work as intended. If granted the privilege to create a fork, I can upload my version of winevdm.c and show you how I achieved it.
I think you need to make an account on gitlab first, before you can fork it (which may need approval). In the meantime, you can add a diff here as an attachment. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (1)
-
WineHQ Bugzilla