Is there any way to store external content in a dll or container?
Forum rules
This forum is now locked but only TEMPORARY. We will see if the spam countermeasures work on the other live forums and if so, the forum will be unlocked.
Note, MMB has been discontinued for a decade.
This forum is now locked but only TEMPORARY. We will see if the spam countermeasures work on the other live forums and if so, the forum will be unlocked.
Note, MMB has been discontinued for a decade.
Is there any way to store external content in a dll or container?
My project has several external files that cannot be embedded, as they are constantly modified, I would like it to be possible to put them in a container or dll, and that the multimedia builder could access them, how could this be done?
Re: Is there any way to store external content in a dll or container?
just use <SrcDir> and place them with the MMB executable
Re: Is there any way to store external content in a dll or container?
I didn't want to have all these files lying around
Re: Is there any way to store external content in a dll or container?
Why? Normally you place your programme in the programme files folder. It makes no difference whether there are files in the folder. Otherwise, you could also unpack them from a 7zip archive at runtime.
Re: Is there any way to store external content in a dll or container?
because there are 1001 photos and text documents, small files generate fragmentation, all programmers know that. Windows uses dlls for this purpose, games use containers that store their thousands of files for the same reason.
Re: Is there any way to store external content in a dll or container?
Well, fragmentation is practically irrelevant with today's file systems and data carriers. With an SSD, it is of little interest. Above all, look at how some programmes come along - e.g. everything based on Electron or Java. Nothing is "packed" there.
Besides, you don't pack photos or other large binary files in DLLs. Games use container formats mainly for textures, some of which are streamed directly or also unpacked. But the comparison is flawed.
Besides, you don't pack photos or other large binary files in DLLs. Games use container formats mainly for textures, some of which are streamed directly or also unpacked. But the comparison is flawed.
Re: Is there any way to store external content in a dll or container?
I'm not programming for a modern system, I'm programming for a 25 year old system where this is relevant.Zip would be just a container that I would need to take things out of in order to access them, to use a method like that, I could use a simple windows cab. I wanted something for direct access, like a folder.
Re: Is there any way to store external content in a dll or container?
If compression/decompression takes too much time/is undesirable, then I would recommend an image format like WIM. Mount the image at runtime and unmount it again. This can all be automated. Of course, it depends on the Windows version.
Otherwise, use a different image format and a tool that can mount them, e.g. ISO.
Otherwise, use a different image format and a tool that can mount them, e.g. ISO.