-
-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No way to disable automatic C mounting #557
Comments
Yes this would be useful for mounting subfolders in zip files |
Would be really cool for Recalbox too ! |
This is not random, DB-Pure mounts the folders respecting the original structure of a PC. It is not a fork like the others. Note that it is deeply tied to the RetroArch interface and all its advanced features. Almost everything is configured automatically, the .conf is not necessary and some of its commands are not compatible, indeed they generate errors. Pre-compiled files must be unzipped, the first folder discarded and then re-zipped. |
When loading something like a ZIP file with a .conf file inside it, the ZIP file has to be mounted as C:. The [autoexec] section of the .conf can then remount it to something else if it wants. Because loading ZIP files is not something regular DOSBox does, this should not be seen as a difference to regular DOSBox. Though when loading a .conf file as content directly from the libretro frontend, there is an argument to be made that the directory which the .conf is inside should not be mounted as C:, and any mounting would have to be done by the [autoexec] section (or manually in the command line). I wonder if it would break setups already in use if that were to change now... |
This change has now been made with 710120a. In addition c2730d6 and 59a20b1 were made which enables mounting paths relative to the loaded content in the command line. Meaning if you have "GAME.ISO" in the same folder as the .conf you are loading, the conf file can have Again, this change only affects when loading a .conf as content directly. Other means of loading .conf (for example inside a ZIP or next to the loaded ZIP) will still work as always. It doesn't make sense to only load dosbox.conf out of the ZIP file and then not have the other content of the ZIP available as a mounted drive, right? This very likely will be a breaking change for people who have relied on the current behavior. But I feel like matching the other DOSBox cores in this regard is more correct. To adapt to the new behavior one will need to add a line with |
When loading any type of content with dosbox-pure, be it a zip, or a conf, or anything else, it automaticaly mounts the same folder as the content as the C drive.
This breaks behavior of autoexec commands in conf files.
I need to use conf files directly the same way I would with other dosbox forks, but with this kind of behavior, it's impossible.
The text was updated successfully, but these errors were encountered: