#42 Mount zip files

open
5
2012-09-07
2004-11-20
QBM
No

Well, one thing I feel that DosBox lacks that almost every
other emulator i've used has come bundled with is
support for running games as a zip file. In DosBox's case,
the zip files could be mounted as drives.

A big issue with this is that the contents of the zip might
need to be extracted to a temporary folder in the DosBox
directory, then re-compressed and deleted when the
program quits. In case of program crashes, check if any
files are in the temporary folder at startup and delete
them if they are.

there is an open source zip solution if you feel like
impementing this idea. it's at
http://www.winimage.com/zLibDll/ not sure if you could
get it working in linux as I've never read the source nor
done any linux programming, but it's a step in the right
direction.

Discussion

  • Peter Veenstra
    Peter Veenstra
    2004-11-21

    Logged In: YES
    user_id=535630

    We're planning something like that.
    but in a different way
    we intend to read the zipped content and safe the changes to
    a related file.

    the mount would be something like
    mount c a.zip -t zip -changesfile c:\mygames\a.changes

    compressing and recompressing is not very useful as the
    archive might be on a write protected medium

     
  • QBM
    QBM
    2004-11-23

    Logged In: YES
    user_id=1118933

    Can't wait for the release. I like that plan as I assume if it's
    not write protected you can just mount the zip with the
    changefile being the original...

     
  • takysoft
    takysoft
    2007-11-06

    Logged In: YES
    user_id=1213739
    Originator: NO

    Read-only support should be easy to implement. Read-write might be harder to optimize.
    What I'd need is the option to mount ISO images(iso, bin+cue, img, mds, other stuff:D)