When active, this drive redirects new and changed files to a different location. The files in the overlay and normal drive are merged on startup and kept up to date when the game changes something. Files in the overlay are priotizedi, if they exists, above the normal files. The drive will switch to an overlayed version of the file on the first write! (Not when opening the file in write-mode). The overlay is capable of creating missing directories. With the help of DBOVERLAY files, the drive keeps track of files that are present in the normal directory but deleted by the game. All changes are preserved between sessions. Current design principles/limitations/requirements: 1) All directories that can be used for saving, must exist already in the base before mounting. (they will be created by DOSBox if missing in the overlay) 2) All filenames inside the overlay directories are UPPERCASE and conform to the 8.3 standard except for the special DBOVERLAY files. 3) To keep point 1 valid at all times, support for creating/renaming/removing directories has been disabled. Thanks for the help GOG. Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4196
10 lines
641 B
Makefile
10 lines
641 B
Makefile
AM_CPPFLAGS = -I$(top_srcdir)/include
|
|
|
|
noinst_LIBRARIES = libdos.a
|
|
EXTRA_DIST = scsidefs.h wnaspi32.h dos_codepages.h dos_keyboard_layout_data.h
|
|
libdos_a_SOURCES = dos.cpp dos_devices.cpp dos_execute.cpp dos_files.cpp dos_ioctl.cpp dos_memory.cpp \
|
|
dos_misc.cpp dos_classes.cpp dos_programs.cpp dos_tables.cpp \
|
|
drives.cpp drives.h drive_virtual.cpp drive_local.cpp drive_cache.cpp drive_fat.cpp \
|
|
drive_iso.cpp dev_con.h dos_mscdex.cpp dos_keyboard_layout.cpp \
|
|
cdrom.h cdrom.cpp cdrom_ioctl_win32.cpp cdrom_aspi_win32.cpp cdrom_ioctl_linux.cpp cdrom_image.cpp \
|
|
cdrom_ioctl_os2.cpp drive_overlay.cpp
|